/* ========================================
   La Maison Gourmet - Restaurant Demo
   A Flask Portfolio Project
   ======================================== */

:root {
    --primary-color: #c9a227;
    --primary-dark: #a6851f;
    --secondary-color: #1a1a2e;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #fff;
    --gold: #c9a227;
    --gold-light: #f5e6c8;
}

/* Typography */
body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.section-subtitle {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Navigation */
.navbar {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar-brand .brand-icon {
    margin-right: 0.5rem;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.btn-reserve {
    background: var(--gold);
    border-radius: 0;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
}

.btn-reserve:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
}

/* Buttons */
.btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline-primary {
    color: var(--gold);
    border-color: var(--gold);
    border-radius: 0;
    padding: 0.75rem 2rem;
}

.btn-outline-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--secondary-color);
}

.btn-outline-light {
    border-radius: 0;
    padding: 0.75rem 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .lead {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hero-content .hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Featured Dishes */
.featured-dishes {
    background: var(--white);
}

.dish-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-10px);
}

.dish-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.dish-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    font-weight: 700;
}

.dish-content {
    padding: 1.5rem;
}

.dish-content h4 {
    margin-bottom: 0.5rem;
}

.dish-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* About Preview */
.about-preview {
    background: var(--bg-light);
}

.about-images {
    position: relative;
}

.about-images .img-main {
    width: 80%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-images .img-secondary {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 5px solid var(--white);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    background: var(--secondary-color);
    color: var(--white);
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card .author strong {
    display: block;
    color: var(--gold);
}

.testimonial-card .author span {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* CTA Section */
.cta-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.85);
}

.cta-section h2 {
    position: relative;
    z-index: 1;
}

/* Menu Section */
.menu-section {
    background: var(--white);
}

.category-header h2 {
    color: var(--secondary-color);
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 0;
}

.menu-item {
    display: flex;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.menu-item-image {
    width: 140px;
    min-height: 140px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.menu-item-content {
    padding: 1.25rem;
    flex-grow: 1;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.menu-item-header h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.menu-item-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.menu-item-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.wine-note {
    background: var(--gold-light);
    border-radius: 8px;
}

/* Reservation Form */
.reservation-section {
    background: var(--bg-light);
}

.reservation-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-control, .form-select {
    border-radius: 0;
    padding: 0.75rem 1rem;
    border-color: #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25);
}

.availability-status {
    padding: 1rem;
    background: var(--gold-light);
    border-radius: 4px;
    text-align: center;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.info-card h5 {
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Confirmation */
.confirmation-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.confirmation-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.confirmation-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.booking-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
}

.booking-details h5 {
    text-align: center;
    margin-bottom: 1rem;
}

.confirmation-note {
    background: var(--gold-light);
    border-radius: 4px;
}

/* About Page */
.about-story {
    background: var(--white);
}

.chef-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-color);
    border-left: 4px solid var(--gold);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.awards-section {
    background: var(--secondary-color);
}

.award-item .award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.award-item h5 {
    color: var(--gold);
}

/* Contact Page */
.contact-info {
    padding-right: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 0.25rem;
}

.contact-item h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer p {
    color: rgba(255,255,255,0.7);
}

.footer .social-links a {
    color: var(--white);
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--gold);
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
}

.footer a {
    color: var(--gold);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 90%;
    max-width: 500px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-images .img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .menu-item {
        flex-direction: column;
    }

    .menu-item-image {
        width: 100%;
        height: 180px;
    }

    .reservation-form-wrapper {
        padding: 1.5rem;
    }
}

/* Navbar scroll effect */
@media (min-width: 992px) {
    .navbar {
        background: transparent;
    }
}
