/* ==========================================================
   ✨ CONTACT PAGE — Hero + Full Map + Info/Form
========================================================== */

/* --- Hero Section --- */
.contact-hero {
  background: linear-gradient(135deg, #15333a, #334146, #47606a);
  color: #fff;
  text-align: center;
  padding: 150px 20px 130px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/contact-hero.webp') center/cover no-repeat;
  opacity: 0.25;
  animation: slowZoom 15s ease-in-out infinite alternate;
}

.contact-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  z-index: 2;
  position: relative;
}

.contact-hero h1 span {
  color: #5ee7df;
}

.contact-hero p {
  font-size: 1.1rem;
  margin-top: 12px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Full-Width Map --- */
.contact-map-hero {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-top: 6px solid #15333a;
  border-bottom: 6px solid #15333a;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.contact-map-hero .map-frame {
  height: 100%;
  width: 100%;
  overflow: hidden;
  animation: mapZoomIn 2s ease forwards;
}

.contact-map-hero iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.95) contrast(1.05);
}

.contact-map-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 51, 58, 0.15), rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

/* ==========================================================
   📬 CONTACT SECTION — Info + Form Grid
========================================================== */

.contact-section {
  background: #f8fafb;
  padding: 100px 10%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 70px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  align-items: start;
}

/* --- Info Column --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* --- Info Boxes (Perfect Alignment Fix) --- */
.info-box {
  background: #fff;
  padding: 26px 30px;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 18px; /* ⬅️ more breathing space between icon & text */
  border-left: 5px solid transparent;
}

.info-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  border-left: 5px solid #47606a;
}

.info-box i {
  font-size: 1.7rem;
  color: #47606a;
  flex-shrink: 0; /* ⬅️ prevents icon from compressing */
  margin-top: 3px;
}

.info-box-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-box h3 {
  color: #15333a;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.05rem;
  white-space: nowrap; /* keeps label (Email, Phone, etc.) tidy */
}

.info-box p,
.info-box a {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-word;
}

.info-box a:hover {
  color: #15333a;
}


/* --- Contact Form Card --- */
.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 55px 45px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.contact-form h2 {
  color: #15333a;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  font-size: 1rem;
  background: #fafafa;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #47606a;
  box-shadow: 0 0 10px rgba(71, 96, 106, 0.25);
  background: #fff;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Send Button with Icon --- */
.contact-form button {
  margin-top: 15px;
  background: linear-gradient(135deg, #15333a, #47606a);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-form button i {
  transition: transform 0.3s ease;
  font-size: 1.05rem;
  color: #ffffff;
}

.contact-form button:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(71, 96, 106, 0.4), 0 0 40px rgba(71, 96, 106, 0.2);
}

.contact-form button:hover i {
  transform: translateX(4px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .contact-hero h1 {
    font-size: 2.2rem;
  }
  .contact-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 70px 6%;
  }
  .contact-map-hero {
    height: 350px;
  }
  .contact-hero {
    padding: 120px 20px 100px;
  }
  .contact-form {
    padding: 40px 30px;
  }
}

/* --- Animations --- */
@keyframes mapZoomIn {
  0% {
    transform: scale(1.15) translateY(10px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}
