/* ============================================
   LANDING-EN.CSS — English Landing Page
   Corallo Residence | Brand Kit Applied
   Fonts: Cormorant Garamond + Raleway
   Colors: #484EA3 | #91CBC5 | #C35031 | #EEEBE5
   ============================================ */

/* ---- Brand Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600;700;800&display=swap');

/* ---- LTR Direction + Base Font ---- */
body {
  direction: ltr;
  text-align: left;
  font-family: 'Raleway', sans-serif;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.btn {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---- Form Controls: LTR ---- */
.form-control {
  direction: ltr;
  text-align: left;
  font-family: 'Raleway', sans-serif;
}

select.form-control {
  background-position: right 1rem center;
  padding-left: 1.1rem;
  padding-right: 2.5rem;
}

/* ---- Testimonial Quote ---- */
.testimonial-card::before {
  right: auto;
  left: 1.5rem;
}

/* ============================================
   BRAND COLOR OVERRIDES
   ============================================ */

/* Gold line → Terracotta */
.gold-line {
  height: 3px;
  width: 56px;
  background: #C35031;
  border-radius: 2px;
  margin: 0.75rem auto 1.5rem;
}

/* Badge gold → Brand indigo */
.badge-gold {
  background: #484EA3;
  color: #ffffff;
  border-color: #484EA3;
}

/* Primary button → Brand indigo */
.btn-gold {
  background: #484EA3;
  color: #ffffff;
  border-color: #484EA3;
}
.btn-gold:hover {
  background: #3a3f8f;
  border-color: #3a3f8f;
  box-shadow: 0 6px 20px rgba(72,78,163,0.35);
}

/* Outline button → Brand indigo */
.btn-outline-gold {
  border-color: #484EA3;
  color: #484EA3;
}
.btn-outline-gold:hover {
  background: #484EA3;
  color: #ffffff;
}

/* Text gold → Brand indigo */
.text-gold { color: #484EA3; }

/* text-gradient on hero title → teal → indigo */
.text-gradient {
  background: linear-gradient(135deg, #91CBC5, #484EA3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
  transition: color 0.25s ease;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navbar-links a:hover {
  color: #91CBC5;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #91CBC5;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav open */
.navbar-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(44, 50, 130, 0.98);
  padding: 1.5rem;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(145,203,197,0.3);
}

/* ============================================
   HERO SEARCH BAR
   ============================================ */
.hero-search-bar {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(145,203,197,0.4);
  border-radius: 60px;
  padding: 0.75rem 0.75rem 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.hero-search-bar select {
  flex: 1;
  min-width: 140px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.hero-search-bar select option {
  background: #3a3f8f;
  color: #ffffff;
}

.hero-search-divider {
  width: 1px;
  height: 32px;
  background: rgba(145,203,197,0.4);
  flex-shrink: 0;
}

/* Search button → Terracotta (stands out on indigo hero) */
.hero-search-btn {
  background: linear-gradient(135deg, #C35031, #d45a3a, #e06b4a);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(195,80,49,0.45);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: #484EA3;
  border-top: none;
  border-bottom: none;
  padding: 1.75rem 0;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  padding: 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
}

.stat-item .stat-lbl {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.3rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   UNIT CARDS
   ============================================ */
.unit-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: auto;
  background: linear-gradient(135deg, #484EA3, #6068b8);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

.unit-card-img {
  position: relative;
}

/* Unit cards — purple highlights */
.unit-card {
  border-color: rgba(72,78,163,0.18);
}

.unit-card:hover {
  border-color: #484EA3;
  box-shadow: 0 8px 32px rgba(72,78,163,0.35);
}

.unit-card-img {
  background: linear-gradient(135deg, #2d3282 0%, #484EA3 50%, #3a3f8f 100%);
}

.unit-card-img::after {
  background: linear-gradient(transparent, #ffffff);
}

.unit-price {
  color: #484EA3;
}

/* ============================================
   WHY INVEST SECTION
   ============================================ */
.invest-card {
  background: #ffffff;
  border: 1px solid rgba(145,203,197,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: var(--transition);
}

.invest-card:hover {
  border-color: rgba(72,78,163,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(72,78,163,0.12);
}

.invest-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.invest-card h3 {
  color: #484EA3;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.invest-card p {
  font-size: 0.92rem;
  margin: 0;
  color: #555;
}

/* Extra trust cards */
.card {
  border: 1px solid rgba(145,203,197,0.25);
}

.card:hover {
  border-color: rgba(72,78,163,0.3);
  box-shadow: 0 8px 24px rgba(72,78,163,0.1);
}

.card h4 {
  color: #484EA3;
}

/* ============================================
   AMENITIES GRID
   ============================================ */
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(145,203,197,0.25);
  border-radius: var(--radius);
  transition: var(--transition);
}

.amenity-item:hover {
  background: rgba(72,78,163,0.06);
  border-color: rgba(72,78,163,0.2);
  transform: translateY(-2px);
}

.amenity-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: rgba(145,203,197,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amenity-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.02em;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  border: 1px solid rgba(145,203,197,0.2);
}

.testimonial-card:hover {
  border-color: rgba(72,78,163,0.25);
}

.testimonial-stars {
  color: #C35031;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-en {
  background: #1e2254;
  border-top: 3px solid #C35031;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  color: #91CBC5;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin: 0;
  font-family: 'Raleway', sans-serif;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-family: 'Raleway', sans-serif;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: #91CBC5;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(145,203,197,0.12);
  border: 1px solid rgba(145,203,197,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #91CBC5;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(145,203,197,0.25);
  transform: translateY(-2px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
  font-family: 'Raleway', sans-serif;
}

.footer-contact-item span:first-child {
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
}

.footer-contact-item .fa-solid {
  font-size: 0.95rem;
  color: #91CBC5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  max-width: 700px;
  margin: 0 auto 0.75rem;
  line-height: 1.6;
  font-family: 'Raleway', sans-serif;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Raleway', sans-serif;
}

/* ============================================
   SCARCITY BAR (Hero)
   ============================================ */
.hero-scarcity {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(195,80,49,0.15);
  border: 1px solid rgba(195,80,49,0.4);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f4a088;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 1.25rem;
}

.hero-scarcity .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C35031;
  animation: pulse-red 1.5s infinite;
  flex-shrink: 0;
}

/* ============================================
   SECTION TITLE + HEADINGS
   ============================================ */
.section-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.section-title p {
  font-family: 'Raleway', sans-serif;
  color: #555;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-toggle { display: flex; }

  .hero-search-bar {
    border-radius: 16px;
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-search-bar select {
    width: 100%;
    border: 1px solid rgba(145,203,197,0.3);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    background: rgba(255,255,255,0.08);
  }

  .hero-search-divider { display: none; }
  .hero-search-btn { width: 100%; text-align: center; }

  .stats-bar-grid { 
    grid-template-columns: 1fr; 
    gap: 1rem; 
    padding: 1rem 0;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem;
  }

  .stat-item:last-child { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
  .stats-bar-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   RTL OVERRIDES — Arabic Language Mode
   ============================================ */
[dir=rtl] body {
  font-family: 'Cairo', sans-serif;
  text-align: right;
}

[dir=rtl] h1,
[dir=rtl] h2,
[dir=rtl] h3,
[dir=rtl] h4,
[dir=rtl] h5 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
}

[dir=rtl] .btn { font-family: 'Cairo', sans-serif; }

[dir=rtl] .navbar-links { flex-direction: row-reverse; }
[dir=rtl] .navbar-links.open { text-align: right; }
[dir=rtl] .hero-content { text-align: center; }
[dir=rtl] .hero-search-bar { flex-direction: row-reverse; }
[dir=rtl] .hero-search-bar select { font-family: 'Cairo', sans-serif; text-align: right; }
[dir=rtl] .hero-scarcity { font-family: 'Cairo', sans-serif; flex-direction: row-reverse; }

[dir=rtl] .stat-item { border-right: none; border-left: 1px solid rgba(255,255,255,0.15); }
[dir=rtl] .stat-item:last-child { border-left: none; }
[dir=rtl] .stat-item .stat-num { font-family: 'Cairo', sans-serif; }
[dir=rtl] .stat-item .stat-lbl { font-family: 'Cairo', sans-serif; text-transform: none; letter-spacing: 0; }

[dir=rtl] .unit-card-badge { left: auto; right: 1rem; }
[dir=rtl] .unit-card-body { text-align: right; }
[dir=rtl] .unit-specs { justify-content: flex-end; }

[dir=rtl] .invest-card { text-align: center; }
[dir=rtl] .invest-card p { font-family: 'Cairo', sans-serif; }

[dir=rtl] .form-control { direction: rtl; text-align: right; font-family: 'Cairo', sans-serif; }
[dir=rtl] select.form-control { background-position: left 1rem center; padding-right: 1.1rem; padding-left: 2.5rem; }
[dir=rtl] .form-label { font-family: 'Cairo', sans-serif; }
[dir=rtl] .lead-form-wrap { text-align: right; }

[dir=rtl] .testimonial-card { text-align: right; }
[dir=rtl] .testimonial-card::before { right: 1.5rem; left: auto; }

[dir=rtl] .footer-grid { direction: rtl; }
[dir=rtl] .footer-col { text-align: right; }
[dir=rtl] .footer-col ul { text-align: right; }
[dir=rtl] .footer-col h4 { font-family: 'Cairo', sans-serif; text-transform: none; letter-spacing: 0; }
[dir=rtl] .footer-col p,
[dir=rtl] .footer-col a,
[dir=rtl] .footer-col ul li { font-family: 'Cairo', sans-serif; }
[dir=rtl] .footer-social { justify-content: flex-end; }
[dir=rtl] .footer-contact-item { flex-direction: row-reverse; font-family: 'Cairo', sans-serif; }
[dir=rtl] .footer-disclaimer,
[dir=rtl] .footer-copy { font-family: 'Cairo', sans-serif; text-align: center; }

[dir=rtl] .section-title { text-align: center; }
[dir=rtl] .section-title p { font-family: 'Cairo', sans-serif; }
[dir=rtl] .amenity-item span { font-family: 'Cairo', sans-serif; }
[dir=rtl] .card p,
[dir=rtl] .card h4 { font-family: 'Cairo', sans-serif; }
[dir=rtl] .card { text-align: center; }
[dir=rtl] .lead-form-wrap h3 { font-family: 'Cairo', sans-serif; }
[dir=rtl] .lead-form-wrap p { font-family: 'Cairo', sans-serif; }

/* ── Contact Section ── */
.contact-section {
  background: #E8E4DC;
  padding: 5rem 1.5rem;
}
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.contact-sub {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.65;
  font-family: 'Raleway', sans-serif;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.contact-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.98rem;
  font-family: 'Raleway', sans-serif;
  background: #fff;
  color: #2a2a2a;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-input:focus { border-color: #484EA3; }
.contact-select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.contact-btn {
  width: 100%;
  padding: 1rem;
  background: #484EA3;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.05rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.03em;
}
.contact-btn:hover { background: #3a3f8f; }
.contact-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.contact-result { margin-top: 0.5rem; font-size: 0.95rem; font-family: 'Raleway', sans-serif; }
.contact-result.success { color: #1a7a4a; }
.contact-result.error   { color: #c35031; }

/* Contact RTL overrides */
[dir=rtl] .contact-wrap  { text-align: right; }
[dir=rtl] .contact-title { font-family: 'Cairo', sans-serif; }
[dir=rtl] .contact-sub   { font-family: 'Cairo', sans-serif; }
[dir=rtl] .contact-input { font-family: 'Cairo', sans-serif; text-align: right; direction: rtl; }
[dir=rtl] .contact-btn   { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
[dir=rtl] .contact-result { font-family: 'Cairo', sans-serif; }

/* Hero BG Classes */
.hero { position: relative; overflow: hidden; background: none; }
.hero-photo-layer { position: absolute; inset: -15px; background: url('../icons/new.jpeg') center/cover no-repeat; filter: blur(5px); -webkit-filter: blur(5px); z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: rgba(8,6,28,0.55); z-index: 1; }
.hero-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; z-index: 2; }
.hero-container { width: 100%; position: relative; z-index: 3; }
