/* ========== Base Styling ========== */
.contact-hero {
  text-align: center;
  align-content: center;

  background: linear-gradient(rgba(0, 0, 0, 0.616), rgba(0, 0, 0, 0.675)),
    url("../assets/pages-hero-bg/contact-us.jpg") center/cover no-repeat;
  color: #fff;
  height: 50vh;
}
.contact-hero h1 {
  font-size: 3rem;
  font-weight: normal;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.contact-hero p {
  font-size: 1.2rem;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-hero {
    height: 200px;
    padding: 40px 15px;
  }
  .contact-hero h1 {
    font-size: 1.5rem;
  }
  .contact-hero p {
    font-size: 0.9rem;
  }
}
.contact-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 300px;
  background: #fff;
  margin-top: 40px;
  padding: 20px 100px;
}

.contact-left {
  flex: 1;
  padding: 40px;
  background: #fff;
  color: #000;
  min-width: 300px;
  border-top: 15px solid #a2342c;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-left h2 {
  color: #a2342c;
  font-size: 28px;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 15px;
}

.contact-detail a {
  color: #000;
  transition: color 0.3s ease;
  text-decoration: none;
}

.contact-detail a:hover {
  color: #a2342c;
  text-decoration: underline !important;
}

.contact-detail .icon {
  font-size: 18px;
  color: #a2342c;
  line-height: 1.5;
  min-width: 20px;
}

.contact-right {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
}

.contact-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%) sepia(100%) hue-rotate(-10deg) saturate(300%);
}

.contact-right .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(162, 52, 44, 0.737);
}

/* Google Map */
.map-container {
  margin: 40px 0 0 0;
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ========= Responsive Media Queries ========= */

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
  .contact-section {
    padding: 40px 120px;
  }
}

/* Tablets & Small Laptops (up to 992px) */
@media (max-width: 992px) {
  .contact-section {
    padding: 30px 60px;
  }

  .contact-left {
    padding: 30px;
  }
}

/* Tablets (up to 768px) */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column-reverse;

    padding: 20px;
  }

  .contact-left {
    padding: 25px;
    border-left: 15px solid #a2342c;
    border-top: none;
  }

  .contact-left h2 {
    font-size: 24px;
  }

  .contact-detail {
    font-size: 14px;
  }

  .map-container iframe {
    height: 300px;
  }
}

/* Mobile (up to 576px) */
@media (max-width: 576px) {
  .contact-left {
    padding: 20px 15px;
  }

  .contact-left h2 {
    font-size: 22px;
  }

  .contact-detail {
    font-size: 13px;
    flex-direction: row;
  }

  .contact-detail .icon {
    font-size: 16px;
  }

  .map-container iframe {
    height: 250px;
  }
}

/* Initial State */
.contact-heading,
.contact-subtitle {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease-out;
}

/* Animate When in View */
.contact-animate.animate-in .contact-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.contact-animate.animate-in .contact-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.contact-left,
.contact-right,
.contact-detail,
.map-container {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* Trigger animation when in view */
.contact-left.animate-in,
.contact-right.animate-in,
.contact-detail.animate-in,
.map-container.animate-in {
  opacity: 1;
  transform: translateY(0);
}
