/* --- Professional Design Palette Rules --- */
:root {
    --primary-color: #c5a880;     /* Elegant Gold / Wheat Accent */
    --secondary-color: #2c1e11;   /* Rich Dark Chocolate Brown */
    --text-color: #55433c;        /* Soft Muted Cocoa for text */
    --bg-light: #fdfbf7;          /* Luxury Cream Background */
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Elements Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-weight: 700;
}

/* --- Fixed Header / Navbar Styles --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%; /* Adjusted padding for better fit */
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
    padding: 15px 5%;
}

.logo h2 {
    font-size: 24px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: var(--primary-color);
}

.navbar nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    font-weight: 500;
    margin: 0 15px; /* Reduced gap to avoid 'Our Story' splitting */
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap; /* Ensures links never wrap on multi-line */
}

/* State changes for transparent navbar text over video background */
.navbar:not(.scrolled) .logo h2,
.navbar:not(.scrolled) .nav-links li a {
    color: #ffffff;
}

.navbar.scrolled .logo h2,
.navbar.scrolled .nav-links li a {
    color: var(--secondary-color);
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary-color) !important;
}

.nav-btn {
    white-space: nowrap;
}

/* --- Premium Buttons --- */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary-hero {
    background-color: transparent;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    border: 1px solid #ffffff;
    transition: var(--transition);
    margin-left: 15px;
}

.btn-secondary-hero:hover {
    background-color: #ffffff;
    color: var(--secondary-color);
}

/* --- Cinematic Hero Video Section --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 8%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(75deg, rgba(24, 15, 9, 0.8) 0%, rgba(24, 15, 9, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.2;
    margin: 15px 0;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 16px;
    margin-bottom: 35px;
    color: #f5ede4;
}

.sub-title {
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

/* --- Section Formatting Utilities --- */
.section-tag {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 8px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 38px;
    position: relative;
}

/* --- About Section --- */
.about-section {
    padding: 120px 8%;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(44,30,17,0.08);
}

.about-text h2 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 35px;
    font-size: 15px;
}

.features {
    display: flex;
    gap: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: inline-block;
}

.feature-item h4 {
    color: var(--secondary-color);
    font-size: 16px;
}

/* --- FIXED STATS SECTION (4 COLUMNS HORIZONTAL) --- */
.stats-section {
    padding: 80px 8%;
    background: var(--secondary-color);
    color: var(--white);
    position: relative;
    z-index: 10;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Forces horizontal 4-column alignment */
    gap: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
}

.stat-card h2 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-card p {
    color: #a3958d;
    font-size: 14px;
    font-weight: 500;
}

/* --- Menu Section --- */
.menu-section {
    padding: 120px 8%;
    background: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.menu-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.01);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(44,30,17,0.06);
}

.menu-img-container {
    height: 260px;
    overflow: hidden;
}

.menu-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .menu-img-container img {
    transform: scale(1.06);
}

.menu-info {
    padding: 25px;
}

.menu-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.menu-info p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #72625a;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
}

/* --- Master Chefs/Team Section --- */
.chefs-section {
    padding: 120px 8%;
    background: var(--bg-light);
}

.chefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.chef-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 30, 17, 0.03);
    transition: var(--transition);
    text-align: center;
}

.chef-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 30, 17, 0.08);
}

.chef-img-box {
    height: 340px;
    position: relative;
    overflow: hidden;
}

.chef-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chef-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(44, 30, 17, 0.85);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    transition: var(--transition);
}

.chef-card:hover .chef-socials {
    bottom: 0;
}

.chef-socials a {
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.chef-socials a:hover {
    color: var(--primary-color);
}

.chef-info {
    padding: 25px 15px;
}

.chef-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.chef-info p {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 120px 8%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 270px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item img:hover {
    transform: scale(1.08);
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 120px 8%;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.01);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(44, 30, 17, 0.04);
}

.rating {
    color: #ffcc00;
    margin-bottom: 20px;
    font-size: 14px;
}

.review-text {
    font-style: italic;
    font-size: 15px;
    color: #66544e;
    line-height: 1.7;
    margin-bottom: 25px;
}

.user-profile h4 {
    font-size: 16px;
    color: var(--secondary-color);
}

.user-profile span {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

/* --- FAQ Accordion Section --- */
.faq-section {
    padding: 120px 8%;
    background: var(--bg-light);
}

.faq-container {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    border: 1px solid #eeebe5;
    transition: var(--transition);
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 15px;
}

.faq-question h3 {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--secondary-color);
}

.faq-question i {
    font-size: 14px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 30px;
}

.faq-answer p {
    padding-bottom: 22px;
    font-size: 14px;
    color: #72625a;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* --- Contact & Inquiry Form Section --- */
.contact-section {
    padding: 120px 8%;
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.info-links {
    margin-top: 40px;
}

.info-links p {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.info-links i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 18px;
    width: 25px;
    display: inline-block;
}

.contact-form form {
    background: var(--bg-light);
    padding: 45px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.form-group {
    margin-bottom: 22px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5dfd8;
    background: var(--white);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(197, 168, 128, 0.2);
}

.w-100 {
    width: 100%;
    cursor: pointer;
    border: none;
}

/* --- Footer Area --- */
footer {
    background: var(--secondary-color);
    color: #a3958d;
    text-align: center;
    padding: 35px 20px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 46px; }
    .about-container, .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .navbar { padding: 20px 5%; }
    .navbar.scrolled { padding: 12px 5%; }
    .about-section, .menu-section, .gallery-section, .contact-section, .chefs-section, .testimonials-section, .faq-section { padding: 80px 5%; }
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 14px; }
    .about-text h2, .contact-info h2 { font-size: 32px; }
    .stats-container { grid-template-columns: 1fr; }
    .stat-card h2 { font-size: 32px; }
}