/* --- Root Variables: Sabhi colors yahan se control hote hain --- */
:root {
    --primary-blue: #3F358F;      /* Dark Royal Blue from image */
    --primary-blue-dark: #2D246F; /* Deep Blue for hover states */
    --accent-brown: #C6A87C;      /* Elegant Brown from image */
    --accent-brown-dark: #B38B59; /* Richer Brown for gradients */
    --dark-text: #1c140b;
    --light-bg: #fdfcf9;
    --white: #ffffff;
}

/* --- Global Reset & Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    color: var(--dark-text);
}

/* --- Background Pattern Component --- */
.bg-diamond-pattern {
    background-color: var(--light-bg);
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
}

/* --- Buttons (Royal Blue Theme) --- */
.btn-gradient-blue {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white) !important;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px; /* Rounded pill style like your image */
    box-shadow: 0 10px 20px -10px rgba(63, 53, 143, 0.5);
    transition: all 0.3s ease;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-gradient-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px rgba(63, 53, 143, 0.7);
    filter: brightness(1.1);
}

/* --- Text Gradients (Brown Theme) --- */
.text-brown-gradient {
    background: linear-gradient(90deg, var(--accent-brown-dark) 0%, var(--accent-brown) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* --- Swiper (Gallery & Highlights) --- */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
    background: rgba(63, 53, 143, 0.2); /* Subtle blue tint */
    backdrop-filter: blur(5px);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue) !important;
    width: 25px !important;
    border-radius: 5px;
}

/* --- Gallery Slide Styles --- */
.gallery-slide img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(198, 168, 124, 0.3); /* Thin brown border */
    transition: transform 0.5s ease, border-color 0.3s ease;
}

.gallery-slide:hover img {
    transform: scale(1.03);
    border-color: var(--accent-brown);
}

/* --- Navigation Pills (Tabs) --- */
.nav-pills .nav-link {
    color: var(--dark-text);
    border: 1px solid var(--accent-brown);
    padding: 10px 25px;
    margin: 0 5px;
    transition: all 0.3s;
    background-color: transparent;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    border-color: var(--primary-blue) !important;
}

/* --- Accordion (FAQ Section) --- */
.accordion-collapse {
    visibility: visible !important;
}

.accordion-button:not(.collapsed) {
    color: var(--white);
    background-color: var(--primary-blue);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-blue);
}

/* --- Modal Animation --- */
#enquireModal {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#enquireModal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.bg-grid-light {
    background-image: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* --- Responsive Fixes --- */
@media (max-width: 991px) {
    .offcanvas {
        height: 100vh !important;
    }
    .offcanvas-body {
        overflow-y: auto !important;
        padding-bottom: 90px;
    }
    .gallery-slide img {
        height: 250px; /* Mobile par thoda chota */
    }
}

body.offcanvas-open .mobile-cta-bar {
    display: none !important;
}

.highlights-swiper .swiper-slide {
    height: auto;
}