/* --- Variables & Reset --- */
:root {
    --primary: #cda45e;
    --secondary: #1a1814;
    --light: #ffffff;
    --dark-text: #444444;
    --light-text: #aaaaaa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
}

/* --- Typography & Utilities --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.highlight { color: var(--primary); }

.bg-cream { background-color: #f1f2f3; }
.text-light { color: var(--white) !important; }
.mt-2 { margin-top: 20px; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d9a550;
    border-color: #d9a550;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--primary);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.menu-filters .btn.active {
    background-color: var(--primary);
    color: var(--white);
}

/* --- Header --- */
header {
    background-color: rgba(0, 0, 0, 0.85);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
}

.navbar-brand {
    font-family: var(--font-heading);
    color: var(--white) !important;
}

.nav-link {
    color: var(--white) !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    margin: 0 10px;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1526318896980-cf78c088247c?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* --- Menu Section --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    background: var(--white);
    color: var(--dark-text);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s;
}

.menu-card:hover { transform: translateY(-5px); }

.card-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--secondary); }
.card-text { font-size: 0.9rem; }
.price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Menu Search --- */
#menu-search {
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 10px 20px;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s;
}

.gallery-grid img:hover { transform: scale(1.03); }

/* --- Reviews Section --- */
.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1 1 300px;
    text-align: center;
}

.stars { color: var(--primary); margin-bottom: 15px; }
.comment { font-style: italic; color: var(--light-text); margin-bottom: 20px; }
.customer-name { font-weight: 700; color: var(--dark-text); }

/* --- Book a Table Section --- */
#book-a-table {
    background: var(--secondary);
}

#book-a-table .section-title {
    color: var(--white);
}

#book-a-table .form-control {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 0;
    padding: 10px 15px;
    font-family: var(--font-body);
}

#book-a-table .form-control::placeholder {
    color: var(--light-text);
}

#book-a-table .form-control:focus {
    background: transparent;
    border-color: var(--primary);
    color: var(--white);
    box-shadow: none;
}

/* Fix for date/time input icon color on some browsers */
#book-a-table input[type="date"]::-webkit-calendar-picker-indicator,
#book-a-table input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* --- Contact Section --- */
.footer_section { background: var(--secondary); color: var(--white); }
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.contact-info, .map-container { flex: 1 1 400px; }
.contact-info p { margin-bottom: 15px; font-size: 1.1rem; }
.contact-info i { width: 30px; color: var(--primary); }
.map-container iframe { border-radius: var(--radius); }

/* --- Footer --- */
footer { background: #0c0b09; color: #fff; border-top: 1px solid #37332a; }
footer h4 { color: var(--primary); }
.footer-content { display: flex; flex-direction: column; gap: 15px; }
.social-icons a { color: var(--white); margin: 0 10px; font-size: 1.2rem; transition: color 0.3s; }
.social-icons a:hover { color: var(--primary); }

footer .form-control {
    background: transparent;
    border: 1px solid #37332a;
    color: var(--white);
}
footer .form-control:focus {
    background: transparent;
    border-color: var(--primary);
    color: var(--white);
    box-shadow: none;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .btn { width: 100%; margin: 5px 0; text-align: center; }
}

@media (max-width: 992px) {
    .hero { height: 60vh; }
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 20px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #d9a550;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}