/* Color Palette & Variables - DARK PREMIUM THEME */
:root {
    --primary-bg: #0b0f19;
    --secondary-bg: #151a28;
    --gold: #d4af37;
    --gold-hover: #f3c93f;
    --text-main: #f8f9fa;
    --text-muted: #a0aec0;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    margin: 0;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Base Wrapper */
#main-wrapper {
    opacity: 0;
    visibility: hidden;
}

/* Logos */
.brand-logo, .footer-logo, .navbar-logo, .hero-logo {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo {
    width: 320px;
    max-width: 85%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

.hero-logo {
    max-height: 450px;
    max-width: 90%;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-logo:hover, .navbar-logo:hover, .hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6)) brightness(1.2);
}

/* Navbar Dark Theme */
#navbar {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-logo {
    height: 45px;
    width: auto;
}

.brand-text {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.nav-link {
    font-size: 1.05rem;
    color: var(--text-main) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: radial-gradient(circle at center, var(--secondary-bg) 0%, #06090e 100%);
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    line-height: 1.2;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Buttons */
.btn-gold {
    background-color: var(--gold);
    color: #0b0f19;
    font-weight: 600;
    padding: 15px 40px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

/* Established Badge */
.established-badge-container {
    display: inline-block;
    perspective: 1000px;
}

.established-badge {
    background: linear-gradient(135deg, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0.05) 100%);
    border: 1px solid rgba(212,175,55,0.8);
    backdrop-filter: blur(5px);
    color: #fff;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(212,175,55,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.established-badge:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 15px 30px rgba(212,175,55,0.5);
    background: linear-gradient(135deg, rgba(212,175,55,0.3) 0%, rgba(212,175,55,0.1) 100%);
}

.btn-outline-gold {
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 13px 40px;
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #0b0f19;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* Sections */
.bg-section {
    background-color: var(--primary-bg);
}

.bg-section-alt {
    background-color: var(--secondary-bg);
}

.text-gold {
    color: var(--gold) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

/* Service Cards */
.service-card {
    background: rgba(21, 26, 40, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s, border-color 0.4s;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.15) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
    background: rgba(21, 26, 40, 0.9);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.service-card:hover .icon-circle {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

/* Glass Details Form Card */
.glass-card {
    background: rgba(21, 26, 40, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* Custom Dark Form Controls */
.form-dark {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-dark:focus {
    background-color: rgba(0, 0, 0, 0.4) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
}
.form-dark::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}
/* Style the select options on dark */
select.form-dark option {
    background-color: var(--secondary-bg);
    color: #fff;
}

/* Swiper Image Gallery */
.gallery-swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.gallery-swiper .swiper-wrapper {
    /* Ensures continuous smooth movement without snap pausing */
    transition-timing-function: linear !important;
}

.gallery-slide {
    background-position: center;
    background-size: cover;
    width: 320px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-slide-active img, .gallery-slide:hover img {
    transform: scale(1.05);
}

.swiper-pagination-bullet {
    background: var(--text-muted) !important;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
}

.swiper-button-next, .swiper-button-prev {
    background: rgba(11, 15, 25, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: transform 0.3s, background 0.3s;
    color: var(--gold) !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    transform: scale(1.1);
    background: rgba(11, 15, 25, 0.9);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

@media (max-width: 768px) {
    .gallery-slide {
        width: 250px;
        height: 300px;
    }
}

/* Call To Action */
.cta-section {
    background: linear-gradient(rgba(11, 15, 25, 0.9), rgba(11, 15, 25, 0.95)), 
                url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20z" fill="rgba(212, 175, 55, 0.02)"/></svg>');
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Footer */
.footer {
    background: var(--secondary-bg);
}

/* Floating Instagram */
.floating-instagram {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    box-shadow: 0 6px 20px rgba(214, 36, 159, 0.4);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.floating-instagram:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(214, 36, 159, 0.6);
    color: white;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
    color: white;
    background-color: #20b858;
}

/* Interactive Map */
.map-container {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
    background: #fff;
    padding: 0;
}

.map-container:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.15) !important;
}

.google-map {
    display: block;
    transition: filter 0.5s ease;
}

.dark-map {
    filter: invert(90%) hue-rotate(180deg) grayscale(20%) contrast(100%);
}

.map-container:hover .dark-map {
    filter: invert(90%) hue-rotate(180deg) grayscale(0%) contrast(110%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    #navbar {
        padding: 10px 0;
    }
    .hero-logo {
        max-height: 250px !important;
        margin-bottom: 20px !important;
    }
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
    .floating-instagram {
        bottom: 85px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
}

/* Responsive Navbar Background */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(11, 15, 25, 0.98);
        padding: 15px;
        border-radius: 10px;
        border: 1px solid rgba(212, 175, 55, 0.2);
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
}

/* Review Cards */
.review-card {
    transition: transform 0.3s;
}
.review-card:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.chatbot-window {
    width: 300px;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 1rem;
    transform-origin: bottom left;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.filter-gold {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}
.bot-message {
    border-bottom-left-radius: 2px !important;
}
.chat-btn-redirect {
    font-size: 0.85rem;
}

/* ==========================================
   8. PREMIUM IMAGE LIGHTBOX MODAL
   ========================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(6, 9, 14, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    z-index: 10002;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.lightbox-caption {
    margin-top: 15px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    .lightbox-close { top: 20px; right: 25px; font-size: 35px; }
    .lightbox-content { max-width: 95%; }
}


