/* ══════════════════════════════════════
   FLYZER — contact.css
   Styles specific to the Contact Us page.
   Loads after styles.css.
══════════════════════════════════════ */

/* ══════════════════════════════════════
   PAGE HERO
══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1e1e2e 55%, #2a0a0e 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.page-hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #aaa;
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover { color: var(--red); }
.breadcrumb span:last-child { color: var(--red); }

.page-hero h1 {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
  animation: fadeUp .6s ease both;
}

.page-hero h1 span { color: var(--red); }

.page-hero p {
  color: #aaa;
  font-size: 17px;
  line-height: 1.6;
  max-width: 500px;
  animation: fadeUp .6s .15s ease both;
}

/* ══════════════════════════════════════
   CONTACT INFO CARDS
══════════════════════════════════════ */
.contact-cards-section {
  padding: 70px 0 40px;
  background: var(--white);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-info-card {
  background: var(--gray);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  border-top: 4px solid transparent;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.contact-info-card:hover {
  border-top-color: var(--red);
  box-shadow: 0 12px 36px rgba(0,0,0,.09);
  transform: translateY(-4px);
}

.ci-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.contact-info-card h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.contact-info-card a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: opacity .2s;
}

.contact-info-card a:hover { opacity: .75; }

/* ══════════════════════════════════════
   MAIN CONTACT LAYOUT
══════════════════════════════════════ */
.contact-main {
  padding: 70px 0 90px;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: flex-start;
}

/* ── Form wrap ── */
.contact-form-wrap h2 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  color: var(--black);
  margin: 8px 0 10px;
  line-height: 1.15;
}

.contact-form-wrap h2 span { color: var(--red); }

.form-intro {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Enquiry type tabs */
.enquiry-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.enq-tab {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 30px;
  border: 2px solid var(--light-gray);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all .2s;
}

.enq-tab:hover { border-color: var(--red); color: var(--red); }

.enq-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ── Form fields ── */
.contact-form { width: 100%; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: .3px;
  text-transform: uppercase;
}

.req { color: var(--red); }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--gray);
  border: 2px solid var(--light-gray);
  border-radius: 6px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  background: var(--white);
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
  border-color: var(--red);
  background: #fff5f5;
}

.field-error {
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--red);
  display: none;
}

.field-error.visible { display: block; }

/* Submit button */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 15px 40px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--dark-red);
  transform: translateX(4px);
}

.btn-submit svg { transition: transform .2s; }
.btn-submit:hover svg { transform: translateX(4px); }

/* Success message */
.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: #f0fff4;
  border: 2px solid #68d391;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 24px;
  font-size: 14px;
}

.form-success.visible { display: flex; }
.form-success span { font-size: 22px; }
.form-success strong {
  font-family: var(--font-head);
  font-weight: 800;
  color: #276749;
  display: block;
  margin-bottom: 4px;
}
.form-success p { color: #2f855a; font-size: 13px; }

/* ══════════════════════════════════════
   SIDEBAR CARDS
══════════════════════════════════════ */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--gray);
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 4px solid var(--red);
}

.sc-icon { font-size: 32px; margin-bottom: 12px; }

.sidebar-card h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.sidebar-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.sc-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.sc-list li {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  padding: 5px 0;
  border-bottom: 1px solid var(--light-gray);
}

.sc-list li:last-child { border-bottom: none; }

.btn-sc {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 11px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}

.btn-sc:hover { background: var(--dark-red); }

/* Hours card */
.hours-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
}

.hours-list li:last-child { border-bottom: none; }

.hours-list li span:first-child {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--black);
}

.hours-list li.closed span { color: #aaa; }

/* ══════════════════════════════════════
   MAP SECTION
══════════════════════════════════════ */
.map-section { position: relative; }

.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--light-gray);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #aaa;
  font-family: var(--font-head);
  font-size: 13px;
  border: 2px dashed #ccc;
}

.map-img-placeholder svg { opacity: .35; }

/* Floating overlay card */
.map-overlay {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  z-index: 2;
  text-align: center;
  min-width: 220px;
}

.map-pin { font-size: 36px; margin-bottom: 8px; }

.map-overlay p {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}

.map-overlay small {
  font-size: 12px;
  color: var(--text-light);
  display: block;
  margin-bottom: 16px;
}

.btn-map {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: opacity .2s;
}

.btn-map:hover { opacity: .75; }

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
══════════════════════════════════════ */
@media (max-width: 900px) {
  .page-hero h1        { font-size: 36px; }
  .contact-cards-grid  { grid-template-columns: 1fr 1fr; }
  .contact-layout      { grid-template-columns: 1fr; }
  .contact-sidebar     { order: -1; }
  .map-overlay         { left: 50%; transform: translate(-50%, -50%); }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
══════════════════════════════════════ */
@media (max-width: 600px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
}
