/* ============================================
   THE SWEET SPOT — Café & Bar
   Custom Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-midnight: #0d1b2a;
    --color-midnight-light: #1b2d42;
    --color-mint: #a8e6cf;
    --color-mint-dark: #7bc8a8;
    --color-cream: #f5f0eb;
    --color-cream-dark: #e8e0d8;
    --color-warm-white: #fdfbf9;
    --color-text: #1a1a2e;
    --color-text-light: #5a5a7a;
    --color-text-muted: #8a8aa0;
    --color-border: #e0d8d0;
    --color-white: #ffffff;
    --color-shadow: rgba(13, 27, 42, 0.08);
    --color-shadow-md: rgba(13, 27, 42, 0.12);
    --color-shadow-lg: rgba(13, 27, 42, 0.16);

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px var(--color-shadow), 0 1px 2px var(--color-shadow);
    --shadow-md: 0 4px 16px var(--color-shadow), 0 2px 4px var(--color-shadow);
    --shadow-lg: 0 12px 40px var(--color-shadow-md), 0 4px 12px var(--color-shadow);
    --shadow-xl: 0 20px 60px var(--color-shadow-lg), 0 8px 20px var(--color-shadow);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --container-max: 1200px;
    --header-height: 72px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 48px;
    }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-midnight);
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint-dark);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 560px;
    line-height: 1.7;
}

.text-mint {
    color: var(--color-mint-dark);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-mint);
    color: var(--color-midnight);
    box-shadow: 0 4px 16px rgba(168, 230, 207, 0.4);
}

.btn-primary:hover {
    background: var(--color-mint-dark);
    color: var(--color-midnight);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168, 230, 207, 0.5);
}

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

.btn-outline:hover {
    background: var(--color-midnight);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-midnight);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(245, 240, 235, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(224, 216, 208, 0.5);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(245, 240, 235, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-midnight);
    z-index: 1001;
}

.logo-light .logo-text {
    color: var(--color-white);
}

.logo-text {
    font-style: italic;
}

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

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-midnight);
    background: rgba(168, 230, 207, 0.3);
}

.nav-cta {
    background: var(--color-midnight);
    color: var(--color-white) !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--color-midnight-light);
    color: var(--color-white) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(13, 27, 42, 0.06);
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-midnight);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--color-midnight);
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-cream);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(168, 230, 207, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 230, 207, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(13, 27, 42, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        padding: 80px 0 120px;
    }
}

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

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--color-mint-dark);
    border-radius: 2px;
}

.hero-headline {
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--color-midnight);
}

.hero-headline .text-mint {
    font-style: italic;
    color: var(--color-mint-dark);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 600 / 750;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-img-wrapper:hover img {
    transform: scale(1.03);
}

.hero-float-card {
    position: absolute;
    bottom: 40px;
    left: -24px;
    background: var(--color-white);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.5;
    animation: float 4s ease-in-out infinite;
}

.hero-float-card svg {
    color: var(--color-mint-dark);
    flex-shrink: 0;
}

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

@media (min-width: 900px) {
    .hero-wave svg {
        height: 100px;
    }
}

/* ============================================
   FEATURES STRIP
   ============================================ */
.features-strip {
    background: var(--color-cream);
    padding: 0 0 80px;
    position: relative;
    z-index: 2;
}

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

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(168, 230, 207, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--color-midnight);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
    background: var(--color-cream);
    padding: 80px 0 100px;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

.menu-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.menu-tab {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    color: var(--color-text-light);
    background: var(--color-white);
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.menu-tab:hover {
    color: var(--color-midnight);
    border-color: var(--color-mint);
}

.menu-tab.active {
    background: var(--color-midnight);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.menu-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.menu-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.menu-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.menu-card-body {
    padding: 20px 24px 24px;
}

.menu-card-body h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.menu-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--color-white);
    padding: 100px 0;
}

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

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 500 / 600;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -16px;
    width: 60%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
    aspect-ratio: 350 / 400;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-mint);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-midnight);
    box-shadow: var(--shadow-md);
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--color-border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--color-midnight);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    background: var(--color-cream);
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 240px);
    }

    .gallery-item--wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item--tall {
        grid-column: span 1;
        grid-row: span 2;
    }
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    background: var(--color-midnight);
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 50%, rgba(168, 230, 207, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(168, 230, 207, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--color-mint);
}

.cta-title {
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--color-white);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 48px;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    transition: all var(--transition-fast);
}

.contact-card:hover {
    background: var(--color-cream-dark);
    transform: translateX(4px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--color-midnight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.6;
}

.contact-card a:hover {
    color: var(--color-mint-dark);
}

.contact-map {
    margin-top: 8px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-mint-dark);
    box-shadow: 0 0 0 4px rgba(168, 230, 207, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form success state */
.form-success {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--color-mint);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-midnight);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 56px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-hours h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-hours ul li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-hours .day {
    color: rgba(255, 255, 255, 0.5);
}

.footer-hours span:last-child {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--color-mint);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    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; }

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(245, 240, 235, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
    }

    .main-nav.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 14px 28px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 8px;
    }

    .hero-inner {
        padding: 40px 0 80px;
    }

    .hero-float-card {
        left: 16px;
        right: 16px;
        bottom: 20px;
    }

    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }

    .about-stats {
        gap: 24px;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

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