/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Luxury Color Palette - Placeholder until brand colors provided */
    --primary-gold: #D4AF37;
    --primary-dark: #0B132B;
    --secondary-gray: #F4F4F4;
    --text-dark: #333333;
    --text-light: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
    background-color: rgba(11, 19, 43, 0.85);
    /* Semi-transparent dark */
    backdrop-filter: blur(10px);
    /* Glass blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    /* Shrink on scroll */
    background-color: rgba(11, 19, 43, 0.95);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.cta-btn {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    padding: 10px 25px;
    border-radius: 0;
    /* Sharp edges for luxury look */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #fff;
    color: var(--primary-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    background: linear-gradient(rgba(11, 19, 43, 0.7), rgba(11, 19, 43, 0.7)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   4. SERVICES SECTION
   ========================================= */
.services {
    padding: var(--section-padding);
    background-color: var(--secondary-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.section-title span {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 10px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-gold);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* =========================================
   5. CALCULATOR SECTION
   ========================================= */
.calculator-section {
    padding: var(--section-padding);
    background-color: #fff;
}

.calculator-wrapper {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 40px;
    border-radius: 5px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.calculator-wrapper h2 {
    color: var(--primary-gold);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    border-radius: 4px;
}

.form-control option {
    background-color: var(--primary-dark);
    color: #fff;
}

.calc-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: background 0.3s;
}

.calc-btn:hover {
    background-color: #fff;
}

.result-box {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    text-align: center;
    display: none;
    /* Hidden by default */
}

.result-box.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
    display: block;
    margin-top: 10px;
}

/* =========================================
   6. PROJECTS SECTION
   ========================================= */
.projects {
    padding: var(--section-padding);
    background-color: var(--secondary-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(11, 19, 43, 0.9);
    padding: 20px;
    transition: bottom 0.4s ease;
    text-align: center;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-item:hover .project-overlay {
    bottom: 0;
}

.project-overlay h3 {
    color: var(--primary-gold);
    margin: 0;
    font-size: 1.2rem;
}

.project-overlay p {
    color: #fff;
    font-size: 0.9rem;
}

/* =========================================
   7. LEAD FORM SECTION
   ========================================= */
.lead-form-section {
    padding: var(--section-padding);
    background-color: #fff;
}

.lead-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.lead-form-section .form-control {
    background: #f9f9f9;
    border: 1px solid #ddd;
    color: var(--text-dark);
}

.lead-form-section .form-control:focus {
    border-color: var(--primary-gold);
    outline: none;
}

/* =========================================
   7b. PROCESS TIMELINE (Premium Upgrade)
   ========================================= */
.process-section {
    padding: var(--section-padding);
    background: #fff;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--primary-gold);
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    background: inherit;
    width: 50%;
    text-align: right;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: #fff;
    border: 4px solid var(--primary-gold);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-item:nth-child(even)::after {
        left: 21px;
    }
}

.error-message {
    color: red;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

/* =========================================
   8. FOOTER
   ========================================= */
footer {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #aaa;
}

/* =========================================
   9. RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* =========================================
   10. MULTI-STEP CALCULATOR
   ========================================= */
.room_selection_sec {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.step-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step-circle {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    flex-direction: column;
    transition: all 0.3s ease;
}

.step-circle.active {
    border-color: var(--primary-gold);
    background: #fff;
}

.step-circle.completed {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}

.stap_title {
    position: absolute;
    bottom: -30px;
    font-size: 0.85rem;
    width: 120px;
    text-align: center;
    font-weight: 600;
}

.room-selct {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.home_selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.custome_check {
    position: relative;
}

.custome_check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custome_check label {
    display: block;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    font-weight: 500;
    transition: all 0.3s;
}

.custome_check input:checked+label {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
    color: var(--primary-dark);
}

.cost_btn button {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    margin: 5px;
}

.cost_btn button.cancel {
    background: #ddd;
    color: #333;
}

/* =========================================
   11. FLOATING WHATSAPP & EXTRAS
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

/* Before/After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 40px auto;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ba-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    border-right: 3px solid var(--primary-gold);
    z-index: 2;
}

.handle {
    position: absolute;
    height: 40px;
    width: 40px;
    background: var(--primary-gold);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    cursor: ew-resize;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

/* Accordion */
.accordion {
    max-width: 800px;
    margin: 40px auto;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    background: #fff;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--primary-gold);
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background: #fcfcfc;
}

.accordion-content p {
    padding: 15px 0;
}

/* Live Counter */
.counter-box {
    text-align: center;
    padding: 40px 20px;
    background: var(--primary-dark);
    color: #fff;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.counter-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
}

/* Budget Slider */
.budget-slider-container {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.range-slider {
    width: 100%;
    margin: 15px 0;
}

/* --- Lightbox Styles --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border: 4px solid #fff;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-gold);
}

/* --- Content Changes for Carousel --- */
.reviews-container {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.review-slide {
    display: none;
    text-align: center;
    padding: 20px;
    animation: fadeEffect 1s;
}

.review-slide.active {
    display: block;
}

/* Dots for carousel */
.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary-gold);
}


@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}