/* ============================================
   DABOBA — Premium Dark Luxury Bakery Site
   Color Palette: Forest Green + Off-White + Gold
============================================ */

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

:root {
    --forest-dark: #0A1F14;
    --forest-deep: #143D2A;
    --forest-mid: #1E5C3F;
    --forest-light: #2D7A54;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-pale: #E8D5A0;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --off-white: #EDE8DD;
    --text-light: #F5F0E8;
    --text-muted: #A8A090;
    --text-dark: #1A1A1A;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--forest-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 31, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition-fast);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    padding: 10px 22px;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    transition: var(--transition-fast) !important;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    background: var(--gold) !important;
    color: var(--forest-dark) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.mobile-toggle.active .hamburger {
    background: transparent;
}

.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--forest-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.mobile-menu a:hover {
    color: var(--gold);
}

.mobile-menu a.gold-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
    transition: var(--transition-fast);
}

.close-menu:hover {
    transform: rotate(90deg);
}

/* ============================================
   HERO
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(
            160deg,
            rgba(10, 31, 20, 0.88) 0%,
            rgba(20, 61, 42, 0.82) 50%,
            rgba(10, 31, 20, 0.92) 100%
        ),
        url('https://images.pexels.com/photos/1366594/pexels-photo-1366594.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--cream-light);
    margin-bottom: 24px;
}

.gold-text {
    color: var(--gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 300;
    color: var(--off-white);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 36px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--forest-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    border: 1px solid rgba(201, 168, 76, 0.5);
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ============================================
   SECTIONS (shared)
============================================ */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--cream-light);
}

/* ============================================
   ABOUT
============================================ */
.about {
    background: var(--forest-dark);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gold));
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    pointer-events: none;
}

.about-content {
    padding: 16px 0;
}

.about-content .lead {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--gold-pale);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   SPECIALTIES
============================================ */
.specialties {
    background: linear-gradient(180deg, var(--forest-dark) 0%, var(--forest-deep) 50%, var(--forest-dark) 100%);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.specialty-card {
    background: rgba(20, 61, 42, 0.4);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 2px;
    padding: 48px 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.specialty-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(20, 61, 42, 0.6);
    transform: translateY(-4px);
}

.specialty-card:hover::before {
    opacity: 1;
}

.card-icon {
    margin-bottom: 24px;
}

.specialty-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--cream-light);
    margin-bottom: 12px;
}

.specialty-card p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================
   GALLERY
============================================ */
.gallery {
    background: var(--forest-dark);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 5/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ============================================
   VISIT
============================================ */
.visit {
    background: linear-gradient(180deg, var(--forest-dark) 0%, var(--forest-deep) 100%);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info {
    padding: 16px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--off-white);
    line-height: 1.6;
}

.gold-link {
    color: var(--gold);
    transition: var(--transition-fast);
}

.gold-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.hours {
    padding: 28px 0;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.hours-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.hours p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
}

.visit-map {
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.visit-map iframe {
    filter: saturate(0.3) brightness(0.7) contrast(1.2);
    transition: filter var(--transition);
}

.visit-map:hover iframe {
    filter: saturate(0.5) brightness(0.75) contrast(1.1);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--forest-dark);
    border-top: 1px solid rgba(201, 168, 76, 0.12);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ============================================
   REVEAL ANIMATIONS
============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }
    
    .specialties-grid {
        gap: 24px;
    }
    
    .specialty-card {
        padding: 36px 28px;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrap img {
        height: 400px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
