/* ============================================
   Donut Depot — Clean Minimalist Café Website
   Color Palette: Burgundy + Blush
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --burgundy: #781F2E;
    --burgundy-dark: #5A1520;
    --burgundy-light: #9A2D40;
    --blush: #FFF0F3;
    --blush-light: #FFF8F9;
    --blush-mid: #FFE0E6;
    --cream: #FFFAF8;
    --charcoal: #1A1A1A;
    --text-dark: #2C2C2C;
    --text-mid: #5A5A5A;
    --text-light: #8A8A8A;
    --white: #FFFFFF;
    --border: #F0D0D8;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

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

/* --- Eyebrow --- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border: 1.5px solid var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(120, 31, 46, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border: 1.5px solid var(--burgundy);
}

.btn-outline:hover {
    background: var(--burgundy);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(120, 31, 46, 0.06);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--burgundy);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--burgundy);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-links .btn {
    padding: 10px 24px;
}

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

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--burgundy);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush-light) 50%, var(--blush) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 31, 46, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 31, 46, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 520px;
}

.hero-content .eyebrow {
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: italic;
    color: var(--burgundy);
}

.hero-sub {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 520px;
}

.card-float {
    position: absolute;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(120, 31, 46, 0.1), 0 4px 16px rgba(120, 31, 46, 0.06);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out);
}

.card-float:hover {
    transform: translateY(-4px) !important;
}

.card-1 {
    top: 0;
    right: 0;
    width: 280px;
    height: 360px;
}

.card-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-2 {
    bottom: 140px;
    left: -20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.card-2 .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    flex-shrink: 0;
}

.card-2 .stat-text {
    display: flex;
    flex-direction: column;
}

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

.card-2 .stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 4px;
}

.card-3 {
    bottom: 0;
    right: 40px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.card-3 .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.card-3 .stat-text {
    display: flex;
    flex-direction: column;
}

.card-3 .stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--burgundy);
    line-height: 1;
}

.card-3 .stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Hero decorative line */
.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-image {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 6/7;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content .eyebrow {
    margin-bottom: 16px;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--charcoal);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.about-content p:last-child {
    margin-bottom: 0;
}

/* --- Menu Section --- */
.menu {
    padding: 120px 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
}

.section-header .eyebrow {
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.menu-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    border: 1px solid transparent;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(120, 31, 46, 0.1);
    border-color: var(--border);
}

.menu-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.06);
}

.menu-card-body {
    padding: 28px;
}

.menu-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.menu-card-body p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.65;
}

.menu-cta {
    text-align: center;
    padding: 48px;
    background: var(--blush);
    border-radius: 24px;
}

.menu-cta p {
    font-size: 1.0625rem;
    color: var(--text-mid);
    margin-bottom: 24px;
}

.menu-cta p strong {
    color: var(--burgundy);
}

/* --- Visit Section --- */
.visit {
    padding: 120px 0;
    background: var(--white);
}

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

.visit-info {
    padding-right: 20px;
}

.visit-info .eyebrow {
    margin-bottom: 16px;
}

.visit-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.info-block {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.info-value {
    font-size: 1.0625rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.info-value a {
    color: var(--burgundy);
    transition: color 0.2s ease;
}

.info-value a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

.visit-map {
    border-radius: 24px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 20px 60px rgba(120, 31, 46, 0.08);
}

/* --- Footer --- */
.footer {
    padding: 64px 0 40px;
    background: var(--burgundy);
    color: var(--white);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 280px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--white);
}

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

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

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-visual {
        height: 440px;
    }
    
    .card-1 {
        width: 240px;
        height: 300px;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 360px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .card-1 {
        width: 200px;
        height: 260px;
    }
    
    .card-2 {
        left: 0;
        bottom: 100px;
    }
    
    .card-3 {
        right: 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        aspect-ratio: 4/3;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-info {
        padding-right: 0;
    }
    
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 240px;
    }
    
    .card-float {
        border-radius: 16px;
    }
    
    .card-1 {
        width: 160px;
        height: 220px;
    }
    
    .card-2, .card-3 {
        padding: 16px;
        gap: 12px;
    }
    
    .card-2 .stat-icon, .card-3 .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .card-2 .stat-number, .card-3 .stat-number {
        font-size: 1.25rem;
    }
    
    .menu-cta {
        padding: 32px 24px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .card-float {
        animation: float 6s ease-in-out infinite;
    }
    
    .card-2 {
        animation-delay: -2s;
    }
    
    .card-3 {
        animation-delay: -4s;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
