/* ==========================================================================
   LUXURY BRAND DESIGN DESIGN SYSTEM
   ========================================================================== */
:root {
  --primary-color: #C5A880;          /* Warm Champagne Gold */
  --primary-color-dark: #A38A6A;     /* Muted Premium Antique Bronze */
  --text-dark: #0A2A18;              /* Deep Regal Velvet Emerald Green */
  --text-light: #5A6E63;             /* Soft Sage for Body Copy Readability */
  --white: #ffffff;
  --bg-luxury-light: #FAF9F6;       /* Luxurious Editorial Warm Alabaster */
  --bg-editorial-dark: #09C84C;      /* Deep Midnight Green */
  --border-gold-light: rgba(197, 168, 128, 0.25);
  --max-width: 1300px;
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   RESET & CORE BASE STYLES
   ========================================================================== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  background-color: var(--bg-luxury-light);
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Modern Luxury Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-luxury-light); }
::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 0px; }

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a { 
  text-decoration: none; 
  color: inherit;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   REUSABLE UTILITIES & LAYOUT WRAPPERS
   ========================================================================== */
.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 6rem 1.5rem;
}

.luxury-editorial-bg { background-color: var(--white); }
.luxury-neutral-bg { background-color: var(--bg-luxury-light); }

.section__subheader {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--primary-color-dark);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section__subheader.justify-center {
  justify-content: center;
}

.section__subheader::after {
  content: "";
  height: 1px;
  width: 40px;
  background-color: var(--primary-color);
  display: inline-block;
}

.section__header {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section__description {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 700px;
}

/* ==========================================================================
   PREMIUM BUTTON DESIGN TIER
   ========================================================================== */
.btn {
  padding: 1rem 2.25rem;
  outline: none;
  border: 1px solid var(--primary-color);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background-color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--text-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}

.btn:hover { color: var(--white); border-color: var(--text-dark); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--primary { background-color: var(--text-dark); border-color: var(--text-dark); }
.btn--primary::before { background-color: var(--primary-color); }

.btn--outline { background-color: transparent; color: var(--text-dark); }
.btn--outline:hover { color: var(--white); }

.btn--gold-nav { background-color: var(--primary-color); border: none; padding: 0.65rem 1.5rem; }
.btn--card-action { padding: 0.6rem 1.5rem; font-size: 0.75rem; }

/* Links */
.luxury-btn-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 4px;
}
.luxury-btn-link:hover { color: var(--primary-color); border-bottom-color: transparent; }
.luxury-btn-link--small { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); border-bottom: 1px solid #ddd; }
.luxury-btn-link--small:hover { color: var(--primary-color); }

/* ==========================================================================
   TOP SYSTEM BAR & NAVIGATION INFRASTRUCTURE
   ========================================================================== */
.top__bar {
  background-color: var(--bg-editorial-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top__bar i { color: var(--primary-color); margin-right: 4px; }
.top__bar__options { font-weight: 500; color: var(--primary-color); }

nav#navbar {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav#navbar.scrolled {
  position: fixed;
  top: 0;
  background-color: rgba(10, 42, 24, 0.96); /* Elegant glassy emerald */
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

.site-top-scroll__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo img { max-height: 55px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }

.nav__links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav__links a {
  color: var(--white);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 1px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a:hover, .nav__links a.active { color: var(--primary-color); }

.site-top-scroll__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__menu__btn {
  display: none; /* Desktop hidden */
}

/* ==========================================================================
   EDITORIAL HERO SECTION WRAPPER
   ========================================================================== */
.header {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.heroSwiper {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.heroSwiper::after {
  content: '';
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: linear-gradient(rgba(5, 22, 13, 0.55), rgba(5, 22, 13, 0.85));
  z-index: 2;
}

.heroSwiper .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1);
  animation: luxuryZoom 20s infinite alternate;
}

@keyframes luxuryZoom { from { transform: scale(1); } to { transform: scale(1.1); } }

.header__container {
  position: relative;
  z-index: 10;
  color: var(--white);
  text-align: center;
  margin-top: 4rem;
}

.hero__tagline {
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 2rem;
}
.hero__title span { font-family: "Playfair Display", serif; font-style: italic; color: var(--primary-color); }

.hero__scroll-indicator {
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
}

.hero__scroll-indicator p { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; }
.mouse-wheel {
  width: 20px; height: 35px; border: 1px solid var(--white); border-radius: 10px; position: relative;
}
.mouse-wheel::before {
  content: ''; width: 4px; height: 8px; background: var(--primary-color); position: absolute; top: 6px; left: 50%; transform: translateX(-50%); border-radius: 2px; animation: scrollDownAction 1.5s infinite;
}
@keyframes scrollDownAction { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* ==========================================================================
   WELCOME SECTION LAYOUT
   ========================================================================== */
.welcome__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.welcome__image-wrapper {
  position: relative;
  padding: 2rem;
}

.welcome__image-frame {
  position: absolute;
  top: 0; left: 0; width: 85%; height: 85%;
  border: 1px solid var(--primary-color);
  z-index: 1;
}

.welcome__image {
  position: relative;
  z-index: 2;
  box-shadow: 25px 25px 0px var(--text-dark);
  border-radius: 0px;
}

.welcome__content {
  padding-left: 1rem;
}

/* ==========================================================================
   ROOMS CAROUSEL & CARDS ARCHITECTURE
   ========================================================================== */
/* Modified to Center the Header */
.rooms-slider-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3.5rem;
  gap: 1rem;
}

.rooms-slider-header h2 { margin-bottom: 0.25rem; }
.section__subheader-context { font-size: 1rem; color: var(--text-light); font-style: italic; }

.roomsSwiper { padding-bottom: 4rem !important; }

.room-card {
  background-color: var(--white);
  border: 1px solid var(--border-gold-light);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 42, 24, 0.05);
  border-color: var(--primary-color);
}

.room-card__img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.room-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition-smooth);
}
.room-card:hover .room-card__img { transform: scale(1.06); }

.room-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--text-dark);
  color: var(--primary-color);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
}

.room-card__content { padding: 2rem; }
.room-card__title { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 1rem; }

.room-card__info {
  display: flex;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #F0EFEA;
  padding-bottom: 1rem;
}
.room-card__info-item i { color: var(--primary-color-dark); margin-right: 4px; }

.room-card__desc { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1.5rem; height: 4.5rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

.room-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F0EFEA;
  padding-top: 1.25rem;
}

.room-card__price { font-size: 1.2rem; font-weight: 600; color: var(--primary-color-dark); font-family: "Playfair Display", serif; }
.room-card__price span { font-size: 0.75rem; color: var(--text-light); font-family: "Poppins", sans-serif; font-weight: 400; }
.room-card__btns { display: flex; align-items: center; gap: 1.25rem; }

/* Carousel Custom Styling Overrides */
.luxury-carousel-nav { color: var(--text-dark) !important; width: 45px !important; height: 45px !important; background: var(--white); border: 1px solid var(--border-gold-light); border-radius: 50%; }
.luxury-carousel-nav::after { font-size: 1.1rem !important; }
.luxury-carousel-nav:hover { background: var(--text-dark); color: var(--primary-color) !important; }
.luxury-pagination .swiper-pagination-bullet-active { background: var(--primary-color) !important; width: 24px; border-radius: 4px; }

/* ==========================================================================
   MEETINGS & EVENTS TILES INFRASTRUCTURE
   ========================================================================== */
.events__header-container { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 4rem; }
.events__header-container .section__subheader::after { display: none; }

.events__grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.event-tile {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 380px;
}

.event-tile img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }

.event-tile__overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(5, 22, 13, 0.9), rgba(5, 22, 13, 0.1));
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: var(--transition-smooth);
}
.event-tile__overlay span { color: var(--white); font-family: "Playfair Display", serif; font-size: 1.4rem; letter-spacing: 0.02em; border-left: 2px solid var(--primary-color); padding-left: 0.75rem; }

.event-tile:hover img { transform: scale(1.08); }
.event-tile:hover .event-tile__overlay { background: linear-gradient(to top, rgba(197, 168, 128, 0.85), rgba(5, 22, 13, 0.3)); }
.event-tile:hover .event-tile__overlay span { color: var(--text-dark); border-left-color: var(--text-dark); }

.events__img-right { display: grid; grid-template-rows: 1fr 1fr; gap: 1.5rem; min-height: 380px; }
.events__img-right .event-tile { min-height: auto; }

/* ==========================================================================
   GLOBAL BRAND FOOTER HOVER STATES
   ========================================================================== */
.footer {
  background-color: var(--bg-editorial-dark);
  color: #B2C4BB;
  font-size: 0.9rem;
  border-top: 2px solid var(--primary-color);
}

.footer__container { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 4rem; padding-block: 5rem 4rem; }
.footer__col h4 { color: var(--white); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.75rem; position: relative; padding-bottom: 0.5rem; }
.footer__col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 1px; background: var(--primary-color); }

.footer__tagline { font-family: "Playfair Display", serif; font-style: italic; color: var(--primary-color); margin-top: 0.5rem; margin-bottom: 1.5rem; }

.footer__socials { display: flex; gap: 1rem; }
.footer__socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); }
.footer__socials a:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--text-dark); }

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.footer__links li { display: flex; align-items: center; gap: 0.75rem; }
.footer__links li i { color: var(--primary-color); }
.footer__links a:hover { color: var(--primary-color); padding-left: 4px; }

.footer__bar { text-align: center; padding: 1.5rem; font-size: 0.8rem; letter-spacing: 0.05em; border-top: 1px solid rgba(255,255,255,0.05); color: #698275; }

/* ==========================================================================
   UTILITY MODALS & FLOATING MODULES
   ========================================================================== */
.back-to-top-btn { position: fixed; bottom: 2rem; right: 2rem; background: var(--primary-color); color: var(--text-dark); border: none; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition-smooth); opacity: 0; visibility: hidden; z-index: 999; }
.back-to-top-btn.show { opacity: 1; visibility: visible; }
.back-to-top-btn:hover { background: var(--text-dark); color: var(--primary-color); }

.floating__review__widget { position: fixed; bottom: 0; left: 2.5rem; z-index: 999; width: 320px; background-color: var(--white); box-shadow: 0 -10px 30px rgba(0,0,0,0.15); border: 1px solid var(--border-gold-light); border-bottom: none; border-radius: 4px 4px 0 0; transition: var(--transition-smooth); transform: translateY(calc(100% - 55px)); }
.floating__review__widget.open { transform: translateY(0); }

.floating__trigger { width: 100%; background-color: var(--text-dark); color: var(--white); display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1.2rem; border: none; cursor: pointer; }
.trigger__rating__info { display: flex; align-items: center; gap: 0.8rem; }
.trigger__score strong { font-size: 1.4rem; color: var(--primary-color); }
.trigger__text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.trigger__excellent { font-size: 0.85rem; font-weight: 500; }
.trigger__based { font-size: 0.7rem; color: #8BA496; }
.floating__body { padding: 1.25rem; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5, 22, 13, 0.85); backdrop-filter: blur(5px); display: none; justify-content: center; align-items: center; z-index: 10000; padding: 1rem; }
.modal-content { background: var(--bg-luxury-light); padding: 3rem; width: 100%; max-width: 600px; border: 1px solid var(--primary-color); position: relative; }
.close-modal-btn { position: absolute; top: 1rem; right: 1.5rem; font-size: 2rem; color: var(--text-light); cursor: pointer; }
.close-modal-btn:hover { color: var(--primary-color); }
.modal-header-title { font-size: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border-gold-light); padding-bottom: 0.5rem; text-align: center; }

.review-card-popup { border-bottom: 1px solid #EAE8E0; padding: 1.5rem 0; }
.review-card-popup:last-child { border-bottom: none; }
.review-header-popup { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.review-author { font-weight: 600; font-size: 0.95rem; color: var(--text-dark); }
.platform-badge { font-size: 0.7rem; font-weight: 400; padding: 2px 8px; border: 1px solid var(--primary-color); margin-left: 8px; }
.review-stars { color: #FFC107; font-size: 0.8rem; }
.review-text { font-size: 0.9rem; color: var(--text-light); font-style: italic; }

/* ==========================================================================
   MOBILE & TABLET BRAND STABILIZATION DIRECTIVES
   ========================================================================== */
@media (max-width: 1024px) {
  .welcome__grid { gap: 3rem; grid-template-columns: 1fr; }
  .welcome__content { padding-left: 0; margin-top: 1rem; }
  .footer__container { grid-template-columns: 1fr; gap: 2.5rem; }
  .text-center-mobile { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer__socials { justify-content: center; }
  
  /* Widget stays on the left and has a fixed width instead of centering */
  .floating__review__widget { left: 1.5rem; transform: translateY(calc(100% - 55px)); width: 280px; }
  .floating__review__widget.open { transform: translateY(0); }
}

@media (max-width: 768px) {
  /* Enforcing exact layout equality for navigation on mobile */
  .top__bar { display: none; }
  nav#navbar { top: 0; background: var(--text-dark); padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-gold-light); position: fixed; }
  .nav__links {
    position: fixed; top: 75px; left: 0; width: 100%; height: calc(100vh - 75px);
    background-color: var(--text-dark); flex-direction: column; gap: 2rem;
    padding: 3rem 2rem; transform: translateX(-100%); transition: var(--transition-smooth);
    z-index: 999; overflow-y: auto; text-align: center;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.2rem; display: block; }
  
  .nav__book__btn { display: none; } /* Relocated to preserve space balance */
  .nav__menu__btn {
    display: flex; align-items: center; gap: 0.5rem; background: transparent;
    border: 1px solid var(--primary-color); padding: 0.4rem 1rem; color: var(--white);
    font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  }
  
  /* Widget fits comfortably left-aligned on small phones */
  .floating__review__widget { left: 1rem; width: 260px; }

  /* Retain elegant landscape and grid balance across screen size shrinking */
  .rooms-slider-header { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .events__grid-wrapper { grid-template-columns: 1fr; }
  .events__img-right { grid-template-rows: auto auto; }
  .event-tile { min-height: 250px; }
  
  .header { height: 75vh; }
  .modal-content { padding: 2rem 1.5rem; }
}