/* CSS Variables for Branding */
:root {
    --primary-green: #92c849;
    --dark-text: #1a1a1a;
    --light-text: #ffffff;
    --background-light: #fdfdfd;
    --border-color: #eaeaea;
}

/* Basic Reset & Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1.2;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(3rem, 7vw, 5rem);
    text-align: center;
    color: var(--light-text);
    animation: fadeInDown 1s ease-out;
}

h3 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
}

p {
    margin-bottom: 1rem;
    text-align: center;
    color: #666;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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


/* Header & Navigation */
header {
    /* HERO IMAGE */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://github.com/najibhashemai/theburgerroom/blob/main/cover-burger.jpg?raw=true') no-repeat center center/cover;
    min-height: 100vh;
    color: var(--light-text);
    display: flex;
    flex-direction: column;
}

nav {
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.8em;
    color: var(--light-text);
    font-weight: 800;
    text-decoration: none;
    transition: color 0.4s ease;
}

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

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.4s ease;
}

nav ul li a:hover {
    color: var(--primary-green);
}

nav.scrolled ul li a {
    color: var(--dark-text);
}

nav.scrolled ul li a:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
     padding: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    animation: fadeInDown 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.btn {
    display: inline-block;
    background: var(--primary-green);
    color: var(--light-text);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-green);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    animation: fadeInDown 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--light-text);
    color: var(--light-text);
    transform: translateY(-3px) scale(1.05);
}

/* Sections Styling */
section {
    padding: 120px 0;
}

.menu {
    background-color: var(--light-text);
}

/* Menu Section */
.menu-category {
    margin-bottom: 70px;
}
.menu-category h4 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark-text);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.menu-item-details h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.menu-item-details p {
    text-align: left;
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    max-width: 450px;
}

.menu-item .price {
    font-weight: 700;
    color: var(--dark-text);
    font-size: 1.1rem;
    white-space: nowrap;
    margin-left: 20px;
}

/* Contact Section */
.contact {
    text-align: center;
    background-color: var(--background-light);
}

.contact p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
}

.contact .social-btn {
     background: var(--dark-text);
     border-color: var(--dark-text);
     color: var(--light-text);
}
.contact .social-btn:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--light-text);
}

/* Footer */
footer {
    background: var(--light-text);
    text-align: center;
    padding: 40px 0;
}

footer p {
    margin: 0;
    font-size: 0.8rem;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav .container { 
        flex-direction: row;
        justify-content: space-between;
     }
    nav ul { display: none; } /* Hiding nav links on mobile for a cleaner look */
    header { min-height: 90vh; }
}
