/* ============================================================
   SOFTECHPILLAR — contact.css
   Dedicated stylesheet for contact.php
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.contact-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.0;
  margin-bottom: 1.2rem;
}

/* ── CONTACT GRID LAYOUT ──────────────────────────────────── */
.contact-section { padding: 4rem 0 5rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

/* ── LEFT: INFO PANEL ─────────────────────────────────────── */
.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.contact-info-sub { font-size: 0.88rem; color: var(--gray); line-height: 1.8; margin-bottom: 2rem; }

.contact-methods { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.5rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  color: #fff;
  transition: all 0.25s;
}
.contact-method:hover { border-color: rgba(255,43,43,0.25); transform: translateX(4px); }
.cm-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.cm-icon.phone  { background: rgba(255,43,43,0.08); }
.cm-icon.email  { background: rgba(123,97,255,0.08); }
.cm-icon.wa     { background: rgba(37,211,102,0.08); }
.cm-icon.loc    { background: rgba(255,210,0,0.08); }
.cm-label  { font-size: 0.68rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.cm-value  { font-size: 0.9rem; font-weight: 600; margin-top: 2px; }

.hours-card {
  padding: 1.2rem 1.5rem;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  margin-bottom: 2rem;
}
.hours-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.8rem; }
.hours-row {
  display: flex; justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--gray); }
.hours-row span:last-child  { color: #fff; font-weight: 600; }

.wa-direct-btns { display: flex; flex-direction: column; gap: 0.7rem; }
.wa-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.2);
  color: #25d366;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s;
}
.wa-btn:hover { background: rgba(37,211,102,0.12); border-color: #25d366; transform: translateX(4px); }
.wa-btn-name { color: #fff; font-size: 0.72rem; display: block; }

/* ── RIGHT: FORM PANEL ────────────────────────────────────── */
.contact-form-wrap {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,43,43,0.4), transparent);
}
.form-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 2rem;
  padding: 0.3rem;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
}
.form-tab-btn {
  flex: 1;
  padding: 0.6rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
}
.form-tab-btn.active { background: rgba(255,43,43,0.12); color: #fff; }
.form-panel { display: none; }
.form-panel.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.form-sub { font-size: 0.82rem; color: var(--gray); margin-bottom: 1.8rem; }

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.25s;
  box-shadow: 0 0 25px rgba(255,43,43,0.3);
  margin-top: 0.5rem;
}
.submit-btn:hover { background: var(--red2); transform: translateY(-2px); box-shadow: var(--glow-r); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.submit-btn.hw { background: #25d366; box-shadow: 0 0 25px rgba(37,211,102,0.3); }
.submit-btn.hw:hover { box-shadow: 0 0 40px rgba(37,211,102,0.5); }

/* IMAGE UPLOAD */
.img-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
  font-size: 0.82rem;
  color: var(--gray);
}
.img-upload-label:hover { border-color: rgba(123,97,255,0.4); color: var(--purple); }
#imgPreview { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.8rem; }

/* ── QUICK CONTACT STRIP ──────────────────────────────────── */
.quick-contact-strip {
  padding: 4rem 0;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.qcs-inner {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.qcs-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.4rem;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px;
  text-decoration: none;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 600;
  transition: all 0.25s;
}
.qcs-item:hover { border-color: rgba(255,43,43,0.3); transform: translateY(-2px); }
.qcs-item.green { border-color: rgba(37,211,102,0.2); color: #25d366; }
.qcs-item.green:hover { border-color: #25d366; }

/* ── MAP SECTION ──────────────────────────────────────────── */
.map-section { padding: 0 0 8rem; }
.map-section iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: 20px;
  filter: grayscale(80%) invert(90%) hue-rotate(180deg);
  border: 1px solid rgba(255,255,255,0.07);
  display: block;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
  .contact-form-wrap { padding: 1.5rem; }
  .qcs-inner { flex-direction: column; }
}
