/* ========================================
   SK Donuts — Custom Styles
   Emerald Green + Cream | Confident Corporate
   ======================================== */

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

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;
    
    --cream-50:  #fefdf8;
    --cream-100: #fef9e8;
    --cream-200: #fdf3d3;
    --cream-300: #fce8a8;
    
    --neutral-50:  #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --neutral-950: #0c0a09;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16), 0 8px 20px rgba(0,0,0,0.08);
    
    --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(--neutral-800);
    background: var(--cream-50);
    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;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-700);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus {
    top: 16px;
}

/* Background Decorations */
.decoration {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.blob--1 {
    width: 500px;
    height: 500px;
    background: var(--emerald-200);
    top: -100px;
    right: -100px;
}

.blob--2 {
    width: 400px;
    height: 400px;
    background: var(--cream-200);
    bottom: 20%;
    left: -80px;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--neutral-900);
    margin-bottom: 20px;
}

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

.btn--primary {
    background: var(--emerald-600);
    color: #fff;
    border-color: var(--emerald-600);
}
.btn--primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--light {
    background: #fff;
    color: var(--emerald-800);
    border-color: #fff;
}
.btn--light:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--ghost-light {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
    background: rgba(255,255,255,0.22);
    border-color: #fff;
    transform: translateY(-2px);
}

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

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(254, 253, 248, 0.95);
    box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--emerald-600);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

.logo__wordmark {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.logo--light .logo__mark {
    background: var(--emerald-400);
}

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

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__list {
    display: flex;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav__cta {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav-toggle__line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: var(--transition);
}

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--emerald-950);
    overflow: hidden;
    padding: 120px 0 80px;
}

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

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

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 44, 34, 0.92) 0%,
        rgba(6, 78, 59, 0.85) 40%,
        rgba(4, 120, 87, 0.75) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 680px;
    margin-bottom: 60px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-300);
    margin-bottom: 20px;
}

.hero__eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--emerald-400);
    border-radius: 2px;
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
}

.hero__subhead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--emerald-100);
    max-width: 520px;
    margin-bottom: 36px;
}

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

/* Hero Stats */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card__number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stat-card__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-200);
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--cream-50);
    position: relative;
    z-index: 1;
}

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

.about__image-stack {
    position: relative;
}

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

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

.about__img-float {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-50);
}

.about__img-float img {
    width: 260px;
    height: 200px;
    object-fit: cover;
}

.about__content {
    padding: 16px 0;
}

.about__text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--neutral-600);
    margin-bottom: 16px;
}

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

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

.feature__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-sm);
    color: var(--emerald-600);
}

.feature__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 2px;
}

.feature__desc {
    font-size: 0.875rem;
    color: var(--neutral-500);
    line-height: 1.5;
}

/* --- Menu --- */
.menu {
    padding: 100px 0;
    background: var(--neutral-100);
    position: relative;
    z-index: 1;
}

.menu__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.menu__subhead {
    font-size: 1.05rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

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

.menu-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: var(--transition);
    position: relative;
}

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

.menu-card--featured {
    border: 2px solid var(--emerald-300);
}

.menu-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--emerald-600);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    z-index: 2;
}

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

.menu-card__img 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 img {
    transform: scale(1.05);
}

.menu-card__body {
    padding: 28px;
}

.menu-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.menu-card__desc {
    font-size: 0.875rem;
    color: var(--neutral-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.menu-card__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-card__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--neutral-700);
}

.menu-card__list li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--emerald-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    background: var(--cream-50);
    position: relative;
    z-index: 1;
}

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

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.gallery__item:hover img {
    transform: scale(1.04);
}

.gallery__item--wide {
    grid-column: span 7;
    height: 300px;
}

.gallery__item:not(.gallery__item--wide):not(.gallery__item--tall) {
    height: 240px;
}

.gallery__item--tall {
    grid-column: span 3;
    height: 516px;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    background: var(--emerald-800);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta__inner {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta__eyebrow {
    color: var(--emerald-300);
}

.cta__title {
    color: #fff;
}

.cta__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--emerald-100);
    margin-bottom: 36px;
}

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

/* --- Visit --- */
.visit {
    padding: 100px 0;
    background: var(--neutral-100);
    position: relative;
    z-index: 1;
}

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

.visit__info {
    padding: 16px 0;
}

.visit__text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--neutral-500);
    margin-bottom: 36px;
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visit__detail {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 12px;
    align-items: baseline;
}

.visit__detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neutral-400);
}

.visit__detail-value {
    font-size: 1rem;
    color: var(--neutral-800);
    line-height: 1.6;
}

.visit__detail-value a {
    color: var(--emerald-700);
    transition: var(--transition);
}

.visit__detail-value a:hover {
    color: var(--emerald-500);
    text-decoration: underline;
}

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

/* --- Footer --- */
.footer {
    background: var(--neutral-950);
    color: var(--neutral-400);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}

.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__tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--neutral-500);
    margin-top: 16px;
    max-width: 280px;
}

.footer__heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neutral-300);
    margin-bottom: 20px;
}

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

.footer__list a {
    font-size: 0.875rem;
    color: var(--neutral-500);
    transition: var(--transition);
}

.footer__list a:hover {
    color: var(--emerald-400);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    font-size: 0.8rem;
    color: var(--neutral-600);
}

.footer__bottom a {
    color: var(--neutral-500);
    transition: var(--transition);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu__categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu__categories .menu-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .gallery__item--wide {
        grid-column: span 8;
    }
    
    .gallery__item--tall {
        grid-column: span 4;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer__brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
        z-index: 100;
    }
    
    .nav.is-open {
        transform: translateX(0);
    }
    
    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .nav__link {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    .nav__cta {
        margin-top: 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero__content {
        margin-bottom: 40px;
    }
    
    .hero__headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px 12px;
    }
    
    .stat-card__number {
        font-size: 1.35rem;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about__img-float {
        right: 16px;
        bottom: -24px;
    }
    
    .about__img-float img {
        width: 200px;
        height: 160px;
    }
    
    .menu__categories {
        grid-template-columns: 1fr;
    }
    
    .menu__categories .menu-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery__item--wide {
        grid-column: span 2;
        height: 220px;
    }
    
    .gallery__item:not(.gallery__item--wide):not(.gallery__item--tall) {
        height: 180px;
    }
    
    .gallery__item--tall {
        grid-column: span 2;
        height: 240px;
    }
    
    .visit__grid {
        grid-template-columns: 1fr;
    }
    
    .visit__map {
        min-height: 300px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer__brand {
        grid-column: span 1;
    }
    
    .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%;
        justify-content: center;
    }
    
    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta__actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__item--wide,
    .gallery__item--tall,
    .gallery__item:not(.gallery__item--wide):not(.gallery__item--tall) {
        grid-column: span 1;
        height: 200px;
    }
}

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