/* ============================================
   LE DONUT — Premium Donut Shop, Kearney MO
   Confident Corporate Style
   Deep Navy + Warm Gold Palette
   ============================================ */

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

:root {
    --navy: #1a2744;
    --navy-light: #243352;
    --navy-dark: #111b30;
    --gold: #c8a45a;
    --gold-light: #d4b76e;
    --gold-dark: #b8933f;
    --white: #ffffff;
    --off-white: #f7f5f0;
    --gray-50: #faf9f7;
    --gray-100: #f0ede6;
    --gray-200: #e2ded5;
    --gray-400: #9e9a91;
    --gray-600: #5c5850;
    --gray-800: #2a2722;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --shadow-sm: 0 1px 3px rgba(26, 39, 68, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 39, 68, 0.1);
    --shadow-lg: 0 12px 40px rgba(26, 39, 68, 0.12);
    --shadow-xl: 0 20px 60px rgba(26, 39, 68, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --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(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* ---------- Typography ---------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    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(--navy);
    margin-bottom: 20px;
}

.section-title--light {
    color: var(--white);
}

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

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 90, 0.35);
}

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

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

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--gold);
}

.btn--outline-light:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 39, 68, 0.0);
    backdrop-filter: blur(0px);
    transition: var(--transition);
    padding: 20px 0;
}

.nav.scrolled {
    background: rgba(26, 39, 68, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav__container {
    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.4rem;
    font-weight: 700;
    color: var(--white);
}

.nav__logo-icon {
    flex-shrink: 0;
}

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

.nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav__cta {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-dark);
    background: var(--gold);
    border-radius: var(--radius-sm);
    margin-left: 8px;
    transition: var(--transition);
}

.nav__cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero__bg {
    position: absolute;
    inset: 0;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 27, 48, 0.88) 0%,
        rgba(26, 39, 68, 0.75) 50%,
        rgba(26, 39, 68, 0.6) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero__eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    max-width: 800px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease 0.15s forwards;
    opacity: 0;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 40px;
    animation: fadeUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.45s forwards;
    opacity: 0;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero__scroll svg {
    animation: bounce 2s ease infinite;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

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

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

.about__image-wrap {
    position: relative;
}

.about__image-wrap img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about__badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--navy);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-lg);
}

.about__badge-number {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold);
}

.about__badge-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.about__content {
    padding: 20px 0;
}

.about__text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.stat__label {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

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

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

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

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

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

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

.menu-card__body {
    padding: 28px;
}

.menu-card__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.menu-card__desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ---------- Why Us ---------- */
.why-us {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

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

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

.why-us__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 48px;
}

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

.feature {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature__icon {
    width: 52px;
    height: 52px;
    background: rgba(200, 164, 90, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.feature__desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.why-us__image img {
    width: 100%;
    height: 900px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ---------- Testimonial ---------- */
.testimonial {
    padding: 100px 0;
    background: var(--off-white);
}

.testimonial__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial__quote {
    margin: 0 auto 32px;
}

.testimonial blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--navy);
    margin-bottom: 28px;
}

.testimonial__attribution {
    font-size: 0.9rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact__text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: start;
}

.contact-detail__icon {
    width: 48px;
    height: 48px;
    background: rgba(200, 164, 90, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--navy);
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form {
    background: var(--off-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 32px;
}

.contact-form__group {
    margin-bottom: 20px;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.15);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: var(--gray-400);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(200, 164, 90, 0.1);
    border: 1px solid rgba(200, 164, 90, 0.3);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-form__success svg {
    flex-shrink: 0;
    color: var(--gold-dark);
}

/* ---------- Map Section ---------- */
.map-section {
    padding: 0;
    background: var(--navy-dark);
}

.map-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.map-section__content {
    padding: 100px 80px 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-section__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 440px;
}

.map-section__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-dark);
    padding: 80px 0 0;
}

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

.footer__brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

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

.footer__logo-icon {
    flex-shrink: 0;
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a,
.footer__links span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    line-height: 1.5;
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__hours-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 2px;
}

.footer__bottom {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}

.footer__bottom a:hover {
    color: var(--gold);
}

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

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about__grid,
    .why-us__inner,
    .contact__grid {
        gap: 48px;
    }
    
    .menu__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us__image img {
        height: 600px;
    }
    
    .map-section__content {
        padding: 60px 48px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav__menu.open {
        right: 0;
    }
    
    .nav__link {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .nav__cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
    }
    
    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .about__grid,
    .why-us__inner,
    .contact__grid {
        grid-template-columns: 1fr;
    }
    
    .about__image-wrap {
        order: -1;
    }
    
    .about__image-wrap img {
        height: 450px;
    }
    
    .about__badge {
        right: 16px;
        bottom: -16px;
    }
    
    .about__stats {
        gap: 24px;
    }
    
    .menu__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us__image {
        order: -1;
    }
    
    .why-us__image img {
        height: 400px;
    }
    
    .map-section__inner {
        grid-template-columns: 1fr;
    }
    
    .map-section__content {
        padding: 60px 24px;
    }
    
    .map-section__visual img {
        min-height: 300px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
    }
    
    .about__stats {
        flex-direction: column;
        gap: 20px;
    }
}
