/* Variables for easy styling */
:root {
    --primary-gold: #c5a059;
    --soft-blush: #fdf5f3;
    --deep-charcoal: #2c2c2c;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: var(--deep-charcoal);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

button {
  cursor: pointer;
}

/* --- Desktop Navbar Fixes --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: var(--white);
    position: relative;
    top: 0;
    z-index: 1000;
}

/* --- Mobile Toggle (Hamburger) --- */
.mobile-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--deep-charcoal);
    transition: var(--transition);
}

/* --- Mobile Menu Drawer --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 80%;
    height: 100%;
    background: var(--white);
    z-index: 2500;
    padding: 80px 40px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0; /* Slide in */
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--primary-gold);
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 30px;
}

.mobile-nav-links a {
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--deep-charcoal);
    display: block;
}

/* --- Responsive Media Query --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        visibility: hidden;

    }

    .mobile-toggle {
        display: flex; /* Show hamburger on mobile */
    }

    .logo {
        font-size: 1.4rem;
    }
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--deep-charcoal);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('https://images.unsplash.com/photo-1560750588-73207b1ef5b8?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-gold);
    color: var(--white);
    text-decoration: none;
    margin-top: 20px;
    border-radius: 2px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #b08d4a;
    transform: translateY(-2px);
}

/* Services Grid */
.services {
    padding: 80px 5%;
    background: var(--soft-blush);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.divider {
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
    margin: 10px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.service-card:hover {
    border: 1px solid var(--primary-gold);
    transform: translateY(-5px);
}

.service-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    border-radius: 2px;
}

/* Booking Form */
.booking {
    padding: 80px 5%;
}

.booking-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    display: flex;
    gap: 20px;
}

input, select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--deep-charcoal);
    color: white;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-gold);
}

/* --- Mobile Luxury Section --- */
.mobile-luxury {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fff;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 15px;
}

.text-block h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.image-block img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 20px 20px 0px var(--soft-blush); /* Decorative offset */
}

.trust-icons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.icon-item {
    font-weight: bold;
    font-size: 0.9rem;
}

.icon-item span {
    color: var(--primary-gold);
}

/* --- Gallery Showroom --- */
/* --- Performance & Loading Styles --- */

/* 1. The Skeleton Placeholder */
.gallery-item-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    min-height: 400px; /* Matches your image height */
}

.skeleton {
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

@keyframes shine {
    to { background-position-x: -200%; }
}

/* 2. The Smooth Image Reveal */
.lazy-img {
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.lazy-img.loaded {
    opacity: 1;
}

/* 3. Video Spinner */
.video-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(197, 160, 89, 0.2);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.gallery-showroom {
    padding: 100px 5%;
    background: var(--deep-charcoal);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: var(--transition);
}

.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.tall { grid-row: span 2; }

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(197, 160, 89, 0.8); /* Gold overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.overlay span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: white;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* --- Testimonials --- */
.testimonials {
    padding: 80px 10%;
    background: var(--soft-blush);
    text-align: center;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

.author {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .text-block h2 { font-size: 2rem; }
}

/* Showroom Overlay Styling */
.showroom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    display: none; /* Hidden until clicked */
    overflow-y: auto;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Add this to style.css to make the overlay feel even more premium */
.showroom-overlay::before {
    content: "Entering the Showroom...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary-gold);
    z-index: -1;
    letter-spacing: 2px;
}

/* Make sure the video is the star of the show */
#showroomVideoContainer video {
    filter: brightness(0.9);
    transition: filter 1s ease;
}

#showroomVideoContainer:hover video {
    filter: brightness(1.1);
}

.close-overlay {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--deep-charcoal);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 2001;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.video-container {
    width: 100%;
    height: 70vh;
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.showroom-text {
    text-align: center;
    padding: 60px 10%;
}

.showroom-text h2 {
    font-size: 3rem;
    color: var(--primary-gold);
}

.showroom-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    padding: 0 10px 50px 10px;
}

.showroom-gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showroom-gallery img:hover {
    transform: scale(1.02);
}

footer {
    text-align: center;
    padding: 40px;
    background: var(--deep-charcoal);
    color: var(--white);
    font-size: 0.8rem;
}

.service-menu {
    background: #fdfaf6;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
}

.menu-col h4 {
    border-bottom: 1px solid var(--primary-gold);
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--primary-gold);
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
    cursor: pointer;
}

.service-item input {
    width: auto;
    margin-right: 10px;
}

.total-display {
    background: var(--deep-charcoal);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 20px;
}

#totalPrice {
    color: var(--primary-gold);
}

/* Custom Logo Design */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--deep-charcoal);
    display: flex;
    align-items: center;
}

.logo-m, .logo-s {
    color: var(--primary-gold);
    font-size: 2.2rem;
    margin-right: 2px;
}

/* Footer Contact Styling */
.contact-methods {
    margin-top: 20px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.contact-link {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: white;
}

.divider {
    margin: 0 15px;
    color: #555;
}

/* Form Validation Styles */
input:focus:invalid {
    border-bottom: 2px solid #ff4d4d;
}

input:focus:valid {
    border-bottom: 2px solid var(--primary-gold);
}

/* Response Message Containers */
.response-msg {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.4s ease;
    display: block;
}

.response-msg.info { background: #f0f0f0; color: #666; }
.response-msg.success { background: #e7f4e8; color: #2e7d32; border: 1px solid #2e7d32; }
.response-msg.error { background: #fdecea; color: #d32f2f; border: 1px solid #d32f2f; }

/* Loading Spinner */
.loader {
    width: 14px;
    height: 14px;
    border: 2px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-right: 10px;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Disabled Button State */
.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.footer-content>.logo {
    color: #ccc;
    margin-left: 3%;
}
