/* Location: public_html/styles/main.css */

/* --- Fonts and Colors for Luxury Theme --- */
:root {
    --bs-body-bg: #0A0A0A; /* Deepest Black */
    --bs-body-color: #EAEAEA; /* Off-White/Silver */
    --bs-primary: #C9A048; /* Refined Gold Accent */
    --bs-secondary: #1F1F1F; /* Dark Gunmetal Gray */
    --header-height: 80px;
}

/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Montserrat:wght@300;400;500&display=swap');

body {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Minimalist font weight */
}

h1, h2, h3, h4, .display-1, .display-4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* --- Header and Navigation --- */
.navbar {
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

/* Default state: Transparent */
.navbar-luxury {
    background-color: rgba(10, 10, 10, 0.0);
    border-bottom: 1px solid transparent;
}

/* Scrolled state: Solid Black */
.navbar-scrolled {
    background-color: var(--bs-body-bg) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--bs-primary);
}

.nav-link {
    font-size: 0.95rem;
    position: relative;
    color: var(--bs-body-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--bs-primary) !important;
}

/* Underline effect for luxury hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--bs-primary);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
    width: 80%;
}

.dropdown-menu {
    background-color: var(--bs-secondary);
    border: 1px solid var(--bs-primary);
}
.dropdown-item {
    color: var(--bs-body-color);
    transition: background-color 0.3s;
}
.dropdown-item:hover {
    background-color: var(--bs-body-bg);
    color: var(--bs-primary);
}


/* Add this CSS to your styles/main.css or inside a <style> tag */
#hero-slider .hero-slider-item {
    /* Ensures items are stacked and fill the container */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out; 
}

#hero-slider .hero-slider-item.active {
    /* Only the active slide should be fully visible */
    opacity: 1;
}

.hero-overlay {
    background-color: rgba(10, 10, 10, 0.4);
}

/* --- General Components --- */
.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.card-luxury {
    background-color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}
.card-luxury:hover {
    transform: translateY(-5px);
    border-color: var(--bs-primary);
}
.card-luxury img {
    transition: opacity 0.3s ease;
}
.card-luxury:hover img {
    opacity: 0.8;
}

/* --- PARALLAX EFFECT FIX --- */
/*
   Yeh class aapke HTML mein 'in-your-home' section ke andar background <div> par lagi hai.
   'background-attachment: fixed' hi Parallax effect ke liye zaroori hai.
*/
.parallax-bg {
    /* 'absolute inset-0' property Tailwind se aa rahi hai, jo position aur size set karti hai. */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 👈 Yahi property background ko scroll ke dauran fixed rakhti hai */
    background-attachment: fixed;
    z-index: 0; /* Ensures it stays behind the text content (z-10) */
}

/* Agar aapne pehle se hi .parallax-section use kiya hua hai, to yeh class waise hi kaam karegi */
.parallax-section {
    height: 70vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.btn-luxury-primary {
    background-color: var(--bs-primary);
    color: var(--bs-body-bg);
    border: 1px solid var(--bs-primary);
    padding: 12px 30px;
    letter-spacing: 1px;
    transition: background-color 0.3s, color 0.3s;
}
.btn-luxury-primary:hover {
    background-color: var(--bs-body-color);
    color: var(--bs-body-bg);
}

.form-control {
    background-color: var(--bs-secondary);
    border: none;
    border-bottom: 1px solid var(--bs-body-color);
    color: var(--bs-body-color);
    border-radius: 0;
    padding: 1rem 0.75rem;
    transition: border-bottom-color 0.3s;
}
.form-control:focus {
    background-color: var(--bs-secondary);
    color: var(--bs-body-color);
    box-shadow: none;
    border-bottom-color: var(--bs-primary);
}
.form-control::placeholder {
    color: #888;
}

/* Footer Styling */
footer {
    background-color: var(--bs-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.social-icon {
    color: var(--bs-body-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}
.social-icon:hover {
    color: var(--bs-primary);
}



.review-slide {
    /* Mobile: 100% width, एक बार में एक स्लाइड */
    flex: 0 0 100%; 
    min-width: 100%;
}

@media (min-width: 768px) { /* Tailwind's 'md' breakpoint */
    /* Desktop: 33.333% width, एक बार में तीन स्लाइड */
    .review-slide {
        /* w-1/3 को Flexbox के संदर्भ में 0 0 calc(100% / 3) से बदला गया */
        flex: 0 0 calc(100% / 3);
        min-width: calc(100% / 3); 
    }
}



@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        /*
         * 5 Unique Slides हैं।
         * ट्रैक 10 स्लाइड (200% चौड़ाई) का है।
         * लूप करने के लिए, हमें 5 स्लाइड्स की चौड़ाई (50%) तक स्लाइड करना होगा।
         */
        transform: translateX(-50%); 
    }
}

/* Apply Marquee Effect (कोई बदलाव नहीं) */
.reviews-marquee {
    width: 200%; /* track की चौड़ाई को दोगुना करें */
    animation: scrollReviews 30s linear infinite; 
    /* सुनिश्चित करें कि अगर कोई पुराना JS ट्रांजिशन हो तो वह ओवरराइड हो जाए */
    transition: none !important; 
}

.reviews-marquee:hover {
    animation-play-state: paused;
}