/* 
 * Downtown MWC Landing Page Stylesheet
 * Brand Theme: Luxury Minimalism
 * Colors: Primary Black (#000000), Accent Terracotta (#d7514d), Background (#F8F8F8), Borders (#EAEAEA), Text (#444444)
 * Fonts: Headings (Playfair Display), Body (Poppins)
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --primary-color: #000000;
  --accent-color: #d7514d;
  --white: #ffffff;
  --bg-color: #f8f8f8;
  --border-color: #eaeaea;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --text-light: #999999;
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* --- RESET & GENERAL --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- TYPOGRAPHY UTILITIES --- */
.text-serif {
  font-family: 'Poppins', sans-serif;
}

.letter-spacing-wide {
  letter-spacing: 0.15em !important;
}

.letter-spacing-normal {
  letter-spacing: 0.05em !important;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.section-desc {
  max-width: 600px;
  margin-bottom: 3rem;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* --- BUTTONS --- */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  z-index: 1;
}

.btn-luxury-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-luxury-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateY(100%);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-luxury-primary:hover::before {
  transform: translateY(0);
}

.btn-luxury-primary:hover {
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-luxury-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-luxury-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  transform: translateY(100%);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-luxury-outline:hover::before {
  transform: translateY(0);
}

.btn-luxury-outline:hover {
  color: var(--primary-color);
  border-color: var(--white);
}

.btn-luxury-outline-dark {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-luxury-outline-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateY(100%);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-luxury-outline-dark:hover::before {
  transform: translateY(0);
}

.btn-luxury-outline-dark:hover {
  color: var(--white);
}

/* --- GLASSMORPHISM CARD --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px var(--glass-shadow);
  border-radius: var(--border-radius-md);
}

/* --- SPACING & LAYOUT --- */
.section-padding {
  padding: 6rem 0;
}

/* Custom horizontal line spacing */
.section-separator {
  height: 1px;
  background-color: var(--border-color);
  width: 100%;
}

/* Scroll margin helper for sections to align with sticky headers */
section {
  scroll-margin-top: 100px;
}

/* --- ANIMATIONS (PREMIUM EFFECTS) --- */


.zoom-in-effect {
  overflow: hidden;
}

.zoom-in-effect img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-in-effect:hover img {
  transform: scale(1.06);
}

.hover-lift-effect {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift-effect:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05) !important;
}

/* --- NAVBAR STYLING --- */
.navbar {
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-scrolled {
  padding: 0.8rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border-color);
}

.navbar-scrolled .navbar-brand img {
  filter: brightness(0.1) !important;
}

.navbar-scrolled .navbar-brand {
  color: var(--primary-color) !important;
}

.navbar-scrolled .nav-link {
  color: var(--text-dark) !important;
}

.navbar-scrolled .nav-link:hover {
  color: var(--accent-color) !important;
}

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

.navbar-brand img {
  transition: var(--transition-smooth);
}

/* Make logo white when navbar is transparent over dark hero */
.navbar:not(.navbar-scrolled) .navbar-brand img {
  filter: brightness(0) invert(1);
}

/* Restore original logo colors on scrolled white navbar */
.navbar-scrolled .navbar-brand img {
  filter: none;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 750px;
  background-image: url('banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: -1;
}

.hero-container {
  z-index: 2;
  margin-top: 40px;
}

/* --- TRUST INDICATORS --- */
.trust-indicators {
  background-color: var(--white);
  z-index: 5;
}

.border-light-subtle {
  border-color: var(--border-color) !important;
}

/* --- LUXURY FORM CONTROLS --- */
.luxury-input {
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 300;
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.luxury-input:focus {
  border-color: var(--primary-color);
  box-shadow: none;
  background-color: var(--white);
}

select.luxury-input {
  color: var(--text-muted);
}

.is-invalid {
  border-color: var(--accent-color) !important;
}

/* --- STICKY SIDEBAR --- */
.sticky-sidebar-wrapper {
  position: sticky;
  top: 110px;
  z-index: 10;
}

/* --- WHY CHOOSE CARDS --- */
.why-card {
  border: 1px solid var(--border-color) !important;
  transition: var(--transition-smooth);
}

.why-img-container {
  overflow: hidden;
  height: 120px;
}

/* --- AMENITIES GRID --- */
.amenity-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--border-radius-md);
}

.amenity-card img {
  transition: var(--transition-smooth);
}

.amenity-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  transition: var(--transition-smooth);
  padding-top: 4rem !important;
}

.amenity-card:hover img {
  transform: scale(1.05);
}

.amenity-card:hover .amenity-info-overlay {
  padding-bottom: 2rem !important;
}

/* --- LUXURY ROOMS --- */
.room-card {
  border: 1px solid var(--border-color) !important;
}

.room-card img {
  height: 100%;
  object-fit: cover;
}

/* --- MASONRY GALLERY --- */
.gallery-masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

@media (max-width: 991px) {
  .gallery-masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 575px) {
  .gallery-masonry-grid {
    column-count: 1;
  }
}

.gallery-item-wrapper {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--primary-color);
  border-radius: var(--border-radius-md);
}

.gallery-item-wrapper img {
  width: 100%;
  display: block;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item-wrapper:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-wrapper:hover img {
  transform: scale(1.04);
  opacity: 0.85;
}

.gallery-overlay-title {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
}

/* --- LIGHTBOX OVERLAY --- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-container {
  max-width: 90%;
  max-height: 80%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.active .lightbox-content-container {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--white);
  margin-top: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--accent-color);
}

/* --- FAQ ACCORDION --- */
.accordion-button {
  background-color: transparent !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  background-size: 0.8rem;
  transition: var(--transition-smooth);
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d7514d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  transform: rotate(-180deg);
}

.accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color) !important;
}

/* --- FINAL CTA BANNER --- */
.final-cta-banner {
  background-color: var(--primary-color);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--white) !important;
}

.hover-underline:hover {
  text-decoration: underline !important;
  color: var(--accent-color) !important;
}

/* --- CUSTOM TOAST MODAL (THANK YOU) --- */
.modal-content.glass-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* --- RESPONSIVENESS MEDIA QUERIES --- */
@media (max-width: 991px) {

  /* Sticky enquiry form becomes statically ordered top section after hero on tablet & mobile */
  .sticky-sidebar-wrapper {
    position: static;
    margin-bottom: 3rem;
  }

  .hero-section {
    height: auto;
    min-height: 550px;
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }

  .offcanvas {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 290px !important;
    border-left: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .offcanvas .nav-link {
    color: var(--text-dark) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.8rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .offcanvas .nav-link:hover {
    color: var(--accent-color) !important;
  }

  .offcanvas .btn-close {
    box-shadow: none !important;
    font-size: 0.95rem;
  }

  .offcanvas-header {
    padding: 1.5rem !important;
  }

  .offcanvas-body {
    padding: 1.5rem !important;
  }

  /* Reset transparent state on mobile */
  .navbar:not(.navbar-scrolled) {
    background-color: transparent;
  }

  .navbar-dark .navbar-toggler-icon {
    filter: invert(0);
  }

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

  .section-padding {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .section-title {
    font-size: 1.8rem;
  }

  .btn-luxury {
    padding: 0.8rem 1.6rem;
    font-size: 0.75rem;
  }

  .hero-section h1 {
    font-size: 2.3rem !important;
  }
}

/* --- DETAILED LUXURY REFINEMENTS --- */

/* Live Indicator badge */
.live-indicator {
  display: inline-flex;
  width: 7px;
  height: 7px;
  background-color: #2ec4b6;
  border-radius: 50%;
  position: relative;
}

.live-dot {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #2ec4b6;
  border-radius: 50%;
  animation: livePulse 1.8s infinite ease-in-out;
}

@keyframes livePulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* Scroll down mouse indicator */
.scroll-down-indicator {
  z-index: 5;
}

.mouse-scroll {
  width: 16px;
  height: 28px;
  border: 1.5px solid var(--white);
  border-radius: 12px;
  position: relative;
  opacity: 0.85;
}

.mouse-scroll::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background-color: var(--white);
  border-radius: 50%;
  animation: scrollMouse 1.8s infinite ease-in-out;
}

@keyframes scrollMouse {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }

  35% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 8px);
    opacity: 0;
  }
}

/* Mobile Sticky Bottom CTA Bar styling */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.05);
  z-index: 999;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
}

/* Padding offset on small screens so bottom cta doesn't hide footer details */
@media (max-width: 767px) {
  body {
    padding-bottom: 75px !important;
  }
}

@media (min-width: 300px) and (max-width: 992px) {
  .banner-btn {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* --- Floating CTAs Stack (Call & WhatsApp) --- */

.floating-ctas-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-cta-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  position: relative;
}

.floating-cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.cta-whatsapp {
  background-color: #25D366;
}

.cta-whatsapp:hover {
  background-color: #20ba56;
}

.cta-phone {
  background-color: var(--accent-color);
}

.cta-phone:hover {
  background-color: var(--primary-color);
}

/* Pulsing effect for WhatsApp */
.cta-pulse-green {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ctaPulseGreen 2s infinite;
  pointer-events: none;
}

@keyframes ctaPulseGreen {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Pulsing effect for Phone */
.cta-pulse-red {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  animation: ctaPulseRed 2s infinite;
  pointer-events: none;
}

@keyframes ctaPulseRed {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Responsive adjustments to keep clear of mobile bottom bar */
@media (max-width: 767px) {
  .floating-ctas-container {
    bottom: 85px;
    right: 20px;
    gap: 12px;
  }
  
  .floating-cta-btn {
    width: 48px;
    height: 48px;
  }
}


