/*
Theme Name: Sunteck Kalyan Harbour
Theme URI: https://sunteckkalyan.com
Author: Sunteck Realty
Author URI: https://sunteckrealty.com
Description: Ultra-luxury real estate theme for Sunteck Kalyan Harbour featuring animated morphing hamburger toggle button, refined form input controls, polished accordion FAQ design, uploaded branding assets, floating lead form & scroll-to-top buttons, auto lead capture modal, and fully optimized responsive mobile & tablet layouts.
Version: 6.3.0
License: GNU General Public License v2 or later
Text Domain: sunteck-kalyan-harbour
*/

:root {
  --bg-blush: #FAF4F2;
  --bg-card: #FFFFFF;
  --primary-gold: #C59B27;
  --primary-gold-hover: #A8821D;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C59B27 50%, #A8821D 100%);
  --maroon: #541B24;
  --maroon-dark: #3D1219;
  --text-dark: #1E1E1E;
  --text-body: #4A4A4A;
  --text-muted: #666666;
  --border-subtle: #E8E0DC;
  --border-gold: rgba(197, 155, 39, 0.4);
  --shadow-sm: 0 4px 12px rgba(84, 27, 36, 0.05);
  --shadow-md: 0 10px 30px rgba(84, 27, 36, 0.08);
  --shadow-lg: 0 20px 40px rgba(84, 27, 36, 0.12);
  --shadow-gold: 0 10px 25px rgba(197, 155, 39, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-blush);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  padding-top: 96px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Fixed Site Header & Top Bar */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1030 !important;
  transition: all 0.3s ease;
}

body.admin-bar .site-header {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px !important;
  }
}

.top-header-bar {
  background-color: var(--maroon);
  color: #FAF4F2;
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 500;
}

.top-header-bar a {
  color: #FAF4F2;
  text-decoration: none;
}

.main-navbar-bar {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled .main-navbar-bar {
  background-color: #ffffff;
  box-shadow: 0 8px 25px rgba(84, 27, 36, 0.12);
  border-bottom-color: rgba(197, 155, 39, 0.3);
}

.brand-logo-img, .navbar-brand img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  transition: max-height 0.3s ease;
}

.site-header.scrolled .brand-logo-img,
.site-header.scrolled .navbar-brand img {
  max-height: 44px;
}

.navbar-brand-text {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--maroon);
  letter-spacing: -0.02em;
}
.navbar-brand-text span {
  color: var(--primary-gold);
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-gold) !important;
}

/* Animated Custom Hamburger Toggler */
.custom-hamburger-toggler {
  background: transparent;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 8px !important;
}

.animated-hamburger {
  width: 26px;
  height: 19px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(0deg);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-bar {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--maroon);
  border-radius: 4px;
  opacity: 1;
  transform: rotate(0deg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-hamburger-toggler[aria-expanded="true"] .bar-1,
.custom-hamburger-toggler.is-open .bar-1 {
  transform: translateY(8px) rotate(45deg);
  background: var(--primary-gold);
}

.custom-hamburger-toggler[aria-expanded="true"] .bar-2,
.custom-hamburger-toggler.is-open .bar-2 {
  opacity: 0;
  transform: translateX(-12px);
}

.custom-hamburger-toggler[aria-expanded="true"] .bar-3,
.custom-hamburger-toggler.is-open .bar-3 {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--primary-gold);
}

/* Refined Form Input Controls */
.form-control, .form-select {
  background-color: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  color: #1E1E1E;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-control:focus, .form-select:focus {
  background-color: #FFFFFF;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 4px rgba(197, 155, 39, 0.15);
  outline: none;
  color: #1E1E1E;
}

.form-control::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* Buttons with Shimmer */
/* Buttons with Solid High-Contrast Colors */
.btn-gold {
  background-color: #c59b27 !important;
  background-image: linear-gradient(135deg, #d4af37 0%, #c59b27 50%, #a8821d 100%) !important;
  border: 1.5px solid #a8821d !important;
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 800 !important;
  font-size: 0.95rem;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(197, 155, 39, 0.35) !important;
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #a8821d 0%, #8d6b14 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(197, 155, 39, 0.45) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

.btn-maroon {
  background-color: #541b24 !important;
  border: 1.5px solid #3d1219 !important;
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 800 !important;
  font-size: 0.95rem;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(84, 27, 36, 0.35) !important;
  cursor: pointer;
  white-space: nowrap;
}

.btn-maroon:hover {
  background-color: #3d1219 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(84, 27, 36, 0.45) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Section Titles */
.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.25;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 25px auto;
  text-align: center;
}

/* Hero Section & Floating Spec Bar */
.hero-wrapper {
  position: relative;
  width: 100%;
}

.hero-banner-container {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: auto;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 100px 0 70px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(84, 27, 36, 0.75) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-banner-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
}

/* Floating Spec Bar */
.spec-bar-container {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.spec-bar {
  background: var(--maroon);
  border-radius: 20px;
  padding: 24px 35px;
  box-shadow: 0 15px 35px rgba(84, 27, 36, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.spec-item {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 20px;
  text-align: center;
}

.spec-item:last-child {
  border-right: none;
}

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #E8C179;
  font-weight: 700;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

/* About Section Arch Image */
.arch-image-container {
  border-radius: 200px 200px 20px 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.arch-image-container img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.arch-image-container:hover img {
  transform: scale(1.05);
}

/* Amenity List Box */
.amenity-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.amenity-list-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.amenity-list-item i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(84, 27, 36, 0.08);
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Location & Content Cards */
.location-cat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border-subtle);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.content-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.location-cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(197, 155, 39, 0.12);
  color: var(--primary-gold);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Floor Plan Cards */
.floorplan-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.floorplan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-gold);
}

.floorplan-img-wrapper {
  background: #FDFBFB;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px dashed var(--border-subtle);
  cursor: pointer;
}

.floorplan-img-wrapper img {
  max-height: 220px;
  object-fit: contain;
}

/* Video Tour Banner */
.video-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.play-btn-pulse {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  position: relative;
  z-index: 5;
  box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.7);
  animation: pulse-ring 1.8s infinite;
  cursor: pointer;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(197, 155, 39, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 155, 39, 0);
  }
}

/* Gallery Images & Lightbox */
.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  background-color: #F1F5F9;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img-wrapper:hover img {
  transform: scale(1.08);
}
/* Gallery Card & Image Sizing (Uncropped 2x2 for All Screens) */
.gallery-card-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
}

.gallery-card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(84, 27, 36, 0.12) !important;
}

.gallery-img-container {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
}

.gallery-fit-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.gallery-card-box:hover .gallery-fit-img {
  transform: scale(1.03);
}

@media (max-width: 991.98px) {
  .gallery-img-container {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .gallery-img-container {
    height: 150px;
  }
}

.gallery-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 15px;
}

.gallery-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  background: transparent;
  border: none;
  z-index: 2015;
}

.lightbox-close-btn:hover {
  opacity: 1;
}

/* Lightbox Navigation Controls & Arrows */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2010;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.lightbox-nav-btn:hover {
  background: #d9822b;
  border-color: #d9822b;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev-btn {
  left: 20px;
}

.lightbox-next-btn {
  right: 20px;
}

.lightbox-content-box {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2005;
}

@media (max-width: 575.98px) {
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .lightbox-prev-btn {
    left: 8px;
  }
  .lightbox-next-btn {
    right: 8px;
  }
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* Numbered Highlights */
.number-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--maroon);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

/* Refined FAQ Accordion Design */
.accordion-item {
  border: 1.5px solid #E8E0DC !important;
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(84, 27, 36, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.accordion-item:hover {
  border-color: var(--primary-gold) !important;
  box-shadow: 0 8px 25px rgba(197, 155, 39, 0.12);
}

.accordion-button {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark) !important;
  background-color: #ffffff !important;
  padding: 20px 24px;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  color: var(--maroon) !important;
  background-color: #FFFDF9 !important;
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
  box-shadow: none !important;
}

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

.accordion-body {
  padding: 22px 24px;
  color: var(--text-body);
  font-size: 0.975rem;
  line-height: 1.75;
  background-color: #ffffff;
}

/* Auto Popup Lead Modal - FIXED MOBILE SCROLLING & RESPONSIVENESS */
.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 15px;
}

.custom-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.custom-modal-box {
  background: #ffffff;
  border-radius: 24px;
  max-width: 520px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.custom-modal-backdrop.show .custom-modal-box {
  transform: scale(1);
}

.modal-header-banner {
  background: var(--maroon);
  color: #ffffff;
  padding: 22px 26px;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}

.modal-body-scrollable {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px;
  background: #ffffff;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.footer-dark-panel {
  background: var(--maroon);
  color: #ffffff;
  padding: 30px;
  border-radius: 20px 0 0 20px;
}

/* Floating Bottom Right Action Buttons */
.floating-btn-group {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-lead-btn {
  background-color: #c59b27 !important;
  background-image: linear-gradient(135deg, #d4af37 0%, #c59b27 100%) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 800 !important;
  font-size: 0.9rem;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
  box-shadow: 0 10px 25px rgba(197, 155, 39, 0.45) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-lead-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(197, 155, 39, 0.5);
}

.scroll-to-top-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--maroon);
  color: #ffffff !important;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 20px rgba(84, 27, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background: var(--maroon-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(84, 27, 36, 0.4);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE OPTIMIZATIONS)
   ========================================================================== */

/* Laptop & Large Tablets (< 1200px) */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
    padding: 20px 24px;
    margin-top: 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 3px solid var(--primary-gold);
    box-shadow: 0 20px 40px rgba(84, 27, 36, 0.18);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1040;
  }
  .navbar-nav .nav-link {
    padding: 10px 16px !important;
    border-radius: 8px;
    margin-bottom: 4px;
    white-space: normal;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: var(--bg-blush);
  }
  .hero-banner-content h1 {
    font-size: 2.8rem;
  }
}

/* Tablets Portrait & Medium Screens (< 992px) */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 1.85rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .hero-banner-container {
    min-height: 460px;
    padding: 80px 0 50px 0;
  }
  .hero-banner-content h1 {
    font-size: 2.3rem;
  }
  .hero-banner-content p {
    font-size: 1.1rem !important;
  }
  
  .spec-bar-container {
    margin-top: -30px;
  }
  .spec-bar {
    padding: 18px 20px;
    border-radius: 16px;
  }
  .spec-item {
    border-right: none;
    padding: 10px 8px;
  }
  .spec-label {
    font-size: 0.7rem;
  }
  .spec-value {
    font-size: 0.95rem;
  }
  
  .arch-image-container img {
    height: 320px;
  }
  
  .amenity-box {
    padding: 25px 20px;
  }
  
  .location-cat-card {
    padding: 22px 18px;
  }
  
  .content-card {
    padding: 24px 20px;
  }
  
  .video-banner {
    height: 320px;
  }
  
  .footer-dark-panel {
    border-radius: 0;
    padding: 24px 20px;
  }
  
  .floating-btn-group {
    bottom: 20px;
    right: 20px;
  }
}

/* Small Mobile Phones (< 768px) */
@media (max-width: 767.98px) {
  body {
    font-size: 0.925rem;
    padding-top: 60px;
  }
  
  .navbar-brand img {
    max-height: 44px;
  }
  
  .section-title {
    font-size: 1.55rem;
    margin-bottom: 8px;
  }
  .section-subtitle {
    font-size: 0.875rem;
    padding: 0 10px;
  }

  .hero-banner-container {
    min-height: 420px;
    padding: 65px 0 45px 0;
  }
  .hero-banner-content h1 {
    font-size: 1.8rem;
  }
  .hero-banner-content p {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }
  
  /* Spec Bar 2x2 Grid Styling */
  .spec-bar-container {
    margin-top: 15px;
  }
  .spec-bar {
    padding: 14px;
    border-radius: 14px;
  }
  .spec-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .spec-label {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }
  .spec-value {
    font-size: 0.875rem;
  }

  .arch-image-container {
    border-radius: 120px 120px 16px 16px;
  }
  .arch-image-container img {
    height: 260px;
  }

  .amenity-box {
    padding: 18px 12px;
    border-radius: 16px;
  }
  .amenity-list-item {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  .amenity-list-item i {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    margin-right: 8px;
  }

  .location-cat-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .floorplan-card {
    padding: 20px 14px;
    border-radius: 16px;
  }
  .floorplan-img-wrapper img {
    max-height: 180px;
  }

  .video-banner {
    height: 230px;
    border-radius: 16px;
  }
  .play-btn-pulse {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .number-badge {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    margin-right: 12px;
  }

  .accordion-button {
    padding: 14px 16px;
    font-size: 0.925rem;
  }
  .accordion-body {
    padding: 16px;
    font-size: 0.875rem;
  }

  .footer-dark-panel {
    padding: 20px 16px;
  }
  
  .custom-modal-box {
    width: 95%;
    border-radius: 18px;
  }
  .modal-header-banner {
    padding: 18px 20px;
  }
  .modal-header-banner h4 {
    font-size: 1.2rem;
  }
  .modal-body-scrollable {
    padding: 18px;
  }

  .floating-btn-group {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .floating-lead-btn {
    padding: 10px 16px;
    font-size: 0.825rem;
  }
  .scroll-to-top-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* Extra Small Phones (< 400px) */
@media (max-width: 399.98px) {
  .navbar-brand img {
    max-height: 38px;
  }
  .btn-gold, .btn-maroon {
    padding: 10px 18px;
    font-size: 0.875rem;
  }
  .hero-banner-content h1 {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .amenity-list-item {
    font-size: 0.8rem;
  }
}

/* Custom Amenities Section Styling */
.amenities-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.amenities-subtitle {
  color: var(--text-dark);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 860px;
  margin: 0 auto;
}

.amenities-subtitle a {
  color: #0d6efd;
  font-weight: 500;
}

.amenities-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(84, 27, 36, 0.12);
  border: 4px solid #ffffff;
}

.amenities-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 992px) {
  .amenities-img {
    height: 480px;
    object-fit: cover;
  }

  .amenities-card-overlap {
    margin-left: -70px;
  }
}

.amenities-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(84, 27, 36, 0.04);
  border: 1px solid rgba(224, 215, 210, 0.6);
  position: relative;
  z-index: 2;
}

.amenity-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  transition: transform 0.25s ease;
}

.amenity-item-row:hover {
  transform: translateX(4px);
}

.amenity-icon-circle {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: #4a151b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(74, 21, 27, 0.25);
}

.amenity-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #3b171c;
  margin: 0;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 991.98px) {
  .amenities-card {
    padding: 24px 20px;
    margin-top: 15px;
  }
  .amenities-heading {
    font-size: 1.9rem;
  }
  .amenities-subtitle {
    font-size: 0.92rem;
  }
  .amenity-item-row {
    gap: 10px;
    padding: 8px 0;
  }
  .amenity-label {
    font-size: 0.88rem;
  }
  .amenity-icon-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .amenities-img-wrapper {
    border-radius: 16px;
    border-width: 2px;
  }
  .amenities-card {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .amenities-heading {
    font-size: 1.5rem;
  }
  .amenity-item-row {
    gap: 8px;
    padding: 6px 0;
  }
  .amenity-label {
    font-size: 0.8rem;
    line-height: 1.25;
  }
  .amenity-icon-circle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .amenities-card {
    padding: 14px 10px;
  }
  .amenity-item-row {
    gap: 6px;
  }
  .amenity-label {
    font-size: 0.75rem;
  }
  .amenity-icon-circle {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 0.7rem;
  }
}

/* Reference Site UI Enhancements */
.btn-teal {
  background-color: #0284c7 !important;
  border: 1.5px solid #0284c7 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease;
}

.btn-teal:hover, .btn-teal:focus {
  background-color: #0369a1 !important;
  border-color: #0369a1 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

.text-gold {
  color: #d9822b !important;
}

.text-shadow-sm {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Fixed Vertical Left Brochure Button */
.floating-brochure-left {
  position: fixed;
  left: 0;
  top: 45%;
  transform: translateY(-50%);
  z-index: 1040;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-left: 0;
  border-radius: 0 25px 25px 0;
  padding: 12px 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 48px;
}

.floating-brochure-left:hover {
  transform: translateY(-50%) translateX(4px);
}

.floating-brochure-left .pdf-icon-badge {
  background: #dc3545;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.floating-brochure-left .brochure-text-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.775rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Mobile Bottom Sticky Action Bar (Matching Reference Screenshots) */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1045;
  background-color: #d9822b;
  display: flex;
  align-items: center;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
}

.mobile-bottom-bar .bottom-bar-btn {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border-top: none;
  border-bottom: none;
  border-left: none;
}

.mobile-bottom-bar .bottom-bar-btn:last-child {
  border-right: none;
}

.mobile-bottom-bar .bottom-bar-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #ffffff;
}

/* Floating Agent Avatar Badge */
.floating-agent-avatar {
  position: fixed;
  right: 18px;
  bottom: 60px;
  z-index: 1042;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.floating-agent-avatar img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  border: 2.5px solid #ffffff;
  object-fit: cover;
}

.floating-agent-avatar:hover {
  transform: scale(1.08);
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 50px;
  }
}

/* Card & Text High-Contrast Overrides */
.card, .floorplan-card, .location-cat-card, .content-card, .gallery-card-box {
  color: #1e293b !important;
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
.floorplan-card h1, .floorplan-card h2, .floorplan-card h3, .floorplan-card h4, .floorplan-card h5, .floorplan-card h6,
.location-cat-card h1, .location-cat-card h2, .location-cat-card h3, .location-cat-card h4, .location-cat-card h5, .location-cat-card h6,
.content-card h1, .content-card h2, .content-card h3, .content-card h4, .content-card h5, .content-card h6 {
  color: #0f172a !important;
}

.card p, .card li, .card span,
.floorplan-card p, .floorplan-card li, .floorplan-card span,
.location-cat-card p, .location-cat-card li, .location-cat-card span,
.content-card p, .content-card li, .content-card span {
  color: #334155 !important;
}

/* True CSS Grid Bento Layout System */
.bento-grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 240px;
  gap: 24px;
}

/* Feature 1 (Tall Left Item - Spans 4 Columns x 2 Rows) */
.bento-item-1 {
  grid-column: span 4;
  grid-row: span 2;
}

/* Subgrid Items (Rows 1 & 2) */
.bento-item-2 {
  grid-column: span 4;
}

.bento-item-3 {
  grid-column: span 4;
}

.bento-item-4 {
  grid-column: span 4;
}

.bento-item-5 {
  grid-column: span 4;
}

/* Bottom Row Items (Row 3 - 6 Columns Each) */
.bento-item-6 {
  grid-column: span 6;
}

.bento-item-7 {
  grid-column: span 6;
}

/* Bento Tile Card Styling */
.bento-card-tile {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #0f172a;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.bento-card-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(84, 27, 36, 0.25) !important;
}

.bento-card-tile:hover img {
  transform: scale(1.08);
}

.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  z-index: 2;
  transition: background 0.4s ease;
}

.bento-card-tile:hover .bento-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.98) 100%);
}

.bento-card-overlay-content {
  transform: translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-tile:hover .bento-card-overlay-content {
  transform: translateY(0);
}

.bento-card-badge {
  background-color: #f59e0b !important;
  color: #000000 !important;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.bento-card-title {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Tablet & Mobile Responsiveness for CSS Grid */
@media (max-width: 991.98px) {
  .bento-grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
  }
  .bento-item-1 {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-item-2, .bento-item-3, .bento-item-4, .bento-item-5, .bento-item-6, .bento-item-7 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 575.98px) {
  .bento-grid-container {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .bento-item-1, .bento-item-2, .bento-item-3, .bento-item-4, .bento-item-5, .bento-item-6, .bento-item-7 {
    grid-column: span 1;
    grid-row: span 1;
  }
}



