/* Add this at the VERY TOP of your css/style.css file */
:root {
    /* New Primary Color: Light Purple (Lavender) */
    --bs-primary: #B19CD9; 
}



body {
background-color: black; /* Changed from default to black */
 color: white; /* Changed default text color to white for visibility */
}

/*** Spinner Start ***/
#spinner {
 opacity: 0;
 visibility: hidden;
transition: opacity .8s ease-out, visibility 0s linear .5s;
z-index: 99999;
}

#spinner.show {
transition: opacity .8s ease-out, visibility 0s linear .0s;
visibility: visible;
opacity: 1;
}
/*** Spinner End ***/


.back-to-top {
	position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 400 !important;
    font-family: 'Playball', cursive !important;
    /* Ensure main headings are white where applicable */
    color: white !important; 
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open Sans', sans-serif !important;
    /* Ensure main subheadings are white where applicable */
    color: white !important; 
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.wow,
.animated {
    animation-duration: 2s !important;
}


/*** Button Start ***/
/* Add or modify this section to set the default button color */
.btn.btn-primary {
    border: 0;
    /* SET DEFAULT BUTTON COLOR */
    background-color: var(--bs-primary); 
    color: var(--bs-dark); /* Sets text color (Book Now) to dark (e.g., black) */
}

.btn.btn-primary:hover {
    /* CHANGE HOVER EFFECT: Invert colors for dark theme contrast */
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important; /* Text turns purple on hover */
}


.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 38px;
    height: 38px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
/*** Button End ***/


/*** Navbar Start ***/
/* Original block commented out, replaced with black theme settings */
/*** Navbar Start 
.nav-bar {
    background: var(--bs-light);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}
***/

.nav-bar {
    background: black; /* Set navbar background to black */
    border-bottom: 1px solid rgba(255, 255, 255, .05); /* Light border for dark theme */
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    transition: .5s;
    /* Set default link color to white for visibility */
    color: white; 
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    /* Ensure dropdown menu is dark */
    background-color: black; 
    border: 1px solid var(--bs-primary);
    }
    
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a {
    /* Ensure text inside dropdown links is white */
    color: white; 
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

#searchModal .modal-content {
    /* Changed to a darker semi-transparent color for consistency */
    background-color: rgba(0, 0, 0, .95); 
}
/*** Navbar End ***/


/*** Events Start ***/
.event .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(212, 167, 98, 0.7);
    border-radius: 8px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}
/*** Events End ***/


/*** service start ***/
.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    /* Changed service item background to black */
    background: black !important;
    box-shadow: 0 0 45px rgba(255, 255, 255, .08); /* Changed shadow to white for visibility */
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: var(--bs-primary);
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
}

.service-item:hover .service-content-icon i {
    color: var(--bs-dark) !important; /* This will turn the icon dark on hover, which is fine against the primary background */
}

.service-item:hover .service-content-icon p {
    color: var(--bs-white);
}

.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}
/*** Services End ***/


/*** Menu Start ***/
.menu .nav-item a {
    /* Ensure the non-active tab links are visible on dark background */
    background: black !important;
    color: white !important;
}

.menu .nav-item a.active {
    background: var(--bs-primary) !important;
    color: black !important; /* Active tab text should be dark for visibility against primary/gold */
}

.menu .menu-item .border-bottom {
    border-bottom-style: dashed !important;
}
/*** Menu End ***/


/*** Youtube Video start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    /* Adjusted gradient overlay for dark theme over image */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/fact.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}
/* ... (rest of the video styles, they look fine) ... */
/*** Youtube Video End ***/


/*** Blog Start ***/
/* ... (blog styles, generally fine on dark background) ... */
/*** Blog End ***/


/*** Team Start ***/
/* ... (team styles, generally fine on dark background) ... */
/*** Team End ***/


/*** testimonial Start ***/
.testimonial-item {
    border: 1px solid var(--bs-primary);
    padding: 20px 20px;
    /* Ensure testimonial card background is dark */
   
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel.owl-rtl .testimonial-item {
    direction: ltr !important;
}
/* ... (rest of testimonial styles, fine as colors were already handled in HTML or inherit white) ... */
/*** testimonial End ***/


/*** Contact start ***/
.contact-form {
    /* Changed box shadow to be visible/lighter on dark background */
    box-shadow: 0 0 45px rgba(255, 255, 255, .08);
}

/*** Contact End ***/


/*** Footer Start ***/
.footer .footer-item a.text-white:hover {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/