/* ============================================
   Fleuria - Premium Redesign
   ============================================ */

/* --- Custom Properties --- */
:root {
    --parchment:   #FAF7F2;
    --ivory:       #F5F1EA;
    --charcoal:    #2C2C2C;
    --warm-grey:   #6B6560;
    --gold:        #B8943E;
    --gold-light:  #D4B76A;
    --sage:        #8B9D83;
    --sage-muted:  #A8B5A0;
    --border:      #E8E2D8;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, sans-serif;

    --content-width: 1100px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal);
    background-color: var(--parchment);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

address {
    font-style: normal;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.25;
    color: var(--charcoal);
}

h2 {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--warm-grey);
}

.section-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-label--light {
    color: var(--gold-light);
}

.gold-rule {
    border: none;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.5rem;
}

.gold-rule--light {
    background: var(--gold-light);
}

/* --- Layout --- */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container--narrow {
    max-width: 700px;
    text-align: center;
}

.section {
    padding: 7rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--gold);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--gold-light);
    margin-top: 1.5rem;
}

.btn-outline:hover {
    background: var(--gold-light);
    color: var(--charcoal);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.5s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(250, 247, 242, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 1.4rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.4s var(--ease-out);
}

.navbar.scrolled .nav-container {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled .logo {
    color: var(--charcoal);
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--charcoal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out);
}

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

.nav-link:hover {
    color: #fff;
}

.navbar.scrolled .nav-link:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.navbar.scrolled .menu-toggle span {
    background-color: var(--charcoal);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 24, 18, 0.4) 0%,
        rgba(30, 24, 18, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--content-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem 12vh;
}

.hero-accent {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.6));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Season Banner
   ============================================ */
.season-banner {
    background: var(--gold);
    text-align: center;
    padding: 0.85rem 2rem;
}

.season-banner p {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

/* ============================================
   Introduction
   ============================================ */
.introduction {
    background: var(--parchment);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

/* ============================================
   Photo Interlude
   ============================================ */
.photo-interlude {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}

@media (min-width: 1025px) {
    .parallax-bg {
        background-attachment: fixed;
        inset: 0;
    }
}

/* ============================================
   Offerings
   ============================================ */
.offerings {
    background: var(--ivory);
}

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

.offerings-header .gold-rule {
    margin-left: auto;
    margin-right: auto;
}

.offering-list {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.offering {
    flex: 1;
    text-align: center;
    padding: 0 2.5rem;
}

.offering-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--border);
    line-height: 1;
    margin-bottom: 1.2rem;
}

.offering h3 {
    color: var(--charcoal);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.offering p {
    color: var(--warm-grey);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.offering-divider {
    width: 1px;
    align-self: stretch;
    background: var(--gold);
    opacity: 0.4;
    flex-shrink: 0;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-strip {
    padding: 0;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

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

/* ============================================
   Fleuria XL
   ============================================ */
.fleuria-xl {
    background: var(--parchment);
}

.fleuria-xl .gold-rule {
    margin-left: auto;
    margin-right: auto;
}

.fleuria-xl h2 {
    font-size: 2rem;
}

.fleuria-xl p {
    color: var(--warm-grey);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   Visit Us
   ============================================ */
.visit-us {
    background: var(--charcoal);
    color: var(--parchment);
}

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

.visit-header h2 {
    color: var(--parchment);
}

.visit-header .gold-rule {
    margin-left: auto;
    margin-right: auto;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.visit-block h3 {
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

.visit-block address,
.visit-block p {
    color: rgba(250, 247, 242, 0.8);
    line-height: 1.9;
    margin-bottom: 0;
}

.visit-block a {
    color: var(--gold-light);
    transition: color 0.3s ease;
}

.visit-block a:hover {
    color: #fff;
}

.season-note {
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-bottom: 0.75rem !important;
    font-weight: 400;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.35rem 0;
    font-size: 0.95rem;
    color: rgba(250, 247, 242, 0.85);
}

.hours-table td:first-child {
    font-weight: 400;
    padding-right: 2rem;
}

.hours-table td:last-child {
    color: var(--gold-light);
    text-align: right;
}

.hours-table .closed td {
    opacity: 0.4;
}

.hours-table .closed td:last-child {
    color: rgba(250, 247, 242, 0.5);
}

.visit-map {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.visit-map iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
    border-radius: var(--radius-md);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #1E1E1E;
    color: rgba(250, 247, 242, 0.6);
    padding: 3.5rem 0;
    text-align: center;
}

.footer-logo {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(250, 247, 242, 0.6);
    margin-bottom: 1.2rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(250, 247, 242, 0.5);
    margin-bottom: 1rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.75rem;
    color: rgba(250, 247, 242, 0.3);
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(250, 247, 242, 0.25);
    margin-bottom: 0;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

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

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    cursor: default;
    transform: scale(0.95);
    transition: transform 0.4s var(--ease-out);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: #fff;
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ============================================
   Responsive - Tablet (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .intro-grid {
        gap: 3rem;
    }

    .offering {
        padding: 0 1.5rem;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ============================================
   Responsive - Mobile (max 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        background: rgba(44, 44, 44, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.85);
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    .nav-menu .nav-link:hover {
        color: var(--gold-light);
    }

    /* Hero */
    .hero {
        min-height: 100svh;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding-bottom: 15vh;
    }

    /* Sections */
    .section {
        padding: 4.5rem 0;
    }

    h2 {
        font-size: 2rem;
    }

    /* Introduction */
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .intro-image img {
        aspect-ratio: 4 / 3;
    }

    /* Photo interlude */
    .photo-interlude {
        height: 50vh;
    }

    /* Offerings */
    .offering-list {
        flex-direction: column;
        gap: 0;
    }

    .offering {
        padding: 2rem 0;
    }

    .offering-divider {
        width: 50px;
        height: 1px;
        align-self: center;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: none;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 3px;
    }

    .gallery-item {
        flex: 0 0 80vw;
        scroll-snap-align: center;
        aspect-ratio: 3 / 4;
    }

    /* Visit */
    .visit-grid {
        grid-template-columns: 1fr;
    }

    .visit-map iframe {
        height: 300px;
    }

    /* Footer */
    .footer-legal {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* ============================================
   Responsive - Small Mobile (max 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-content {
        padding: 0 1.2rem 12vh;
    }

    .offering-number {
        font-size: 2.8rem;
    }

    .gallery-item {
        flex: 0 0 85vw;
    }
}
