/* --- Variables & Reset --- */
:root {
    --primary: #941B1B; /* Deep Red from Logo Shield */
    --accent: #E67E22;  /* Orange from Logo Border */
    --gold: #C5A059;    /* Gold for Luxury feel */
    --dark: #1a1a1a;
    --text-grey: #555;
    --white: #ffffff;
    --off-white: #fcfcfc;
    
    --font-heading: 'Playfair Display', serif; /* The "Iconic" Font */
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Prevents fixed navbar from covering section titles */
}
body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; }
.text-center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--off-white); }

.sub-heading {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.section-heading {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
}


/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    
    /* 95% Transparent (0.05 Opacity) */
    background: rgba(255, 255, 255, 0.05); 
    
    /* Strong Blur to maintain readability */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.02); /* Very faint shadow */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Barely visible border */
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Turns Solid White on Hover */
.navbar:hover {
    background: #ffffff; 
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
} 
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 90px; } /* Adjust based on your logo */

.nav-links { list-style: none; display: flex; gap: 40px; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.btn-gold {
    border: 1px solid var(--gold);
    padding: 10px 25px;
    color: var(--gold) !important;
}
.btn-gold:hover { background: var(--gold); color: #fff !important; }

/* --- Desktop Styles (Default) --- */
.hamburger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333; /* Dark color for the lines */
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Mobile Styles (Max-width 900px) --- */
@media (max-width: 900px) {
    /* Show Hamburger Icon */
    .hamburger {
        display: block;
        z-index: 2000; /* Ensure it sits on top of the menu */
    }

    /* Hide Nav Links (Slide them off-screen) */
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 70%; /* Covers 70% of screen width */
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%); /* Move off-screen to the right */
        transition: transform 0.5s ease-in;
        z-index: 1500;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links li {
        margin: 25px 0;
        opacity: 0; /* Hidden initially for fade animation */
    }
    
    /* Adjust font size for mobile */
    .nav-links a {
        font-size: 1.2rem;
    }

    /* Class added by JS to show the menu */
    .nav-active {
        transform: translateX(0%);
    }

    /* Animate Links Fading In one by one */
    @keyframes navLinkFade {
        from { opacity: 0; transform: translateX(50px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .nav-active li {
        animation: navLinkFade 0.5s ease forwards 0.3s;
    }

    /* Hamburger to 'X' Animation */
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}

/* --- Hero Slider (The Complex Part) --- */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s; /* Base transition */
}
.slide::after {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.3); /* Dark overlay for text readability */
}

.slide-content {
    position: relative; z-index: 2; text-align: center; color: white;
}
.slide-content h1 { font-size: 5rem; line-height: 1.1; }
.slide-content em { font-family: var(--font-heading); font-style: italic; color: var(--gold); }

/* Slide Images */
.slide-1 { background-image: url('assets/images/sliders/s-1.png'); }
.slide-2 { background-image: url('assets/images/sliders/s-2.png'); }
.slide-3 { background-image: url('assets/images/sliders/s-4.png'); }

.slide.active { opacity: 1; }

/* --- Slider Animation Logic --- */

/* Animation 1: Ken Burns Zoom */
.slide-1.active { animation: zoomIn 6s ease forwards; }
@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Animation 2: Slide from Right */
.slide-2.active { animation: slideRight 1s ease-out forwards; }
@keyframes slideRight {
    0% { transform: translateX(100%); opacity: 1;}
    100% { transform: translateX(0); opacity: 1;}
}

/* Animation 3: Curtain Reveal (Clip Path) */
.slide-3.active { animation: curtainReveal 1.5s ease-in-out forwards; }
@keyframes curtainReveal {
    0% { clip-path: circle(0% at 50% 50%); opacity: 1; }
    100% { clip-path: circle(150% at 50% 50%); opacity: 1; }
}

/* Slider Controls */
.slider-controls button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: transparent; border: 1px solid rgba(255,255,255,0.3);
    color: white; padding: 15px; cursor: pointer; z-index: 10;
    transition: 0.3s;
}
.slider-controls button:first-child { left: 50px; }
.slider-controls button:last-child { right: 50px; }
.slider-controls button:hover { background: var(--gold); border-color: var(--gold); }

/* --- About Section --- */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { font-size: 1.1rem; line-height: 1.8; color: var(--text-grey); margin-bottom: 20px; }
.signature-img { width: 100%; height: 200px; object-fit: cover; margin-top: 20px; filter: grayscale(100%); }

.about-visual { position: relative; }
.about-visual img { width: 100%; display: block; position: relative; z-index: 2; box-shadow: 20px 20px 60px rgba(0,0,0,0.1); }
.gold-frame {
    position: absolute; top: -30px; left: -30px; width: 100%; height: 100%;
    border: 2px solid var(--gold); z-index: 1;
}

/* --- Services Section --- */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    margin-top: 50px; 
}

.service-box {
    background: white; 
    padding: 50px 30px;
    border-top: 3px solid transparent;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    cursor: pointer; /* Added cursor pointer for better UX */
}

.service-box:hover { 
    border-color: var(--accent); /* Make sure --accent is defined in :root */
    transform: translateY(-10px); 
}

.service-num { 
    font-family: var(--font-heading); 
    font-size: 3rem; 
    color: #554e4e; /* Dark Grey as requested */
    font-weight: 700; 
    display: block; 
    margin-bottom: 10px; 
}

.service-box h3 { 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
    color: #1a1a1a; /* Ensure heading is dark */
}

.service-box p { 
    color: var(--text-grey); 
    line-height: 1.6; 
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
    }
}

/* --- Projects Section (Editorial / Zig-Zag) --- */
.project-row {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    gap: 80px;
}
.project-row.reverse { flex-direction: row-reverse; }

.project-img { flex: 1.2; position: relative; overflow: hidden; }
.project-img img { width: 100%; display: block; transition: transform 0.6s ease; }
.project-row:hover .project-img img { transform: scale(1.05); }

.project-info { flex: 0.8; }
.project-info h3 { font-size: 2.5rem; color: var(--dark); margin-bottom: 20px; }
.line-separator { width: 60px; height: 2px; background: var(--gold); margin-bottom: 25px; }
.project-info p { font-size: 1.1rem; color: var(--text-grey); line-height: 1.8; margin-bottom: 30px; }
.read-more {
    text-decoration: none; color: var(--primary); font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
}


/* Center the 7th item in the grid */
@media (min-width: 900px) {
    .services-grid > :nth-child(7) {
        grid-column: 2; /* Moves it to the middle column */
    }
}




/* ... existing styles ... */

/* --- Pricing Section Styles (Light Theme) --- */
.pricing-section {
    background-color: #f9f9f9; /* Very subtle grey to differentiate from previous section */
}

.pricing-container {
    max-width: 800px;
    margin: 50px auto 0;
    background: #ffffff; /* White card background */
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* Soft, premium shadow */
}

/* Tabs */
.package-tabs {
    display: flex;
    border-bottom: 1px solid #eaeaea;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: #f4f4f4; /* Light grey for inactive tabs */
    border: none;
    color: #666; /* Darker grey text */
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border-right: 1px solid #eaeaea;
}
.tab-btn:last-child { border-right: none; }

.tab-btn:hover { color: var(--primary); background: #eee; }

.tab-btn.active {
    color: #fff; /* White text on Gold background */
    background: var(--gold); 
}

/* Content Panels */
.package-content {
    padding: 40px;
    display: none; 
    animation: fadeIn 0.5s;
    background: white;
}
.package-content.active-panel { display: block; }

/* Price Header */
.price-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 30px;
}
.price-header h3 { color: var(--dark); font-size: 2rem; margin-bottom: 15px; }
.price-display { color: var(--dark); font-family: var(--font-heading); }
.currency { font-size: 2rem; vertical-align: top; color: #555; }
.amount { font-size: 4rem; font-weight: 700; line-height: 1; color: var(--gold); }
.unit { font-size: 1.1rem; color: #999; margin-left: 10px; }

/* --- Feature List Accordion Styles --- */
.feature-list { list-style: none; margin-bottom: 40px; }

.feature-item {
    display: block; /* Changed from flex to block to allow stacking */
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
}

.feature-item:hover { background: #fafafa; }

/* Header (The visible part) */
.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 1.1rem;
    color: #444;
    transition: color 0.3s;
}

.feature-item:hover .feature-header { color: var(--primary); padding-left: 10px; }

/* The Icon (+) */
.feature-item .icon {
    font-weight: 300; 
    font-size: 1.5rem; 
    color: var(--gold);
    transition: transform 0.3s ease; /* Smooth rotation */
}

/* The Hidden Body (Lorem Ipsum) */
.feature-body {
    display: none; /* Hidden by default */
    padding: 15px 10px 5px 10px;
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 2px solid var(--gold);
    margin-top: 10px;
    margin-left: 5px;
    animation: slideDown 0.3s ease-out;
}

/* --- Expanded State (Triggered by JS) --- */
.feature-item.expanded .feature-body {
    display: block; /* Show content */
}

.feature-item.expanded .icon {
    transform: rotate(45deg); /* Rotate + to become X */
    color: var(--primary);
}

.feature-item.expanded .feature-header {
    color: var(--primary);
    font-weight: 600;
}

/* Solid Gold Button */
.btn-gold-solid {
    display: block;
    width: 100%;            /* Ensures full width */
    margin: 20px auto 0;    /* Adds space above and centers if width < 100% */
    padding: 18px;
    background: var(--gold);
    color: #000000;         /* Changed to Black text to match image */
    text-align: center;     /* Centers the text */
    text-decoration: none;
    font-weight: 800;       /* Made extra bold */
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;    /* Rounded pill shape like the image */
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4); /* subtle shadow */
}

.btn-gold-solid:hover {
    background: #d4b06a;
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
}
/* Animation for smooth opening */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}




/* --- Map Section Styling --- */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px; /* Tall and impressive */
    border-radius: 15px; /* Smooth corners */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); /* Floating effect */
    border: 5px solid #ffffff; /* White border frame */
}


/* Mobile Adjustment */
@media (max-width: 768px) {
    .map-wrapper {
        height: 300px;
    }
}

/* --- Map Actions --- */
.map-actions .btn-gold-solidd {
    display: inline-block;
    background-color: #d4af37; /* Gold */
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.map-actions .btn-gold-solid:hover {
    background-color: #c19b2e; /* Darker Gold */
    transform: translateY(-3px); /* Slight lift effect */
}


/* --- Footer Styles --- */
.main-footer {
    background-color: #ffffff; /* Changed from Black to White */
    color: #333333;            /* Changed text to dark grey */
    padding-top: 60px;
    font-family: var(--font-body);
    border-top: 1px solid #eaeaea; /* Light border to separate from content */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
}

/* Headings */
.footer-heading {
    color: #E67E22; 
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-brand {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a1a; /* Dark text for brand */
}

/* Star Ratings */
.rating-box { margin-bottom: 20px; }
.stars { color: #f1c40f; letter-spacing: 2px; font-size: 1.2rem; }
.rating-text { font-size: 0.8rem; color: #666; margin-top: 5px; }

/* Social Icons */
.social-icons { display: flex; gap: 10px; margin-top: 15px; }

.social-circle {
    width: 35px; height: 35px;
    border: 1px solid #E67E22;
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #E67E22; /* Default icon color (orange) */
    text-decoration: none;
    transition: 0.3s;
}

.social-circle svg {
    width: 16px; 
    height: 16px;
    fill: currentColor; /* Inherits the color from parent */
}

/* Hover Effect */
.social-circle:hover { 
    background: #E67E22; 
    color: white; /* Icon turns white on hover */
    transform: translateY(-3px); /* Slight lift */
}

/* Links Lists */
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    text-decoration: none;
    color: #555; /* Dark grey links */
    font-size: 0.95rem;
    transition: 0.3s;
}
.footer-links a:hover { color: #E67E22; padding-left: 5px; }

/* Contact Specifics */
.contact-list { list-style: none; color: #555; font-size: 0.95rem; line-height: 1.6; }
.contact-list li { margin-bottom: 15px; }
.company-name { font-weight: 700; color: #1a1a1a; margin-bottom: 5px !important; }
.gst-text { color: #777; font-size: 0.9rem; }
.phone-numbers { color: #d63031; font-weight: 600; } /* Keep pinkish-red */

/* Copyright Bar */
.footer-bottom {
    border-top: 1px solid #eee; /* Light grey border */
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #888;
    background-color: #f9f9f9; /* Very slight grey for bottom bar */
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: left; }
}





/* --- WhatsApp Floating Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Ensures it sits on top of everything */
    transition: all 0.3s ease;
    animation: pulse 2s infinite; /* Attention-grabbing animation */
}

/* Hover Effect */
.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #1ebc57;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}





/* --- Modal Popup Styles --- */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 850px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: zoomInModal 0.3s ease-out;
    overflow: hidden;
}

@keyframes zoomInModal {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #555;
    z-index: 10;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Form side vs Brand side */
}

/* Left Side: Form */
.modal-form-side {
    border-right: 1px solid #eee;
}

.form-header {
    background: #f1c40f; /* Yellow Header */
    padding: 20px;
    text-align: center;
}
.form-header h3 { margin: 0; color: #333; font-weight: 700; }

.quote-form { padding: 30px; }
.quote-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #444;
}

/* Red bordered inputs like image */
.quote-form input, .quote-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ff4d4d; /* Red Border */
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.phone-input-group {
    display: flex;
    border: 1px solid #ff4d4d;
    margin-bottom: 20px;
}
.phone-input-group input { border: none; margin: 0; }
.country-flag {
    padding: 10px;
    background: #f9f9f9;
    border-right: 1px solid #ddd;
    font-size: 1.2rem;
    display: flex; align-items: center;
}

.submit-btn {
    width: 100%;
    background: #f1c40f;
    border: none;
    padding: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}
.submit-btn:hover { background: #d4ac0d; }

/* Right Side: Branding */
.modal-brand-side {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-logo { font-size: 2rem; font-weight: 800; letter-spacing: 2px; }

.brand-message { display: flex; align-items: center; gap: 20px; margin: 30px 0; }
.vertical-line { width: 5px; height: 120px; background: #f1c40f; }
.message-text h1 {
    font-weight: 300;
    line-height: 1.2;
    font-size: 1.8rem;
    color: #333;
}
.message-text strong { font-weight: 800; }
.gold-text { color: #f1c40f; font-weight: 700; text-shadow: 1px 1px 0 #ddd; }

/* Badge Simulation */
.badge-circle {
    width: 120px; height: 120px;
    border: 2px dashed #d4ac0d;
    border-radius: 50%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    margin: 0 auto;
    font-size: 0.7rem; color: #d4ac0d;
}
.badge-circle strong { font-size: 2.5rem; color: #c0392b; line-height: 1; }

.brand-footer {
    text-align: center;
    font-weight: 700;
    color: #333;
    margin-top: 20px;
}

/* Mobile Responsive Modal */
@media (max-width: 768px) {
    .modal-grid { grid-template-columns: 1fr; }
    .modal-brand-side { display: none; /* Hide brand side on mobile to save space */ }
}