/* 
   ChickCoopa - Premium Restaurant Design System
   Year: 2026
   Tech: Pure CSS3 + HTML5
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Brand Colors */
    --color-bg-dark: #0f1012;
    /* Deep charcoal / black */
    --color-bg-card: #1a1c1f;
    /* Slightly lighter for cards */
    --color-accent: #D90429;
    /* Rich Crimson Red */
    --color-accent-glow: rgba(217, 4, 41, 0.4);
    --color-text-white: #ffffff;
    --color-text-muted: #e0e0e0;
    --color-border: #2a2a2a;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --gap-md: 2rem;
    --gap-lg: 4rem;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-white);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
    gap: var(--gap-md);
}

.mt-lg {
    margin-top: var(--gap-lg);
}

.mb-lg {
    margin-bottom: var(--gap-lg);
}

.py-section {
    padding: 5rem 0;
}

/* HEADER */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(15, 16, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-accent-glow);
    background-color: #b90424;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: white;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ================= HERO SLIDESHOW ================= */

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Slideshow container */
.hero-slideshow {
    position: absolute;
    inset: 0;
}

/* Images */
.hero-slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: heroFade 15s infinite;
}

/* Timing for each slide */
.hero-slideshow img:nth-child(1) {
    animation-delay: 0s;
}
.hero-slideshow img:nth-child(2) {
    animation-delay: 5s;
}
.hero-slideshow img:nth-child(3) {
    animation-delay: 10s;
}

/* Fade animation */
@keyframes heroFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; }
    100% { opacity: 0; }
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.8)
    );
    z-index: 2;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

/* Heading */
.hero-content h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 12px 35px rgba(0,0,0,0.6);
    animation: fadeUp 1s ease;
}

/* Paragraph */
.hero-content p {
    font-size: 1.4rem;
    max-width: 620px;
    margin: 0 auto 2.5rem;
    color: #f0f0f0;
    animation: fadeUp 1s ease 0.2s backwards;
}

/* Buttons */
.hero-btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    animation: fadeUp 1s ease 0.4s backwards;
}

/* Quote */
.hero-quote {
    margin-top: 2.2rem;
    font-style: italic;
    color: var(--color-accent);
    animation: fadeUp 1s ease 0.6s backwards;
}

/* Text animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-btn-wrapper {
        flex-direction: column;
    }
}


/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 1.5rem 0;
}

.about-img {
    width: 100%;
    height: 500px;
    background-color: #222;
    /* Placeholder */
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* MISSION CARDS */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    background-color: var(--color-bg-card);
    padding: 3rem 2rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mission-card h3 {
    color: var(--color-accent);
    font-size: 1.5rem;
}

/* WHY CHICKCOOPA */
.why-section {
    background-color: var(--color-bg-card);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    color: var(--color-accent);
    font-size: 1.5rem;
    line-height: 1;
}

/* MENU PAGE */
/* MASTER MENU LAYOUT */
.menu-layout {
    display: flex;
    min-height: 100vh;
    padding-top: var(--header-height);
    /* Offset for fixed header */
}

.menu-sidebar {
    width: 280px;
    background-color: var(--color-bg-card);
    border-right: 1px solid var(--color-border);
    padding: 2rem;
    position: fixed;
    top: var(--header-height);
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.menu-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-link {
    display: block;
    padding: 12px 16px;
    color: #888;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

.category-link:hover,
.category-link.active {
    background-color: rgba(217, 4, 41, 0.1);
    color: var(--color-accent);
    border-left-color: var(--color-accent);
}

.menu-content {
    flex: 1;
    margin-left: 280px;
    /* Width of sidebar */
    padding: 3rem 4rem;
    background-color: var(--color-bg-dark);
}

.menu-section {
    margin-bottom: 5rem;
    scroll-margin-top: calc(var(--header-height) + 2rem);
    /* For smooth anchor scroll */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.section-subtitle {
    display: block;
    font-size: 1rem;
    color: #888;
    margin-bottom: 2rem;
}

/* MENU CARD UPDATES */
.menu-grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-card {
    background-color: var(--color-bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.menu-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-image img {
    transform: scale(1.1);
}

.menu-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.menu-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-desc {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.menu-ingredients {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    border-top: 1px solid #333;
    padding-top: 0.5rem;
}

.flavor-notes {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 1rem;
}

/* MAP STYLES */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid var(--color-border);
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

/* RESPONSIVE MENU */
@media (max-width: 992px) {
    .menu-layout {
        flex-direction: column;
    }

    .menu-sidebar {
        width: 100%;
        position: sticky;
        /* Sticky on mobile too! */
        top: var(--header-height);
        height: auto;
        padding: 1rem;
        background-color: var(--color-bg-card);
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        overflow-x: auto;
        white-space: nowrap;
    }

    .category-list {
        flex-direction: row;
        gap: 1rem;
    }

    .category-link {
        padding: 8px 16px;
        background-color: #222;
        border-radius: 20px;
        border-left: none;
        /* Remove side border for pills */
        border: 1px solid #333;
    }

    .category-link.active {
        background-color: var(--color-accent);
        color: white;
        border-color: var(--color-accent);
    }

    .menu-content {
        margin-left: 0;
        padding: 2rem 1rem;
    }
}

.contact-info-box {
    background-color: var(--color-bg-card);
    padding: 3rem;
    border-radius: 8px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(217, 4, 41, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-accent);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: #222;
}

textarea.form-control {
    height: 150px;
    resize: none;
}

/* FOOTER */
/* FOOTER */
.site-footer {
    background-color: #050505;
    padding: 5rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-content {
    /* Legacy override if needed, or remove class usage */
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo span {
    color: var(--color-accent);
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #888;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-info p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #222;
    padding-top: 2rem;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-info p {
        justify-content: center;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        /* Hidden by default */
        background-color: var(--color-bg-dark);
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transition: height 0.3s ease;
        padding: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        height: 200px;
        /* Open height */
        padding: 1rem 0;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: white;
    }

    .about-grid,
    .mission-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-section {
        padding: 0 20px;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}