/* ============================
   CONTACT PAGE
============================= */

/* Page Hero */
.contact-hero {
  background: linear-gradient(135deg, var(--deep) 0%, #3a2a15 100%);
  padding: 140px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(184,150,46,0.15), transparent 60%);
  pointer-events: none;
}
.contact-hero .sec-tag { color: var(--gold-light); }
.contact-hero .sec-title { color: white; font-size: 48px; margin-bottom: 12px; }
.contact-hero .sec-title em { color: var(--gold-light); }
.contact-hero .sec-subtitle {
  color: rgba(255,255,255,0.6);
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Breadcrumb */
.contact-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
}
.contact-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-breadcrumb a:hover { color: var(--gold-light); }
.contact-breadcrumb .sep { color: rgba(255,255,255,0.25); }
.contact-breadcrumb .current { color: var(--gold-light); }

/* Info Cards */
.contact-info-section {
  padding: 60px 40px 0;
  background: var(--cream);
}
.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.info-card {
  background: white;
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--cream-dark, #E5D9C5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(42,32,16,0.08);
}
.info-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
}
.info-card-title {
  font-family: 'El Messiri', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 6px;
}
.info-card-text {
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.info-card-text a {
  color: var(--gold);
  text-decoration: none;
}
.info-card-text a:hover { text-decoration: underline; }

/* Contact Main */
.contact-main {
  padding: 60px 40px 80px;
  background: var(--cream);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Contact Form */
.cf-card {
  background: white;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--cream-dark, #E5D9C5);
}
.cf-card .sec-tag { margin-bottom: 4px; }
.cf-card .sec-title { margin-bottom: 24px; font-size: 24px; }
.cf-field { margin-bottom: 18px; }
.cf-field:last-child { margin-bottom: 0; }
.cf-field label {
  display: block;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 6px;
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark, #E5D9C5);
  border-radius: 12px;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  color: var(--deep);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.cf-field input:focus,
.cf-field textarea:focus { border-color: var(--gold); }
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-submit {
  display: block;
  width: 100%;
  padding: 16px;
  margin-top: 24px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 14px;
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.cf-submit:hover {
  background: var(--gold-dark, #8A6E20);
  transform: translateY(-2px);
}
.cf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.cf-msg {
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  margin-top: 16px;
  min-height: 20px;
}
.cf-msg.success { color: #2d7a3a; }
.cf-msg.error { color: #c44; }

/* Map Placeholder */
.map-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--cream-dark, #E5D9C5);
  display: flex;
  flex-direction: column;
}
.map-placeholder {
  flex: 1;
  min-height: 300px;
  background: var(--cream-mid, #EFE6D6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.map-placeholder-icon {
  font-size: 48px;
  opacity: 0.4;
}
.map-placeholder-text {
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  color: var(--muted);
}
.map-footer {
  background: white;
  padding: 20px 24px;
}
.map-footer-title {
  font-family: 'El Messiri', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 4px;
}
.map-footer-text {
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================
   RESPONSIVE
============================= */
@media (max-width: 1024px) {
  .info-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .contact-hero { padding: 120px 22px 60px; }
  .contact-hero .sec-title { font-size: 36px; }
  .contact-info-section { padding: 40px 20px 0; }
  .info-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .contact-main { padding: 40px 20px 60px; }
  .contact-layout { grid-template-columns: 1fr; }
  .cf-card { padding: 24px 18px; }
  .cf-row { grid-template-columns: 1fr; }
}
