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

body {
    font-family: 'Outfit', sans-serif;
    color: #333;
    background-color: #F7F2E8; /* Base cream color */
    line-height: 1.6;
}

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

/* Colors */
:root {
    --primary-blue: #1A2B4C;
    --primary-teal: #34B1BF;
    --primary-orange: #F7941D;
    --light-cream: #F9F4E8;
    --white: #FFFFFF;
    --text-dark: #1A2B4C;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    color: var(--text-dark);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    border: none;
}

.btn-nav {
    background-color: var(--primary-orange);
    color: var(--text-dark);
}

.btn-nav:hover {
    background-color: #e08316;
}

.btn-hero {
    background-color: var(--primary-orange);
    color: var(--text-dark);
    border: 2px solid var(--white);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.btn-hero:hover {
    background-color: #e08316;
}

.btn-submit {
    background-color: var(--primary-orange);
    color: var(--text-dark);
    font-size: 1.1rem;
    padding: 0.8rem;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #e08316;
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 5%;
    background-color: var(--light-cream);
}

.logo {
    display: flex;
    align-items: center;
}

/* Header Image Logo */
.logo-img {
    height: 80px;
    display: flex;
    align-items: center;
    scale: calc(1.3);
}

.logo-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Footer Circle Logo */
.logo-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary-blue);
    border: 3px solid var(--primary-orange);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--primary-orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 700;
}

.nav-links .divider {
    color: var(--primary-blue);
    font-weight: 300;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background-image: url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=1920&q=80'); /* Cafe placeholder */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 5%;
    gap: 3rem;
}

.hero-overlay {
    background-color: rgba(52, 177, 191, 0.75); /* Teal translucent */
    padding: 3rem;
    border-radius: 12px;
    text-align: left;
    flex: 1;
    backdrop-filter: blur(5px);
}

.hero-booking-card {
    flex: 1;
    max-width: 500px;
    margin: 0;
    width: 100%;
}

.hero-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-content h1 .highlight-discount {
    color: var(--primary-orange);
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    display: inline-block;
    margin-top: 0.5rem;
}

.hero-content p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Popular Foods Section */
.popular-foods {
    background-color: var(--primary-teal);
    padding: 4rem 5%;
    overflow: hidden;
}

.popular-foods h2 {
    color: var(--text-dark);
}

.food-grid {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scroll-carousel 40s linear infinite;
}

.food-grid:hover {
    animation-play-state: paused;
}

@keyframes scroll-carousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.5rem)); }
}

.food-card {
    background: transparent;
    text-align: left;
    width: 250px;
    flex-shrink: 0;
}

.food-img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 1rem;
}

.food-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.food-img-container:hover img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
}

.food-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

.food-card p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.food-card .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Info Section */
.info-section {
    padding: 4rem 5%;
    background-color: var(--light-cream);
    display: flex;
    justify-content: center;
}

.info-container-full {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.info-container-full h2 {
    color: var(--primary-blue);
    text-align: center;
}

.gallery {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    width: max-content;
    animation: scroll-gallery 20s linear infinite;
}

.gallery:hover {
    animation-play-state: paused;
}

@keyframes scroll-gallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 7.5px)); }
}

.gallery img {
    width: 250px;
    flex-shrink: 0;
    aspect-ratio: 2/3;
    object-fit: contain;
    border-radius: 8px;
}


.info-container-full h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-container-full p {
    max-width: 800px;
    margin: 0 auto;
}



/* Toggle Group for Guests */
.toggle-group {
    display: flex;
    gap: 10px;
}

.toggle-group input[type="radio"] {
    display: none;
}

.toggle-label {
    flex: 1;
    text-align: center;
    background-color: #F0F4F8;
    color: #333;
    padding: 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.toggle-group input[type="radio"]:checked + .toggle-label {
    background-color: var(--primary-orange);
    color: var(--white);
}

.booking-card {
    background-color: var(--primary-blue);
    padding: 2.5rem;
    border-radius: 16px;
    border: 4px solid var(--primary-orange);
    color: var(--white);
}

.form-input {
    background-color: #F0F4F8;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-group .form-input {
    margin-bottom: 0;
}

textarea.form-input {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo .logo-circle {
    width: 90px;
    height: 90px;
}

.footer-contact {
    text-align: left;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    word-break: break-word;
    line-height: 1.4;
}

.footer-contact p i {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-links .divider {
        display: none;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-overlay {
        text-align: center;
        padding: 2rem;
        margin: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h1 .highlight-discount {
        font-size: 2.5rem;
    }
    
    .food-card {
        width: 35vw;
    }
    
    .gallery img {
        width: 35vw;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 .highlight-discount {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .toggle-group {
        flex-direction: column;
        gap: 5px;
    }
    
    /* Gallery is now flex carousel */
    
    .booking-card {
        padding: 1.5rem;
    }
}
