/* Dream Star Real Estate & Developers - Luxury Styling */
:root {
  --bg: #060e3b;
  --deep: #030827;
  --card: #0c1b63;
  --card-hover: #122585;
  --card-border: rgba(226, 186, 79, 0.25);
  --gold: #e2ba4f;
  --gold-light: #fceda2;
  --gold-dark: #9e7416;
  --gold-gradient: linear-gradient(135deg, #fceda2 0%, #e2ba4f 50%, #9e7416 100%);
  --ink: #f8f6f0;
  --mute: #b8c1ea;
  --wa: #25d366;
  --wa-hover: #1ea952;
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --success: #10b981;
  --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  background: var(--bg);
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 72px; /* space for mobile tabs */
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, .brand-title {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP CONTACT BAR */
.top-contact-bar {
  background: var(--deep);
  border-bottom: 1px solid rgba(226, 186, 79, 0.15);
  font-size: 13px;
  color: var(--mute);
  padding: 6px 0;
}

.top-contact-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-contact-bar a {
  color: var(--mute);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.top-contact-bar a:hover {
  color: var(--gold);
}

.top-contact-bar .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--wa);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--wa);
}

/* HEADER & NAVBAR */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 8, 39, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-emblem {
  width: 44px;
  height: 44px;
  background: radial-gradient(circle, #e2ba4f 0%, #9e7416 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030827;
  font-size: 22px;
  box-shadow: 0 0 15px rgba(226, 186, 79, 0.3);
  flex-shrink: 0;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--gold-light);
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav.main-nav {
  display: none;
  gap: 20px;
  align-items: center;
}

@media (min-width: 980px) {
  nav.main-nav {
    display: flex;
  }
}

nav.main-nav a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--transition);
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--gold-light);
  background: rgba(226, 186, 79, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #030827;
  box-shadow: 0 4px 15px rgba(226, 186, 79, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 186, 79, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: rgba(226, 186, 79, 0.12);
  color: #fff;
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-wa:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background: var(--danger-hover);
}

.btn-gold {
  background: linear-gradient(135deg, #e2ba4f 0%, #b8860b 100%);
  color: #0f172a !important;
  font-weight: 700;
  border: 1px solid #f6d365;
  box-shadow: 0 4px 14px rgba(226, 186, 79, 0.35);
  transition: all 0.25s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 186, 79, 0.55);
  background: linear-gradient(135deg, #f6d365 0%, #d4af37 100%);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: 1px solid #34d399;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.25s ease;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #34d399 0%, #047857 100%);
}

.btn-google {
  background: #ffffff !important;
  color: #1f2937 !important;
  font-weight: 600;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.btn-google:hover {
  background: #f8fafc !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: 8px;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 50px 0 60px;
  background: radial-gradient(circle at 50% 10%, rgba(18, 37, 133, 0.4) 0%, rgba(6, 14, 59, 1) 75%);
  border-bottom: 1px solid var(--card-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(226, 186, 79, 0.1);
  border: 1px solid rgba(226, 186, 79, 0.35);
  color: var(--gold-light);
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-subtitle {
  color: var(--mute);
  font-size: 1.08rem;
  max-width: 580px;
  margin-bottom: 26px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 186, 79, 0.2);
}

.stat-item h3 {
  font-size: 1.75rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item p {
  color: var(--mute);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(226, 186, 79, 0.3);
}

.hero-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(3, 8, 39, 0.95), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-featured-tag {
  background: var(--gold);
  color: #030827;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* SEARCH & FILTER BAR */
.search-filter-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: -30px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow);
}

.search-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .search-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .search-form-grid {
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr auto;
    align-items: flex-end;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  background: var(--deep);
  border: 1px solid rgba(226, 186, 79, 0.3);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 10px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(226, 186, 79, 0.2);
}

/* SECTION HEADINGS */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-tag {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--mute);
  font-size: 1rem;
}

/* FILTER TABS (CATEGORY CHIPS) */
.category-chips-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.chip-btn {
  background: var(--deep);
  border: 1px solid var(--card-border);
  color: var(--mute);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chip-btn:hover, .chip-btn.active {
  background: var(--gold-gradient);
  color: #030827;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(226, 186, 79, 0.25);
}

/* PROPERTIES GRID */
.properties-section {
  padding: 60px 0;
}

.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 680px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* PROPERTY CARD */
.property-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
}

.property-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: var(--card-hover);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
}

.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.badge-status {
  background: rgba(3, 8, 39, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  border: 1px solid rgba(226, 186, 79, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-featured {
  background: var(--gold-gradient);
  color: #030827;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.card-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
}

.card-category {
  font-size: 0.75rem;
  color: var(--mute);
  background: rgba(226, 186, 79, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(226, 186, 79, 0.2);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
  color: #fff;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mute);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.card-specs-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(226, 186, 79, 0.15);
  border-bottom: 1px solid rgba(226, 186, 79, 0.15);
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--mute);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-desc-snippet {
  color: var(--mute);
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.card-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

/* EMI CALCULATOR SECTION */
.calculator-section {
  padding: 60px 0;
  background: var(--deep);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.calc-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
}

@media (min-width: 900px) {
  .calc-card-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.calc-slider-group {
  margin-bottom: 22px;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.calc-slider-label span.value-highlight {
  color: var(--gold-light);
  font-size: 1.1rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  height: 6px;
  border-radius: 4px;
  background: var(--deep);
  cursor: pointer;
}

.calc-result-box {
  background: var(--deep);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.calc-emi-amount {
  font-size: 2.2rem;
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  margin: 10px 0 20px;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(226, 186, 79, 0.15);
  font-size: 0.85rem;
  color: var(--mute);
}

.calc-breakdown-row span:last-child {
  color: var(--ink);
  font-weight: 600;
}

/* SERVICES SECTION */
.services-section {
  padding: 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--card-hover);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(226, 186, 79, 0.12);
  border: 1px solid rgba(226, 186, 79, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--mute);
  font-size: 0.9rem;
}

/* LEGAL & DTCP GUIDE */
.guide-section {
  padding: 60px 0;
  background: var(--deep);
  border-top: 1px solid var(--card-border);
}

.guide-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(3, 8, 39, 0.6);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(226, 186, 79, 0.15);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #030827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-item h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
  color: var(--gold-light);
}

.check-item p {
  color: var(--mute);
  font-size: 0.85rem;
}

/* REVIEWS SECTION */
.reviews-section {
  padding: 60px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(226, 186, 79, 0.15);
  padding-top: 12px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #030827;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.author-info h4 {
  font-size: 0.9rem;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--mute);
}

/* CONTACT & OFFICE SECTION */
.contact-section {
  padding: 60px 0;
  background: var(--deep);
  border-top: 1px solid var(--card-border);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(226, 186, 79, 0.12);
  border: 1px solid rgba(226, 186, 79, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 0.9rem;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail-content a, .contact-detail-content p {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}

.contact-detail-content a:hover {
  color: var(--gold);
}

.contact-form-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
}

/* FOOTER */
footer.site-footer {
  background: #02051a;
  border-top: 1px solid var(--card-border);
  padding: 50px 0 20px;
  font-size: 0.88rem;
  color: var(--mute);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--mute);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(226, 186, 79, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
}

/* DISCREET OWNER ACCESS IN FOOTER */
.secret-portal-link {
  color: rgba(184, 193, 234, 0.35);
  text-decoration: none;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
}

.secret-portal-link:hover {
  color: var(--gold);
  background: rgba(226, 186, 79, 0.1);
}

/* MOBILE BOTTOM TABS */
.mobile-nav-tabs {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(3, 8, 39, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 99;
}

@media (min-width: 900px) {
  .mobile-nav-tabs {
    display: none;
  }
}

.mobile-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--mute);
  background: none;
  border: none;
  font-size: 0.68rem;
  text-decoration: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-tab-btn.active, .mobile-tab-btn:hover {
  color: var(--gold);
}

.mobile-tab-btn svg {
  width: 20px;
  height: 20px;
}

/* FLOATING WHATSAPP BUTTON */
.fab-whatsapp {
  position: fixed;
  bottom: 84px;
  right: 20px;
  background: var(--wa);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: var(--transition);
  text-decoration: none;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  background: var(--wa-hover);
}

@media (min-width: 900px) {
  .fab-whatsapp {
    bottom: 24px;
  }
}

/* MODALS & DIALOGS */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--deep);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  width: 100%;
  max-width: 600px;
  padding: 28px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-box.modal-large {
  max-width: 880px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 186, 79, 0.2);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--mute);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #fff;
}

/* OWNER MANAGEMENT PORTAL */
.owner-portal-panel {
  display: none;
  background: var(--deep);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  overflow-y: auto;
  padding-bottom: 40px;
}

.owner-portal-panel.active {
  display: block;
}

.owner-header-bar {
  background: #02051a;
  border-bottom: 2px solid var(--gold);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
}

.owner-nav-tabs {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  border-bottom: 1px solid rgba(226, 186, 79, 0.25);
  padding-bottom: 10px;
  overflow-x: auto;
}

.owner-tab-link {
  background: none;
  border: none;
  color: var(--mute);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.owner-tab-link.active {
  background: var(--gold-gradient);
  color: #030827;
}

.owner-view-tab {
  display: none;
}

.owner-view-tab.active {
  display: block;
}

.admin-table-container {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

table.admin-table th {
  background: rgba(3, 8, 39, 0.8);
  padding: 14px 16px;
  color: var(--gold-light);
  border-bottom: 1px solid var(--card-border);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

table.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(226, 186, 79, 0.1);
  color: var(--ink);
}

table.admin-table tr:hover td {
  background: rgba(226, 186, 79, 0.05);
}

.table-img-thumb {
  width: 60px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--card-border);
}

/* TOAST NOTIFICATION */
#toastNotification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #030827;
  border: 1px solid var(--gold);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

#toastNotification.show {
  transform: translateX(-50%) translateY(0);
}

/* ======================================================== */
/* SCROLL & SLIDE OPTIONS ENHANCEMENTS                      */
/* ======================================================== */

/* 1. SCROLL PROGRESS BAR */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #e2ba4f 0%, #fceda2 50%, #e2ba4f 100%);
  z-index: 99999;
  box-shadow: 0 0 10px rgba(226, 186, 79, 0.7);
  transition: width 0.1s ease-out;
  pointer-events: none;
}

/* 2. FLOATING SCROLL TO TOP BUTTON */
.scroll-to-top-btn {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #030827;
  border: 1px solid rgba(226, 186, 79, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(226, 186, 79, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 990;
}

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

.scroll-to-top-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 25px rgba(226, 186, 79, 0.6);
}

@media (min-width: 900px) {
  .scroll-to-top-btn {
    bottom: 30px;
  }
}

/* 3. HERO SLIDER CAROUSEL */
.hero-slider-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(226, 186, 79, 0.3);
  height: 400px;
  background: var(--deep);
}

.hero-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(3, 8, 39, 0.75);
  border: 1px solid rgba(226, 186, 79, 0.5);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: var(--transition);
  z-index: 5;
  backdrop-filter: blur(6px);
}

.hero-slider-arrow:hover {
  background: var(--gold);
  color: #030827;
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-arrow.hero-prev {
  left: 14px;
}

.hero-slider-arrow.hero-next {
  right: 14px;
}

.hero-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.hero-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(226, 186, 79, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dots .dot.active {
  width: 28px;
  border-radius: 12px;
  background: var(--gold);
}

/* 4. HERO SCROLL CUE */
.hero-scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.scroll-down-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--mute);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}

.scroll-down-link:hover {
  color: var(--gold-light);
}

.scroll-mouse-icon {
  width: 22px;
  height: 34px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheelBounce 1.6s infinite ease-in-out;
}

@keyframes scrollWheelBounce {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

/* 5. PROPERTIES VIEW SWITCH & SLIDER CONTROLS */
.properties-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.view-mode-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--deep);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
}

.view-mode-label {
  font-size: 0.8rem;
  color: var(--mute);
  margin-left: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--mute);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.view-btn.active {
  background: var(--gold-gradient);
  color: #030827;
  box-shadow: 0 2px 10px rgba(226, 186, 79, 0.3);
}

.properties-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 4px;
}

.slider-status-text {
  font-size: 0.9rem;
  color: var(--gold-light);
  font-weight: 600;
}

.slider-nav-arrows {
  display: flex;
  gap: 10px;
}

.slider-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--deep);
  border: 1px solid var(--card-border);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.slider-nav-btn:hover {
  background: var(--gold);
  color: #030827;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.slider-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Slider Track Mode for Properties */
.properties-wrapper.slider-mode {
  position: relative;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--deep);
}

.properties-wrapper.slider-mode::-webkit-scrollbar {
  height: 8px;
}

.properties-wrapper.slider-mode::-webkit-scrollbar-track {
  background: var(--deep);
  border-radius: 4px;
}

.properties-wrapper.slider-mode::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.properties-wrapper.slider-mode .properties-grid {
  display: flex;
  gap: 24px;
  width: max-content;
}

.properties-wrapper.slider-mode .property-card {
  width: 340px;
  min-width: 340px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .properties-wrapper.slider-mode .property-card {
    width: 370px;
    min-width: 370px;
  }
}

/* 6. REVIEWS SLIDER */
.reviews-slider-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.reviews-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 2px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--deep);
}

.reviews-wrapper::-webkit-scrollbar {
  height: 6px;
}

.reviews-wrapper::-webkit-scrollbar-track {
  background: var(--deep);
  border-radius: 3px;
}

.reviews-wrapper::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.reviews-wrapper .reviews-grid {
  display: flex;
  gap: 20px;
  width: max-content;
}

.reviews-wrapper .review-card {
  width: 320px;
  min-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .reviews-wrapper .review-card {
    width: 360px;
    min-width: 360px;
  }
}

/* 7. MODAL GALLERY SLIDER */
.modal-gallery-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  border: 1px solid var(--card-border);
  background: var(--deep);
}

.modal-gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.modal-gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.modal-thumb-btn {
  width: 70px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  padding: 0;
  background: var(--deep);
}

.modal-thumb-btn.active, .modal-thumb-btn:hover {
  border-color: var(--gold);
  transform: scale(1.05);
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================================================== */
/* 8. SPA MULTI-VIEW TAB ROUTING (STANDALONE PAGES)         */
/* ======================================================== */
.spa-view {
  display: none;
}

.spa-view.active {
  display: block;
  animation: fadeInView 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInView {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Tab Links Active Highlight */
nav.main-nav a.nav-tab-link.active {
  color: #030827 !important;
  background: var(--gold-gradient) !important;
  box-shadow: 0 4px 15px rgba(226, 186, 79, 0.3);
  font-weight: 600;
}

.mobile-nav-tabs .mobile-tab-btn.active {
  color: var(--gold) !important;
}

/* ABOUT PAGE STYLING */
.about-section {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-story-card, .about-pillars-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.credentials-badge-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--deep);
  border: 1px solid rgba(226, 186, 79, 0.35);
  padding: 12px 18px;
  border-radius: 12px;
  flex: 1;
  min-width: 200px;
}

.cert-icon {
  font-size: 1.8rem;
}

.cert-badge strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.85rem;
}

.cert-badge span {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}

.about-pillars-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-pillars-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pillar-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(226, 186, 79, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-pillars-list strong {
  color: var(--gold-light);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 2px;
}

.about-pillars-list p {
  color: var(--mute);
  font-size: 0.88rem;
  line-height: 1.5;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

@media (min-width: 800px) {
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-stat-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-stat-box:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.about-stat-box h3 {
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.about-stat-box p {
  color: var(--mute);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-office-banner {
  background: linear-gradient(135deg, rgba(12, 27, 99, 0.9), rgba(3, 8, 39, 0.95));
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ======================================================== */
/* 2026 OWNER LIVE CONTROL BAR & EDIT PILLS                 */
/* ======================================================== */
.owner-live-bar {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: linear-gradient(90deg, #061138 0%, #102157 50%, #061138 100%);
  border-bottom: 2px solid var(--gold);
  padding: 8px 18px;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  font-family: inherit;
}

.owner-live-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.owner-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}

.owner-live-badge {
  background: var(--gold);
  color: #030827;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.owner-section-ctrl {
  margin-top: 10px;
  display: inline-flex;
  gap: 8px;
}

.owner-edit-pill-btn {
  background: rgba(226, 186, 79, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.owner-edit-pill-btn:hover {
  background: var(--gold);
  color: #030827;
  transform: translateY(-1px);
}

/* ======================================================== */
/* FAQ SECTION STYLES                                       */
/* ======================================================== */
.faq-section {
  padding: 60px 0;
  background: rgba(3, 8, 39, 0.45);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.faq-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.3s ease;
  position: relative;
}

.faq-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.faq-q {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.faq-q-icon {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1.2;
}

.faq-a {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink);
}

/* OWNER CONTENT MANAGER TABS & ACCORDION CARDS */
.cms-section-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.cms-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 186, 79, 0.15);
}

.cms-card-title {
  font-size: 1.15rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}



