/* Sobha Sector 63A - Luxury Landing */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #c9a962;
  --gold-light: #e4d4a5;
  --gold-dark: #9a7b3a;
  --charcoal: #1a1a1a;
  --charcoal-soft: #2d2d2d;
  --cream: #f8f6f1;
  --white: #ffffff;
  --text: #333;
  --text-muted: #666;
  --green: #2d5a3d;
  --shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', serif;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(26, 26, 26, 0);
  backdrop-filter: blur(0);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.6rem 2rem;
}

.navbar .logo {
  height: 48px;
  width: auto;
}

.navbar .cta-nav {
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.navbar .cta-nav:hover {
  background: var(--gold-light);
  transform: scale(1.05);
  color: var(--charcoal);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--charcoal);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%),
    url('/images/B1.webp') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out 0.3s both;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero .tagline {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.95;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.hero .cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.hero .btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(201, 169, 98, 0.4);
  color: var(--charcoal);
}

.hero .btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
}

/* Note / Key info strip */
.note-strip {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  color: var(--charcoal);
  padding: 1.2rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.note-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sections common */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gold-dark);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* What makes different */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.diff-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.diff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.2);
}

.diff-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.diff-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Pricing table */
.pricing-section {
  background: var(--charcoal);
  color: var(--white);
  padding: 5rem 2rem;
}

.pricing-section .section-title { color: var(--white); }
.pricing-section .section-subtitle { color: var(--gold-light); }

.table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--charcoal-soft);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pricing-table th {
  background: rgba(201, 169, 98, 0.2);
  color: var(--gold-light);
  font-weight: 600;
}

.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: rgba(255,255,255,0.03); }

.highlight-row {
  background: rgba(201, 169, 98, 0.15);
}

/* Specs section — Artfully Crafted */
.specs-section {
  background: var(--charcoal);
  color: var(--white);
  padding: 5rem 2rem;
}

.specs-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--white);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.specs-block {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-block__heading {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-dl {
  margin: 0;
}

.specs-dl dt {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.85rem;
  font-weight: 500;
}

.specs-dl dt:first-child {
  margin-top: 0;
}

.specs-dl dd {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  color: var(--white);
}

.specs-dl dd:empty {
  display: none;
}

.specs-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-table th {
  background: rgba(201, 169, 98, 0.15);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.specs-table td {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .specs-section {
    padding: 3rem 1rem;
  }
}

/* Amenities grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.amenity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.amenity-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.amenity-card .label {
  padding: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item .answer {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-right: 2rem;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  padding: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: start;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 140px;
}

.footer__links-title,
.footer__cta .footer__links-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__btn {
  padding: 0.65rem 1.25rem;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}

.footer__btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.footer__legal {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer {
  max-width: 820px;
  line-height: 1.75;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.85);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer__copyright {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__bottom-links a:hover {
  color: var(--gold-light);
}

.footer__dot {
  color: rgba(255, 255, 255, 0.4);
  user-select: none;
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 2rem;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 0;
  }
}

/* Buttons / CTA */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(248,246,241,0.5) 100%);
}

.cta-section .btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(201, 169, 98, 0.35);
  color: var(--charcoal);
}

/* Gallery / Image blocks */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 1rem; }
  .navbar { padding: 1rem; }
}

/* List styling */
.spec-list {
  list-style: none;
}

.spec-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
  line-height: 1.6;
}

.spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Building features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.features-grid span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  font-size: 0.95rem;
}

.features-grid span::before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
}

/* Location drive times */
.drive-list {
  list-style: none;
}

.drive-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text);
}

.drive-list li span:last-child {
  color: var(--gold-dark);
  font-weight: 600;
}

/* Note strip CTA */
.note-strip-cta {
  background: var(--charcoal);
  color: var(--gold-light);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.note-strip-cta:hover {
  background: var(--white);
  color: var(--charcoal);
}

/* Lead popup modal */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lead-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lead-modal.is-open .lead-modal__box {
  transform: scale(1);
}

.lead-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.lead-modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  padding: 2rem;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lead-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.lead-modal__close:hover {
  color: var(--charcoal);
}

.lead-modal__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  color: var(--charcoal);
}

.lead-modal__subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.lead-form__row {
  margin-bottom: 1rem;
}

.lead-form__row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.lead-form__row .required {
  color: #c00;
}

.lead-form__row input,
.lead-form__row textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.lead-form__row input:focus,
.lead-form__row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.lead-form__row textarea {
  resize: vertical;
  min-height: 80px;
}

.lead-form__msg {
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.lead-form__msg.is-success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
}

.lead-form__msg.is-error {
  display: block;
  background: #ffebee;
  color: #c62828;
}

.lead-form__submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.lead-form__submit:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.lead-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
