/* ============================================================
   ROOT VARIABLES
============================================================ */
:root {
  color-scheme: light only;
  --gold: #c6a15b;
  --dark: #111;
  --muted: #f7f7f7;

  /* NAVBAR COLOR + OPACITY (EDIT HERE) */
  --nav-bg-color-default: 0,0,0;     /* RGB before scroll */
  --nav-bg-opacity-default: .35;     /* transparency before scroll */
  --nav-bg-opacity-scrolled: .95;    /* background alpha on scroll */

  --nav-height-default: 92px;
  --nav-height-scrolled: 95px;

  --nav-blur: 8px;

  --logo-size-default: 100px;
  --logo-size-scrolled: 100px;

  --nav-link-align-desktop: right;
  --nav-link-color-default: #fff;
  --nav-link-color-scrolled: #000;
  --nav-link-hover-color: var(--gold);
  --nav-link-font-weight: 500;

  --mobile-link-color: #000;
  --mobile-link-hover-color: var(--gold);

  --mobile-menu-opacity: .92;
  --mobile-menu-border: 1px solid var(--gold);
  --mobile-menu-radius: 12px;
  --mobile-menu-inner-gap: 18px;

  --overlay-bg: rgba(0,0,0,.38);
  --overlay-blur: 4px;

  --float-position: 35%;
  --hero-overlay: rgba(0,0,0,.32);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #222;
  overflow-x: hidden;
}

/* ============================================================
   PRELOADER
============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s, visibility .5s;
}
.preloader-content {
  text-align: center;
}
.logo-ring {
  position: relative;
  display: inline-block;
}
.preloader-logo {
  width: 92px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
}
.logo-ring .ring {
  position: absolute;
  inset: -16px;
  border: 3px solid rgba(198,161,91,.35);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   NAVBAR BASE
============================================================ */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(var(--nav-bg-color-default), var(--nav-bg-opacity-default));
  backdrop-filter: blur(var(--nav-blur));
  height: var(--nav-height-default);
  display: flex;
  align-items: center;
  transition: all .45s ease;
  z-index: 999;
}

/* Scrolled State */
#mainNav.scrolled {
  background: rgba(255,255,255,var(--nav-bg-opacity-scrolled));
  height: var(--nav-height-scrolled);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* Extra shrink on scroll using body.scrolled */
body.scrolled #mainNav {
  padding-top: 5px;
  padding-bottom: 5px;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Logo */
#mainNav .navbar-brand img {
  display: block;
  max-height: var(--logo-size-default);
  height: auto;
  width: auto;
  transition: max-height .35s ease, transform .35s ease;
}
#mainNav.scrolled .navbar-brand img {
  max-height: var(--logo-size-scrolled);
}

/* On body.scrolled force size */
body.scrolled #mainNav #navLogo {
  max-height: 100px;
}

/* NAV LINKS — Desktop */
#mainNav .navbar-nav {
  margin-left: auto;
  justify-content: flex-end;
  text-align: var(--nav-link-align-desktop);
}

/* Gold underline + spacing */
#mainNav .nav-link {
  position: relative;
  color: var(--nav-link-color-default);
  font-weight: var(--nav-link-font-weight);
  letter-spacing: .5px;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(0,0,0,.25);
  margin: 0 14px;
  padding-bottom: 6px;
  transition: color .3s, text-shadow .5s ease;
}

/* Smooth gold underline */
#mainNav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #c6a253;
  transition: width .35s, left .35s;
  transform: translateX(-50%);
}
#mainNav .nav-link:hover::after {
  width: 70%;
}

/* Hover color */
#mainNav .nav-link:hover {
  color: var(--nav-link-hover-color);
}

/* Scrolled Nav Links */
#mainNav.scrolled .nav-link {
  color: var(--nav-link-color-scrolled);
  text-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Even stronger in body.scrolled */
body.scrolled #mainNav .nav-link {
  color: #000 !important;
}

/* ============================================================
   DROPDOWNS (DESKTOP)
============================================================ */

/* Arrow on SERVICES / MEDIA */
#mainNav .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border-top: 0.4em solid;
  border-right: 0.4em solid transparent;
  border-left: 0.4em solid transparent;
}

/* Base dropdown style (glass look + animation) */
#mainNav .dropdown-menu {
  display: block;  /* will be visually hidden via opacity */
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 12px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 5px 20px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 9999;
}

/* Show dropdown on hover (desktop only) */
@media (min-width: 992px) {
  .desktop-menu .dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
  }
}

/* Dropdown items spacing + hover */
#mainNav .dropdown-item {
  padding: 10px 18px;
  font-size: 14px;
}
#mainNav .dropdown-item:hover {
  background: #f5f1e4;
  color: #c6a253;
}

/* ============================================================
   MOBILE MENU (HAMBURGER & SIDE MENU)
============================================================ */
.navbar-toggler {
  position: relative;
  width: 34px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
  z-index: 1001;
  transition: transform .3s ease;
}
.navbar-toggler .bar {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all .35s ease-in-out, background-color .35s ease;
  box-shadow: 0 0 6px rgba(198,161,91,.4);
}
#mainNav.scrolled .navbar-toggler .bar {
  background: #000;
  box-shadow: none;
}
.navbar-toggler.active .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 10px rgba(198,161,91,.7);
}
.navbar-toggler.active .bar:nth-child(2) {
  opacity: 0;
}
.navbar-toggler.active .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  background: var(--gold);
  box-shadow: 0 0 10px rgba(198,161,91,.7);
}

/* Hide toggler on desktop */
@media (min-width: 992px) {
  #mainNav .navbar-toggler {
    display: none;
  }
}

/* Overlay */
#overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  -webkit-backdrop-filter: blur(var(--overlay-blur));
  backdrop-filter: blur(var(--overlay-blur));
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
  z-index: 998;
}
#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100svh;
  background: rgba(255,255,255,var(--mobile-menu-opacity));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-left: var(--mobile-menu-border);
  border-radius: var(--mobile-menu-radius) 0 0 var(--mobile-menu-radius);
  box-shadow: -10px 0 28px rgba(0,0,0,.28);
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: var(--mobile-menu-inner-gap);
  transition: right .55s cubic-bezier(.25,1,.3,1), opacity .45s ease;
  opacity: 0;
  z-index: 999;
}
.side-menu.active {
  right: 0;
  opacity: 1;
}
.side-menu .nav-item {
  margin: 10px 0;
}
.side-menu .nav-link {
  position: relative;
  color: var(--mobile-link-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .5px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .45s ease, transform .55s ease, color .3s ease, text-shadow .4s ease;
}
.side-menu.active .nav-link {
  opacity: 1;
  transform: translateX(0);
}
.side-menu .nav-link:hover {
  color: var(--mobile-link-hover-color);
  text-shadow: 0 0 8px rgba(198,161,91,.45);
}

/* Force mobile nav links to always be black & left aligned */
@media (max-width: 991px) {
  #mainNav .side-menu .nav-link {
    color: #000 !important;
    text-align: left !important;
  }
  #mainNav .side-menu .nav-link:hover {
    color: var(--gold) !important;
  }
  .side-menu {
    align-items: flex-start !important;
    text-align: left !important;
  }
}

/* ============================================================
   PREMIUM MOBILE DROPDOWN (SERVICES + MEDIA)
============================================================ */

/* Wrapper */
.mobile-dropdown {
  width: 100%;
}

/* Header button */
.mobile-dropdown-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 0;
  font-size: 1.08rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .3s ease;
}

/* Arrow icon */
.mobile-dropdown-btn i {
  font-size: 0.9rem;
  transition: transform .35s ease, color .3s;
}

/* Hover */
.mobile-dropdown-btn:hover {
  color: var(--gold);
}

/* Rotate arrow when open */
.mobile-dropdown.open .mobile-dropdown-btn i {
  transform: rotate(180deg);
  color: #c6a253;
}

/* Dropdown menu */
.mobile-dropdown-menu {
  list-style: none;
  padding-left: 15px;
  margin-left: 4px;
  border-left: 2px solid rgba(198,161,91,0.35);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s cubic-bezier(.25,1,.30,1), opacity .35s ease;
}

/* When open (using .open on parent) */
.mobile-dropdown.open .mobile-dropdown-menu,
.mobile-dropdown-menu.show {
  max-height: 500px;
  opacity: 1;
}

/* Dropdown items */
.mobile-dropdown-menu .nav-link {
  padding: 8px 0;
  display: block;
  font-size: 0.98rem;
  font-weight: 500;
  color: #000;
  transition: color .3s;
}

/* Gold hover */
.mobile-dropdown-menu .nav-link:hover {
  color: var(--gold);
}

/* Inner dividers */
.mobile-dropdown-menu li {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-dropdown-menu li:last-child {
  border-bottom: none;
}

/* Active link gold */
.nav-link.active {
  color: #c6a253 !important;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s;
}
.hero-img.active {
  opacity: 1;
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 12px rgba(0,0,0,.45);
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Playfair Display',serif;
}
.hero-content p {
  font-size: 1.15rem;
  margin-top: 10px;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 10px 26px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.btn-gold:hover {
  background: #b28b45;
  color: #fff;
}

/* ============================================================
   SECTIONS / ROOMS / COMING SOON / FOOTER
============================================================ */
.section {
  padding: 60px 0;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
}
.section-rooms-dark {
  background: #0f0f10;
}
.room-card .img-wrap,
.facility-card .img-wrap,
.coming-soon-hero {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

/* COMING SOON overlay */
.coming-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s;
}
.coming-soon .coming-overlay {
  opacity: 1;
}
.coming-overlay span {
  color: #fff;
  font-weight: 700;
  letter-spacing: .2em;
  animation: pulse 1.8s infinite ease-in-out;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.06); opacity: .8; }
}

.room-info {
  padding: .75rem;
  color: #fff;
}

.footer-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* FOOTER */
.footer {
  background: #111;
  color: #ddd;
  padding: 60px 0;
  text-align: center;
  transition: opacity 1.2s ease, transform 1s ease;
  opacity: 0;
  transform: translateY(30px);
}
.footer.visible {
  opacity: 1;
  transform: translateY(0);
}
.footer a {
  color: var(--gold);
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(198,161,91,.45);
}

/* ============================================================
   FLOATING CONTACT ICONS + TO TOP
============================================================ */
.floating-icons {
  position: fixed;
  right: 18px;
  bottom: var(--float-position);
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  opacity: 0;
  transition: opacity .5s ease;
}
body.scrolled .floating-icons {
  opacity: 1;
  animation: fadeInRight .8s ease forwards;
}
.btn-float {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--gold);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  transition: transform .25s, box-shadow .25s;
}
.btn-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,.22);
}

/* To top */
#toTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 6px 14px rgba(198,161,91,.35);
  transition: transform .25s, box-shadow .25s;
  z-index: 1000;
}
#toTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(198,161,91,.5);
}
#toTop i {
  font-size: 18px;
}

@keyframes fadeInRight {
  0%   { opacity:0; transform:translateX(30px) translateY(50%); }
  100% { opacity:1; transform:translateX(0) translateY(50%); }
}

/* ============================================================
   ANIMATIONS / SMALL HERO / BOOKING
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s, transform .7s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }

.small-hero {
  min-height: 35vh;
  display: grid;
  place-items: center;
  background: #0f0f10;
  color: #fff;
  position: relative;
}
.small-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}
.small-hero h1 {
  position: relative;
  z-index: 2;
}

/* Booking summary / dark checkout */
.summary .item {
  display: flex;
  justify-content: space-between;
  font-size: .95rem;
  margin: .25rem 0;
}
.dark-checkout {
  background: #0f0f10;
  color: #fff;
  border: 0;
}
.dark-checkout .form-control {
  background: #1a1a1a;
  border-color: #333;
  color: #eee;
}

/* ============================================================
   ABOUT PAGE / MENU PAGE
============================================================ */
.about-hero {
  background: url('../img/about/about-hero.jpg') center/cover no-repeat;
  height: 45vh;
  position: relative;
}
.about-hero .hero-center {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
.about-hero h1 {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 3px;
}
.about-hero h2 {
  font-size: 28px;
  margin-top: 10px;
}
.section-title {
  font-family: "Playfair Display", serif;
  color: #b89750;
}
.text-gold {
  color: #b89750;
}
.team-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #b89750;
}
.cta-banner {
  position: relative;
  background: url('../img/about/cta.jpg') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-banner .cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.cta-banner .cta-text {
  position: relative;
  z-index: 2;
}

.menu-hero {
  background: url('../img/menu/hero.jpg') center/cover;
  height: 40vh;
  position: relative;
}
.menu-tabs .nav-link {
  font-weight: 600;
  color: #222;
}
.menu-tabs .nav-link.active {
  background: #b89750;
  color: #fff;
}
.float-menu-btn {
  position: fixed;
  bottom: 25px;
  right: 20px;
  background: #b89750;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 2000;
  text-decoration: none;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 100svh;
    height: 100svh;
  }
  #mainNav .navbar-brand img {
    max-height: 82px;
  }
  .side-menu {
    width: 85%;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .floating-icons {
    right: 14px;
    bottom: calc(var(--float-position) - 5%);
    gap: 10px;
  }
  .section {
    padding: 45px 0;
  }
}


/* ============================
   FIX MOBILE DROPDOWN ALIGNMENT
============================ */

/* Center-align all top-level mobile links */
.side-menu .nav-link,
.side-menu .mobile-dropdown-btn {
    width: 100%;
    text-align: center !important;
    justify-content: center !important;   /* center text */
    padding-right: 30px; /* space for arrow */
    position: relative;
}

/* Properly position arrow near text */
.mobile-dropdown-btn i {
    position: absolute;
    right: 12%;
    font-size: 14px;
    transition: transform .35s ease;
}

/* Align dropdown menu items normally (left-aligned) */
.mobile-dropdown-menu .nav-link {
    text-align: left !important;
    padding-left: 25px;
}

/* Make the dropdown border start under the centered text */
.mobile-dropdown-menu {
    margin-left: 0;
    padding-left: 20px;
    border-left: 2px solid rgba(198,161,91,0.3);
}




/* =======================================
   MOBILE SIDE MENU — FINAL ALIGNMENT FIX
======================================= */
@media (max-width: 991px) {

    /* Top-level menu items should be LEFT aligned */
    .side-menu .nav-link,
    .side-menu .mobile-dropdown-btn {
        text-align: left !important;
        justify-content: flex-start !important;
        padding-left: 0 !important;
        padding-right: 30px !important; /* keeps arrow space */
    }

    /* Arrow stays on far right */
    .side-menu .mobile-dropdown-btn i {
        position: absolute;
        right: 110px !important;
        font-size: 15px;
    }

    /* Dropdown items (rooms, dine, facilities...) stay left aligned */
    .side-menu .mobile-dropdown-menu .nav-link {
        padding-left: 22px !important;
        text-align: left !important;
    }
}


/* =========================================
   FIX MOBILE DROPDOWN ALIGNMENT
   Match all text (HOME, ABOUT, SERVICES)
========================================= */
@media (max-width: 991px) {

    /* Match HOME’s alignment */
    .side-menu .mobile-dropdown-btn {
        padding-left: 13px !important;
        justify-content: flex-start !important;
    }

   
}