/* --- CSS Variables --- */
:root {
    --primary-color: #ff9f43; /* Orange */
    --secondary-color: #2ecc71; /* Green */
    --accent-color: #feca57; /* Yellow */
    --text-dark: #2d3436;
    --text-light: #ffffff;
    --bg-light: #f7f1e3;
    --font-main: 'Poppins', sans-serif;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Navigation --- */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

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

.cta-btn-desktop, .cta-btn-mobile {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: background 0.3s;
    font-weight: 600;
}

.cta-btn-desktop:hover, .cta-btn-mobile:hover {
    background-color: #e67e22;
}

.cta-btn-mobile {
    display: none; /* Hidden on desktop inside the list */
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 1rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s;
}

.hero-btn:hover {
    transform: scale(1.05);
}

/* --- Menu Section --- */
.menu-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* --- Film Roll --- */
.film-roll-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.film-roll-wrapper:hover .film-roll-container {
    animation-play-state: paused;
}

.film-roll-container {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-6 * (300px + 2rem))); } /* 6 items * (width + gap) */
}

.film-roll-container .menu-item {
    flex: 0 0 300px; /* Don't grow, don't shrink, base width 300px */
}

.menu-item.hidden {
    display: none;
}


.menu-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.menu-item.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.menu-item:hover {
    transform: translateY(-5px);
}

.menu-img-container {
    height: 220px;
    overflow: hidden;
}

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

.menu-item:hover .menu-img {
    transform: scale(1.1);
}

.menu-details {
    padding: 1.5rem;
}

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

.price {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background-color: #eee;
    color: #666;
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

/* --- About Section --- */
.about-section {
    background-color: #fff;
    padding: 5rem 2rem;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Footer --- */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: left;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px; /* Height of header */
        gap: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 2rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .cta-btn-desktop {
        display: none;
    }

    .cta-btn-mobile {
        display: inline-block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}
