/**
 * Contact Page Styles - EasyFlyTrip
 * Used by: contactpage.php only
 * Version: 1.0
 * Date: February 21, 2026
 */

/* ============================================
   HERO BANNER
   ============================================ */
.cp-hero {
  background: linear-gradient(135deg, #0d2653 0%, #1565c0 100%);
  color: #fff;
  text-align: center;
  padding: 52px 20px 42px;
}
.cp-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -.5px;
}
.cp-hero p {
  font-size: 1rem;
  opacity: .88;
  margin: 0 auto;
  max-width: 520px;
}

/* ============================================
   QUICK INFO CARDS
   ============================================ */
.cp-cards-wrap {
  background: #f7f8fa;
  padding: 36px 0;
}
.cp-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.cp-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
  padding: 28px 24px 22px;
  flex: 1 1 220px;
  max-width: 260px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.cp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}
.cp-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 22px;
  color: #fff;
  background: #1565c0;
}
/* WhatsApp green icon */
.cp-card-icon.wa,
.cp-info-ico.wa {
  background: #25d366;
}
/* Email blue icon (explicit) */
.cp-card-icon.em,
.cp-info-ico.em {
  background: #1565c0;
}
.cp-card h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin: 0 0 6px;
  font-weight: 600;
}
.cp-card p,
.cp-card a {
  font-size: .95rem;
  color: #333;
  margin: 0;
  line-height: 1.55;
  word-break: break-word;
  text-decoration: none;
}
.cp-card a:hover {
  color: #1565c0;
  text-decoration: underline;
}

/* ============================================
   MAIN SECTION
   ============================================ */
.cp-main {
  padding: 48px 0 56px;
}

/* ============================================
   FORM PANEL (kept for future use)
   ============================================ */
.cp-form-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, .08);
  padding: 34px 30px 30px;
}
.cp-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 3px solid #1565c0;
}
.cp-form .form-group {
  margin-bottom: 16px;
}
.cp-form .form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.cp-form input,
.cp-form select,
.cp-form textarea {
  width: 100%;
  border: 1.5px solid #dde1e7;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: .95rem;
  color: #333;
  background: #fafbfc;
  transition: border-color .25s, box-shadow .25s;
  outline: none;
  box-sizing: border-box;
}
.cp-form input:focus,
.cp-form select:focus,
.cp-form textarea:focus {
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .12);
  background: #fff;
}
.cp-form textarea {
  resize: vertical;
  min-height: 120px;
}
.cp-form .row-half {
  display: flex;
  gap: 14px;
}
.cp-form .row-half .form-group {
  flex: 1;
}
.cp-submit-btn {
  width: 100%;
  padding: 13px;
  background: #1565c0;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .3px;
  transition: opacity .25s, transform .2s;
  margin-top: 6px;
}
.cp-submit-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */
.cp-success {
  text-align: center;
  padding: 50px 20px;
}
.cp-success .cp-success-icon {
  font-size: 52px;
  color: #27ae60;
  margin-bottom: 16px;
  display: block;
}
.cp-success h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.cp-success p {
  color: #666;
  font-size: .95rem;
}

/* ============================================
   INFO PANEL
   ============================================ */
.cp-info-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, .08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cp-info-list {
  padding: 28px 28px 0;
  flex: 1;
}
.cp-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f2f2f2;
}
.cp-info-row:last-child {
  border-bottom: none;
}
.cp-info-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1565c0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}
.cp-info-text {
  flex: 1;
}
.cp-info-text strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: #999;
  margin-bottom: 3px;
}
.cp-info-text span,
.cp-info-text a {
  font-size: .92rem;
  color: #333;
  line-height: 1.55;
  text-decoration: none;
}
.cp-info-text a:hover {
  color: #1565c0;
}

/* ============================================
   SOCIAL BUTTONS
   ============================================ */
.cp-social {
  padding: 16px 28px 22px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.cp-social span {
  font-size: .82rem;
  color: #888;
  margin-right: 4px;
}
.cp-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1565c0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.cp-social-btn:hover {
  opacity: .85;
  transform: translateY(-2px);
  color: #fff;
}
.cp-social-btn.wa {
  background: #25d366;
}
.cp-social-btn.fb {
  background: #1877f2;
}
.cp-social-btn.ig {
  background: #e1306c;
}

/* ============================================
   MAP
   ============================================ */
.cp-map-wrap {
  position: relative;
  height: 380px;
  margin-top: auto;
}
.cp-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.cp-map-link {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #fff;
  border: 1.5px solid #1565c0;
  color: #1565c0;
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.cp-map-link:hover {
  background: #1565c0;
  color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  .cp-hero {
    padding: 34px 16px 28px;
  }
  .cp-form-panel,
  .cp-info-panel {
    padding: 22px 16px;
    border-radius: 12px;
  }
  .cp-info-panel {
    margin-top: 20px;
  }
  .cp-form .row-half {
    flex-direction: column;
    gap: 0;
  }
  .cp-cards {
    gap: 12px;
  }
  .cp-card {
    max-width: 100%;
    padding: 20px 16px;
  }
  .cp-map-wrap {
    height: 240px;
  }
  .cp-main {
    padding: 28px 0 36px;
  }
}
