/* ==========================================================================
   Global and Desktop Styles
   ========================================================================== */

/* --- Global Styles & Variables --- */
html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #FEA116;
    --dark-blue: #0F172B;
    --white: #FFFFFF;
    --light-gray: #F1F8FF;
    --text-dark: #333;
    --text-light: #666;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Base Button Style --- */
/* UPDATED .btn STYLE */
.btn {
    background-color: var(--primary-color);
    color: var(--white);
    /* Adjust padding to be more balanced for two lines */
    padding: 10px 20px; 
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    /* Add these two properties for perfect alignment */
    text-align: center;
    line-height: 1.3;
}

/* --- Header Section --- */
header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 0;
    z-index: 10;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; text-decoration: none; color: var(--white); font-size: 32px; font-weight: 700; }
.logo img { height: 40px; margin-right: 10px; }
nav ul { list-style: none; display: flex; gap: 30px; }
nav a { text-decoration: none; color: var(--white); font-weight: 600; }
nav a:hover { color: var(--primary-color); }

/* Solid Header for Inner Pages */
.page-with-solid-header header { position: static; background-color: var(--dark-blue); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.page-with-solid-header .logo,
.page-with-solid-header nav a { color: var(--white); }
.page-with-solid-header .logo img { filter: brightness(0) invert(1); }

/* --- Hero Section (Homepage) --- */
#hero { background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(./images/hero-image.jpg); background-position: center; background-repeat: no-repeat; background-size: cover; padding: 150px 0; }
.hero-container { display: flex; align-items: center; gap: 70px; }
.hero-content { flex: 1; }
.dish-image { flex: 1; text-align: center; }
.dish-image img { max-width: 100%; height: auto; border-radius: 12px; }
.hero-content h1 { color: var(--white); font-size: 64px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { color: var(--white); font-size: 16px; line-height: 1.6; margin-bottom: 30px; }

/* --- About Us Section --- */
#about { padding: 100px 0; }
.about-container { display: flex; align-items: center; gap: 50px; }
.about-images { flex: 1; }
.about-images img { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.about-content { flex: 1; }

.section-subtitle { color: var(--primary-color); font-weight: 600; font-size: 20px; display: inline-block; position: relative; padding-right: 60px; margin-bottom: 15px; }
.section-subtitle::after { content: ''; position: absolute; width: 45px; height: 2px; background-color: var(--primary-color); top: 50%; right: 0; transform: translateY(-50%); }
.section-title { font-size: 40px; color: var(--dark-blue); margin-bottom: 20px; display: flex; align-items: center; }
.section-title img { height: 35px; margin: 0 10px; }
.section-text { color: var(--text-light); line-height: 1.6; margin-bottom: 20px; }

.about-stats { display: flex; gap: 40px; margin-top: 30px; margin-bottom: 40px; }
.stat-item { display: flex; align-items: center; gap: 15px; }
.stat-item:last-child { border-left: 2px solid var(--primary-color); padding-left: 40px; }
.stat-item .number { font-size: 48px; font-weight: 700; color: var(--primary-color); }
.stat-item p { color: var(--text-light); line-height: 1.2; }
.stat-item p strong { color: var(--dark-blue); font-weight: 600; }

/* --- Features Section --- */
#features { padding-top: 100px; padding-bottom: 100px; margin-top: -50px; position: relative; z-index: 5; background-color: white; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { background: var(--white); padding: 0; border-radius: 4px; text-align: center; box-shadow: 0 0 45px rgba(0, 0, 0, .08); transition: all 0.3s ease-in-out; }
.feature-card a { text-decoration: none; display: block; padding: 30px; height: 100%; }
.feature-card .icon { height: 60px; margin-bottom: 20px; transition: filter 0.3s ease-in-out; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--dark-blue); transition: color 0.3s ease-in-out; }
.feature-card p { color: var(--text-light); font-size: 14px; line-height: 1.5; transition: color 0.3s ease-in-out; }
.feature-card:hover { background-color: goldenrod; transform: translateY(-10px); }

/* --- Testimonials Section --- */
#testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { padding: 30px; background: var(--white); border-radius: 8px; box-shadow: 0 0 45px rgba(0, 0, 0, .08); transition: all .3s ease; }
.testimonial-card:hover { transform: translateY(-10px); }
.testimonial-card p { color: var(--text-light); font-style: italic; line-height: 1.6; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.client-info h4 { color: var(--dark-blue); font-weight: 600; margin-bottom: 5px; }
.client-info small { color: var(--text-light); }

/* --- Footer --- */
.main-footer { background: var(--dark-blue); color: var(--white); padding: 25px 0; }
.footer-container { display: flex; justify-content: space-between; align-items: center; }
.footer-right ul { list-style: none; display: flex; gap: 15px; }
.footer-right a { text-decoration: none; color: var(--white); }

/* --- Other Pages (Menu, Booking, Contact, Team) --- */
#food-menu, #team, #contact-page-content { padding: 100px 0; background-color: white; }
.content-page-body { display: flex; flex-direction: column; min-height: 100vh; }
.content-page-body main { flex-grow: 1; display: flex; align-items: center; justify-content: center; }
.menu-tabs ul { list-style: none; display: flex; justify-content: center; gap: 40px; margin-bottom: 50px; }
.menu-tabs li { display: flex; align-items: center; gap: 15px; cursor: pointer; padding-bottom: 15px; border-bottom: 3px solid transparent; }
.menu-tabs li.active { border-bottom-color: var(--primary-color); }
.menu-tabs li.active small, .menu-tabs li.active strong { color: var(--primary-color); }
.menu-tabs img { height: 40px; }
.menu-tabs small { display: block; color: var(--text-light); }
.menu-tabs strong { display: block; color: var(--dark-blue); font-weight: 600; }
.menu-image-container, .team-image-container { text-align: center; }
.menu-image-container img, .team-image-container img { max-width: 100%; height: auto; }
.booking-page-body { height: 100vh; overflow: hidden; }
.booking-page-main { height: 100%; display: flex; }
.booking-container { display: flex; width: 100%; }
.booking-image { flex-basis: 50%; background-size: cover; background-position: center; }
.booking-image img { width: 100%; height: 100%; object-fit: cover; }
.booking-form-wrapper { flex-basis: 50%; background-color: var(--dark-blue); padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.close-button { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; font-weight: 300; text-decoration: none; line-height: 1; transition: transform 0.2s ease; }
.close-button:hover { transform: scale(1.2); }
.booking-form-wrapper .section-title { color: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 4px; background-color: #fff; font-family: var(--font-family); font-size: 16px; color: var(--text-dark); }
.form-grid textarea, .form-grid button { grid-column: span 2; }
.form-grid button { padding: 18px; border: none; cursor: pointer; font-size: 16px; }
#page-hero { background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(./images/hero-image.jpg); background-position: center; background-size: cover; padding: 120px 0; text-align: center; }
#page-hero h1 { color: var(--white); font-size: 56px; margin-bottom: 10px; }
#page-hero .breadcrumbs { color: var(--white); font-size: 16px; }
#page-hero .breadcrumbs a { color: var(--primary-color); text-decoration: none; }
#contact-page-content {  padding: 100px 20px; 
    background-color: white; }
#contact-page-content .container {
    padding-left: 0;
    padding-right: 0;
    /* This ensures the container still works but without adding extra padding */
    max-width: 1200px;
    margin: 0 auto;
}
.contact-info-cards { display: flex; justify-content: space-around; gap: 30px; text-align: center; margin-bottom: 60px; }
.contact-card h4 { color: var(--primary-color); font-size: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.contact-card h4 img { height: 20px; }
.contact-card p { color: var(--text-light); }
.contact-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.map-container { min-height: 400px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .form-row { display: flex; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: var(--font-family); font-size: 16px; }
.contact-form button { border: none; cursor: pointer; }

.map-container iframe {
  width: 100%;
  height: 80%;
  border: none;
  border-radius: 8px;
}
/* ==========================================================================
   RESPONSIVE DESIGN - MEDIA QUERIES (Corrected Version)
   ========================================================================== */

/* --------------------------------------------------------------------------
   TABLET VIEW (Screens up to 992px wide)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    /* --- GENERAL --- */
    .section-title { font-size: 36px; }

    /* --- HOMEPAGE --- */
    .hero-container,
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-content h1 { font-size: 52px; }
    .about-images, .about-content { flex: 1 1 100%; }
    .about-stats { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    
    /* --- CONTACT PAGE --- */
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    /* --- BOOKING PAGE --- */
    .booking-container { flex-direction: column; }
    .booking-page-body { height: auto; overflow: auto; }
    .dish-image { max-width: 70%; }
}

/* --------------------------------------------------------------------------
   MOBILE PHONE VIEW (Screens up to 768px wide)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* --- HEADER --- */
    header nav { display: none; }
    /* This rule applies a solid background to the header on ALL pages on mobile for consistency */
    header {
        position: static;
        background-color: var(--dark-blue);
    }
    /* This ensures logo text is white on the solid header */
    header .logo {
        color: var(--white);
    }
    
    /* --- HOMEPAGE --- */
    .hero-content h1 { font-size: 42px; }
    .about-stats { flex-direction: column; gap: 30px; align-items: center; }
    .stat-item:last-child { border-left: none; padding-left: 0; border-top: 2px solid var(--primary-color); padding-top: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .dish-image { max-width: 70%; }

    /* --- MENU PAGE --- */
    .menu-tabs ul { flex-direction: column; align-items: flex-start; gap: 25px; }
    
    /* --- BOOKING PAGE --- */
    .booking-image { display: none; }
    .booking-form-wrapper { flex-basis: 100%; padding: 40px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid textarea, .form-grid button { grid-column: 1; }
    
    /* --- CONTACT PAGE --- */
    #page-hero { padding: 60px 0; }
    #page-hero h1 { font-size: 38px; }
    .contact-info-cards { flex-direction: column; gap: 40px; align-items: center; }
    .contact-form .form-row { flex-direction: column; gap: 20px; width:100%}
    #contact-page-content { padding: 80px 0; width: 100%}
    
    /* --- FOOTER --- */
    .footer-container { flex-direction: column; gap: 20px; text-align: center; }
}

/* --------------------------------------------------------------------------
   EXTRA-SMALL PHONE VIEW (Screens up to 480px wide)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    .container {
        padding: 0 15px;
    }
    .section-title { font-size: 30px; line-height: 1.2; text-align: center; justify-content: center; }
    .hero-content h1 { font-size: 36px; }
    .dish-image { max-width: 70%; }
    .section-subtitle { font-size: 18px; display: block; text-align: center; padding-right: 0; }
    .section-subtitle::after { display: none; }
    #about, #features, #testimonials, #contact-page-content { padding: 60px 15px; }
    .contact-form .form-row { flex-direction: column; width:100%}
    .booking-form-wrapper { padding: 30px 15px; }
}