/* ============================================
   THE DONUT NOOK — Stylesheet
   Burgundy + Blush | Warm & Friendly
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --burgundy: #800020;
    --burgundy-dark: #5c0017;
    --burgundy-light: #a0103a;
    --blush: #FDF2F8;
    --blush-light: #FFF8FA;
    --blush-mid: #FECDD3;
    --blush-dark: #F43F5E;
    --cream: #FFFAF5;
    --warm-white: #FFF9F6;
    --text-dark: #1a0a0e;
    --text-mid: #4a2030;
    --text-light: #7a4a58;
    --shadow-sm: 0 2px 8px rgba(128, 0, 32, 0.08);
    --shadow-md: 0 8px 30px rgba(128, 0, 32, 0.12);
    --shadow-lg: 0 20px 60px rgba(128, 0, 32, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.2;
    font-weight: 600;
}

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

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: #fff;
    box-shadow: 0 4px 20px rgba(128, 0, 32, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(128, 0, 32, 0.45);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn--light {
    background: #fff;
    color: var(--burgundy);
    box-shadow: var(--shadow-md);
}

.btn--light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

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

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: var(--blush);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(128, 0, 32, 0.08);
    transition: all var(--transition);
}

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

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--burgundy);
}

.logo--light .logo__text {
    color: #fff;
}

.logo__text {
    letter-spacing: -0.02em;
}

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

.nav__link {
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-mid);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.nav__link:hover {
    color: var(--burgundy);
    background: var(--blush);
}

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

.nav-toggle__bar {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--burgundy);
    border-radius: 3px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--burgundy-dark);
    overflow: hidden;
}

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

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 0, 23, 0.92) 0%,
        rgba(128, 0, 32, 0.85) 50%,
        rgba(160, 16, 58, 0.78) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 205, 211, 0.2);
    border: 1px solid rgba(254, 205, 211, 0.3);
    color: var(--blush-mid);
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    margin-bottom: 28px;
    letter-spacing: 0.05em;
}

.hero__headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero__highlight {
    display: block;
    background: linear-gradient(135deg, var(--blush-mid), #fda4af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subheadline {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(253, 242, 248, 0.85);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

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

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(253, 242, 248, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero__trust-item svg {
    color: var(--blush-mid);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(253, 242, 248, 0.5);
    font-size: 0.8rem;
    font-family: 'Fredoka', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

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

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

.about__images {
    position: relative;
}

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

.about__img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about__img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--cream);
}

.about__img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about__floating-card {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about__floating-number {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
}

.about__floating-year {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.about__content {
    padding: 20px 0;
}

.about__body {
    font-size: 1.08rem;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--blush-light);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.highlight-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.highlight-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-card h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

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

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

.menu-cat {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    color: var(--text-mid);
    background: var(--cream);
    border: 2px solid transparent;
    transition: all var(--transition);
}

.menu-cat:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.menu-cat.active {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(128, 0, 32, 0.3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

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

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

.menu-card__img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.menu-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--burgundy);
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-xl);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.menu-card__badge.special {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.menu-card__body {
    padding: 22px 24px 26px;
}

.menu-card__body h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.menu-card__body p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 14px;
}

.menu-card__tag {
    display: inline-block;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--burgundy);
    background: var(--blush);
    padding: 4px 14px;
    border-radius: var(--radius-xl);
}

.menu-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

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

.visit__info {
    padding: 20px 0;
}

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

.visit__detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.visit__detail-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--blush);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
}

.visit__detail h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.visit__detail p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.visit__detail a {
    color: var(--burgundy);
    font-weight: 700;
    transition: color var(--transition);
}

.visit__detail a:hover {
    color: var(--burgundy-light);
}

.visit__cta {
    margin-top: 12px;
}

/* Map placeholder */
.visit__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1.1;
    background: linear-gradient(135deg, #e8d5d8, #f5e6e8);
    position: relative;
}

.visit__map-placeholder {
    width: 100%;
    height: 100%;
    background: url('https://images.pexels.com/photos/8922188/pexels-photo-8922188.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=800&h=900') center/cover no-repeat;
    position: relative;
}

.visit__map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(128, 0, 32, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
    text-align: center;
}

.visit__map-overlay p {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy), var(--burgundy-light));
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(254, 205, 211, 0.06);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(254, 205, 211, 0.05);
    border-radius: 50%;
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-banner__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 12px;
}

.cta-banner__text {
    font-size: 1.1rem;
    color: rgba(253, 242, 248, 0.8);
    max-width: 480px;
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Footer --- */
.footer {
    background: var(--text-dark);
    color: rgba(253, 242, 248, 0.7);
    padding: 80px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

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

.footer__links h5,
.footer__contact h5,
.footer__hours h5 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    color: var(--blush-mid);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer__links a {
    display: block;
    font-size: 0.95rem;
    color: rgba(253, 242, 248, 0.6);
    padding: 6px 0;
    transition: all var(--transition);
}

.footer__links a:hover {
    color: var(--blush-mid);
    transform: translateX(4px);
}

.footer__contact p,
.footer__hours p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer__contact a {
    color: var(--blush-mid);
    font-weight: 700;
    transition: color var(--transition);
}

.footer__contact a:hover {
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid rgba(253, 242, 248, 0.1);
    padding: 24px 0;
}

.footer__bottom p {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(253, 242, 248, 0.4);
}

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

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal[data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about__inner {
        gap: 60px;
    }
    
    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 999;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav__link {
        width: 100%;
        padding: 14px 18px;
        font-size: 1.1rem;
    }
    
    .nav__link + .btn {
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .hero__content {
        padding: 120px 24px 100px;
    }
    
    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__trust {
        gap: 20px;
    }
    
    .about__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about__img-secondary {
        right: 10px;
        bottom: -30px;
        width: 160px;
    }
    
    .about__floating-card {
        right: 10px;
        top: -15px;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .visit__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit__map {
        aspect-ratio: 16 / 10;
    }
    
    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-banner__actions {
        justify-content: center;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__badge {
        font-size: 0.78rem;
        padding: 8px 16px;
    }
    
    .section-label {
        font-size: 0.78rem;
        padding: 6px 16px;
    }
    
    .menu-categories {
        gap: 8px;
    }
    
    .menu-cat {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .btn--lg {
        padding: 16px 28px;
        font-size: 1rem;
    }
}
