/* ========================================
   LOGAN DONUTS — Stylesheet
   Palette: Plum (#6B3A5D) + Amber (#F5C518)
   Fonts: Cormorant Garamond + Inter
   ======================================== */

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

:root {
    --plum-950: #1A0F1A;
    --plum-900: #2D1528;
    --plum-800: #3D1F36;
    --plum-700: #4A2545;
    --plum-600: #5C2E55;
    --plum-500: #6B3A5D;
    --plum-400: #8B5578;
    --plum-300: #B07DA0;
    --plum-200: #D4A8C4;
    --plum-100: #F0D8E8;
    --plum-50: #FAF0F6;

    --amber-600: #D4A017;
    --amber-500: #F5C518;
    --amber-400: #F7D04A;
    --amber-300: #F9DA7A;
    --amber-200: #FCE8B0;
    --amber-100: #FDF4D4;

    --cream-50: #FDFCFA;
    --cream-100: #FAF8F4;
    --cream-200: #F5F0E8;
    --cream-300: #EDE6D8;

    --text-dark: #1A0F1A;
    --text-mid: #4A3F4A;
    --text-light: #7A6E7A;
    --text-muted: #A0949E;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    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-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--plum-500);
    color: #fff;
    border-color: var(--plum-500);
}

.btn-primary:hover {
    background-color: var(--plum-700);
    border-color: var(--plum-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 58, 93, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

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

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

.btn-outline-light:hover {
    background-color: var(--plum-500);
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(107, 58, 93, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.4s var(--ease-out);
}

.nav.scrolled .nav-logo {
    color: var(--text-dark);
}

.nav-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-logo-text {
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s var(--ease-out);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--amber-500);
    transition: width 0.4s var(--ease-out);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav.scrolled .nav-links a {
    color: var(--text-mid);
}

.nav.scrolled .nav-links a:hover {
    color: var(--plum-500);
}

.nav-cta {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.nav.scrolled .nav-cta {
    border-color: var(--plum-500);
    color: var(--plum-500) !important;
}

.nav.scrolled .nav-cta:hover {
    background-color: var(--plum-500);
    color: #fff !important;
}

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: #fff;
    transition: all 0.4s var(--ease-out);
    transform-origin: center;
}

.nav.scrolled .nav-toggle-line {
    background-color: var(--text-dark);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 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(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--plum-900);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-menu-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s var(--ease-out);
}

.mobile-menu-links a:hover {
    color: var(--amber-500);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    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(26, 15, 26, 0.88) 0%,
        rgba(45, 21, 40, 0.82) 40%,
        rgba(74, 37, 69, 0.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-card {
    max-width: 640px;
    margin-bottom: 48px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber-500);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-400);
}

.hero-subheadline {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin-bottom: 36px;
    font-weight: 300;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    max-width: 640px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 24px 20px;
    transition: background-color 0.4s var(--ease-out);
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--amber-400);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* Thin decorative line */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, var(--amber-500), transparent 70%);
    opacity: 0.4;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 120px 0;
    background-color: var(--cream-50);
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1px solid var(--plum-200);
    border-radius: 2px;
    z-index: 0;
}

.about-image-wrap img {
    position: relative;
    z-index: 1;
    border-radius: 2px;
    width: 100%;
    height: 750px;
    object-fit: cover;
}

.about-text {
    padding: 16px 0;
}

.about-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 20px;
    font-weight: 300;
}

.about-values {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-300);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.value-item svg {
    color: var(--plum-500);
    flex-shrink: 0;
}

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

.menu-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
}

.menu-intro {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-light);
    font-weight: 300;
}

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

.menu-card {
    background-color: #fff;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(107, 58, 93, 0.1);
}

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

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

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

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

.menu-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.menu-card-body p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-light);
    font-weight: 300;
}

.menu-note {
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
}

/* ========================================
   PROCESS
   ======================================== */
.process {
    padding: 120px 0;
    background-color: var(--plum-900);
}

.process-header {
    text-align: center;
    margin-bottom: 72px;
}

.process-header .section-eyebrow {
    color: var(--amber-500);
}

.process-header .section-title {
    color: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--plum-700);
    line-height: 1;
    margin-bottom: 20px;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

.process-connector {
    position: absolute;
    top: 36px;
    right: -12px;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, var(--plum-600), transparent);
}

.process-step:last-child .process-connector {
    display: none;
}

/* ========================================
   VISIT
   ======================================== */
.visit {
    padding: 120px 0;
    background-color: var(--cream-50);
}

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

.visit-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.visit-detail svg {
    color: var(--plum-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.visit-detail-value {
    display: block;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
}

.visit-detail-value a {
    color: var(--plum-500);
    transition: color 0.3s var(--ease-out);
}

.visit-detail-value a:hover {
    color: var(--plum-700);
}

.visit-map {
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--cream-200);
    box-shadow: 0 8px 32px rgba(107, 58, 93, 0.08);
}

/* ========================================
   CTA
   ======================================== */
.cta {
    padding: 120px 0;
    background-color: var(--plum-500);
    text-align: center;
}

.cta .section-eyebrow {
    color: var(--amber-400);
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin: 0 auto 36px;
    font-weight: 300;
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--plum-950);
    padding: 72px 0 0;
}

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

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

.footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--amber-500);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    max-width: 280px;
}

.footer-nav-label,
.footer-contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    transition: color 0.3s var(--ease-out);
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--amber-500);
}

.footer-contact li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-connector {
        display: none;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

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

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

    .about-image-wrap img {
        height: 500px;
    }

    .about-image-wrap::before {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 48px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .visit-map {
        aspect-ratio: 16/9;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .hero::after {
        left: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 16px 14px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-values {
        flex-direction: column;
        gap: 16px;
    }
}

/* 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;
    }
}
