/* ============================================
   BREAD BOX BAKERY — Classic & Elegant
   Charcoal + Coral Palette
   ============================================ */

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

:root {
    --charcoal-900: #1a1f24;
    --charcoal-800: #2c3338;
    --charcoal-700: #36454F;
    --charcoal-600: #4a5a63;
    --charcoal-500: #6b7d8a;
    --charcoal-400: #9aa8b3;
    --charcoal-300: #c5cfd6;
    --charcoal-200: #e2e8ec;
    --charcoal-100: #f0f4f6;
    --charcoal-50: #f7f9fb;
    
    --coral-600: #d4724e;
    --coral-500: #F08A5D;
    --coral-400: #f2a07d;
    --coral-300: #f7c4b2;
    --coral-200: #faddd5;
    --coral-100: #fdefeb;
    --coral-50: #fdf6f4;
    
    --cream: #faf8f5;
    --warm-white: #fefcf9;
    
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(26, 31, 36, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 31, 36, 0.10);
    --shadow-lg: 0 8px 32px rgba(26, 31, 36, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 31, 36, 0.14);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal-700);
    background-color: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--coral-600);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--coral-500);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--charcoal-700);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    z-index: 1000;
    font-weight: 500;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--accent {
    background: var(--coral-500);
    color: #fff;
    border-color: var(--coral-500);
}

.btn--accent:hover {
    background: var(--coral-600);
    border-color: var(--coral-600);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--light {
    background: #fff;
    color: var(--charcoal-700);
    border-color: #fff;
}

.btn--light:hover {
    background: var(--charcoal-100);
    color: var(--charcoal-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal-800);
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--charcoal-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--charcoal-200);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal-800);
    text-decoration: none;
    transition: color var(--transition);
}

.logo:hover {
    color: var(--coral-500);
}

.logo-icon {
    color: var(--coral-500);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal-600);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--charcoal-800);
    background: var(--charcoal-100);
}

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

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal-800);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 31, 36, 0.55) 0%,
        rgba(26, 31, 36, 0.45) 50%,
        rgba(26, 31, 36, 0.70) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 8rem 1.5rem 6rem;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral-300);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bob 2s ease-in-out infinite;
    text-decoration: none;
}

@keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 7rem 0;
    background: var(--warm-white);
}

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

.about-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/750;
}

.about-img-accent {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--warm-white);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 400/500;
}

.about-text .section-title {
    text-align: left;
}

.about-text p {
    color: var(--charcoal-600);
    margin-bottom: 1.25rem;
    font-size: 1.025rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--charcoal-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--coral-500);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-500);
}

/* ============================================
   MENU
   ============================================ */
.menu {
    padding: 7rem 0;
    background: var(--charcoal-700);
}

.menu .section-eyebrow {
    color: var(--coral-300);
}

.menu .section-title {
    color: #fff;
}

.menu .section-subtitle {
    color: var(--charcoal-400);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.menu-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all var(--transition);
}

.menu-category:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.menu-category-icon {
    color: var(--coral-400);
    margin-bottom: 1.25rem;
}

.menu-category-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--charcoal-200);
}

.menu-item-desc {
    font-size: 0.875rem;
    color: var(--charcoal-400);
    line-height: 1.5;
}

.menu-note {
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--charcoal-400);
    font-style: italic;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 7rem 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3.5rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/2;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: 7rem 0;
    background: var(--warm-white);
}

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

.visit-description {
    font-size: 1.05rem;
    color: var(--charcoal-500);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.visit-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.detail-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-icon {
    flex-shrink: 0;
    color: var(--coral-500);
    margin-top: 0.15rem;
}

.detail-row strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal-800);
    margin-bottom: 0.25rem;
}

.detail-row p {
    font-size: 0.95rem;
    color: var(--charcoal-500);
    line-height: 1.6;
}

.detail-row a {
    color: var(--coral-600);
}

.detail-row a:hover {
    color: var(--coral-500);
    text-decoration: underline;
}

.hours-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-800);
    margin-bottom: 1rem;
}

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

.hours-table th,
.hours-table td {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    text-align: left;
    border-bottom: 1px solid var(--charcoal-200);
}

.hours-table th {
    font-weight: 500;
    color: var(--charcoal-700);
    width: 45%;
}

.hours-table td {
    color: var(--charcoal-500);
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
    border-bottom: none;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    min-height: 400px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--charcoal-800);
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-brand .logo {
    color: #fff;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.footer-brand .logo:hover {
    color: var(--coral-400);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--charcoal-400);
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--charcoal-400);
    padding: 0.25rem 0;
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal-600);
    width: 100%;
    max-width: 600px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--charcoal-500);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

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

    .visit-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--charcoal-200);
        padding: 1rem 1.5rem 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .main-nav .btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero-content {
        padding: 7rem 1.5rem 5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .about {
        padding: 4rem 0;
    }

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

    .about-images {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text p {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .menu {
        padding: 4rem 0;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        padding: 4rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .visit {
        padding: 4rem 0;
    }

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

    .visit-map {
        aspect-ratio: 16/9;
        min-height: 280px;
    }
}

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

    .about-img-accent {
        position: relative;
        bottom: auto;
        right: auto;
        border: none;
        margin-top: 1rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}
