/* =============================================
   THE ICON! CREATIVE SERVICES – contact.css
   Spesifik untuk contact.php
   Requires: style.css
   ============================================= */

/* =============================================
   HERO
   ============================================= */

.contact-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 200px 0 80px;
  padding-top: 250px;
}

/* BG */
.contact-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  /*background: rgba(0,0,0,0.55);*/
}

/* Inner container */
.contact-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ===== KIRI ===== */
.contact-hero__left {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-hero__title {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-hero__title span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 65px;
  line-height: 1.25;
}

.contact-hero__title--white { color: #ffffff; }
.contact-hero__title--lime  { color: var(--lime); }

.contact-hero__sub {
  font-size: 35px;
  font-weight: 700;
  color: #ffffff;
}

/* Social media icons */
.contact-hero__socmed {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact-socmed-icon {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, opacity 0.2s;
}

.contact-socmed-icon:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

.contact-socmed-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== KANAN: FORM ===== */
.contact-hero__right {
  flex: 1;
}

.contact-form {
  background: #f0f0f0;
  border-radius: 40px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form__field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #bbb;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  font-weight: 400;
  color: #555;
  padding: 8px 0;
  transition: border-color 0.2s;
}

.contact-form__field input::placeholder {
  color: #999;
}

.contact-form__field input:focus {
  border-bottom-color: var(--purple);
  color: #111;
}

.contact-form__submit {
  width: 100%;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 18px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 8px;
}

.contact-form__submit:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* =============================================
   GOOGLE MAPS
   ============================================= */

.contact-map {
  width: 100%;
  line-height: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* ===== TABLET 768px ===== */
@media (max-width: 768px) {

  .contact-hero {
    padding: 140px 24px 60px;
    min-height: auto;
  }

  .contact-hero__inner {
    flex-direction: column;
    gap: 36px;
    padding: 0;
  }

  .contact-hero__left {
    flex: none;
    width: 100%;
    gap: 16px;
  }

  .contact-hero__title span { font-size: 44px; }
  .contact-hero__sub        { font-size: 22px; }

  .contact-socmed-icon {
    width: 48px;
    height: 48px;
  }

  .contact-hero__right { width: 100%; }

  .contact-form {
    padding: 36px 28px;
    border-radius: 24px;
    gap: 24px;
  }

  .contact-form__field input { font-size: 18px; }

  .contact-form__submit {
    font-size: 14px;
    padding: 16px 16px;
    letter-spacing: 1px;
  }

  .contact-map iframe { height: 300px; }
}

/* ===== MOBILE 480px ===== */
@media (max-width: 480px) {

  .contact-hero { padding: 110px 16px 48px; }

  .contact-hero__title span { font-size: 34px; }
  .contact-hero__sub        { font-size: 18px; }

  .contact-socmed-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .contact-form {
    padding: 28px 20px;
    border-radius: 20px;
    gap: 20px;
  }

  .contact-form__field input { font-size: 16px; }

  .contact-form__submit {
    font-size: 13px;
    letter-spacing: 0.8px;
  }

  .contact-map iframe { height: 240px; }
}
