/* Variable Definitions */
:root {
    --gold: #b39359;
    --dark: #121212;
    --cream: #fcfaf5;
    --text: #4a4a4a;
    --serif: 'Playfair Display', serif;
    --sans: 'Montserrat', sans-serif;
}

body {
    background-color: var(--cream);
    color: var(--text);
    font-family: var(--sans);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
.premium-title {
    font-family: var(--serif);
    color: var(--dark);
    font-weight: 700;
}

/* Sections */
section {
    padding: 100px 0;
}

/* Elegant Navbar */
.navbar {
    padding: 30px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: white;
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive Masonry Gallery */
.gallery-grid {
    display: columns;
    column-count: 4;
    column-gap: 15px;
}

@media (max-width: 1100px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 800px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        column-count: 1;
    }
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    width: 100%;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Experience Cards */
.exp-card {
    background: white;
    border: none;
    padding: 40px;
    border-top: 3px solid var(--gold);
    transition: 0.3s;
}

.exp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-premium {
    background: var(--dark);
    color: white;
    padding: 15px 40px;
    border-radius: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.4s;
}

.btn-premium:hover {
    background: var(--gold);
    color: white;
}


/* Why Choose Gowri Styles */
.bg-gold {
    background-color: var(--gold) !important;
    color: white;
}

.why-item .icon-box {
    min-width: 60px;
    height: 60px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.why-item:hover .icon-box {
    background: var(--dark);
    color: white;
}

.why-item:hover .icon-box i {
    color: white !important;
}

.why-image-wrapper {
    padding: 20px;
    border: 1px solid #eee;
}

.why-image-wrapper .main-image {
    overflow: hidden;
}

.why-image-wrapper .main-image img {
    transition: transform 1.5s ease;
}

.why-image-wrapper:hover .main-image img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    padding: 30px;
    text-align: center;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .experience-badge {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 20px;
    }
}


/* Testimonial Enhancements */
#testimonials .bg-white {
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}

#testimonials .bg-white:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
}

#testimonials .text-gold i {
    margin-right: 3px;
    font-size: 0.9rem;
}

#testimonials small {
    letter-spacing: 1px;
}

#testimonials .fst-italic {
    line-height: 1.7;
    color: #555;
}

/* FAQ Accordion Customization */
.accordion-item {
    border-radius: 0 !important;
}

.accordion-button {
    background-color: white !important;
    color: var(--dark) !important;
    padding: 25px;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--gold) !important;
}

.accordion-button::after {
    filter: grayscale(1);
}

/* Premium Large Button for CTA */
.btn-premium-lg {
    background: var(--gold);
    color: white;
    padding: 20px 50px;
    border-radius: 0;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    text-decoration: none;
    border: 1px solid var(--gold);
}

.btn-premium-lg:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-5px);
}

/* Background image parallax effect hint */
#cta {
    background-attachment: fixed;
}

/* Footer Background & Typography */
.footer-premium {
    background-color: #0d0d0d;
    /* Slightly darker than standard bg-dark */
    color: #888;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

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

.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 0;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: 0.4s;
}

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

/* Floating WhatsApp Button */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    color: white;
}

/* Tooltip label for the FAB */
.fab-label {
    position: absolute;
    right: 75px;
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
}

.whatsapp-fab:hover .fab-label {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .fab-label {
        display: none;
    }

    /* Hide label on mobile */
    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Premium Nav Link Styling */
.navbar-nav .nav-link {
    position: relative;
    color: var(--dark) !important;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 5px;
    left: 15%;
    background-color: var(--gold);
    transition: 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

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

/* Button Refinement */
.btn-premium {
    background: var(--dark);
    color: white !important;
    border: 1px solid var(--dark);
    padding: 10px 25px;
    font-size: 0.75rem;
    transition: 0.4s all ease;
}

.btn-premium:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(179, 147, 89, 0.3);
}

/* Ensure sections are relative so Scrollspy can track them */
section {
    position: relative;
    /* This padding-top acts as an offset so the header doesn't cover the title */
    scroll-margin-top: 100px; 
}

/* Force the active state color */
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.navbar-nav .nav-link.active::after {
    width: 70% !important;
    background-color: var(--gold) !important;
}


