/* ========================================================
   assets/css/contact.css - SAH GROWTH GROUP CONTACT US PAGE
   Luxury Palette: Porcelain White, Warm Ivory, Regal Gold, Obsidian & Off-Black
   Uniform 50px Section Padding
   ======================================================== */

:root {
  --obsidian: #0A0A0E;
  --off-black: #111116;
  --charcoal-card: #14151E;
  --charcoal-border: rgba(212, 175, 55, 0.3);
  
  --gold: #D4AF37;
  --gold-light: #ECC880;
  --gold-bright: #F7E5B5;
  --gold-dark: #B88924;
  --gold-gradient: linear-gradient(135deg, #ECC880 0%, #D4AF37 50%, #B88924 100%);
  --gold-glow: 0 8px 25px rgba(212, 175, 55, 0.28);
  
  --pure-white: #FFFFFF;
  --off-white: #FAF8F5;
  --warm-ivory: #F5F2EB;
  --soft-cream: #EDE8DF;
  
  --text-dark: #121217;
  --text-muted-dark: #4A4A55;
  --text-light: #FFFFFF;
  --text-muted-light: #C8C5BE;
}

.contact-page-wrap {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  color: var(--text-dark);
  background-color: var(--off-white);
  overflow-x: hidden;
}

.contact-page-wrap a {
  text-decoration: none;
}

.contact-page-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================================
   SHARED UTILITIES & BADGES
   ======================================================== */
.contact-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #9D721A;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-hero .contact-section-tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

.contact-section-tag i {
  color: var(--gold);
  font-size: 11px;
}

.contact-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 16px;
}

.contact-section-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.contact-section-desc {
  color: var(--text-muted-dark);
  font-size: 15px;
  line-height: 1.85;
  max-width: 680px;
  margin: 0 auto;
}

/* ========================================================
   1. CINEMATIC HERO SECTION (Centered "Contact Us" with Luxury Crest)
   ======================================================== */
.contact-hero-section {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 105px 0 65px;
  overflow: hidden;
  background-color: #0A0A0E;
  border-bottom: 2px solid rgba(212, 175, 55, 0.4);
}

.contact-hero-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.contact-hero-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.05);
  object-fit: cover;
  z-index: 1;
  filter: none;
  transition: transform 6s ease;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    radial-gradient(circle at center, rgba(10, 10, 14, 0.5) 0%, rgba(10, 10, 14, 0.82) 70%, rgba(10, 10, 14, 0.95) 100%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.7) 0%, transparent 50%, rgba(8, 8, 12, 0.85) 100%);
}

.contact-hero-center {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #ECEAE4;
  margin-bottom: 14px;
  background: rgba(10, 10, 14, 0.6);
  backdrop-filter: blur(8px);
  padding: 5px 18px;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.contact-hero-breadcrumb a {
  color: #FFFFFF;
  transition: color 0.25s ease;
}

.contact-hero-breadcrumb a:hover {
  color: var(--gold-light);
}

.contact-prestige-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 20px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-bright);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.contact-prestige-eyebrow .star {
  color: var(--gold);
  font-size: 13px;
}

.contact-hero-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
}

.contact-hero-main-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.35));
}

.contact-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 16px;
  max-width: 320px;
}

.contact-hero-divider .line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-hero-divider .diamond {
  color: var(--gold);
  font-size: 16px;
  display: inline-flex;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.7));
}

.contact-hero-subtag {
  font-size: clamp(12.5px, 1.5vw, 15px);
  color: #ECEAE4;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ========================================================
   2. MAIN CONTACT SECTION & SPLIT GRID
   ======================================================== */
.contact-main-section {
  padding: 50px 0;
  background: var(--off-white);
}

.contact-grid-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 50px;
}

/* LEFT: LUXURY CONTACT INFO CARD (Obsidian & Regal Gold) */
.luxury-contact-info-card {
  background: linear-gradient(145deg, #161722 0%, #0E0E15 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 45px 38px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.luxury-contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.contact-info-header {
  margin-bottom: 32px;
}

.contact-info-header .contact-section-tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

.contact-info-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 27px;
  color: #FFFFFF;
  margin-bottom: 12px;
  font-weight: 700;
}

.contact-info-header p {
  color: #C5C5CE;
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 35px;
}

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

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.38);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-detail-row:hover .contact-icon-bubble {
  background: var(--gold);
  color: #0A0A0E;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.contact-detail-content h4 {
  font-size: 13.5px;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-detail-content p,
.contact-detail-content a {
  color: #EDE8DF;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  display: block;
  transition: color 0.25s ease;
}

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

.contact-social-strip {
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-social-strip span {
  font-size: 12px;
  color: #A3A3AC;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-right: 6px;
}

.contact-social-strip a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: #EDE8DF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
}

.contact-social-strip a:hover {
  background: var(--gold);
  color: #0A0A0E;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* RIGHT: PROPERTY ENQUIRY FORM (Crisp Porcelain White & Gold) */
.luxury-contact-form-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow: 0 15px 45px rgba(20, 20, 30, 0.07);
  position: relative;
}

.luxury-contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 20px 20px 0 0;
}

.form-header-area {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.form-header-area h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 27px;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.form-header-area p {
  color: var(--text-muted-dark);
  font-size: 14.5px;
  margin: 0;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-field-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.contact-field-group label span {
  color: #B88924;
  font-weight: 700;
}

.contact-field-group input,
.contact-field-group select,
.contact-field-group textarea {
  width: 100%;
  padding: 13px 18px;
  background: #F9F9FC;
  border: 1.5px solid #E2DFD8;
  border-radius: 10px;
  color: var(--text-dark);
  font-size: 14.5px;
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
}

.contact-field-group input::placeholder,
.contact-field-group textarea::placeholder {
  color: #9292A0;
}

.contact-field-group select option {
  background: #FFFFFF;
  color: var(--text-dark);
  padding: 8px;
}

.contact-field-group input:focus,
.contact-field-group select:focus,
.contact-field-group textarea:focus {
  border-color: var(--gold);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

.contact-field-group textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 36px;
  background: var(--gold-gradient);
  color: #0A0A0E;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.32);
  transition: all 0.3s ease;
}

.btn-contact-submit:hover {
  background: #111116;
  color: var(--gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ========================================================
   3. GOOGLE MAP SECTION (Porcelain Ivory Canvas)
   ======================================================== */
.contact-map-section {
  padding: 50px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.luxury-map-box {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 15px 45px rgba(20, 20, 30, 0.08);
  overflow: hidden;
}

.luxury-map-frame {
  width: 100%;
  height: 440px;
  border: 0;
  border-radius: 14px;
  display: block;
}

.map-footer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 16px 12px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #14151F 0%, #0D0E14 100%);
  border-radius: 14px;
  margin-top: 16px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.map-footer-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.map-footer-info p {
  color: #D6D6DF;
  font-size: 13.5px;
  margin: 0;
}

.btn-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-directions-link:hover {
  background: var(--gold);
  color: #0A0A0E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

/* ========================================================
   4. CALL TO ACTION BANNER (Grand Regal Obsidian & Gold)
   ======================================================== */
.contact-cta-section {
  padding: 50px 0;
  background: var(--off-white);
}

.luxury-contact-cta {
  border-radius: 24px;
  padding: clamp(45px, 6vw, 75px) clamp(25px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(135deg, rgba(14, 14, 20, 0.95) 0%, rgba(22, 22, 32, 0.9) 100%),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=1920&auto=format&fit=crop") center/cover no-repeat;
  border: 1.5px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.luxury-contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.luxury-contact-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  color: #FFFFFF;
  margin-bottom: 12px;
  font-weight: 700;
}

.luxury-contact-cta h2 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.luxury-contact-cta p {
  color: #D6D6DF;
  font-size: 15px;
  max-width: 580px;
  margin: 0;
  line-height: 1.8;
}

.btn-cta-gold {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #0A0A0E !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.32);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cta-gold:hover {
  background: #FFFFFF;
  color: #0A0A0E !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}

/* ========================================================
   5. SUCCESS POPUP MODAL
   ======================================================== */
.contact-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.contact-popup-backdrop.active {
  display: flex;
}

.contact-popup-card {
  background: linear-gradient(145deg, #161722 0%, #0E0E15 100%);
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  padding: 45px 35px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.25);
  animation: contactPopupSlide 0.35s cubic-bezier(0.2, 0.8, 0.25, 1);
}

@keyframes contactPopupSlide {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-popup-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid var(--gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.contact-popup-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.contact-popup-card p {
  color: #C5C5CE;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-contact-popup-close {
  background: var(--gold-gradient);
  color: #0A0A0E;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 34px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-contact-popup-close:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
}

/* ========================================================
   RESPONSIVE MEDIA QUERIES
   ======================================================== */
@media (max-width: 991px) {
  .contact-hero-section {
    min-height: 380px;
    padding: 95px 0 50px;
  }
  
  .contact-grid-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .luxury-contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-cta-gold {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .contact-hero-section {
    min-height: 350px;
    padding: 85px 0 45px;
  }

  .contact-hero-main-title {
    font-size: 34px;
  }

  .contact-hero-subtag {
    font-size: 11.5px;
    letter-spacing: 1px;
  }
  
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .luxury-contact-info-card,
  .luxury-contact-form-card {
    padding: 30px 22px;
  }
  
  .luxury-map-frame {
    height: 300px;
  }
  
  .map-footer-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-directions-link {
    width: 100%;
    justify-content: center;
  }
}