/* ============================================
   DORIAN JOHNSTONE - THE NAT KING COLE EXPERIENCE
   Art Deco meets warm sepia nostalgia
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Tenor+Sans&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Warm sepia palette */
    --parchment: #f7f3eb;
    --cream: #efe9dd;
    --warm-white: #faf8f5;
    --tan: #d4c4a8;
    --caramel: #b8976b;
    --sepia: #8b7355;
    --coffee: #5c4a3a;
    --espresso: #3d2e23;
    --charcoal: #2a2420;
    
    /* Accents */
    --dusty-rose: #c4a4a4;
    --muted-teal: #7a9e9e;
    --antique-gold: #c9a959;
    
    /* Typography */
    --font-display: 'Cinzel', Georgia, serif;
    --font-heading: 'Tenor Sans', 'Optima', sans-serif;
    --font-body: 'Libre Baskerville', Georgia, serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--charcoal);
    background: var(--parchment);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::selection {
    background: var(--caramel);
    color: var(--warm-white);
}

a {
    color: var(--sepia);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--antique-gold);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   ART DECO DECORATIVE ELEMENTS
   ============================================ */

.deco-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.deco-line::before,
.deco-line::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--caramel), transparent);
}

.deco-diamond {
    width: 8px;
    height: 8px;
    background: var(--caramel);
    transform: rotate(45deg);
}

.deco-border {
    border: 1px solid var(--tan);
    padding: 3rem;
    position: relative;
}

.deco-border::before,
.deco-border::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--caramel);
}

.deco-border::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.deco-border::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(247, 243, 235, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(61, 46, 35, 0.08);
}

.site-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-logo a {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--charcoal);
    text-decoration: none;
    line-height: 1.2;
}

.site-logo span {
    display: block;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: var(--sepia);
    line-height: 1.2;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coffee);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
    line-height: 1;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--caramel);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--espresso);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 1px;
    background: var(--espresso);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.5rem;
    }
    
    .site-logo a {
        font-size: 1.2rem;
    }
    
    .site-logo span {
        font-size: 0.8rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(61, 46, 35, 0.1);
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav a {
        font-size: 0.9rem;
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.site-main {
    flex: 1;
    padding-top: 80px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sepia);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
}

/* ============================================
   CONSISTENT IMAGE FRAME STYLE
   ============================================ */

.image-frame {
    position: relative;
    padding: 1rem;
    background: var(--parchment);
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--tan);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(15%);
    transition: filter 0.5s ease;
}

.image-frame:hover img {
    filter: sepia(5%);
}

/* ============================================
   HERO SECTION - Full width dark with text overlay
   ============================================ */

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #000;
}

.hero-background img {
    position: absolute;
    right: 0;
    top: 0;
    width: 75%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    mask-image: linear-gradient(to right, transparent 0%, black 15%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    max-width: 650px;
}

.hero-line {
    width: 80px;
    height: 2px;
    background: var(--caramel);
    margin-bottom: 2rem;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--parchment);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--tan);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--cream);
    margin-bottom: 2.5rem;
    max-width: 450px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--charcoal);
    background: var(--caramel);
    padding: 1.1rem 2.5rem;
    border: 1px solid var(--caramel);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--parchment);
    border-color: var(--parchment);
    color: var(--charcoal);
}

.hero-deco {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.hero-deco::before,
.hero-deco::after {
    content: '';
    height: 1px;
    width: 40px;
    background: var(--caramel);
}

.hero-deco-diamond {
    width: 8px;
    height: 8px;
    background: var(--caramel);
    transform: rotate(45deg);
}

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    right: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.hero-scroll span {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tan);
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--caramel), transparent);
}

@media (max-width: 900px) {
    .hero-background img {
        width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
    }
    
    .hero-background::after {
        background: linear-gradient(
            to top,
            rgba(42, 36, 32, 0.95) 0%,
            rgba(42, 36, 32, 0.7) 50%,
            rgba(42, 36, 32, 0.4) 100%
        );
    }
    
    .hero-content {
        padding: 2rem;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-line {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-deco,
    .hero-scroll {
        display: none;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--espresso);
}

.about-text p:first-of-type {
    font-size: 1.35rem;
    color: var(--charcoal);
}

.quote {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--charcoal);
    text-align: center;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    position: relative;
}

.quote::before,
.quote::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--caramel);
}

.quote::before { top: 0; }
.quote::after { bottom: 0; }

/* Venues list */
.venues-section {
    background: var(--cream);
    padding: 4rem;
    margin-top: 4rem;
    text-align: center;
}

.venues-intro {
    max-width: 550px;
    margin: 0 auto 2.5rem;
    color: var(--espresso);
}

.venues-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.venue-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--sepia);
    transition: color 0.3s ease;
}

.venue-tag:hover {
    color: var(--antique-gold);
}

.venue-tag:nth-child(3n) { font-size: 0.9rem; color: var(--coffee); }
.venue-tag:nth-child(5n) { font-size: 1rem; color: var(--espresso); }

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--espresso);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    cursor: pointer;
}

.gallery-item .image-frame {
    height: 100%;
}

.gallery-item .image-frame img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.contact-info p {
    color: var(--espresso);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--sepia);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--antique-gold);
}

.social-link svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.social-link span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Contact Form */
.contact-form {
    background: var(--cream);
    padding: 2.5rem;
    position: relative;
}

.contact-form::before,
.contact-form::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
}

.contact-form::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--caramel);
    border-left: 2px solid var(--caramel);
}

.contact-form::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--caramel);
    border-right: 2px solid var(--caramel);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sepia);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--espresso);
    background: var(--parchment);
    border: 1px solid var(--tan);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--caramel);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-white);
    background: var(--espresso);
    border: 1px solid var(--espresso);
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: transparent;
    color: var(--espresso);
}

@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--espresso);
    color: var(--tan);
    padding: 4rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--parchment);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--caramel);
    margin-bottom: 2rem;
}

.footer-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-deco::before,
.footer-deco::after {
    content: '';
    height: 1px;
    width: 40px;
    background: var(--sepia);
}

.footer-deco-diamond {
    width: 6px;
    height: 6px;
    background: var(--caramel);
    transform: rotate(45deg);
}

.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--tan);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--caramel);
}

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.footer-credit {
    font-size: 0.8rem;
    color: var(--sepia);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }

/* ============================================
   LIGHTBOX / CAROUSEL
   ============================================ */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(42, 36, 32, 0.97);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-content img.active {
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--tan);
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.lightbox-close:hover {
    background: var(--caramel);
    border-color: var(--caramel);
    color: var(--charcoal);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--tan);
    color: var(--cream);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--caramel);
    border-color: var(--caramel);
    color: var(--charcoal);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--tan);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
    
    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
    }
}
