/* style.css - Maison Le Sept */

/* ====== RESET & BASE STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #f5f5f5;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 1px;
    bottom: -10px;
    left: 20%;
    background-color: #c9a96e;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.2rem;
    color: #d4d4d4;
    font-weight: 300;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-block;
    background: transparent;
    color: #c9a96e;
    border: 1px solid #c9a96e;
    padding: 12px 32px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: rgba(201, 169, 110, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-gold {
    background-color: #c9a96e;
    color: #0a0a0a;
}

.btn-gold:hover {
    background-color: #d8bc7d;
    border-color: #d8bc7d;
}

.category-btn {
    background: transparent;
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover, .category-btn.active {
    background-color: rgba(201, 169, 110, 0.1);
    border-color: #c9a96e;
    color: #c9a96e;
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px auto;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    width: 100%;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-notification {
    background-color: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
    display: none;
}

.whatsapp-notification i {
    color: #25D366;
    margin-right: 10px;
}

.reservation-option {
    margin: 20px 0;
    text-align: center;
}

/* ====== HEADER & NAVIGATION ====== */
header {
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
    position: sticky;
    top: 0;
    background-color: rgba(10, 10, 10, 0.95);
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    width: 280px;
    height: auto;
    filter: brightness(1.1);
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.03);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
}

nav a {
    color: #e8e8e8;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #c9a96e;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #c9a96e;
}

nav a:hover:after {
    width: 100%;
}

nav a.active {
    color: #c9a96e;
}

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

/* ====== FOOTER ====== */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
}

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

.social-icon {
    color: #f5f5f5;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #c9a96e;
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
}

/* ====== HERO SECTION ====== */
.hero {
    text-align: center;
    padding: 80px 0 120px;
    position: relative;
}

.hero h1 {
    font-size: 5.5rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* ====== ABOUT SECTION ====== */
.about {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-img {
    flex: 1;
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

.about-content {
    flex: 1;
}

/* ====== FEATURES ====== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 0;
}

.feature {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 2.5rem;
    color: #c9a96e;
    margin-bottom: 20px;
}

/* ====== MENU PAGE STYLES ====== */
.menu-header {
    text-align: center;
    padding: 60px 0 40px;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Menu Sections */
.menu-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 60px 0;
}

.menu-section {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.menu-section:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 110, 0.3);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2.2rem;
    color: #c9a96e;
}

/* DISHES WITH LARGER 3D MODELS */
.dish {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
    gap: 30px; /* Increased gap */
    position: relative;
}

.dish:last-child {
    margin-bottom: 0;
}

/* LARGER 3D MODEL CONTAINER */
.dish-model {
    flex-shrink: 0;
    width: 180px; /* Increased from 140px */
    height: 180px; /* Increased from 140px */
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    touch-action: none; /* Prevent default touch behaviors */
}

model-viewer {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    touch-action: pan-y; /* Allow vertical scrolling only */
}

.enlarge-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dish-model:hover .enlarge-icon {
    opacity: 1;
}

.dish-info {
    flex: 1;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.dish-name {
    font-size: 1.5rem;
    font-weight: 600;
}

.dish-price {
    color: #c9a96e;
    font-size: 1.3rem;
    font-weight: 500;
}

.dish-desc {
    margin-bottom: 15px;
    color: #b0b0b0;
}

.dish-ingredients {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* Tasting Menu */
.tasting-menu {
    text-align: center;
    padding: 80px 0;
    background-color: rgba(20, 20, 20, 0.7);
    margin: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====== CONTACT PAGE STYLES ====== */
.contact-header {
    text-align: center;
    padding: 60px 0 40px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

.contact-info {
    padding-right: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: #c9a96e;
    margin-top: 5px;
}

.info-content h3 {
    margin-bottom: 5px;
}

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

.map-container iframe {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.reservation-form {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
    color: #e8e8e8;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #c9a96e;
}

.instagram-section {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.instagram-icon {
    font-size: 4rem;
    color: #c9a96e;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.instagram-icon:hover {
    transform: scale(1.1);
}

.instagram-link {
    display: inline-block;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.instagram-link:hover {
    color: #c9a96e;
}

/* ====== MODAL FOR 3D VIEWER ====== */
.model-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.model-modal-content {
    width: 95%;
    height: 80%;
    position: relative;
    max-width: 800px;
}

.model-modal model-viewer {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    background: none;
    border: none;
    padding: 10px;
}

.close-modal:hover {
    color: #c9a96e;
}

/* ====== UTILITY CLASSES ====== */
.text-gold {
    color: #c9a96e;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a96e, transparent);
    margin: 30px auto;
}

/* ====== RESPONSIVE STYLES ====== */
@media (max-width: 992px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    nav ul {
        gap: 30px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .about {
        flex-direction: column;
        gap: 50px;
    }
    
    .about-img {
        width: 100%;
        height: 400px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .menu-sections {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    /* Adjust 3D models for tablet */
    .dish-model {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    header {
        padding: 20px 0;
    }
    
    .logo {
        width: 220px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .about-img {
        height: 300px;
    }
    
    .dish {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Mobile 3D viewer fixes */
    .dish-model {
        width: 100%;
        height: 220px;
        touch-action: none;
    }
    
    model-viewer {
        touch-action: pan-y;
    }
    
    .enlarge-icon {
        opacity: 1; /* Always visible on mobile */
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .menu-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 8px 15px;
        font-size: 1rem;
    }
    
    .reservation-form {
        padding: 25px;
    }
    
    .model-modal-content {
        width: 100%;
        height: 70%;
        margin: 0 10px;
    }
    
    .close-modal {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .dish-model {
        height: 250px; /* Even larger on small mobile for better viewing */
    }
    
    .menu-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 200px;
    }
}
