/* --- Variables & Reset --- */
:root {
    --primary-color: #c5a47e; /* Gold/Beige Luxury */
    --primary-dark: #a6845e;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    --transition: all 0.4s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    
    /* BACKGROUND UPDATE: Path pointing to assets folder */
    background-image: url('assets/background.png'); 
    background-repeat: repeat;
    background-size: auto;
    background-color: #fffbf7;
}

h1{
    font-family: var(--font-heading);
    color: var(--bg-dark);
    font-weight: 700;
}

h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.sticky {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    height: 70px;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Logo & Text Combined Styling --- */
.logo {
    display: flex;       /* Image aur Text ko ek line me laane ke liye */
    align-items: center; /* Vertically center karne ke liye */
    gap: 12px;           /* Logo aur Text ke beech gap */
    
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #fff;         /* Default text color (White) */
    text-decoration: none;
}

/* Logo Image Size */
.logo img {
    height: 50px;       /* Text ke hisab se height adjust ki */
    width: auto;
    transition: all 0.4s ease;
}

/* "spot" part ko color karne ke liye */
.logo .highlight {
    color: var(--primary-color); /* Gold color */
}

/* Sticky Navbar (White Background) hone par text color change */
.navbar.sticky .logo {
    color: var(--text-dark); /* Black text on white header */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .logo { font-size: 24px; gap: 8px; }
    .logo img { height: 40px; }
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--bg-white);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar.sticky .nav-link {
    color: var(--text-dark);
}

.btn-contact {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--primary-color) !important;
}

.btn-contact:hover {
    background: var(--primary-color);
    color: #fff !important;
}

.btn-contact::after { display: none; }

/* Hamburger Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.navbar.sticky .bar { background-color: var(--text-dark); }

/* --- Hero Section & Animations --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease, transform 6s ease;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for better text visibility */
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    color: #fff;
    z-index: 1;
    padding: 0 20px;
}

.hero h2 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: black;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Animations Logic */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: #fff;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.cta-button.secondary:hover {
    background-color: var(--text-dark);
    color: #fff;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    color: #fff;
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- Common Section Styles --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
    border-radius: 5px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.icon-box {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* --- Gallery / Our Work --- */
.bg-light { background-color: var(--bg-light); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 5px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.overlay i {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.overlay p {
    color: #fff;
    font-weight: 500;
    transform: translateY(20px);
    transition: 0.4s ease 0.1s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover .overlay i,
.gallery-item:hover .overlay p {
    transform: translateY(0);
}

.center-btn {
    text-align: center;
    margin-top: 50px;
}

/* --- Catalog Section --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.catalog-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
}

.catalog-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateX(5px);
}

.pdf-icon {
    font-size: 40px;
    color: #e74c3c;
    margin-right: 25px;
}

.cat-info h3 { font-size: 20px; margin-bottom: 5px; }
.cat-info p { color: var(--text-light); font-size: 14px; margin-bottom: 15px; }

.download-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.download-btn:hover { color: var(--primary-color); }

/* --- Contact Section --- */
.dark-section {
    background-color: var(--bg-dark);
    color: #fff;
}

.dark-section .subtitle { color: var(--primary-color); }
.dark-section h2 { color: #fff; }
.dark-section p { color: #aaa; margin-bottom: 30px; }
.dark-section strong { color: #fff; }

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-text, .contact-map { flex: 1; min-width: 300px; }

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--primary-color);
    margin-right: 20px;
    font-size: 20px;
}

.info-item h4 { color: #fff; font-size: 16px; margin-bottom: 2px; }
.info-item p { margin-bottom: 0; font-size: 15px; }

.whatsapp-btn {
    background: #25D366;
    border-color: #25D366;
    margin-top: 10px;
}

.whatsapp-btn:hover {
    background: transparent;
    color: #25D366;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: #777;
}

.map-placeholder i { font-size: 40px; margin-bottom: 15px; }

/* --- FAQ Section --- */

.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); padding: 15px 20px; transition: all 0.3s ease; }
.faq-item summary { list-style: none; font-weight: 600; font-family: 'Poppins', sans-serif; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #333; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 15px; color: #666; font-size: 0.95rem; line-height: 1.6; border-top: 1px solid #eee; padding-top: 10px; }
.faq-item[open] { border: 1px solid var(--highlight-color, #c5a059); } /* Aapka highlight color yahan daalein */

/* --- Footer --- */
footer {
    background: #111;
    color: #777;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-brand h3 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.footer-brand span { color: var(--primary-color); }

.footer-social { margin: 25px 0; }

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright { border-top: 1px solid #222; padding-top: 20px; font-size: 14px; }

/* --- Modal (Fixed for Full Screen) --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Darker background */
    backdrop-filter: blur(5px); /* Adds a premium blur effect */
}

.modal-content {
    margin: auto;
    display: block;
    /* Make it truly full screen but keep aspect ratio */
    max-width: 95vw; 
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;} 
    to {transform: scale(1); opacity: 1;}
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001; /* Ensure it is above the image */
}

.close:hover { 
    color: var(--primary-color);
    transform: rotate(90deg); 
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; z-index: 1001;}
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 70%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.5s ease;
        z-index: 1000;
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-link { color: var(--text-dark); font-size: 18px; }
    
    /* Toggle Color Change */
    .menu-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); background: #333; }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); background: #333; }
    
    .hero h1 { font-size: 40px; }
    .section-header h2 { font-size: 32px; }
    .catalog-grid { grid-template-columns: 1fr; }
    .modal-content { width: 95%; }
    .contact-map {
        height: 250px; 
        width: 100%;  
        margin-top: 20px;
    }

    .contact-map iframe {
        width: 100% !important; 
        height: 100% !important;
    }
}

/* --- Slider & Collection Styles --- */

.slider-wrapper {
    position: relative;
    min-height: 600px; /* Height fix taki layout hile nahi */
    overflow: hidden;
}

/* Slide Logic: Hide all by default */
.collection-slide {
    display: none; 
    position: relative;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
}

/* Show only active slide */
.collection-slide.active {
    display: flex;
}

/* --- Element Styles (Same as before) --- */
.outline-number {
    position: absolute;
    top: -50px;
    left: 0;
    font-family: var(--font-heading);
    font-size: 140px;
    line-height: 1;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px #ff8800;
    z-index: 5;
    opacity: 0.6;
}

.col-image {
    width: 70%;
    height: 500px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0; /* Hidden initially for animation */
}

.col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.col-card {
    position: absolute;
    right: 0;
    width: 40%;
    background: #fff;
    padding: 50px 40px;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #ff95009d;
    opacity: 0; /* Hidden initially for animation */
}

.col-sub {
    display: block;
    color: #f39c12;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.col-card h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.col-card p {
    color: #666;
    margin-bottom: 0; /* Button hata diya to margin kam */
    font-size: 15px;
    line-height: 1.7;
}

/* --- ANIMATIONS--- */

.collection-slide.active .col-image {
    opacity: 0; 
}

.in-view .collection-slide.active .col-image {
    animation: slideInFromLeft 1s ease forwards;
}

.collection-slide.active .col-card {
    opacity: 0; 
}

.in-view .collection-slide.active .col-card {
    animation: slideInFromRight 1s ease forwards;
    animation-delay: 0.2s;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px); 
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px); 
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Navigation Buttons --- */
.slider-controls {
    display: flex;
    justify-content: flex-end; /* Right side align */
    gap: 15px;
    margin-top: 20px;
    padding-right: 20px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-btn:hover {
    background: #d4af37;
    color: #fff;
    transform: scale(1.1);
}

/* Mobile Fixes */
@media (max-width: 900px) {
    .collection-slide.active {
        flex-direction: column;
        align-items: flex-start;
    }
    .col-image { width: 100%; height: 300px; }
    .col-card {
        position: relative;
        width: 90%;
        margin: -50px auto 0;
        right: auto;
    }
    .slider-controls { justify-content: center; margin-top: 30px; }
}

/* --- Sub-Page Header (Banner) --- */
.page-header {
    height: 50vh; /* Screen ka aadha hissa */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}

/* Dark Overlay taaki text dikhe */
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-content h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 18px;
    color: var(--primary-color); /* Gold Color */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Clickable Catalog Card Styling --- */

.catalog-card {
    cursor: pointer; /* Pure card par hand icon aayega */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover karne par card thoda upar uthega */
.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Andar wale button ka hover effect maintain karne ke liye */
.catalog-card:hover .download-btn {
    color: var(--primary-color);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);  
    }
}