/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  /* Brand Palette */
  --clr-primary: #0B1C33;     /* Deep Navy - Trust/Authority */
  --clr-primary-light: #1E3A5F;
  --clr-accent: #D97706;      /* Amber/Gold - Action */
  --clr-accent-hover: #B45309;
  
  /* Neutrals */
  --clr-text-main: #1E293B;   /* Slate 800 */
  --clr-text-muted: #475569;  /* Slate 600 */
  --clr-bg-body: #FFFFFF;
  --clr-bg-alt: #F1F5F9;      /* Slate 100 */
  --clr-border: #E2E8F0;

  /* Typography */
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--clr-text-main);
  background-color: var(--clr-bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1rem 0;
  color: var(--clr-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* =========================================
   2. UTILITIES & LAYOUT
   ========================================= */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section { padding: 5rem 0; }

.section-alt { 
    background-color: var(--clr-bg-alt); 
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.center-text { text-align: center; }
.text-white { color: #ffffff !important; }
.mb-large { margin-bottom: 2rem; }
.mt-large { margin-top: 3rem; }

/* Content Cards */
.content-card, .info-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  height: fit-content;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  font-family: var(--font-head);
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 1rem;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}

.btn-primary:hover {
  background-color: var(--clr-accent-hover);
  border-color: var(--clr-accent-hover);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
  border-width: 2px;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--clr-primary);
}

.btn-outline-primary {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}

.btn-outline-primary:hover {
    background: var(--clr-primary);
    color: #fff;
}

.btn-accent {
  background-color: var(--clr-primary);
  color: #fff;
  border-radius: 50px;
}

.btn-accent:hover {
  background-color: var(--clr-primary-light);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.btn-link {
    color: var(--clr-accent);
    text-decoration: none;
    font-weight: 500;
}
.btn-link:hover {
    color: var(--clr-accent-hover);
    text-decoration: underline;
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.site-header {
  height: var(--header-height);
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

/* Explicit padding for the header container */
.site-header .container {
  width: 100%;
  max-width: 1250px; /* Updated to 1250px */
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-img { height: 55px; width: auto; }

/* Desktop Nav */
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--clr-text-main);
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--clr-accent);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--clr-text-main);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Dropdown SVG Icon */
.dropdown-arrow {
  transition: transform 0.3s ease;
  color: var(--clr-text-muted);
  width: 18px; 
  height: 18px;
}
.dropdown-toggle.active .dropdown-arrow {
    color: var(--clr-accent);
}

/* Active State for Dropdown Parent */
.dropdown-toggle.active {
  color: var(--clr-accent);
  font-weight: 600;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  border: 1px solid var(--clr-border);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--clr-text-main);
}

.dropdown-menu a:hover {
  background-color: var(--clr-bg-alt);
  color: var(--clr-primary);
}

/* Active State for Sub-menu Items */
.dropdown-menu a.active {
  background-color: var(--clr-bg-alt);
  color: var(--clr-accent);
  font-weight: 600;
  border-left: 3px solid var(--clr-accent);
}

@media (min-width: 1051px) {
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-toggle { display: none; }

/* =========================================
   4. HERO SECTION (Homepage)
   ========================================= */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background-color: var(--clr-primary);
}

.hero-media { position: absolute; inset: 0; z-index: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active { opacity: 1; }

/* Brighter Hero Images (0.2 opacity + Gradient) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 28, 51, 0.4) 0%, rgba(11, 28, 51, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between; 
  align-items: flex-end;          
  flex-direction: row;           
  /* Width is controlled by .container */
}

.hero-text-box { 
    max-width: 650px; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-accent);
  margin-bottom: 0.5rem;
  display: block;
}

.hero h1 {
  font-size: 3.25rem;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e2e8f0;
}

.hero-actions { display: flex; gap: 1rem; }

/* FIX: Force controls to the right side on Desktop */
.hero-controls { 
    display: flex; 
    gap: 0.5rem; 
    margin-left: auto; /* KEY FIX: Pushes this element to the far right */
    margin-bottom: 5px; /* Micro-adjustment to align with buttons visually */
}

.slider-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-btn:hover { background: var(--clr-accent); border-color: var(--clr-accent); }

.slider-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  display: block;
}

/* =========================================
   5. INNER PAGE BANNER
   ========================================= */
.page-banner {
  position: relative;
  height: 350px; 
  background-size: cover;
  background-position: center;
  background-color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 51, 0.45); 
  z-index: 1;
}
.banner-content { position: relative; z-index: 2; color: #fff; }
.page-banner h1 { color: #fff; font-size: 2.75rem; margin-bottom: 0.5rem; }
.page-banner .lead { color: #e2e8f0; font-size: 1.15rem; max-width: 800px; margin: 0 auto; }

/* =========================================
   6. SECTIONS & CONTENT MODULES
   ========================================= */
/* Dark Intro "Data Ribbon" */
.section-intro {
  background-color: var(--clr-primary);
  color: #fff;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.section-intro h2 { color: #fff; }
.section-intro .lead { color: #e2e8f0; }
.section-intro .hero-note {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-style: italic;
}
.section-intro .section-tag { color: var(--clr-accent); }
.section-intro .stat-card {
  background: #fff;
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
.section-intro .stat-number { color: var(--clr-primary); }
.section-intro .stat-label { color: var(--clr-text-muted); }

/* Grids */
.two-column-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
.content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}
.content-grid.reversed-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}
.align-top { align-items: flex-start; }
.align-center { align-items: center; }

/* Lists & Text */
.text-content { max-width: 75ch; }
.section-tag, .label-tag {
  color: var(--clr-accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}
.lead {
  font-size: 1.125rem;
  color: var(--clr-text-muted);
  max-width: 800px;
}
.bullet-list { margin: 1rem 0; padding-left: 1.2rem; }
.bullet-list li { margin-bottom: 0.5rem; }
.check-list-compact {
  list-style: none;
  padding: 0;
  columns: 1; 
  margin: 0;
}
.check-list-compact li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  padding-left: 1.5rem;
  position: relative;
}
.check-list-compact li::before {
  content: "✓";
  color: var(--clr-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.muted-text {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 1rem;
    font-style: italic;
}

/* Stats / Facts */
.intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat-card {
  background: #fff;
  padding: 1.5rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  text-align: left;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stat-card:nth-child(3) { grid-column: span 2; } 
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-primary);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.stat-desc {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin: 0.5rem 0 0 0;
    line-height: 1.4;
}

/* Images */
.image-block img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
    object-fit: cover;
}
.image-caption {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
    font-style: italic;
    text-align: center;
}
.highlight-box {
  background-color: #fff;
  border-left: 4px solid var(--clr-accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  color: var(--clr-text-main);
  font-size: 0.95rem;
}

/* Tenant Logos */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 3rem;
  align-items: center;
  justify-items: center;
  margin-top: 0;
}
.logo-grid img {
  max-height: 55px;
  filter: grayscale(40%);
  opacity: 0.77;
  transition: all 0.3s ease;
}
.logo-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.25);
}

/* Callout Box */
.callout-box {
  background-color: var(--clr-primary);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 0 auto;
  max-width: 1000px;
}
.callout-box h3 { color: #fff; margin-top: 0; }
.callout-box p { color: #e2e8f0; max-width: 900px; margin: 0 auto; font-size: 1.05rem; }

/* =========================================
   7. DATA TABLES (Availability / Demographics)
   ========================================= */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fff;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  overflow: hidden; 
}
.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
}
.data-table th {
  background-color: var(--clr-primary);
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background-color: #f8fafc; }

.positive-trend { color: #16a34a; font-weight: 600; }

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-badge.available { background-color: #dcfce7; color: #166534; }
.status-badge.special { background-color: #e0f2fe; color: #0369a1; }

/* Row Highlighting */
.row-highlight td {
  background-color: #f0f9ff !important;
  border-top: 2px solid #bae6fd;
  border-bottom: 2px solid #bae6fd;
}
.row-total td {
  background-color: #f8fafc;
  border-top: 2px solid var(--clr-text-main);
  font-size: 1rem;
}

/* =========================================
   8. GALLERY & LIGHTBOX
   ========================================= */
/* Masonry Container */
.gallery-grid {
  display: block; 
  column-count: 3; 
  column-gap: 1.5rem;
  width: 100%; 
  column-fill: balance; 
  margin-bottom: 3rem;
}

/* Individual Item Card */
.gallery-item {
  display: inline-block; 
  width: 100%; 
  break-inside: avoid; 
  -webkit-column-break-inside: avoid;
  margin-bottom: 1.5rem; 
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--clr-border);
  backface-visibility: hidden; 
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image Wrapper */
.img-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: #f1f5f9;
}

.img-wrapper img {
  width: 100%;
  height: auto; 
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .img-wrapper img { transform: scale(1.05); }

.gallery-caption {
  padding: 1rem;
  background: #fff;
}

.gallery-caption strong {
  display: block;
  font-size: 0.95rem;
  color: var(--clr-primary);
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 51, 0.95);
}
.lightbox-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: #fff;
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

/* =========================================
   9. CONTACT & MAPS SPECIFICS
   ========================================= */
/* Featured Contact Card (Left Column) */
.contact-card-featured {
  background: #fff;
  border-top: 5px solid var(--clr-primary);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.contact-card-featured h2 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  color: var(--clr-primary);
}
.role-title {
  color: var(--clr-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.contact-details-large {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.contact-row {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: var(--clr-text-main);
}
.contact-row .icon { margin-right: 1rem; font-size: 1.2rem; }
.contact-row a {
  text-decoration: none;
  font-weight: 500;
  color: var(--clr-text-main);
  transition: color 0.2s;
}
.contact-row a:hover { color: var(--clr-accent); }
.badge {
  background: #f1f5f9;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--clr-text-muted);
  margin-left: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
}
.action-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Simple Contact Card */
.contact-card-simple {
    background: #fff;
    border: 1px solid var(--clr-border);
    padding: 2rem;
    display: inline-block; 
    border-radius: var(--radius);
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
    min-width: 300px;
}
.contact-card-simple strong {
    font-size: 1.1rem;
    color: var(--clr-primary);
    display: block;
    margin-bottom: 0.25rem;
}
.contact-card-simple a {
    color: var(--clr-accent);
    text-decoration: none;
    transition: color 0.2s;
}
.contact-card-simple a:hover {
    color: var(--clr-accent-hover);
    text-decoration: underline;
}

/* Map Embed */
.map-container-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #e5e7eb;
  border: 1px solid var(--clr-border);
}
.map-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   10. PROPERTY FACTS & AMENITIES
   ========================================= */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.fact-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-primary-light);
}
.fact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.fact-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
}
.fact-text { font-size: 0.9rem; color: var(--clr-text-main); line-height: 1.5; }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.amenities-grid li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--clr-text-main);
  font-weight: 500;
}
.amenities-grid li::before {
  content: "•";
  color: var(--clr-accent);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.image-frame-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.framed-image {
  max-width: 100%;
  height: auto;
  background: #fff;
  padding: 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* =========================================
   11. FOOTER
   ========================================= */
.section-cta {
  background-color: var(--clr-primary);
  color: #fff;
  padding: 4rem 0;
}
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cta-content h2 { color: #fff; }
.cta-content p { color: #cbd5e1; font-size: 1.1rem; }

.contact-person {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-name { font-size: 1.1rem; color: #fff; }
.contact-link { color: var(--clr-accent); font-weight: 600; }
.contact-link:hover { text-decoration: underline; }

.phone-group span {
  margin-right: 1.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
  display: inline-block;
}
.address-group {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.address-group p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.address-group strong { color: #fff; }

.site-footer {
  background: #0f172a;
  color: #64748b;
  padding: 2rem 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-nav a { margin-left: 1.5rem; color: #94a3b8; }
.footer-nav a:hover { color: #fff; }

/* =========================================
   12. GLOBAL RESPONSIVE REFINEMENTS (Mobile/Tablet <= 1050px)
   ========================================= */
@media (min-width: 900px) {
  .framed-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  }
}

@media (min-width: 1200px) {
    .map-container-wrapper {
        padding-bottom: 500px; 
        height: 500px;
    }
}

@media (max-width: 1050px) {
  /* --- GENERAL MOBILE/TABLET LAYOUT --- */
  .section { padding: 3rem 0; }
  .section-intro { padding-bottom: 3rem; }
  .container { width: 100%; padding-left: 1.25rem; padding-right: 1.25rem; }
  .site-header .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .logo-img { height: 45px; }

  /* --- COLLAPSE GRIDS --- */
  .two-column-grid,
  .content-grid, 
  .intro-stats,
  .amenities-grid { 
    grid-template-columns: 1fr; 
    gap: 3rem; 
  }
  .gallery-grid { column-count: 2; }
  
  /* Reorder images (Image on top) */
  .content-grid.reversed-grid { display: flex; flex-direction: column-reverse; }
  .content-grid.reversed-grid .image-block { width: 100%; margin-bottom: 2rem; }
  
  /* --- PREVENT TABLE SQUISH --- */
  .data-table, .availability-table { min-width: 600px; }
  
  /* FIX: Prevents Grid items from pushing container wider than screen */
  .two-column-grid > div,
  .data-block,
  .content-card {
      min-width: 0; 
  }
  
  /* --- NAVIGATION DRAWER --- */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px; 
    height: auto; 
    width: 52px; /* 28px bars + 12px padding */
    padding: 12px;
    margin-right: -12px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .nav-toggle .bar {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--clr-primary);
    border-radius: 3px;
    transition: 0.3s;
  }
  /* Animation */
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 2rem;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu.show { display: block; }
  
  /* --- HERO & BANNER FIX --- */
  .hero, .page-banner {
    height: auto !important;
    min-height: 400px;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%; 
  }
  .hero-text-box {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  .hero h1, .page-banner h1 { font-size: 2rem; margin-bottom: 1rem; }
  
  /* Static positioning prevents overlap */
  .hero-controls { 
    position: static; 
    margin-top: 1.5rem; 
    justify-content: center; 
    width: 100%; 
    margin-left: 0;
  }
  .slider-btn { background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.5); }

  /* --- COMPONENT ADJUSTMENTS --- */
  .stat-card:nth-child(3) { grid-column: auto; }
  .cta-box { flex-direction: column; text-align: center; gap: 2rem; }
  .phone-group span { display: block; margin: 0; }
  .contact-card-featured { padding: 1.5rem; }
  .contact-card-featured h2 { font-size: 1.75rem; }
  .action-buttons { flex-direction: column; }
  .btn { width: 100%; }
  .footer-inner { flex-direction: column; gap: 1rem; }
  
  /* Lightbox Close Button Fix */
  .lightbox-prev { left: 10px; background: rgba(0,0,0,0.5); }
  .lightbox-next { right: 10px; background: rgba(0,0,0,0.5); }
  .lightbox-close { 
    top: 10px; 
    right: 10px; 
    background: rgba(0,0,0,0.6);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; 
  }
  
  /* Callout Box Margins */
  .callout-box { width: 100%; padding: 2rem 1.5rem; margin: 0; }
}

@media (max-width: 600px) {
  .gallery-grid { column-count: 1; }
}

/* =========================================
   13. AI CHAT WIDGET STYLES
   ========================================= */
.ai-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: var(--font-body);
}

.ai-chat-toggle {
    background-color: var(--clr-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, opacity 0.2s;
    font-weight: 600;
    font-family: var(--font-head);
}

.ai-chat-toggle:hover {
    transform: scale(1.05);
    background-color: var(--clr-primary-light);
}

.ai-chat-toggle.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.ai-chat-window {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 320px;
    height: 450px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--clr-border);
}

.ai-chat-window.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.ai-chat-header {
    background: var(--clr-primary);
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.ai-chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.ai-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-message.system {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--clr-text-main);
    border-bottom-left-radius: 2px;
}

.ai-message.user {
    align-self: flex-end;
    background: var(--clr-primary);
    color: #fff;
    border-bottom-right-radius: 2px;
}

.ai-message.loading {
    align-self: flex-start;
    color: #94a3b8;
    font-style: italic;
    background: transparent;
    padding-left: 0;
}

.ai-chat-input-area {
    padding: 12px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
}

.ai-chat-input-area input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.9rem;
}

.ai-chat-input-area input:focus {
    outline: none;
    border-color: var(--clr-accent);
}

.ai-chat-input-area button {
    background: var(--clr-accent);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
}

.ai-chat-input-area button:hover {
    background: var(--clr-accent-hover);
}

@media (max-width: 480px) {
    .ai-chat-window {
        width: calc(100vw - 40px);
        height: 60vh;
        bottom: 70px; 
    }
}

/* =========================================
   13. AI CHAT WIDGET STYLES (Updated for Voice)
   ========================================= */
.ai-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: var(--font-body);
}

.ai-chat-toggle {
    background-color: var(--clr-accent-hover);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, opacity 0.2s;
    font-weight: 600;
    font-family: var(--font-head);
}

.ai-chat-toggle:hover {
    transform: scale(1.05);
    background-color: var(--clr-primary-light);
}

.ai-chat-toggle.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.ai-chat-window {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 320px;
    height: 450px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--clr-border);
}

.ai-chat-window.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.ai-chat-header {
    background: var(--clr-primary);
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-header h3 { margin: 0; font-size: 1rem; color: #fff; }
.ai-chat-close { background: transparent; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }

.ai-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-message.system {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--clr-text-main);
    border-bottom-left-radius: 2px;
}

.ai-message.user {
    align-self: flex-end;
    background: var(--clr-primary);
    color: #fff;
    border-bottom-right-radius: 2px;
}

.ai-message.loading {
    align-self: flex-start;
    color: #94a3b8;
    font-style: italic;
    background: transparent;
    padding-left: 0;
}

/* Input Area with Mic */
.ai-chat-input-area {
    padding: 12px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mic Button */
.mic-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--clr-text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.mic-btn:hover {
    background: #e2e8f0;
}

/* Pulsing Red Animation when Listening */
.mic-btn.listening {
    background-color: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.ai-chat-input-area input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.9rem;
    width: 174px;
}

.ai-chat-input-area input:focus {
    outline: none;
    border-color: var(--clr-accent);
}

.ai-chat-input-area button#chatSend {
    background: var(--clr-accent);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
}

.ai-chat-input-area button#chatSend:hover {
    background: var(--clr-accent-hover);
}

@media (max-width: 480px) {
    .ai-chat-window {width: calc(100vw - 40px);
        height: 60vh;
        bottom: 70px; 
    }
}

/* =========================================
   AI CHAT ANIMATIONS
   ========================================= */

/* Pulse animation for the "Generating voice..." text */
.ai-message.audio-loader {
    color: var(--clr-accent); /* Make it Gold to stand out */
    font-weight: 500;
    font-style: normal; /* Override the default italic for loading */
    animation: pulse-voice 1.5s infinite ease-in-out;
}

@keyframes pulse-voice {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}