/* ==========================================================================
   OASIS POOL SERVICES — Contact Page Stylesheet
   Contact section, form, map, FAQ
   ========================================================================== */

/* --------------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: none;
  border-bottom: 3px solid var(--color-cta);
  box-shadow: var(--shadow-hover);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(12, 35, 64, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-secondary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  font-size: 1.05rem;
  color: var(--color-primary);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--color-secondary);
}

/* Contact Form (light version for contact page) */
.contact-form-wrap {
  background: var(--color-white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-hover);
}

.contact-form-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  color: var(--color-text-light);
  margin-bottom: 32px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  min-height: 44px;
  border: 2px solid var(--color-surface);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-cta);
  color: var(--color-white);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.form-submit:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-cta);
  color: var(--color-white);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
}

.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.form-note svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
  }
}

/* --------------------------------------------------------------------------
   MAP SECTION
   -------------------------------------------------------------------------- */
.map-section {
  padding: 0 0 80px;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--color-surface);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.service-area {
  text-align: center;
}

.service-area h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.service-area-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-tag {
  padding: 12px 20px;
  background: var(--color-white);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.area-tag:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
  background: var(--color-surface);
}

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

.faq-item {
  background: var(--color-white);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  transition: color 0.3s ease;
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-light);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

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

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   MOBILE OVERRIDES
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .map-placeholder,
  .map-section iframe {
    height: 250px;
  }

  .faq-question {
    padding: 16px 16px;
    font-size: 0.95rem;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
  }
}
