/* ============================================================
   contact.css  –  Contact page styles for NutriconBio Life
   ============================================================ */

/* ── PAGE HERO ──────────────────────────────────────────── */
.contact-hero {
  background: linear-gradient(135deg, #0D2B55 0%, #1a3f75 55%, #1E7A5A 100%);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.contact-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.contact-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #a8d8c8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.contact-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.contact-hero h1 span { color: #4ecda4; }
.contact-hero p {
  font-size: 16px;
  color: #b8d8f0;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 13px;
  color: #5a7a9a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: #2E5FA3; font-weight: 500; transition: color 0.2s; }
.breadcrumb a:hover { color: #1E7A5A; }
.breadcrumb .sep { color: #9ca3af; }

/* ── INFO CARDS ROW ─────────────────────────────────────── */
.contact-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 2px 18px rgba(14,43,85,0.07);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #2E5FA3, #1E7A5A);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.info-card:hover { border-color: #e0eaf8; transform: translateY(-6px); box-shadow: 0 16px 40px rgba(46,95,163,0.14); }
.info-card:hover::before { transform: scaleX(1); }

.info-card-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e8f0fc, #d4ede6);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
  transition: background 0.3s, transform 0.3s;
}
.info-card:hover .info-card-icon {
  background: linear-gradient(135deg, #2E5FA3, #1E7A5A);
  transform: rotate(5deg) scale(1.08);
}
.info-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #0D2B55;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.info-card-content {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}
.info-card-content a {
  color: #2E5FA3;
  transition: color 0.2s;
}
.info-card-content a:hover { color: #1E7A5A; }

/* ── MAIN CONTACT GRID ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  margin-bottom: 36px;
}

/* ── CONTACT FORM ───────────────────────────────────────── */
.contact-form-card {
  background: #fff;
  border-radius: 22px;
  padding: 44px 44px;
  border: 1px solid #e0eaf5;
  box-shadow: 0 4px 24px rgba(14,43,85,0.07);
}
.contact-form-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0D2B55;
  margin-bottom: 6px;
}
.contact-form-card > p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-field label span { color: #e53e3e; }
.form-input {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #fff;
  outline: none;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.form-input:focus {
  border-color: #2E5FA3;
  box-shadow: 0 0 0 3px rgba(46,95,163,0.1);
}
.form-input.error { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,0.1); }
textarea.form-input { resize: vertical; min-height: 120px; }

.char-count { font-size: 11px; color: #9ca3af; text-align: right; margin-top: 4px; }

.btn-send {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #2E5FA3, #1E7A5A);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s, opacity 0.22s;
  box-shadow: 0 6px 20px rgba(46,95,163,0.32);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(46,95,163,0.42); }
.btn-send:active { transform: translateY(0); }
.btn-send:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Success message */
.form-success {
  display: none;
  background: linear-gradient(135deg, #d4ede6, #e8f5f0);
  border: 1.5px solid #1E7A5A;
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
  margin-top: 20px;
}
.form-success .success-icon { font-size: 36px; margin-bottom: 10px; }
.form-success h4 { font-size: 16px; font-weight: 700; color: #1E7A5A; margin-bottom: 6px; }
.form-success p  { font-size: 13px; color: #2d6a4f; }

/* ── SIDE INFO PANEL ────────────────────────────────────── */
.contact-side { display: flex; flex-direction: column; gap: 20px; }

/* Details card */
.side-details-card {
  background: linear-gradient(135deg, #0D2B55, #1a3f75);
  border-radius: 22px;
  padding: 38px 36px;
  color: #fff;
  flex: 1;
}
.side-details-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.side-details-card > p {
  font-size: 13.5px;
  color: #a8c8e8;
  line-height: 1.65;
  margin-bottom: 28px;
}
.detail-list { display: flex; flex-direction: column; gap: 20px; }
.detail-item { display: flex; gap: 16px; align-items: flex-start; }
.detail-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.detail-item-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #7ecaaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.detail-item-text span {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}
.detail-item-text a {
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
}
.detail-item-text a:hover { color: #4ecda4; }

/* Business hours card */
.side-hours-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px 36px;
  border: 1px solid #e0eaf5;
  box-shadow: 0 2px 18px rgba(14,43,85,0.06);
}
.side-hours-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0D2B55;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hours-list { display: flex; flex-direction: column; gap: 10px; }
.hours-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-size: 13.5px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e5e7eb;
  gap: 16px;
}
.hours-row:last-child { border-bottom: none; padding-bottom: 0; }
.hours-row .day { color: #4b5563; font-weight: 500; text-align: left; }
.hours-row .time {
  color: #0D2B55;
  font-weight: 700;
  text-align: center;
}
.hours-row .badge-open {
  background: linear-gradient(135deg, #d4ede6, #e8f5f0);
  color: #1E7A5A;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hours-row .badge-closed {
  background: #fee2e2;
  color: #dc2626;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── MAP SECTION ────────────────────────────────────────── */
.map-section {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(14,43,85,0.12);
  border: 3px solid #0D2B55;
  position: relative;
  height: 380px;
  background: linear-gradient(135deg, #e8f0fc, #d4ede6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder {
  text-align: center;
  position: relative;
  z-index: 1;
}
.map-placeholder .map-icon { font-size: 56px; margin-bottom: 16px; }
.map-placeholder h4 { font-size: 18px; font-weight: 700; color: #0D2B55; margin-bottom: 8px; }
.map-placeholder p { font-size: 13px; color: #4b5563; max-width: 340px; line-height: 1.6; margin: 0 auto 18px; }
.map-placeholder .btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2E5FA3, #1E7A5A);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(46,95,163,0.3);
}
.map-placeholder .btn-directions:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46,95,163,0.42); }

/* Map iframe override */
.map-section iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { flex-direction: row; flex-wrap: wrap; }
  .side-details-card { flex: 1 1 300px; }
  .side-hours-card { flex: 1 1 260px; }
}
@media (max-width: 640px) {
  .contact-main { padding: 20px 14px 48px; }
  .info-cards-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .contact-form-card { padding: 28px 22px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .side-details-card,
  .side-hours-card { padding: 28px 22px; }
  .contact-side { flex-direction: column; }
  .map-section { height: 280px; }
}
