/* 
 * Gitaanjali Gems & Jewels - Custom Styles
 * Theme: Gold, Black, White, Burgundy
 */

:root {
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --dark: #1a1a1a;
    --darker: #0f0f0f;
    --light: #f8f9fa;
    --burgundy: #800020;
    --transition: all 0.3s ease;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6, .playfair {
    font-family: 'Playfair Display', serif;
}

/* Utilities */
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-white-trans { background-color: rgba(255, 255, 255, 0.8) !important; }
.bg-dark-section { background-color: var(--dark) !important; }
.bg-burgundy { background-color: var(--burgundy) !important; }

.icon-box {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.icon-box:hover {
    background-color: var(--gold);
    color: #fff;
}

/* Navbar Modern Design */
.navbar {
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: #333 !important;
}

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

.navbar.scrolled .navbar-brand {
    color: #1a1a1a !important;
}

.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.navbar-brand img {
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 8px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.navbar.scrolled .navbar-brand img {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.nav-link {
    font-weight: 500;
    margin: 0 0.8rem;
    position: relative;
    padding: 0.5rem 0 !important;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

/* Modern Dropdown */
.dropdown-menu {
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 10px;
    margin-top: 15px;
    backdrop-filter: blur(15px);
}

.dropdown-item {
    color: #ccc;
    border-radius: 8px;
    padding: 10px 20px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    transform: translateX(5px);
}

/* Mobile Nav Glassmorphism */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        margin: 15px -12px 0;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }
    
    .navbar.scrolled .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #fff !important;
    }

    .navbar.scrolled .nav-link {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: #333 !important;
    }

    .nav-link::after {
        display: none;
    }
}

/* Buttons */
.btn-gold {
    background-color: var(--gold);
    color: #fff;
    border: 2px solid var(--gold);
    font-weight: 600;
    transition: var(--transition);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #fff;
}

/* Hero Slider */
.hero-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--gold);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Rate Banner Custom Drawing Style */
.rate-banner {
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin: -70px auto 40px auto; /* Centered with bottom gap */
    position: relative;
    z-index: 10;
    max-width: 900px; /* Limited width for desktop */
}

.rate-header {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    border-bottom: 2px solid var(--gold);
}

.rate-box {
    background: #fff;
    transition: var(--transition);
}

.rate-box:hover {
    background: rgba(212, 175, 55, 0.03);
}

.rate-box:last-child {
    border-right: none !important;
}

.rate-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; /* Larger for desktop */
    color: var(--dark);
    letter-spacing: -0.5px;
}

.rate-box p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.rate-footer {
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    padding: 3px 0 !important;
}

.rate-card h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card img {
    height: 250px;
    object-fit: cover;
}

/* Why Choose Us Cards */
.feature-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-left: 5px solid var(--gold);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); transform: scale(1); }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slide {
        height: 500px;
    }
    .hero-slide h1 {
        font-size: 2.2rem !important;
    }
    .hero-slide p {
        font-size: 1rem !important;
    }
    .hero-slide .btn {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
    }
    .rate-banner {
        padding: 0;
        margin-top: -35px;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    .rate-banner .row > div {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        border-bottom: none !important;
        border-right: 1px solid #eee !important;
        padding: 10px 2px !important;
    }
    .rate-header h5 {
        font-size: 0.85rem !important;
    }
    .rate-card h2, .rate-box h4 {
        font-size: 1rem !important;
    }
    .rate-card h5, .rate-box p {
        font-size: 0.7rem !important;
        margin-bottom: 2px !important;
    }

    /* Smaller Mobile Header & Call Section */
    .navbar-brand img {
        max-height: 40px !important; /* Smaller logo for mobile */
        padding: 4px 8px !important;
    }
    .navbar-toggler {
        padding: 0.25rem 0.5rem !important;
        font-size: 1rem !important;
    }
    .bg-dark.py-4.mb-4 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        margin-bottom: 1rem !important;
    }
    .bg-dark.py-4.mb-4 p {
        font-size: 0.80rem !important;
    }

    /* Smaller Mobile CTA Section */
    .cta-section h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    .cta-section p.lead {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    .cta-section .btn-lg {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Process Section Red */
.process-section-red {
    background: url('../images/process-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #333 !important;
    position: relative;
    padding: 100px 0;
}

.process-section-red::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.4); /* Reduced overlay to show more image */
    z-index: 1;
}

.process-section-red h2, .process-section-red h4, .process-section-red p, .process-section-red li {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8); /* Added shadow to keep text readable */
}

.process-section-red .container {
    position: relative;
    z-index: 2;
}

.process-section-red h2, .process-section-red h4 {
    color: #1a1a1a !important;
}

.process-img-box {
    border: 5px solid var(--gold);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.process-text-gold {
    color: var(--gold) !important;
    font-weight: bold;
    margin-top: 15px;
    display: block;
}

.process-list {
    list-style: none;
    padding-left: 0;
}

.process-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.process-list li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* CTA Section with Background */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/cta-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0 !important;
}

@media (max-width: 768px) {
    .cta-section {
        background-attachment: scroll;
        padding: 60px 0 !important;
    }
    

}

@media (max-width: 425px) {
      .bg-dark.py-4.mb-4 p {
        font-size: 0.60rem !important;
    }

}

.btn-white-cta {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none;
    transition: var(--transition);
}

.btn-white-cta:hover {
    background-color: #f0f0f0 !important;
    color: #1a1a1a !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.about-image-wrapper {
    padding-bottom: 50px;
    padding-right: 50px;
}

.about-img-1 {
    width: 90%;
    z-index: 1;
    position: relative;
}

.about-img-2 {
    width: 65%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 10px solid #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .about-image-wrapper {
        padding-bottom: 30px;
        padding-right: 30px;
        margin-bottom: 40px;
    }
    .about-img-2 {
        border: 6px solid #fff;
    }
}
