/* ============================================================
   contact.css — Contact Page Styles
   ============================================================ */

/* ── Header ── */
.contact-header {
  background: var(--dark);
  padding: 80px 24px 40px;
  border-bottom: 4px solid var(--red);
}

.contact-header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-logo-link { flex-shrink: 0; }
.header-logo {
  width: 70px;
  height: 70px;
  max-width: 70px;
  max-height: 70px;
  object-fit: contain;
  display: block;
}

.contact-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.contact-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
}

/* ── Main wrapper ── */
.contact-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── WhatsApp Section ── */
.whatsapp-section {
  padding: 40px 0 0;
}

.whatsapp-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  border-right: 5px solid #25D366;
  flex-wrap: wrap;
}
body.lang-en .whatsapp-card {
  border-right: none;
  border-left: 5px solid #25D366;
}

.whatsapp-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: rgba(37,211,102,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.whatsapp-text { flex: 1; min-width: 200px; }

.whatsapp-text h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.whatsapp-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.whatsapp-btn {
  display: inline-block;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  flex-shrink: 0;
}
.whatsapp-btn:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

/* ── Info Cards ── */
.contact-info-section {
  padding: 36px 0 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
}

.info-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  line-height: 1;
}

.info-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.info-link {
  display: inline-block;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(200,16,46,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.info-link:hover { border-color: var(--red); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.hours-table td {
  padding: 5px 0;
  color: var(--text-muted);
  vertical-align: top;
}
.hours-table td:last-child {
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  direction: ltr;
}
body.lang-ar .hours-table td:last-child { text-align: left; }
body.lang-en .hours-table td:last-child { text-align: right; }

.closed-row td { color: var(--red) !important; }

/* ── Enquiry Form ── */
.form-section {
  padding: 36px 0 0;
}

.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 36px 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}

.form-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-en);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
  background: #fff;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error {
  background: rgba(200,16,46,0.07);
  color: var(--red);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.form-submit-btn {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-ar);
  cursor: pointer;
  transition: all 0.22s;
  box-shadow: 0 4px 16px rgba(26,107,58,0.25);
}
.form-submit-btn:hover {
  background: var(--green-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,107,58,0.35);
}
.form-submit-btn:active { transform: translateY(0); }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ── Success State ── */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 60px; height: 60px;
  background: rgba(26,107,58,0.12);
  color: var(--green);
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-weight: 700;
}
.form-success p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 620px) {
  .whatsapp-card { flex-direction: column; align-items: flex-start; }
  .whatsapp-btn { width: 100%; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px 28px; }
  .contact-header-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Contact Method Selector ── */
.method-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.method-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.method-dropdown-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.method-dropdown {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 11px 40px 11px 16px;
  font-size: 0.95rem;
  font-family: var(--font-ar);
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
body.lang-en .method-dropdown { font-family: var(--font-en); }
.method-dropdown:focus { border-color: var(--red); }

.dropdown-arrow {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1rem;
}
body.lang-en .dropdown-arrow { left: auto; right: 14px; }

.method-panel { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ── Submit button variants ── */
.whatsapp-submit { background: #25D366; box-shadow: 0 4px 16px rgba(37,211,102,0.25); }
.whatsapp-submit:hover { background: #1ebe5a; transform: translateY(-2px); }
.email-submit { background: var(--red); box-shadow: 0 4px 16px rgba(200,16,46,0.25); }
.email-submit:hover { background: var(--red-deep); transform: translateY(-2px); }
