/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Elegant Brown Theme */
    --primary-brown: #8B7355;
    --dark-brown: #5D4037;
    --light-brown: #D7CCC8;
    --accent-gold: #D4AF37;
    --cream: #F5F1E6;
    --dark-cream: #E8E4D9;
    --text-dark: #3E2723;
    --text-light: #5D4037;
    --white: #FFFFFF;
    --shadow: rgba(139, 115, 85, 0.1);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-brown);
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container .logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--dark-brown);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--dark-brown);
    cursor: pointer;
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-brown), transparent);
    margin: 30px auto;
    max-width: 200px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-brown);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-brown);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 64, 55, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
}

.btn-secondary:hover {
    background-color: var(--primary-brown);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(139, 115, 85, 0.9), rgba(93, 64, 55, 0.8)), 
                url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 20px;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.page-subtitle {
    font-size: 1.3rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 25px;
}

.image-placeholder {
    background-color: var(--dark-cream);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-brown);
    border: 2px dashed var(--light-brown);
    border-radius: 4px;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Featured Dishes */
.featured-dishes {
    padding: 100px 0;
    background-color: var(--dark-cream);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.dish-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.15);
}

.dish-image {
    height: 200px;
    background-color: var(--dark-cream);
}

.dish-info {
    padding: 25px;
}

.dish-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-brown);
}

.dish-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.dish-price {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--cream);
    padding: 40px;
    border-radius: 4px;
    border-left: 4px solid var(--accent-gold);
}

.testimonial-content {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Menu Page Styles */
.menu-header {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(139, 115, 85, 0.9), rgba(93, 64, 55, 0.9)), 
                url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

.menu-header .page-title,
.menu-header .page-subtitle {
    color: var(--white);
}

.menu-navigation {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 100px;
    z-index: 999;
    box-shadow: 0 2px 10px var(--shadow);
}

.menu-categories {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
}

.menu-categories a {
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-categories a:hover {
    background-color: var(--primary-brown);
    color: var(--white);
}

.menu-section {
    padding: 100px 0;
    background-color: var(--cream);
}

.menu-section:nth-child(even) {
    background-color: var(--white);
}

.menu-section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.menu-items {
    max-width: 800px;
    margin: 0 auto;
}

.menu-item {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--light-brown);
}

.menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}

.item-title {
    font-size: 1.8rem;
    color: var(--dark-brown);
    margin: 0;
}

.item-price {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.item-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Model Viewer Container */
.model-viewer-container {
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

model-viewer {
    --poster-color: var(--dark-cream);
    --progress-bar-color: var(--accent-gold);
    --progress-bar-height: 3px;
}

.model-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-cream);
    color: var(--primary-brown);
}

.model-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.model-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Wine Pairing */
.wine-pairing {
    padding: 80px 0;
    background: linear-gradient(rgba(139, 115, 85, 0.95), rgba(93, 64, 55, 0.95));
    color: var(--white);
    text-align: center;
}

.wine-pairing .section-title {
    color: var(--white);
}

.pairing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.pairing-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.pairing-item h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.pairing-item p {
    color: var(--light-brown);
    margin-bottom: 10px;
}

.pairing-price {
    color: var(--accent-gold) !important;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Contact Page Styles */
.contact-header {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(139, 115, 85, 0.9), rgba(93, 64, 55, 0.9)), 
                url('https://images.unsplash.com/photo-1559925393-8be0ec4767c8?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

.contact-container {
    padding: 100px 0;
    background-color: var(--cream);
}

.contact-container .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 20px var(--shadow);
}

.info-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-brown);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--dark-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brown);
    font-size: 1.2rem;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-brown);
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.hours-info {
    font-size: 0.9rem;
    color: var(--text-light) !important;
    opacity: 0.7;
    margin-top: 5px;
}

.map-container {
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

/* Reservation Form */
.reservation-form {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 20px var(--shadow);
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--dark-brown);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-brown);
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--cream);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 2px rgba(139, 115, 85, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235D4037' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-notification {
    display: none;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    color: var(--dark-brown);
}

.form-notification i {
    margin-right: 10px;
    color: var(--accent-gold);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 20px;
}

/* Private Events */
.private-events {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.events-content {
    max-width: 700px;
    margin: 0 auto;
}

.events-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: var(--dark-brown);
    color: var(--light-brown);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-style: italic;
    color: var(--light-brown);
}

.footer-info h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-info p,
.footer-contact p {
    color: var(--light-brown);
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-brown);
    opacity: 0.7;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .about-content,
    .contact-container .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .menu-categories {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .menu-categories a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-section-title {
        font-size: 1.8rem;
    }
    
    .item-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .info-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .dishes-grid,
    .testimonials-grid,
    .pairing-grid {
        grid-template-columns: 1fr;
    }
}
