/* ============================================================
   CONTACT PAGE — contact.css
   ============================================================ */

/* === CONTACT LAYOUT === */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 64px 60px 80px;
  align-items: start;
}

/* === CONTACT FORM === */
.contact-panel-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--bark);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

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

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

.form-label {
  display: block;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--warm-gray);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-input {
  width: 100%;
  background: var(--parchment);
  border: 1px solid var(--border);
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  display: block;
  resize: vertical;
}

.contact-input:focus {
  border-color: var(--gold);
  background: var(--cream);
}

.contact-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b6914' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}

.contact-error {
  font-size: 13px;
  color: #8b0000;
  font-style: italic;
  margin-bottom: 14px;
}

.contact-submit-btn {
  background: var(--espresso);
  color: var(--gold-pale);
  border: none;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.25s;
  width: 100%;
  margin-top: 4px;
}

.contact-submit-btn:hover {
  background: var(--bark);
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form success state */
.contact-success {
  text-align: center;
  padding: 48px 32px;
  background: var(--parchment);
  border: 1px solid var(--gold);
}

.contact-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--gold-pale);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-success h3 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 12px;
}

.contact-success p {
  font-size: 15px;
  color: var(--warm-gray);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* === CONTACT INFO (right column) === */
.contact-info-panel {
  background: var(--espresso);
  padding: 40px 36px;
  color: rgba(253, 248, 238, 0.8);
}

.contact-info-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(184, 134, 11, 0.25);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(184, 134, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  margin-top: 2px;
}

.contact-info-label {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 14px;
  color: rgba(253, 248, 238, 0.75);
  font-style: italic;
  line-height: 1.6;
}

.contact-info-value a {
  color: rgba(253, 248, 238, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-value a:hover {
  color: var(--gold-pale);
}

/* === SHOWROOMS SECTION === */
.showrooms-section {
  padding: 24px 60px 72px;
}

.showrooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.showroom-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s;
}

.showroom-card:hover {
  border-color: var(--gold);
}

.showroom-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.85);
}

.showroom-body {
  padding: 24px 22px 28px;
}

.showroom-name {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 8px;
}

.showroom-address {
  font-size: 14px;
  color: var(--warm-gray);
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.6;
}

.showroom-detail {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--bark);
  margin-top: 6px;
}

.showroom-detail a {
  color: var(--bark);
  text-decoration: none;
  transition: color 0.2s;
}

.showroom-detail a:hover {
  color: var(--gold);
}

/* === FAQ SECTION === */
.faq-section {
  padding: 24px 60px 80px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: start;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--espresso);
  line-height: 1.3;
  gap: 20px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--bark);
}

.faq-question[aria-expanded="true"] {
  color: var(--bark);
}

.faq-chevron {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--gold);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 16px;
  color: var(--warm-gray);
  font-style: italic;
  line-height: 1.8;
}

.section-empty-msg {
  font-size: 15px;
  color: var(--warm-gray);
  font-style: italic;
  text-align: center;
  padding: 40px 20px;
  grid-column: 1 / -1;
}

/* === RESPONSIVE === */

@media (max-width: 1024px) {
  .contact-layout   { grid-template-columns: 1fr; gap: 40px; padding: 48px 30px 64px; }
  .showrooms-section{ padding: 24px 30px 56px; }
  .showrooms-grid   { grid-template-columns: repeat(2, 1fr); }
  .faq-section      { padding: 24px 30px 64px; }
}

@media (max-width: 640px) {
  .contact-layout   { padding: 40px 20px 56px; }
  .form-row         { grid-template-columns: 1fr; gap: 0; }
  .showrooms-section{ padding: 20px 20px 48px; }
  .showrooms-grid   { grid-template-columns: 1fr; }
  .faq-section      { padding: 20px 20px 56px; }
  .faq-question     { font-size: 17px; }
}
