/* ═══════════════════════════════════════════════════
   MCH Enterprises — CONTACT, MAP, FOOTER & FLOATING
   File: css/contact-footer.css
════════════════════════════════════════════════════ */

/* ══════════════ CONTACT ══════════════ */
#contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(4px);
  border-color: var(--primary);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  background: var(--bg2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
  background: var(--primary);
  color: #fff;
}

.contact-card-info h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.contact-card-info p,
.contact-card-info a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.contact-card-info a:hover {
  color: var(--primary);
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  justify-content: center;
}

/* ══════════════ MAP ══════════════ */
#map-section {
  padding: 0;
  position: relative;
}

.map-wrap {
  position: relative;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: none;
  filter: saturate(0.9);
}

.map-overlay-card {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  z-index: 10;
}

.map-overlay-card i {
  color: var(--primary);
  font-size: 22px;
}

.map-overlay-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ══════════════ FOOTER ══════════════ */
#footer {
  background: #0A1628;
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

/* Footer Brand */
.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text .brand {
  color: #fff;
  font-size: 22px;
}

.footer-brand .logo-text .tagline {
  color: rgba(255, 255, 255, 0.45);
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Footer Columns */
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-links a i {
  font-size: 10px;
  color: var(--primary-light);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-bottom span {
  color: var(--accent);
}

/* ══════════════ FLOATING BUTTONS ══════════════ */
.floating-btns {
  position: fixed;
  right: 24px;
  bottom: 30px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  color: #fff;
}

.float-btn:hover {
  transform: scale(1.12);
}

.float-btn .tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.float-btn:hover .tooltip {
  opacity: 1;
}

.float-call {
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.45);
}

.float-wa {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}

.float-email {
  background: var(--accent);
  box-shadow: 0 4px 20px rgba(255, 111, 0, 0.45);
}
