:root {
    --wine:      #4a1020;
    --wine-mid:  #6b1c30;
    --cream:     #f5f0e8;
    --parchment: #ede5d4;
    --gold:      #b5892a;
    --sage:      #4a5e42;
    --text:      #2a1f1a;
    --muted:     #6e5c52;
    --border:    rgba(74, 16, 32, 0.15);
}

/* Strips Browser Default Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body Styles */
body {
    font-family: 'Jost', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    min-height: 100vh;
}

/* Reset Default Link Styles */
a {
    color: inherit;
    text-decoration: none;
}

/* Brand Accent */
.brand-accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  font-size: 1.25em;
  letter-spacing: 0.03em;
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.96);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4vw;
    height: 68px;
    transition: height 0.3s ease;
}

/* Navigation Brand */
.nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--wine);
    letter-spacing: 0.04em;
    text-decoration: none;
}

.nav-brand span {
    color: var(--gold);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--wine);
}

.nav-links a.active {
    color: var(--wine);
    border-bottom: 1.5px solid var(--gold);
    padding-bottom: 2px;
}

nav.scrolled {
    height: 54px;
}





/* Page Selection */
.page {
    display: none;
    padding-top: 68px;
    min-height: 100vh;
    animation: none;
}

.page.active {
    display: block;
}




/* Logo */
.nav-logo {
    height: 52px;
    width: auto;
    mix-blend-mode: multiply;
}




/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(74, 16, 32, 0.65) 0%,
        rgba(74, 16, 32, 0.60) 60%,
        rgba(74, 16, 32, 0.55) 100%
    ), url('images/zin-at-harvest-cluster.jpg') center 30% / cover no-repeat;
    background-color: var(--wine-mid);
}

.hero-content {
    position: absolute;
    z-index: 1;
    padding: 0 2rem;
}

.hero-eyebrow {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.4rem;
    animation: fadeUp 0.8s ease both;
    animation-delay: 0.2s;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 0.2em;
    animation: fadeUp 0.9s ease both;
    animation-delay: 0.45s;
}

.hero-title em {
    font-style: italic;
    color: var(--parchment);
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 1.6rem auto;
    animation: expandWidth 0.7s ease both;
    animation-delay: 0.85s;
    width: 0;
}

.hero-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    line-height: 1.6;
    animation: fadeUp 0.8s ease both;
    animation-delay: 1s;
}

.hero .hero-cta {
    margin-top: 2.8rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.85rem 2.4rem;
    transition: background 0.25s, border-color 0.25s;
    animation: fadeUp 0.8s ease both;
    animation-delay: 1.25s;
}

.hero .hero-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
}


/* Intro Section */
.intro-section {
    max-width: 780px;
    margin: 0 auto;
    padding: 7rem 2rem 6rem;
    text-align: center;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.6rem;
}

.intro-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--wine);
    margin-bottom: 1.8rem;
}

.intro-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
    max-width: 550px;
    margin: 0 auto 1.4rem;
}


/* Features Section */
.feature-strip {
    background: var(--wine);
    padding: 5rem 2rem 5rem;
    display: flex;
    justify-content: center;
}

.feature-item {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 3rem 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
    border-right: none;
}

.feature-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;    
}

.feature-label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}



/* Story Section */
.story-hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.story-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(74, 16, 32, 0.6) 0%, rgba(74, 16, 32, 0.5) 100%), 
        url('images/Beautiful-Vineyard-Sunset.jpg') center / cover no-repeat;
    background-color: var(--wine-mid);
}

.story-hero-content {
    position: relative;
    z-index: 1;
}

.story-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.02em;
    margin-top: 0.8rem;
}

.story-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch;
}

.story-section--reverse {
    direction: rtl;
}

.story-section--reverse .story-text {
    direction: ltr;
}

.story-section--reverse .story-image {
    direction: ltr;
}

.story-text .section-label {
    margin-bottom: 1.2rem;
}

.story-body {
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 1.2rem;
}

.story-body em {
    font-style: italic;
    color: var(--text);
}

.story-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

/* Story Divider Between Sections */
.story-section + .story-section {
    border-top: 1px solid var(--border);
}




/* Gallery Section */
.gallery-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.gallery-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: var(--wine);
    margin-bottom: 0.8rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 0 6px 6px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(74, 16, 32, 0.75));
    padding: 3rem 1.5rem 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption p {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 0.08em;
}




/* About Section */
.about-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: var(--wine);
    margin: 0.8rem 0 1.6rem;
    line-height: 1.2;
}

.about-body {
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--text);
    font-weight: 400;
    margin-bottom: 1.4rem;
}

.about-signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-style: italic;
    color: var(--wine-mid);
    margin-bottom: 2rem;
}


/* Contact Section */
.contact-card {
    background: #e4d9c4;
    border: 1px solid var(--border);
    padding: 2.5rem;
}

.contact-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--wine);
    margin-bottom: 0.4rem;
}

.contact-sub {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

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

.form-group label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.45rem;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    background: var(--cream);
    border: 1px solid var(--border);
    padding: 0.7rem 0.9rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    text-align: center;
}

.form-group select:hover {
    border-color: var(--wine);
    cursor:pointer;
}

.form-group input, .form-group textarea {
    text-align: left;
}

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

.contact-submit-btn {
    width: 100%;
    background: var(--wine);
    color: var(--cream);
    border: none;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 1rem;
    margin-top: 0.5rem;
    transition: background 0.22s;
}

.contact-submit-btn:hover {
    background: var(--wine-mid);
}


/* Contact Details */
.contact-details {
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border);
}

.contact-detail-row {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
}

.detail-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    min-width: 60px;
    padding-top: 2px;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 300;
}




/* Footer Styles */
footer {
    background: var(--wine);
    padding: 2.5rem 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--parchment);
    letter-spacing: 0.05em;
}

.footer-brand span {
    color: var(--gold);
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.06em;
}

.footer-logo {
    height: 36px;
    width: auto;
    mix-blend-mode: screen;
}




/** Animations and Transitions **/
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes expandWidth {
    from { width: 0; }
    to   { width: 60px; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(36px); 
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}



/** Page Fade Transitions **/
.page.active {
    animation: fadeIn 0.4s ease both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}




/* Responsive Styles */
@media (max-width: 768px) {

    /* Shrinks Navigation gap between links */
    .nav-links {
        gap: 1.2rem;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    /*Stacks Feature Items Vertically*/
    .feature-strip {
        flex-direction: column;
        align-items: center;
        padding: 3rem 2rem;
    }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    /* Story Section is Vertically Stacked */
    .story-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    .story-section--reverse {
        direction: ltr;
    }

    .story-image img {
        min-height: 260px;
    }

    /* Gallery Grid Becomes Single Column */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 320px;
    }

    /* About Section Stacks Vertically */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem;
    }

    .hero-content {
        text-align: center;
        width: 100%;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 2rem;
    }
}

@media (max-width: 520px) {

    /* Navigation links for mobile */
    .nav-links {
        gap: 0.8rem;
    }

    .nav-links a {
        font-size: 0.68rem;
    }

    /* Hero Text Shrinks */
    .hero-sub {
        font-size: 1rem;
    }

    /* Intro Padding Shrinks */
    .intro-section {
        padding: 4rem 1.5rem 3rem;
    }

    .gallery-item img {
        height: 260px;
    }
}