/* =========================================================
   CONTACT PAGE — RALPH LAUREN STYLE
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL RESET
   --------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Playfair Display", serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   HERO CONTACT
   ========================================================= */

.hero-contact {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.62) 100%),
    url("../update-images/crownsy95.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.08),
    transparent 50%,
    rgba(0, 0, 0, 0.08)
  );
  pointer-events: none;
}

.hero-contact > div,
.hero-contact > section {
  position: relative;
  z-index: 1;
}

.hero-contact h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 30px auto 20px;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1px;
}

.hero-contact p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Playfair Display", serif;
  font-size: 16px;
  line-height: 1.9;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 130px 6%;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: start;
}

/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-info {
  max-width: 560px;
}

.contact-info h2 {
  margin-bottom: 28px;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.contact-info p {
  max-width: 520px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Playfair Display", serif;
  font-size: 15px;
  line-height: 1.9;
}

/* =========================================================
   INFO BOX
   ========================================================= */

.info-box {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box strong {
  display: block;
  margin-bottom: 9px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.info-box span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Playfair Display", serif;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form {
  width: 100%;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.015);
  color: #fff;
  padding: 16px 17px;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  line-height: 1.6;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.035);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.btn-submit {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #fff;
  padding: 14px 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.btn-submit:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* =========================================================
   MAP
   ========================================================= */

.map-section {
  width: 100%;
  margin-top: 110px;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(100%);
  opacity: 0.85;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {
  .hero-contact {
    min-height: 58vh;
    padding: 120px 24px 70px;
  }

  .hero-contact h1 {
    font-size: 44px;
  }

  .contact-section {
    padding: 100px 5%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .contact-info {
    max-width: 700px;
  }

  .map-section {
    margin-top: 90px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  /*
   Jangan memberikan aturan kepada header di sini.
   Header tetap menggunakan CSS responsive miliknya sendiri.
  */

  .hero-contact {
    min-height: 52svh;
    padding: 105px 20px 60px;
  }

  .hero-contact h1 {
    margin-top: 15px;
    margin-bottom: 16px;
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.5px;
  }

  .hero-contact p {
    max-width: 500px;
    font-size: 14px;
    line-height: 1.8;
  }

  .contact-section {
    padding: 80px 20px;
  }

  .contact-grid {
    gap: 55px;
  }

  .contact-info h2 {
    font-size: 30px;
  }

  .contact-info p {
    font-size: 14px;
    line-height: 1.8;
  }

  .contact-form form {
    gap: 18px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 15px;
    font-size: 14px;
  }

  .map-section {
    margin-top: 75px;
  }

  .map-section iframe {
    height: 330px;
  }

  .floating-wa {
    right: 16px;
    bottom: 16px;
    min-width: auto;
    padding: 12px 17px;
    font-size: 9px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
  .hero-contact {
    min-height: 50svh;
    padding: 100px 18px 55px;
  }

  .hero-contact h1 {
    font-size: 32px;
  }

  .hero-contact p {
    font-size: 13px;
  }

  .contact-section {
    padding: 70px 16px;
  }

  .contact-info h2 {
    font-size: 27px;
  }

  .info-box strong {
    font-size: 9px;
  }

  .info-box span {
    font-size: 13px;
  }

  .map-section iframe {
    height: 280px;
  }

  .wa-box {
    padding: 32px 22px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
