/* --- Global Styles & Variables --- */
:root {
    --primary-color: #8E44AD; /* A vibrant purple */
    --secondary-color: #e74c3c; /* A punchy red for promo */
    --dark-bg: #1a1a1a;
    --card-bg: #2c2c2c;
    --text-color: #f0f0f0;
    --text-muted: #aaa;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 15px;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 60px 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* --- Floating Promo Badge --- */
/* --- Floating Promo Badge --- */
/* --- Floating Promo Badge --- */
.promo-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: bounce 1.5s infinite;
    text-align: center;
}

/* --- New Promo Badge Stack Styles --- */
.promo-badge-stack {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px; /* This creates space between the two badges */
}

.promo-badge.offer {
    background-color: #2ecc71; /* A nice "offer" green */
    animation: none; /* Stop the second badge from bouncing */
}

.logo {
    text-decoration: none;
}

.logo img {
    height: 45px; /* This shrinks your 500px logo down */
    width: auto;  /* This keeps it square */
    vertical-align: middle; 
}

/* --- Responsive Updates for Badges --- */
@media (max-width: 768px) {
    .promo-badge-stack {
        top: 60px;
        right: 10px;
        gap: 5px;
    }
    
    /* We must override the old rule */
    .promo-badge {
        font-size: 0.8rem;
        padding: 8px 12px;
        /* Remove top/right from here */
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(44, 44, 44, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-bg);
    position: sticky;
    top: 0;
    z-index: 999;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://placehold.co/1920x1080/2c2c2c/8E44AD/png?text=Vibe+Restaurant+Interior') no-repeat center center/cover;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #732d91;
    transform: scale(1.05);
}

/* --- About Section --- */
#about {
    text-align: center;
    max-width: 800px;
}

/* --- Menu Section --- */
#menu {
    background-color: var(--dark-bg);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item [Image] {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #555; /* Placeholder color */
    display: block; /* Ensures proper layout for placeholder */
}

.menu-item-content {
    padding: 20px;
}

.menu-item-content h3 {
    font-size: 1.4rem;
}

.menu-item-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

/* --- Booking Section --- */
#booking {
    background-color: var(--card-bg);
}

#booking-form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-muted);
}

#booking-form input,
#booking-form select,
#booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    background: #333;
    color: var(--text-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
}

#booking-form button[type="submit"] {
    margin-top: 15px;
}

#booking-message {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Classes to be added by JS */
.success {
    color: #2ecc71;
}

.error {
    color: #e74c3c;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 0;
    background-color: var(--dark-bg);
    border-top: 1px solid var(--card-bg);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none; /* Simple hide for mobile. A real burger menu needs more JS */
    }

    .promo-badge {
        font-size: 0.8rem;
        padding: 8px 12px;
        top: 80px;
        right: 10px;
    }

    h2 {
        font-size: 1.8rem;
    }
}

/* --- New Menu Category Styles --- */
.menu-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -30px;
    margin-bottom: 40px;
}

.menu-category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--card-bg);
    padding-bottom: 10px;
}

/* --- Location Section Styles --- */
#location {
    background-color: var(--dark-bg);
}

.location-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.location-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.location-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.location-card .cta-button {
    /* The button style is already defined, 
       but we can add a little margin */
    margin-top: 10px;
}

/* --- Footer Updates --- */
footer p {
    margin-bottom: 10px;
}
footer a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}
footer a:hover {
    color: var(--primary-color);
}

/* --- Floating Action Buttons (Icon Only) --- */
.floating-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increased gap a bit */
}

.fab {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px; /* Made icons larger */
    text-decoration: none;
    transition: all 0.3s ease;
    /* Add a small shadow so icons are visible on any background */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fab:hover {
    transform: scale(1.1);
}

/* Specific button colors */
.fab.whatsapp {
    color: #25D366; /* Official WhatsApp Green */
}

.fab.call {
    color: #3498db; /* A nice blue */
}

/* Remove icon-specific adjustments */
.fab i {
   position: static; 
}

/* --- Responsive for FABs --- */
@media (max-width: 768px) {
    .floating-action-buttons {
        bottom: 20px;
        right: 20px;
        gap: 15px;
    }
    
    .fab {
        font-size: 32px; /* Adjust size for mobile */
    }
}



.developer-credit {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #888; /* A lighter grey */
}

/* Styles the new link */
.developer-credit a {
    color: #888;
    text-decoration: none; /* Removes the default underline */
    border-bottom: 1px dotted #888; /* Adds a subtle dotted underline */
}

.developer-credit a:hover {
    color: var(--primary-color); /* Changes to purple on hover */
    border-bottom: 1px dotted var(--primary-color);
}
