/* ===================================
   Rise N Shine Donuts — Styles
   =================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-dark: #1A3A2A;
    --green-mid: #2D5A3F;
    --green-light: #3D7A54;
    --green-pale: #E8F0EC;
    --cream: #F7F4EE;
    --cream-light: #FBF9F5;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --text-muted: #9A9A9A;
    --line: rgba(26, 58, 42, 0.1);
    --line-strong: rgba(26, 58, 42, 0.2);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 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-light);
    line-height: 1.7;
    -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;
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
    background-color: rgba(251, 249, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

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

.nav-logo {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.4s var(--ease-out);
}

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

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

.nav-links a {
    font-size: 0.82rem;
    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: currentColor;
    transition: width 0.3s var(--ease-out);
}

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

.nav-links a:hover {
    color: var(--white);
}

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

.nav.scrolled .nav-links a:hover {
    color: var(--green-dark);
}

.nav-cta {
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 8px 20px !important;
    border-radius: 100px !important;
    transition: all 0.3s var(--ease-out) !important;
}

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

.nav-cta:hover {
    background: var(--white) !important;
    color: var(--green-dark) !important;
    border-color: var(--white) !important;
}

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

.nav.scrolled .nav-cta:hover {
    background: var(--green-dark) !important;
    color: var(--white) !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 span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav.scrolled .nav-toggle span {
    background: var(--green-dark);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--green-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

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

.mobile-menu a:hover {
    color: var(--white);
}

.mobile-menu-cta {
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 28px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===================================
   Hero
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #1A3A2A 0%,
        #24503A 35%,
        #2D6B4A 60%,
        #3A8A5E 80%,
        #4AA872 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 60% at 50% 40%,
        rgba(74, 168, 114, 0.3) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    color: var(--cream);
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(247, 244, 238, 0.7);
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--cream);
    margin-bottom: 24px;
}

.hero-accent {
    font-style: italic;
    color: rgba(247, 244, 238, 0.85);
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(247, 244, 238, 0.75);
    max-width: 480px;
    margin: 0 auto 40px;
}

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

.hero-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(247, 244, 238, 0.6);
}

.hero-detail svg {
    opacity: 0.7;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(247, 244, 238, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--cream);
    color: var(--green-dark);
    border-color: var(--cream);
}

.btn-primary:hover {
    background: transparent;
    color: var(--cream);
    border-color: var(--cream);
}

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(247, 244, 238, 0.4);
}

.btn-ghost:hover {
    border-color: var(--cream);
    background: rgba(247, 244, 238, 0.1);
}

.btn-white {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

/* ===================================
   Section Styles
   =================================== */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--green-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 520px;
}

.section-divider {
    color: var(--green-dark);
    margin-bottom: 0;
}

/* ===================================
   Menu Section
   =================================== */
.menu-section {
    padding: 120px 0;
    background: var(--cream-light);
}

.menu-section .container {
    text-align: center;
}

.menu-section .section-subtitle {
    margin: 0 auto 64px;
}

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

.menu-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    border: 1px solid var(--line);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 58, 42, 0.1);
}

.menu-card-img {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.menu-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(26, 58, 42, 0.08) 100%);
}

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

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

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

.menu-note {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-muted);
    font-style: italic;
}

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

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    width: 75%;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(26, 58, 42, 0.12);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-float {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: 0 20px 60px rgba(26, 58, 42, 0.15);
}

.about-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-subtitle {
    margin-bottom: 32px;
}

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

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--green-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--line-strong);
}

/* ===================================
   Features Strip
   =================================== */
.features-strip {
    padding: 80px 0;
    background: var(--green-dark);
}

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

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

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(247, 244, 238, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
}

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(247, 244, 238, 0.6);
}

/* ===================================
   Visit Section
   =================================== */
.visit-section {
    padding: 120px 0;
    background: var(--cream-light);
}

.visit-section .container {
    text-align: center;
}

.visit-section .section-subtitle {
    margin: 0 auto 64px;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.visit-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
}

.visit-detail h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--green-dark);
    margin-bottom: 6px;
}

.visit-detail p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-mid);
}

.visit-detail a {
    color: var(--green-mid);
    transition: color 0.3s var(--ease-out);
}

.visit-detail a:hover {
    color: var(--green-dark);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.88rem;
}

.hours-row span:first-child {
    color: var(--text-mid);
}

.hours-row span:last-child {
    color: var(--text-light);
    font-weight: 400;
}

.visit-map {
    border-radius: 16px;
    overflow: hidden;
    height: 420px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(26, 58, 42, 0.08);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #1A3A2A 0%,
        #24503A 40%,
        #2D6B4A 70%,
        #3A8A5E 100%
    );
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 60% 50% at 70% 50%,
        rgba(74, 168, 114, 0.25) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: rgba(247, 244, 238, 0.6) !important;
}

.cta-title {
    color: var(--cream) !important;
}

.cta-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(247, 244, 238, 0.75);
    margin-bottom: 40px;
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--green-dark);
    padding: 64px 0 0;
    color: var(--cream);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(247, 244, 238, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(247, 244, 238, 0.55);
    max-width: 320px;
}

.footer-phone {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 8px;
    transition: color 0.3s var(--ease-out);
}

.footer-phone:hover {
    color: var(--white);
}

.footer-address {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(247, 244, 238, 0.55);
}

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

.footer-bottom p {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(247, 244, 238, 0.4);
}

/* ===================================
   Reveal Animations
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-images {
        height: 480px;
    }
    
    .about-img-main {
        height: 380px;
    }
    
    .about-img-float {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 20px 80px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-details {
        flex-direction: column;
        gap: 12px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        height: 400px;
        order: -1;
    }
    
    .about-img-main {
        height: 300px;
        width: 85%;
    }
    
    .about-img-float {
        width: 60%;
        height: 180px;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        height: 300px;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .menu-section,
    .about-section,
    .visit-section {
        padding: 80px 0;
    }
    
    .features-strip {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .about-stats {
        flex-wrap: wrap;
    }
}
