/* =========================
   GLOBAL SCROLL
========================= */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  font-family: 'Inter', sans-serif;
  color: #222;
  line-height: 1.6;
  background: url("../imgs/index_bg.png") center / cover no-repeat fixed;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(120, 120, 120, 0.35); /* grey tint */
  z-index: -1;
}

/* =========================
   BACK BUTTON
========================= */
.contact-top {
  width: 90%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 16px;

  background: rgba(0, 0, 0, 0.5);
  color: white;

  border: none;
  border-radius: 6px;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  transition: background 0.25s ease, transform 0.2s ease;
}

.back-btn:hover {
  background: rgba(0,0,0,0.75);
  transform: translateY(-2px);
}

/* =========================
   CONTACT SECTION
========================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; /* THIS centers it */
}

.contact-section {
  padding-bottom: 240px;
  padding-top: 200px;
  background: #00000069;

  display: flex;
  flex-direction: column;   /* stack items vertically */
  align-items: center;
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px;
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
}

/* Google Map */
.contact-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Contact Details */
.contact-details h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #ffffff;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 20px;
  color: #1d9931;
  margin-top: 6px;
}

.contact-item strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  color: #ffffff;
}

.contact-item p {
  margin: 0;
  color: #ffffff;
  line-height: 1.6;
}

/* =========================
   REVEAL BASE
========================= */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(.16,1,.3,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Contact items animation */
.contact-item {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease;
}

.contact-item.active {
  opacity: 1;
  transform: translateX(0);
}

/* Gold line under title */
.contact-details h2 {
  position: relative;
  display: inline-block;
}

.gold-line {
  height: 3px;
  width: 0;
  background: #1d9931;
  margin-top: 10px;
  transition: width 1.2s ease;
}

.gold-line.animate {
  width: 80px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding-top: 140px;
  }
  .contact-map iframe {
    height: 350px;
  }
}