/* ============================================
   Roswell Donuts Shop — Styles
   Classic & Elegant · Deep Navy + Warm Gold
   ============================================ */

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

:root {
    --navy: #1a2744;
    --navy-light: #243352;
    --navy-dark: #111b30;
    --gold: #c9a84c;
    --gold-light: #d4b968;
    --gold-dark: #b8943f;
    --cream: #faf8f4;
    --cream-dark: #f3efe8;
    --warm-gray: #8a8278;
    --warm-gray-light: #b8b0a8;
    --text-dark: #1a1a18;
    --text-medium: #4a4640;
    --text-light: #7a756e;
    --white: #ffffff;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lato', 'Segoe UI', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(26, 39, 68, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 39, 68, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 39, 68, 0.12);
    --shadow-xl: 0 16px 60px rgba(26, 39, 68, 0.16);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

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

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

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

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

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
.section-tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 0.9375rem;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 39, 68, 0.06);
    transition: all var(--transition);
}

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

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

.nav-logo-icon {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-medium);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--navy);
}

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

.nav-cta {
    background-color: var(--navy);
    color: var(--white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

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

.nav-cta:hover {
    background-color: var(--navy-light);
    color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background-color: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

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

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 72px 0 0;
    background-color: var(--cream);
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    padding-right: 1rem;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-headline br {
    display: none;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

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

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--warm-gray-light);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-image-badge {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background-color: var(--navy);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
}

.hero-image-badge svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ---------- About ---------- */
.about {
    padding: 8rem 0;
    background-color: var(--white);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-image-grid {
    display: grid;
    grid-template-rows: 1.2fr 0.8fr;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.about-image-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image-item:hover img {
    transform: scale(1.03);
}

.about-image-item--large {
    min-height: 400px;
}

.about-image-item:not(.about-image-item--large) {
    min-height: 200px;
}

/* ---------- Menu ---------- */
.menu {
    padding: 8rem 0;
    background-color: var(--cream);
}

.menu-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.menu-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.menu-subtitle {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-medium);
}

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

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

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

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

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

.menu-card-body {
    padding: 1.5rem;
}

.menu-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.menu-card-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background-color: rgba(201, 168, 76, 0.12);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
}

.menu-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
}

.menu-note {
    text-align: center;
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--warm-gray);
}

/* ---------- Process ---------- */
.process {
    padding: 8rem 0;
    background-color: var(--navy);
    color: var(--white);
}

.process-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.process-header .section-tagline {
    color: var(--gold);
}

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

.process-header .process-subtitle {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.process-step:nth-child(even) {
    direction: rtl;
}

.process-step:nth-child(even) > * {
    direction: ltr;
}

.process-step-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(201, 168, 76, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.process-step-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.process-step-desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.process-step-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.process-step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.process-step-image:hover img {
    transform: scale(1.03);
}

/* ---------- Visit ---------- */
.visit {
    padding: 8rem 0;
    background-color: var(--white);
}

.visit-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.visit-content {
    max-width: 520px;
}

.visit-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.visit-detail-icon {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}

.visit-detail-value {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.6;
}

.visit-detail-link {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 500;
    transition: color var(--transition);
}

.visit-detail-link:hover {
    color: var(--gold-dark);
}

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

.visit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
}

/* ---------- CTA ---------- */
.cta {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    text-align: center;
}

.cta-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-tagline {
    color: var(--gold);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.cta-title br {
    display: none;
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo svg {
    color: var(--gold);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 280px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

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

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

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2.5rem;
    }

    .hero-image-accent {
        top: -12px;
        right: -12px;
    }

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

    .process-step {
        gap: 2rem;
    }

    .process-step-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-content {
        padding-right: 0;
        order: 1;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image-badge {
        left: 0;
        bottom: 1rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        max-width: 100%;
    }

    .visit-container {
        grid-template-columns: 1fr;
    }

    .visit-content {
        max-width: 100%;
        order: 0;
    }

    .visit-image {
        order: 1;
        min-height: 350px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(26, 39, 68, 0.06);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 0.9375rem;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: 2rem;
    }

    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }

    .hero-headline br {
        display: block;
    }

    .hero-image-badge {
        left: 0;
        right: 0;
        bottom: 1rem;
        justify-content: center;
    }

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

    .process-step {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-step:nth-child(even) {
        direction: ltr;
    }

    .process-step-image {
        min-height: 280px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .cta-title br {
        display: block;
    }
}

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

    .hero-container,
    .about-container,
    .menu-container,
    .process-container,
    .visit-container,
    .cta-container,
    .footer-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

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

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