/* ═══════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════ */
:root {
    --color-bg: #FAF8F5;
    --color-bg-warm: #F3EDE6;
    --color-text: #1A1612;
    --color-text-soft: #6B5E52;
    --color-accent: #B8926A;
    --color-accent-light: #D4B896;
    --color-accent-dark: #8C6D4F;
    --color-cream: #EDE6DB;
    --color-dark: #1A1612;
    --color-white: #FDFCFA;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ═══════════════════════════════════════
   PRELOADER
═══════════════════════════════════════ */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--color-dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--color-accent-light);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    overflow: hidden;
}
.preloader-text span {
    display: inline-block;
    animation: preloaderReveal 0.6s var(--ease-out-expo) both;
}
@keyframes preloaderReveal {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.5rem 3rem;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    box-shadow: 0 1px 0 rgba(184, 146, 106, 0.15);
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-white);
    transition: color 0.4s;
}
.nav.scrolled .nav-logo { color: var(--color-text); }
.nav-logo em {
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.08em;
    font-size: 0.75em;
    opacity: 0.7;
    margin-left: 0.5em;
}
.nav-links {
    display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    position: relative;
    transition: color 0.4s;
}
.nav.scrolled .nav-links a { color: var(--color-text-soft); }
.nav.scrolled .nav-links a:hover { color: var(--color-accent); }
.nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-out-expo);
}
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column; gap: 6px;
    width: 28px; padding: 4px 0;
    z-index: 1001;
}
.nav-hamburger span {
    display: block; height: 1.5px; width: 100%;
    background: var(--color-white);
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s, background 0.4s;
}
.nav.scrolled .nav-hamburger span { background: var(--color-text); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav-mobile {
    display: none;
    position: fixed; inset: 0; z-index: 999;
    background: var(--color-dark);
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}
.nav-mobile.open { opacity: 1; visibility: visible; }
.nav-mobile a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-cream);
    letter-spacing: 0.1em;
    transition: color 0.3s;
}
.nav-mobile a:hover { color: var(--color-accent); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh; min-height: 700px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1A1612 0%, #2C2219 30%, #3A2E22 60%, #1A1612 100%);
}
.hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184,146,106,0.15), transparent),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(212,184,150,0.08), transparent);
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-line {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1px; height: 0;
    background: linear-gradient(to bottom, transparent, var(--color-accent-light), transparent);
    animation: heroLineGrow 1.5s 1.2s var(--ease-out-expo) forwards;
}
@keyframes heroLineGrow { to { height: 200px; } }
.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding: 0 2rem;
}
.hero-overtitle {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s 0.5s var(--ease-out-expo) forwards;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 9rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 0.95;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
    display: inline-block;
    opacity: 0;
    animation: heroTitleReveal 1.2s var(--ease-out-expo) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.15s; }
@keyframes heroTitleReveal {
    from { opacity: 0; transform: translateY(110%); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-accent-light);
    letter-spacing: 0.08em;
    opacity: 0;
    animation: fadeUp 1s 0.7s var(--ease-out-expo) forwards;
}
.hero-cta {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 1s 0.9s var(--ease-out-expo) forwards;
}
.hero-cta a {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-white);
    border: 1px solid rgba(184,146,106,0.4);
    padding: 1rem 3rem;
    transition: all 0.5s var(--ease-out-expo);
}
.hero-cta a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-dark);
}
.hero-scroll {
    position: absolute;
    bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
    opacity: 0;
    animation: fadeUp 1s 1.3s var(--ease-out-expo) forwards;
}
.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    writing-mode: vertical-rl;
}
.hero-scroll-line {
    width: 1px; height: 40px;
    background: var(--color-accent-light);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   SECTIONS COMMON
═══════════════════════════════════════ */
section { position: relative; }
.section-pad { padding: 8rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.section-label {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--color-accent-dark); }
.divider {
    width: 60px; height: 1px;
    background: var(--color-accent);
    margin: 2rem 0;
}

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-section {
    padding: 2rem 0;
    overflow: hidden;
    border-top: 1px solid var(--color-cream);
    border-bottom: 1px solid var(--color-cream);
    background: var(--color-bg);
}
.marquee-track {
    display: flex; gap: 3rem;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}
.marquee-track span {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-soft);
    white-space: nowrap;
    opacity: 0.5;
}
.marquee-track span::after {
    content: '✦';
    margin-left: 3rem;
    color: var(--color-accent);
    font-style: normal;
    font-size: 0.6em;
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about { background: var(--color-bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.about-image-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}
.about-image-wrap::before {
    content: '';
    position: absolute; inset: 0;
    border: 1px solid var(--color-accent-light);
    transform: translate(20px, 20px);
    z-index: 1;
    pointer-events: none;
}
.about-image {
    width: 100%; height: 100%;
    object-fit: cover;
}
.about-image-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #E8DDD1 0%, #D4C4B0 50%, #C9B89E 100%);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 1rem;
}
.about-image-placeholder svg {
    width: 60px; height: 60px;
    stroke: var(--color-accent);
    stroke-width: 1;
    fill: none;
}
.about-image-placeholder span {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
}
.about-text p {
    font-size: 1.05rem;
    color: var(--color-text-soft);
    margin-bottom: 1.5rem;
    line-height: 1.85;
}
.about-stat { display: flex; gap: 3rem; margin-top: 3rem; }
.about-stat-item { text-align: left; }
.about-stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
}
.about-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-soft);
    margin-top: 0.4rem;
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services { background: var(--color-dark); color: var(--color-white); }
.services .section-label { color: var(--color-accent-light); }
.services .section-title { color: var(--color-white); }
.services .section-title em { color: var(--color-accent-light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(184,146,106,0.15);
}
.service-card {
    padding: 3rem 2.5rem;
    border-bottom: 1px solid rgba(184,146,106,0.15);
    border-right: 1px solid rgba(184,146,106,0.15);
    position: relative;
    overflow: hidden;
    transition: background 0.5s var(--ease-out-expo);
}
.service-card:nth-child(3n) { border-right: none; }
.service-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(184,146,106,0.08), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 48px; height: 48px;
    margin-bottom: 1.5rem;
    stroke: var(--color-accent); fill: none;
    stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}
.service-card p {
    font-size: 0.9rem;
    font-weight: 200;
    color: rgba(253,252,250,0.6);
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   GALLERY / EXPERIENCE
═══════════════════════════════════════ */
.experience { background: var(--color-bg-warm); }
.experience-text {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}
.experience-text blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.experience-text cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}
.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 0.5rem;
    transition: transform 0.6s var(--ease-out-expo);
}
.gallery-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-item:hover .gallery-placeholder { transform: scale(1.05); }
.gallery-placeholder span {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.7;
}
.gp-1 { background: linear-gradient(135deg, #C4A882, #A68B6B); }
.gp-2 { background: linear-gradient(135deg, #8B7355, #6B5940); }
.gp-3 { background: linear-gradient(135deg, #D4C4B0, #B8A68E); }
.gp-4 { background: linear-gradient(135deg, #9E8B74, #7A6852); }
.gp-5 { background: linear-gradient(135deg, #BCA88E, #9E8A70); }

/* ═══════════════════════════════════════
   SCHEDULE
═══════════════════════════════════════ */
.schedule { background: var(--color-bg); }
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}
.schedule-table { margin-top: 2rem; }
.schedule-row {
    display: flex; justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-cream);
    font-size: 0.95rem;
}
.schedule-day { font-weight: 400; }
.schedule-hours { color: var(--color-text-soft); font-weight: 200; }
.schedule-closed { color: var(--color-accent); font-style: italic; font-weight: 300; }
.location-info { margin-top: 2rem; }
.location-info p {
    font-size: 0.95rem;
    color: var(--color-text-soft);
    line-height: 1.85;
    margin-bottom: 0.5rem;
}
.location-info a { color: var(--color-accent); transition: color 0.3s; }
.location-info a:hover { color: var(--color-accent-dark); }
.map-container {
    aspect-ratio: 1;
    background: var(--color-cream);
    overflow: hidden;
    position: relative;
}
.map-container iframe {
    width: 100%; height: 100%;
    border: 0;
    filter: grayscale(1) contrast(1.1);
    transition: filter 0.5s;
}
.map-container:hover iframe { filter: grayscale(0); }

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.cta-section {
    background: var(--color-dark);
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(184,146,106,0.1), transparent);
}
.cta-section .section-title { color: var(--color-white); margin-bottom: 1.5rem; }
.cta-section p {
    font-size: 1rem;
    color: rgba(253,252,250,0.5);
    max-width: 500px;
    margin: 0 auto 3rem;
    font-weight: 200;
}
.cta-button {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-dark);
    background: var(--color-accent);
    padding: 1.2rem 3.5rem;
    transition: all 0.5s var(--ease-out-expo);
}
.cta-button:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(184,146,106,0.3);
}
.cta-phone {
    display: block;
    margin-top: 2rem;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-accent-light);
    letter-spacing: 0.1em;
    transition: color 0.3s;
}
.cta-phone:hover { color: var(--color-white); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
    background: var(--color-dark);
    border-top: 1px solid rgba(184,146,106,0.12);
    padding: 3rem 2rem;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-cream);
}
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
    width: 40px; height: 40px;
    border: 1px solid rgba(184,146,106,0.25);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
}
.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}
.footer-social svg {
    width: 16px; height: 16px;
    fill: var(--color-cream);
    transition: fill 0.4s;
}
.footer-social a:hover svg { fill: var(--color-dark); }
.footer-copy {
    font-size: 0.7rem;
    color: rgba(253,252,250,0.3);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:nth-child(3n) { border-right: 1px solid rgba(184,146,106,0.15); }
    .service-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 768px) {
    .nav { padding: 1.2rem 1.5rem; }
    .nav.scrolled { padding: 0.8rem 1.5rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-mobile { display: flex; }
    .about-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image-wrap { max-height: 500px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { border-right: none !important; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 2/1;
    }
    .about-stat { gap: 2rem; }
    .section-pad { padding: 5rem 1.5rem; }
    .footer-inner {
        flex-direction: column; gap: 1.5rem; text-align: center;
    }
    .hero-cta a { padding: 0.9rem 2rem; }
}
@media (max-width: 480px) {
    .about-stat { flex-direction: column; gap: 1.5rem; }
}
