/********** Template CSS **********/
:root {
    --primary: #C5A880; /* Premium Champagne Gold */
    --light: #F9FAF6;   /* Soft Alabaster White */
    --dark: #0A0F1D;    /* Rich Graphite/Dark Slate */
    --font-title: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

.wow {
    visibility: visible !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--light) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    text-shadow: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

.navbar-brand-logo {
    height: 50px; /* Slightly bigger logo */
    width: auto;
    margin-right: 12px;
    transition: all .3s ease;
    align-self: center;
    position: relative;
    top: 8px; /* Shifted more down */
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.sticky-top.navbar-dark .navbar-brand-logo {
    height: 42px; /* Slightly bigger logo for sticky navbar */
    top: 6px; /* Shifted more down */
    filter: none;
}

.navbar-brand-title {
    font-size: 1.85rem !important; /* Override small ff-secondary size */
    font-family: var(--font-title) !important;
    font-style: italic !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    line-height: 1 !important;
    margin: 0;
    transition: all .3s ease;
    align-self: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.sticky-top.navbar-dark .navbar-brand-title {
    font-size: 1.55rem !important;
    text-shadow: none;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        text-shadow: none;
    }

    .navbar-dark .navbar-brand img {
        max-height: 52px;
    }
    
    .navbar-brand-logo {
        height: 44px;
        position: relative;
        top: 7px; /* Shifted more down */
        align-self: center;
        filter: none;
    }
    
    .navbar-brand-title {
        font-size: 1.65rem !important;
        align-self: center;
        text-shadow: none;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transition: .5s;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        padding-left: 45px;
        padding-right: 45px;
        background: var(--dark) !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}


/*** Hero Header ***/
.hero-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(15, 23, 43, .1), rgba(15, 23, 43, 0)), url(../img/villa_exterior_both.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background:
        linear-gradient(90deg, rgba(10, 15, 29, .2) 0%, rgba(10, 15, 29, .05) 50%, rgba(10, 15, 29, 0) 100%),
        linear-gradient(180deg, rgba(10, 15, 29, .45) 0%, rgba(10, 15, 29, 0) 25%, rgba(10, 15, 29, .2) 100%);
}

.hero-header .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(1.2) contrast(1.15) saturate(1.22);
}

.hero-header > .container {
    position: relative;
    z-index: 2;
}

.hero-header .display-3,
.hero-header p,
.hero-header .btn {
    text-shadow: 0 3px 26px rgba(15, 23, 43, .38);
}

.hero-header .hero-tagline {
    max-width: 680px;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: .96;
}

.hero-header .hero-kicker {
    font-family: "Nunito", sans-serif;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .16rem;
    text-transform: uppercase;
}

.hero-header .container.text-center .display-3 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.1rem, 6vw, 4.8rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.hero-header img {
    animation: imgRotate 50s linear infinite;
}

.hero-header .hero-property-photo {
    animation: none;
    max-height: 460px;
    object-fit: cover;
}

@keyframes imgRotate { 
    100% { 
        transform: rotate(360deg); 
    } 
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .18), rgba(15, 23, 43, .18)), url(../img/villa_exterior_both.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* ==========================================================================
   JAVID LUXURY DESIGN SYSTEM OVERRIDES & ENHANCEMENTS
   ========================================================================== */

/* Global Typography */
body {
    font-family: var(--font-body) !important;
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6, .display-3 {
    font-family: var(--font-title) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

/* Secondary cursive replacement with gorgeous serif italics */
.ff-secondary {
    font-family: var(--font-title) !important;
    font-style: italic !important;
    font-weight: 500 !important;
    text-transform: none !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.05em !important;
}

.fw-medium {
    font-weight: 500 !important;
}

/* Luxury Glassmorphic & Sticky Navbar */
/* @media (min-width: 992px) {
    .navbar-dark {
        background: rgba(10, 15, 29, 0.4) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
} */

.sticky-top.navbar-dark {
    background: rgba(10, 15, 29, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2) !important;
}

/* Premium Card & Element Shadows/Transitions */
.team-item {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.12) !important;
    border-color: rgba(197, 168, 128, 0.3);
}

.team-item img {
    border-radius: 12px;
}

/* Styled Tabs under Featured Options */
.nav-pills .nav-item .nav-link {
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-pills .nav-item .nav-link.active {
    background-color: rgba(197, 168, 128, 0.1) !important;
    border: 1px solid rgba(197, 168, 128, 0.4) !important;
    color: var(--primary) !important;
}

/* Luxury Buttons with gold glow */
.btn {
    border-radius: 6px !important;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 14px rgba(197, 168, 128, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.4);
    transform: translateY(-1px);
}

/* Elegant Text Styling for Real Estate description */
.hero-header p {
    font-size: 1.15rem !important;
    font-weight: 400;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Section Title Highlight */
.section-title::before, .section-title::after {
    background: var(--primary) !important;
}

/* Beautiful Property Row Hover states */
.tab-content .row .d-flex {
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
}

.tab-content .row .d-flex:hover {
    background: rgba(197, 168, 128, 0.04);
    transform: scale(1.01);
}

/* Premium Property Thumbnail styling */
.property-thumbnail {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-thumbnail:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 24px rgba(197, 168, 128, 0.3);
}

@media (max-width: 576px) {
    .property-thumbnail {
        width: 100px;
        height: 100px;
        border-radius: 10px;
    }
}

/* Premium Lightbox Overlay */
.property-lightbox {
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.property-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content-wrapper {
    max-width: 85%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-lightbox.active .lightbox-content-wrapper {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(197, 168, 128, 0.25);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: var(--light);
    max-width: 600px;
}

.lightbox-title {
    font-family: var(--font-title) !important;
    font-size: 1.8rem;
    color: var(--primary) !important;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lightbox-desc {
    font-family: var(--font-body) !important;
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--light);
    font-size: 45px;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 100001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    color: var(--primary);
    background: rgba(197, 168, 128, 0.1);
    border-color: rgba(197, 168, 128, 0.3);
    transform: rotate(90deg);
}

body.lightbox-open {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 35px;
        width: 40px;
        height: 40px;
    }
    .lightbox-title {
        font-size: 1.4rem;
    }
    .lightbox-desc {
        font-size: 0.95rem;
    }
}

/* Testimonial/Customer Avatar Enforcements */
.team-item .rounded-circle {
    width: 150px;
    height: 150px;
    margin: 24px auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 3px solid rgba(197, 168, 128, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-item:hover .rounded-circle {
    border-color: var(--primary);
}

.team-item .rounded-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% !important;
}

/* Align faces properly in circular crop */
.team-item .rounded-circle img[src*="aarif"] {
    object-position: center 8%;
}

.team-item .rounded-circle img[src*="imran"] {
    object-position: center 10%;
}

.team-item .rounded-circle img[src*="mehak"] {
    object-position: center 15%;
}

.team-item .rounded-circle img[src*="zoya"] {
    object-position: center 20%;
}

/* Smooth scrolling support and scroll margin offset for sticky navbar */
html {
    scroll-behavior: smooth;
}

#booking-section {
    scroll-margin-top: 100px;
}

/* Interactive luxury styling for property enquire buttons */
h5.d-flex.justify-content-between span.text-primary {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 2px 10px;
    border-radius: 6px;
    background-color: rgba(197, 168, 128, 0.05);
    border: 1px solid rgba(197, 168, 128, 0.2);
}

h5.d-flex.justify-content-between span.text-primary:hover {
    color: var(--dark) !important;
    background-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.35);
    transform: translateY(-1px);
}

