/* ═══════════════════════════════════════
   FRY GUY — Detroit Restaurant Website
   Warm terracotta + sand color palette
   ═══════════════════════════════════════ */

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

:root {
    --terracotta: #C0603A;
    --terracotta-dark: #A04E2E;
    --terracotta-light: #D4845E;
    --sand: #FDF0D9;
    --sand-dark: #F5E6CC;
    --sand-light: #FFF8EE;
    --cream: #FFFBF5;
    --brown-dark: #3D2216;
    --brown-mid: #5C3A28;
    --brown-text: #4A2E1E;
    --gold: #F5A623;
    --gold-light: #F7C06E;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(61, 34, 22, 0.08);
    --shadow-md: 0 4px 20px rgba(61, 34, 22, 0.12);
    --shadow-lg: 0 8px 40px rgba(61, 34, 22, 0.15);
    --shadow-xl: 0 16px 60px rgba(61, 34, 22, 0.18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--brown-text);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--brown-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
}

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

.btn-secondary:hover {
    background: var(--sand);
}

.btn-light {
    background: var(--white);
    color: var(--terracotta);
}

.btn-light:hover {
    background: var(--sand);
}

.btn-nav {
    background: var(--terracotta);
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--terracotta-dark);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

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

/* ── Section Shared ── */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: rgba(192, 96, 58, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    color: var(--brown-dark);
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--brown-mid);
    line-height: 1.8;
}

/* ── Reveal Animation (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navigation ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 240, 217, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 96, 58, 0.1);
    transition: box-shadow var(--transition);
}

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--brown-dark);
}

.nav-brand:hover {
    color: var(--terracotta);
}

.nav-brand-text {
    color: var(--brown-dark);
}

.nav-brand:hover .nav-brand-text {
    color: var(--terracotta);
}

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

.nav-links a {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brown-text);
    transition: all var(--transition);
}

.nav-links a:not(.btn):hover {
    background: rgba(192, 96, 58, 0.1);
    color: var(--terracotta);
}

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

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--brown-dark);
    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 {
    position: relative;
    background: linear-gradient(145deg, var(--sand) 0%, var(--sand-dark) 50%, #EDD4B8 100%);
    padding: 120px 0 0;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(192, 96, 58, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 166, 35, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(192, 96, 58, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.hero-main-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.hero-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--terracotta-light));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sand);
    color: var(--terracotta);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--brown-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-headline em {
    color: var(--terracotta);
    font-style: normal;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--brown-mid);
    line-height: 1.85;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Floating stat cards */
.hero-float-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.float-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

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

.float-card--1 { animation: float1 3.5s ease-in-out infinite; }
.float-card--2 { animation: float2 4s ease-in-out infinite; }
.float-card--3 { animation: float3 3.8s ease-in-out infinite; }

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-0.5deg); }
}

.float-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(192, 96, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-card-icon--gold {
    background: rgba(245, 166, 35, 0.15);
}

.float-card-num {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brown-dark);
}

.float-card-label {
    display: block;
    font-size: 0.82rem;
    color: var(--brown-mid);
}

/* Hero wave */
.hero-wave {
    margin-top: auto;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ── Menu Section ── */
.menu-section {
    background: var(--sand);
}

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

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

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

.menu-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.menu-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--terracotta);
    color: var(--white);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 50px;
}

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

.menu-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--brown-dark);
}

.menu-card-body p {
    font-size: 0.95rem;
    color: var(--brown-mid);
    line-height: 1.7;
}

.menu-cta {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}

.menu-cta p {
    font-size: 1.05rem;
    color: var(--brown-mid);
    margin-bottom: 20px;
}

/* ── About Section ── */
.about-section {
    background: var(--cream);
}

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

.about-images {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

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

.about-accent {
    position: absolute;
    top: -20px;
    right: 30px;
    opacity: 0.6;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--brown-mid);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 2px solid var(--sand-dark);
}

.about-stat {
    text-align: center;
}

.about-stat-num {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-label {
    font-size: 0.88rem;
    color: var(--brown-mid);
    font-weight: 600;
}

/* ── Why Section ── */
.why-section {
    background: var(--white);
}

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

.why-card {
    background: var(--sand-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.why-card:hover {
    border-color: var(--terracotta-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(192, 96, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all var(--transition);
}

.why-card:hover .why-card-icon {
    background: var(--terracotta);
}

.why-card:hover .why-card-icon svg path,
.why-card:hover .why-card-icon svg circle,
.why-card:hover .why-card-icon svg line {
    stroke: var(--white);
}

.why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--brown-dark);
}

.why-card p {
    font-size: 0.92rem;
    color: var(--brown-mid);
    line-height: 1.7;
}

/* ── Location Section ── */
.location-section {
    background: var(--sand);
}

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

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.location-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.location-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(192, 96, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--brown-dark);
}

.location-card p {
    font-size: 0.95rem;
    color: var(--brown-mid);
    line-height: 1.6;
}

.location-card a {
    color: var(--terracotta);
    font-weight: 700;
}

.location-card a:hover {
    color: var(--terracotta-dark);
    text-decoration: underline;
}

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

.map-placeholder {
    background: linear-gradient(145deg, var(--sand-dark), var(--sand));
    padding: 60px 40px;
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.map-icon {
    opacity: 0.5;
    margin-bottom: 4px;
}

.map-placeholder p {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    color: var(--brown-dark);
    font-weight: 600;
}

/* ── Contact Section ── */
.contact-section {
    background: linear-gradient(145deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    padding: 100px 0;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 56px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-content .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.contact-content .section-title {
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.85;
}

.contact-text a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
    text-underline-offset: 4px;
}

.contact-text a:hover {
    text-decoration-color: var(--white);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.18);
}

.form-group input::-moz-placeholder { color: rgba(255,255,255,0.5); }
.form-group textarea::-moz-placeholder { color: rgba(255,255,255,0.5); }

.form-success {
    display: none;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: var(--white);
    font-size: 1.05rem;
    padding: 16px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
}

.form-success.show {
    display: block;
}

/* ── Footer ── */
.footer {
    background: var(--brown-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .nav-brand-text {
    color: var(--white);
}

.footer-brand p {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--gold-light);
    font-weight: 700;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-float-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .float-card {
        flex: 1;
        min-width: 140px;
    }

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

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

    .about-images {
        max-width: 500px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sand);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1.05rem;
    }

    .nav-links .btn-nav {
        width: auto;
        margin-top: 12px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 0;
    }

    .hero-main-card {
        padding: 32px 28px;
    }

    .hero-headline {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .about-img-secondary {
        right: 0;
        bottom: -20px;
    }

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

    .contact-card {
        padding: 28px;
    }
}

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

    .hero-main-card {
        padding: 24px 20px;
    }

    .hero-float-cards {
        flex-direction: column;
    }

    .float-card {
        min-width: auto;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(61, 34, 22, 0.4);
    z-index: 999;
}

.nav-overlay.show {
    display: block;
}
