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

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


#header-carousel,
#header-carousel .carousel-item {
    height: 100vh; /* or 600px / 700px as per your design */
}

#header-carousel .carousel-item {
    position: relative;
    overflow: hidden;
}

#header-carousel .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* forces dead-center alignment */
    z-index: 1;
}

/* =========================
   NAVBAR LOGO (RECTANGULAR)
   ========================= */

/* ✅ Desktop default */
.brand-logo {
    height: 78px;
    width: auto;
    max-width: 310px;
    object-fit: contain;
    transition: height 0.3s ease;
}

/* ✅ Shrink slightly after scroll */
.navbar.scrolled .brand-logo {
    height: 60px;
}

/* ✅ Tablet */
@media (max-width: 991px) {
    .brand-logo {
        height: 50px;
        max-width: 210px;
    }
    .navbar.scrolled .brand-logo {
        height: 46px;
    }
}

/* ✅ Mobile */
@media (max-width: 576px) {
    .brand-logo {
        height: 40px;     /* ✅ ideal mobile size */
        max-width: 180px;
    }
    .navbar.scrolled .brand-logo {
        height: 35px;
    }
}


/* =========================
   CIRCULAR / CENTER LOGO
   (For About section etc.)
   ========================= */

.responsive-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .responsive-logo {
        max-width: 260px;
        margin-bottom: 20;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .responsive-logo {
        max-width: 190px;
        margin-bottom: 32;
    }
}



.brand-logo-footer {
    height: 220px;
    width: auto;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn-outline-primary {
    color: #F2B705 !important;
    border-color: #F2B705 !important;
}

.btn-outline-primary:hover {
    background: #F2B705 !important;
    color: #000 !important;
}





/* Make caption appear above video */
#header-carousel .carousel-caption {
    z-index: 2;
}

/* Optional: dark overlay for readability */
#header-carousel .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* adjust darkness */
    z-index: 1;
}

.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;
}

/*** sign up form outer box color change ***/
.form-control:focus {
    border-color: #F2B705 !important;
    box-shadow: 0 0 0 0.2rem rgba(242, 183, 5, 0.25) !important;
    background-color: #111;        /* keeps dark theme */
    color: #fff;
}



/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.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: inherit;
}

.btn-primary {
    color: var(--bs-white);
}




.luxury-btn {
    color: #F2B705;
    white-space: nowrap;
    border: 2px solid #F2B705;
    background: transparent;
}

.luxury-btn:hover {
    background: #F2B705;
    color: #000;
}

/*** Navbar ***/
.navbar {
    position: absolute;
    background: transparent !important;   /* transparent on top of video */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    display: flex;
    align-items: center;
    transition: background 0.5s ease, box-shadow 0.5s ease;

    /* ✅ INCREASED HEIGHT */
    padding-top: 40px;
    padding-bottom: 18px;
}

/* Center nav items container (desktop baseline) */
.navbar .navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

/* Top state link style */
.navbar .navbar-nav .nav-link {
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;        /* slightly more spaced = ultra luxury */
    font-weight: 500;

    margin-right: 25px;
    padding: 0;
    color: #ffffff !important;     /* white on video */
    font-size: 17px;               /* slightly slimmer, more refined */
    outline: none;
    transition: color 0.3s ease;
    line-height: normal;
}

/* Hover + Active = Dark Orange */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #E86B1F !important;
}

/* ✅ AFTER SCROLL (WHITE NAVBAR) */
.navbar.scrolled {
    min-height: 110px;
    background: #000000 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    padding-top: 30px;
    padding-bottom: 30px;
}
/* Link color after scroll */
.navbar.scrolled .navbar-nav .nav-link {
    color: #000000 !important;           /* ✅ BLACK text */
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: #E86B1F !important;
}

/* Mobile toggler fix */
.navbar.scrolled .navbar-toggler {
    border-color: #000000;
}

.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);
}


/* ================================
   LUXURY HAMBURGER DROPDOWN PANEL
   (Glassmorphism + Animation)
================================ */

/* Floating panel under the hamburger */
.navbar-collapse {
    position: absolute;
    top: 100%;                /* just below navbar */
    right: 1.5rem;            /* align under toggler (tweak if needed) */
    left: auto;
    width: auto;
    min-width: 220px;
    max-width: 260px;

    background: rgba(0, 0, 0, 0.82);      /* dark glass over video */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-radius: 18px;
    padding: 0.5rem 0;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    z-index: 8;
}

/* When navbar is scrolled (white) → lighter glass panel */
.navbar.scrolled .navbar-collapse {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

/* ANIMATION: fade + slide */
.navbar-collapse.collapse {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.navbar-collapse.collapse.show {
    opacity: 1;
    transform: translateY(0);
}

/* Inside the dropdown: vertical list, left aligned */
.navbar .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.25rem 0.25rem;
}

/* Links inside dropdown: full width, comfy padding */
.navbar .navbar-nav .nav-link {
    width: 100%;
    margin-right: 0;
    padding: 0.45rem 1.25rem;
}

/* Colors inside dark glass panel (top of page) */
.navbar .navbar-nav .nav-link {
    color: #ffffff !important;
}

/* Colors when scrolled (white nav + light glass menu) */
.navbar.scrolled .navbar-nav .nav-link {
    color: #000000 !important;
}

/* Keep hover state dark orange in both cases */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: #E86B1F !important;
}

/* Make sure toggler stays above panel if overlapping */
.navbar-toggler {
    z-index: 10;
}

@media (max-width: 576px) {
    .navbar-collapse {
        right: 1rem;        /* slightly closer to edge */
        min-width: 200px;  /* better fit on small phones */
        max-width: 220px;
    }

    .navbar .navbar-nav .nav-link {
        font-size: 15px;   /* slightly smaller for phones */
        padding: 0.45rem 1rem;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: transparent;
    z-index: 1;
}

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

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

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}



/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

/* ✅ Default title small text (dark for light backgrounds) */
.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    color: #000;   /* ✅ BLACK for light sections */
}

/* ✅ Decorative lines (dark for light backgrounds) */
.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid #000;   /* ✅ BLACK line */
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

/* ✅ Main title default (black for white background) */
.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    font-family: "Playfair Display", serif;  /* ✅ NEW */
    color: #000;
    border-bottom: 1px solid #000;
}

/* ✅ Section subtitles (h2) in Playfair for consistent headings */
.title h2 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #000;
}



.container-fluid.bg-white h2 {
    color: #000000 !important;
}

.container-fluid.bg-white .title .title-left h1 {
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* 1. ABOUT PAGE LIST – WHITE BACKGROUND, BLACK TEXT */
.container-fluid.bg-white .list-group-item {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #e0e0e0 !important;
}

.about-subtitle {
    color: #000000 !important;                 /* make it black */
    font-family: "Playfair Display", serif;    /* match your luxury heading font */
    font-weight: 500;
}

.container-fluid.py-5 .title h5 {
    color: #ffffff !important;
}

/* 2A. TITLES ON DARK (bg-secondary) SECTIONS → WHITE */
.container-fluid.bg-secondary .title .title-left h5,
.container-fluid.bg-secondary .title .title-center h5,
.container-fluid.bg-secondary .title .title-right h5,
.container-fluid.bg-secondary .title .title-left h1,
.container-fluid.bg-secondary .title .title-center h1,
.container-fluid.bg-secondary .title .title-right h1,
.container-fluid.bg-secondary .title h2 {
    color: #ffffff;
}

/* Decorative lines on dark background → white */
.container-fluid.bg-secondary .title .title-left h5::after,
.container-fluid.bg-secondary .title .title-center h5::before,
.container-fluid.bg-secondary .title .title-center h5::after,
.container-fluid.bg-secondary .title .title-right h5::before {
    border-bottom: 1px solid #ffffff;
}


/* ✅ FORCE DARK BLACK TEXT IN ABOUT PAGE MAIN WHITE SECTION */
.container-fluid.bg-white,
.container-fluid.bg-white p,
.container-fluid.bg-white li,
.container-fluid.bg-white .list-group-item {
    color: #000000 !important;
}



/* 2B. LIST BACKGROUND IN PHILOSOPHY (AND OTHER bg-secondary SECTIONS) */
.container-fluid.bg-secondary .list-group-item {
    background-color: var(--bs-secondary) !important;  /* same as section bg */
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}


/* 3. TITLES IN DARK FULL-WIDTH SECTIONS (py-5) → WHITE */
.container-fluid.py-5 .title h5,
.container-fluid.py-5 .title h2 {
    color: #ffffff;
}


/* ✅ Also fix the decorative lines to white */
.container-fluid.py-5 .title .title-left h5::after,
.container-fluid.py-5 .title .title-center h5::before,
.container-fluid.py-5 .title .title-center h5::after,
.container-fluid.py-5 .title .title-right h5::before {
    border-bottom: 1px solid #ffffff !important;
}

/* ✅ Section eyebrow (replaces old h5 heading) */
.section-eyebrow {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: #ffffff;            /* ✅ White on dark sections */
}

/* ✅ Decorative line for eyebrow (same as old h5 design) */
.section-eyebrow::after {
    content: "";
    position: absolute;
    top: 9px;
    left: calc(100% + 15px);
    width: 120px;
    border-bottom: 1px solid #ffffff;
}

/* ✅ LEFT line for CENTER titles */
.title-center .section-eyebrow::before {
    content: "";
    position: absolute;
    top: 9px;
    right: calc(100% + 15px);
    width: 120px;
    border-bottom: 1px solid currentColor;
}

/* ✅ LIGHT SECTION EYEBROW (black text + black line) */
.bg-white .section-eyebrow,
.contact-page .section-eyebrow {
    color: #000 !important;
}

.bg-white .section-eyebrow::after,
.contact-page .section-eyebrow::after {
    border-bottom-color: #000 !important;
}

.bg-white .title-center .section-eyebrow::before,
.contact-page .title-center .section-eyebrow::before {
    border-bottom-color: #000 !important;
}


/* ======================================================
   ✅ AUTO SWITCH TO WHITE WHEN SECTION IS DARK
   (For bg-dark, bg-secondary, header, footer, etc.)
=====

/*** Bottom text golden ***/

.text-primary,
a.text-primary {
    color: #F2B705 !important;
}

a.border-bottom {
    color: #F2B705 !important;
    border-bottom-color: #F2B705 !important;
}

a.border-bottom:hover {
    color: #E86B1F !important;
    border-bottom-color: #E86B1F !important;
}

/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}

/*** Bullet points to gold ***/
.text-gold {
    color: #F2B705;   /* Sunset Gold */
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
    background: #181818;         /* ✅ Solid black background */
    background-repeat: no-repeat;
    animation: none;              /* ✅ Stop background animation */
}


/* ✅ GLOBAL HEADING TYPOGRAPHY SYSTEM */

/* Big section titles */
.title h1,
.title h2 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Subsection / service titles */
.service-text h3 {
    font-family: "Playfair Display", serif;   /* ✅ Match About section feel */
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* ✅ Make H2 visually match old H1 styling inside .title blocks */
.title h2 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: 0.04em;
}


/* Body text everywhere */
p, li {
    font-family: "Inter", sans-serif;
}


/* ✅ CRISP PURE-WHITE HAMBURGER ICON (TOP / TRANSPARENT NAV) */
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ✅ Keep the toggler border bright white */
.navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.95);
}

/* ✅ AFTER SCROLL: CRISP BLACK HAMBURGER FOR WHITE NAVBAR */
.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler {
    border-color: #ffffff;
}

/* ✅ ABOUT HERO SLIDER */

.page-header {
    position: relative;
    min-height: 70vh;       /* controls hero height */
    padding: 0;             /* no padding-based height */
    overflow: hidden;
}

/* Breadcrumb separator color if you ever use breadcrumbs inside */
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}

/* ✅ Hero slides inside the page header */
.page-header .carousel-item {
    min-height: 70vh;
    background-position: center;
    background-size: cover;
}

/* ✅ Dark overlay for readability on all hero backgrounds */
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
    z-index: 1;
}

/* ✅ CONTACT PAGE HERO – image background */
.page-header.contact-header {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Image + soft dark overlay in one */
    background:
       linear-gradient(rgba(0,0,0,0.30), rgba(0,0,0,0.30)),
        url("../img/contact-banner-1.webp") center center / cover no-repeat;
}

/* Ensure title stays readable on hero */
.page-header.contact-header h1 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #ffffff;
}




/* ✅ Centered hero title on top of the slider */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}


/* ✅ CONTACT PAGE – force black text */
.contact-page p,
.contact-page h4,
.contact-page td,
.contact-page label,
.contact-page h2,
.contact-page h5 {
    color: #000 !important;
}


/* ✅ CONTACT FORM – white fields + dark gray borders */
.contact-page .form-control {
    background: #ffffff !important;
    border: 1.5px solid #444 !important;
    color: #000 !important;
    box-shadow: none !important;
}

/* ✅ On focus */
.contact-page .form-control:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 0.15rem rgba(0,0,0,0.15) !important;
}

.contact-intro {
    font-weight: 400;
    font-size: 1.05rem;
}
