/********** Template CSS **********/

.back-to-top {
    position: fixed !important;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.P {
    padding: 20px;
}

.flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

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

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.navbar-brand {
    line-height: 10px;
    font-weight: lighter;
}

.logo {
    display: flex;
    gap: 5px;
    align-items: center;
}

.logo img {

    color: var(--bs-white);
}

.logo h1 {
    font-size: 18px;
    color: var(--bs-white);
}


@media (min-width:580px) {

    .navbar-brand h1 {
        font-size: 20px !important;
    }

}

.navbar-brand span {
    font-size: 12px;
    color: white
}

/*** M, P, Fonts ***/
.mt-6 {
    margin-top: 6rem;
}

.mb-6 {
    margin-bottom: 6rem;
}

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

.pt-6 {
    padding-top: 6rem;
}

.pb-6 {
    padding-bottom: 6rem;
}

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

.font-dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


/*** Button ***/
.btn.btn-dark,
.btn.btn-primary {
    position: relative;
    font-family: 'Yeseva One', serif;
    color: #FFFFFF;
    letter-spacing: 1px;
}

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

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

.btn-lg-square {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;

}

/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
    background: rgba(14, 42, 74, .5);
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 18px;
    outline: none;
    transition: .5s;
}

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

@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

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


/*** Header ***/
.inner-header {
    height: 35vh;
}

.inner-header h1 {
    font-size: 20px;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(15 16 16 / 72%);
    /* background: rgba(14, 42, 74, .5); */
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 1200px) {
    .carousel-caption .display-1 {
        font-size: 5rem;
    }
}

@media (max-width: 992px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 700px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* --- Unique About Section --- */

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-box i {
    font-size: 1.5rem;
    color: #da3c3c;
    background: rgba(139, 0, 0, 0.08);
    padding: 12px;
    border-radius: 8px;
}

.feature-box h4 {
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.feature-box p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/*** Fact ***/
.fact-counter {
    background: linear-gradient(rgba(14, 42, 74, .5), rgb(8.4, 25.2, 46.8)), url(../img/slider/3.jpg) center center no-repeat;
    background-size: cover;
}


/*** Room ***/
.temple-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.temple-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.temple-item .temple-detail img {
    transition: .5s;
}

.temple-item:hover .temple-detail img {
    transform: scale(1.2);
}

.temple-item .temple-detail .position-absolute {
    background: rgba(14, 42, 74, .5);
}


/*** Service ***/
.service-item {
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bs-primary);
    border-radius: 4px;
    z-index: 1;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 3;
}

.service-item:hover * {
    color: #FFFFFF !important;
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Our Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.team-item h5 {
    font-size: 14px;
    color: #da3c3c;
}

.team-item:hover {

    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-item .team-img {
    position: relative;
    margin-bottom: 2rem;

}

.team-item .team-meta {
    position: absolute;
    left: 0;
    bottom: -35px;
    width: 100%;
    height: 70px;
    z-index: 1;
}

.address-text {
    padding-right: 300px;
    padding-left: 150px
}

.border-b {
    border: 1px solid #eeeeee;
    margin-top: 20px;
    margin-bottom: 20px;

}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/* Filter Pills Micro-animations */
.filter-btn {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.filter-btn:not(.active):hover::after {
    width: 60%;
    opacity: 0.5;
}

.filter-btn.active {
    background-color: #4a1525;
    color: #ffffff;
    border-color: #4a1525;
    box-shadow: 0 4px 14px rgba(74, 21, 37, 0.25);
    transform: translateY(-2px);
}

.filter-btn:active {
    transform: scale(0.96);
}

/* Card Micro-animations & Floating Glass Hover */
.gallery-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    perspective: 1000px;
}

.gallery-card-inner {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.gallery-card:hover .gallery-card-inner {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 30px -10px rgba(74, 21, 37, 0.15), 0 8px 15px -6px rgba(0, 0, 0, 0.08);
}

.gallery-img {
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.card-overlay {
    background: linear-gradient(to top, rgba(30, 15, 20, 0.8) 0%, rgba(30, 15, 20, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

/* Smooth Lightbox Modal Animations */
#lightboxModal {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
}

.modal-content-wrapper {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf9f6;
}

::-webkit-scrollbar-thumb {
    background: #d4c5bd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a89488;
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-light);
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.ank {
    max-width: 100%;
    height: auto;
    display: block;
}

.iframe {
    width: 100%;
    height: 100%
}

.iframe-2 {
    width: 100%;
    min-height: 400px;
}

.pl {
    padding-left: 0px !important;
}

.pr {
    padding-right: 0px !important;
}