.hero {
  height: 100vh;
  position: relative;
  color: var(--first-color);
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/CONTACT\ BG.png') no-repeat center center / cover;
  transform: scale(1.1) translateY(40px);
  opacity: 0;
  transition: transform 1.5s ease, opacity 1.5s ease;
  z-index: 1;
}

.hero.animate::before {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  z-index: 5;
  position: relative;
}

.hero-content h1 {
  font-family: var(--font-header);
  margin-top: 4rem;
  font-size: var(--hero-header-size);
  line-height: 1.2;
}

.hero-content span {
  font-weight: bold;
}

.hero-content p {
  font-family: var(--font-body);
  margin: 1rem 0;
  font-size: var(--hero-body-size);
  line-height: 30px;
}


.hero-content h1,
.hero-content p{
  opacity: 0;
  transform: translateY(40px);
}


.hero.animate .hero-content h1 {
  animation: heroTextFade 1s ease forwards;
  animation-delay: 0.6s;
}

.hero.animate .hero-content p {
  animation: heroTextFade 1s ease forwards;
  animation-delay: 0.9s;
}

@keyframes heroTextFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ---------- FORM ---------- */
.contact-form-wrapper {
    min-height: 100vh;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.contact-subtitle {
    font-size: var(--body-section-size);
    font-family: var(--font-body);
    letter-spacing: 1px;
    color: var(--third-color);
}

.contact-form-wrapper h2 {
    font-size: var(--header-section-size);
    margin: 15px 0;
    font-family: var(--font-header);
    color: var(--third-color);
}

.contact-description {
    color: var(--third-color);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: var(--body-section-size);
    font-family: var(--font-body);
}

.contact-form-grid {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-grid input{
    margin-top: 3rem;
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: var(--body-section-size);
}

.contact-form-grid textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    margin-top: 20px;
    min-height: 160px;
    resize: none;
    font-family: var(--font-body);
    font-size: var(--body-section-size);
}

.btn-submit {
    font-family: var(--font-body);
    width: 100%;
    margin-top: 30px;
    padding: 16px;
    background: var(--second-color);
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.btn-submit:hover {
    background-color: var(--third-color);
    color: var(--first-color);
}

/* ---------- BOTTOM SECTION ---------- */
.contact-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- INFO BOX ---------- */
.contact-info-box {
    background: var(--fourth-color);
    padding: 60px 50px;
    color: var(--third-color);
}

.info-subtitle {
    font-size: var(--body-section-size);
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.contact-info-box h3 {
    font-size: var(--header-section-size);
    font-family: var(--font-header);
    margin-bottom: 7rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    font-size: var(--body-section-size);
    font-family: var(--font-body);
}

.info-item i {
    font-size: 30px;
}




.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}




/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-bottom {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 300px;
    }
}
