/* ============================================
   Powderly Donuts — Classic & Elegant Styles
   Palette: Plum (#3D1C2E) + Amber (#C4722A)
   ============================================ */

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

:root {
    --plum-950: #1A0D16;
    --plum-900: #2D1220;
    --plum-800: #3D1C2E;
    --plum-700: #5A2A44;
    --plum-600: #7A3D5E;
    --plum-500: #9B5078;
    --plum-100: #F5E6EE;
    --plum-50:  #FBF3F7;

    --amber-700: #8B5214;
    --amber-600: #A0611A;
    --amber-500: #C4722A;
    --amber-400: #D4944A;
    --amber-300: #E8C07A;
    --amber-200: #F5E0B8;
    --amber-100: #DCF0D4;
    --amber-50:  #FDF8F0;

    --cream: #FDF8F4;
    --warm-white: #FAF5F0;
    --warm-gray: #6B5E56;
    --warm-gray-light: #9E8E84;
    --warm-gray-dark: #3D3530;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 3px rgba(61, 28, 46, 0.08);
    --shadow-md: 0 4px 16px rgba(61, 28, 46, 0.10);
    --shadow-lg: 0 8px 32px rgba(61, 28, 46, 0.12);
    --shadow-xl: 0 16px 48px rgba(61, 28, 46, 0.14);

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

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--warm-gray-dark);
    background: 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;
}

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

/* ---------- Typography ---------- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--plum-900);
    margin-bottom: 20px;
}

.text-accent {
    color: var(--amber-600);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray);
    max-width: 560px;
    line-height: 1.7;
}

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--amber-500);
    color: #fff;
    box-shadow: 0 4px 16px rgba(196, 114, 42, 0.35);
}

.btn--primary:hover {
    background: var(--amber-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 114, 42, 0.45);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

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

.btn--large {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 244, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(61, 28, 46, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(253, 248, 244, 0.96);
    box-shadow: var(--shadow-md);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--plum-900);
}

.nav__logo-icon {
    display: flex;
    align-items: center;
}

.nav__logo-text {
    transition: var(--transition);
}

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

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warm-gray);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-500);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--plum-800);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--amber-600);
    background: var(--amber-50);
    border: 1.5px solid var(--amber-300);
    padding: 8px 18px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav__cta:hover {
    background: var(--amber-500);
    color: #fff;
    border-color: var(--amber-500);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--plum-800);
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--cream);
    padding: 32px 24px;
}

.mobile-menu.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--plum-800);
    padding: 12px 24px;
    transition: var(--transition);
}

.mobile-menu__link:hover {
    color: var(--amber-600);
}

.mobile-menu__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--amber-600);
    background: var(--amber-50);
    border: 1.5px solid var(--amber-300);
    padding: 14px 28px;
    border-radius: 50px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(61, 28, 46, 0.92) 0%,
        rgba(90, 42, 68, 0.85) 40%,
        rgba(196, 114, 42, 0.70) 100%
    );
    z-index: 1;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 30% 50%,
        transparent 0%,
        rgba(26, 13, 22, 0.4) 100%
    );
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-300);
    background: rgba(196, 114, 42, 0.2);
    border: 1px solid rgba(196, 114, 42, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero__badge svg {
    fill: var(--amber-400);
}

.hero__headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__headline-accent {
    color: var(--amber-300);
    font-style: italic;
    font-weight: 600;
}

.hero__subheadline {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    padding: 16px 32px;
    backdrop-filter: blur(8px);
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0 20px;
}

.hero__trust-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.hero__trust-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.hero__trust-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.5);
    animation: float 2.5s ease-in-out infinite;
}

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

/* ---------- Section base ---------- */
.section {
    padding: 100px 0;
}

/* ---------- About ---------- */
.about {
    background: var(--cream);
}

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

.about__image-wrap {
    position: relative;
}

.about__image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 120px;
    height: 120px;
    background: var(--amber-200);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.about__image {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about__content {
    padding: 16px 0;
}

.about__content p {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    background: var(--warm-white);
    border: 1px solid rgba(61, 28, 46, 0.08);
    border-radius: var(--radius-md);
    padding: 24px 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 24px;
    flex: 1;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--plum-800);
}

.stat__label {
    font-size: 0.8rem;
    color: var(--warm-gray-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(61, 28, 46, 0.12);
}

/* ---------- Menu ---------- */
.menu {
    background: var(--warm-white);
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.menu-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 28, 46, 0.06);
    transition: var(--transition);
}

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

.menu-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.menu-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.menu-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
}

.menu-card__badge--popular {
    background: var(--plum-800);
    color: var(--amber-300);
}

.menu-card__badge--new {
    background: var(--amber-500);
    color: #fff;
}

.menu-card__body {
    padding: 24px;
}

.menu-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--plum-900);
    margin-bottom: 8px;
}

.menu-card__desc {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.65;
}

.menu__note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--warm-gray);
}

.menu__note a {
    color: var(--amber-600);
    font-weight: 600;
    border-bottom: 1px solid var(--amber-300);
    transition: var(--transition);
}

.menu__note a:hover {
    color: var(--amber-700);
    border-color: var(--amber-700);
}

/* ---------- Why Us ---------- */
.why-us {
    background: var(--plum-900);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 114, 42, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

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

.why-us__content .section-label {
    color: var(--amber-400);
}

.why-us__content .section-title {
    color: #fff;
}

.why-us__lead {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--amber-300);
    margin-bottom: 40px;
    line-height: 1.5;
}

.feature {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.feature__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 114, 42, 0.15);
    border: 1px solid rgba(196, 114, 42, 0.25);
    border-radius: var(--radius-md);
    color: var(--amber-400);
}

.feature__text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.feature__text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
}

.why-us__image-col {
    position: relative;
    padding-bottom: 24px;
}

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

.why-us__image-main .why-us__image {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.why-us__image-secondary {
    position: absolute;
    bottom: 0;
    right: -24px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--plum-900);
    box-shadow: var(--shadow-lg);
}

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

/* ---------- Visit ---------- */
.visit {
    background: var(--cream);
}

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

.visit__detail {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.visit__detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--amber-50);
    border: 1px solid var(--amber-200);
    border-radius: var(--radius-md);
    color: var(--amber-600);
}

.visit__detail h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--plum-800);
    margin-bottom: 4px;
}

.visit__detail p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.visit__link {
    color: var(--amber-600);
    font-weight: 600;
    border-bottom: 1px solid var(--amber-300);
    transition: var(--transition);
}

.visit__link:hover {
    color: var(--amber-700);
    border-color: var(--amber-700);
}

.visit__cta-box {
    margin-top: 40px;
    padding: 32px;
    background: var(--plum-900);
    border-radius: var(--radius-lg);
    text-align: center;
}

.visit__cta-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--amber-300);
    margin-bottom: 20px;
}

.visit__map {
    height: 100%;
    min-height: 480px;
}

.visit__map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 480px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--plum-950);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.footer__nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer__nav a:hover {
    color: var(--amber-400);
}

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

.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--amber-400);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about__grid,
    .why-us__grid,
    .visit__grid {
        gap: 48px;
    }

    .menu__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero__content {
        padding: 100px 20px 80px;
    }

    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__trust {
        flex-direction: column;
        gap: 12px;
        padding: 20px 24px;
        border-radius: var(--radius-md);
    }

    .hero__trust-divider {
        width: 48px;
        height: 1px;
    }

    .hero__actions {
        flex-direction: column;
    }

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

    .section {
        padding: 72px 0;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image {
        height: 360px;
    }

    .about__stats {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .menu__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-us__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-us__image-col {
        order: -1;
    }

    .why-us__image-main .why-us__image {
        height: 300px;
    }

    .why-us__image-secondary {
        right: 0;
        width: 60%;
    }

    .visit__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visit__map {
        min-height: 320px;
    }

    .visit__map-wrapper {
        min-height: 320px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .hero__headline {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}
