/* =====================================================
   contact.css — Maris Vlora Boat Tours
   Contact page. Requires shared.css.
   ===================================================== */

/* ── PAGE HEADER ── */
.contact-hero {
  background: var(--navy);
  padding: 80px 0 56px;
}

.contact-hero .tour-breadcrumb a,
.contact-hero .tour-breadcrumb span {
  color: rgba(255,255,255,0.65) !important;
}

.contact-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--white);
  margin: 16px 0 14px;
}

.contact-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 520px;
}

/* ── BODY LAYOUT ── */
.contact-body {
  background: var(--cream);
  padding: 56px 0 72px;
}

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

/* ── WHATSAPP CARD ── */
.contact-wa-card {
   background: #145f30;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 24px rgba(37,211,102,0.25);
  margin-bottom: 28px;
}

.contact-wa-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-wa-text {
  flex: 1;
}

.contact-wa-text h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-wa-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin: 0;
}

.contact-wa-btn {
  flex-shrink: 0;
  background: var(--white) !important;
  color: #145f30 !important;  /* dark green on white — passes AA */
  border-color: var(--white) !important;
  font-size: 14px !important;
}

.contact-wa-btn:hover {
  background: var(--cream) !important;
  border-color: var(--cream) !important;
  color: #0f4a25 !important;
}

/* ── DIVIDER ── */
.contact-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.contact-divider span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── FORM CARD ── */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}

.contact-form-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form-card > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ── FORM FIELDS ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.contact-field label span[aria-hidden] {
  color: var(--orange);
  margin-left: 2px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,110,140,0.12);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--gray-400);
}

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

.contact-error {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  min-height: 16px;
}

/* Honeypot — visually hidden, still in DOM */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Turnstile wrapper */
.cf-turnstile {
  margin-top: 4px;
}

/* Submit button */
.contact-submit {
  width: 100%;
  justify-content: center;
  position: relative;
  gap: 10px;
}

.contact-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.contact-submit.is-loading .contact-submit-label {
  opacity: 0.7;
}

.contact-submit.is-loading .contact-submit-spinner {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success / fail messages */
.contact-success,
.contact-fail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
}

.contact-success {
  background: #f0fdf4;
  color: #15803d;  /* one shade darker — passes AA */
  border: 1.5px solid #bbf7d0;
}

.contact-success svg {
  color: var(--green);
  flex-shrink: 0;
}

.contact-fail {
  background: #fef2f2;
  color: #b91c1c;  /* darker red — passes AA */
  border: 1.5px solid #fecaca;
}

/* ── SIDEBAR ── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.contact-info-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-info-list svg {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-info-list a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-map-btn {
  width: 100%;
  justify-content: center;
}

/* Tours card */
.contact-info-card--tours {}

.contact-tour-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--dur) var(--ease);
  line-height: 1.35;
}

.contact-tour-link:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-tour-link:hover {
  color: var(--orange);
}

.contact-tour-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--teal);
  background: var(--teal-light);
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact-tour-tag--evening {
  color: var(--orange-dark);
  background: var(--sunset-light);
}

/* FAQ card */
.contact-info-card--faq {
  background: var(--teal-light);
}

.contact-info-card--faq p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.contact-info-card--faq a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .contact-body-inner {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 56px 0 40px;
  }

  .contact-body {
    padding: 32px 0 48px;
  }

  .contact-wa-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }

  .contact-wa-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-form-card {
    padding: 20px 16px;
  }
}
