/* =========================================================
   KONTAK.CSS
   SUSHYDECOR — CONTACT PAGE
   Premium / Elegant / Responsive
   Scoped khusus halaman kontak
   ========================================================= */

/* =========================================================
   01. CONTACT PAGE VARIABLES
   ========================================================= */

#contact-main {
  --contact-bg: #f8f5ee;
  --contact-bg-soft: #f3eee4;
  --contact-card: rgba(255, 253, 248, 0.92);

  --contact-primary: #657744;
  --contact-primary-dark: #4f6035;
  --contact-primary-soft: #e7ecda;

  --contact-gold: #b9975b;
  --contact-gold-light: #d8c39a;
  --contact-gold-soft: #eee3cb;

  --contact-text: #2d2b27;
  --contact-text-soft: #68645c;
  --contact-text-muted: #8a857a;

  --contact-border: rgba(185, 151, 91, 0.25);
  --contact-shadow: 0 18px 50px rgba(67, 58, 42, 0.08);

  --contact-radius-lg: 28px;
  --contact-radius-md: 20px;
  --contact-radius-sm: 14px;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(185, 151, 91, 0.08),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(101, 119, 68, 0.07),
      transparent 30%
    ),
    var(--contact-bg);

  color: var(--contact-text);

  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* =========================================================
   02. GLOBAL CONTACT CONTAINER
   ========================================================= */

#contact-main .contact-container {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;

  margin-inline: auto;

  padding-inline: 0;

  box-sizing: border-box;
}

/* =========================================================
   03. CONTACT HERO
   ========================================================= */

#contact-main .contact-hero-section {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 520px;

  padding: 100px 0 90px;

  text-align: center;

  isolation: isolate;
}

/* Decorative background */

#contact-main .contact-hero-section::before {
  content: "";

  position: absolute;
  inset: 40px 5% auto;

  height: 420px;

  background: radial-gradient(
    circle at center,
    rgba(185, 151, 91, 0.12),
    transparent 65%
  );

  pointer-events: none;

  z-index: -1;
}

#contact-main .contact-hero-section::after {
  content: "✦";

  position: absolute;

  top: 70px;
  left: 50%;

  transform: translateX(-50%);

  color: var(--contact-gold);

  font-size: 18px;

  opacity: 0.75;

  pointer-events: none;
}

/* Hero inner */

#contact-main .contact-hero-section .contact-container {
  display: flex;

  justify-content: center;
  align-items: center;
}

#contact-main .contact-hero-content {
  width: min(760px, 100%);

  margin-inline: auto;

  text-align: center;
}

/* Label */

#contact-main .contact-hero-label,
#contact-main .hero-label {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

  margin: 0 0 20px;

  color: var(--contact-gold);

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.22em;
  text-transform: uppercase;

  text-align: center;
}

#contact-main .contact-hero-label::before,
#contact-main .contact-hero-label::after,
#contact-main .hero-label::before,
#contact-main .hero-label::after {
  content: "";

  width: 38px;
  height: 1px;

  background: linear-gradient(90deg, transparent, var(--contact-gold));
}

#contact-main .contact-hero-label::after,
#contact-main .hero-label::after {
  background: linear-gradient(90deg, var(--contact-gold), transparent);
}

/* Hero title */

#contact-main .contact-hero-title,
#contact-main #contact-hero-title {
  max-width: 760px;

  margin: 0 auto;

  color: var(--contact-text);

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(2.3rem, 5vw, 4.5rem);

  font-weight: 600;

  line-height: 1.08;

  letter-spacing: -0.025em;

  text-align: center;

  justify-content: center;
}

#contact-main .contact-hero-title span {
  color: var(--contact-primary);
}

/* Hero description */

#contact-main .contact-hero-description {
  width: min(650px, 100%);

  margin: 26px auto 0;

  color: var(--contact-text-soft);

  font-size: 1rem;

  line-height: 1.9;

  text-align: center;
}

/* =========================================================
   04. CONTACT INFORMATION
   ========================================================= */

#contact-main .contact-information-section {
  position: relative;

  padding: 30px 0 100px;
}

#contact-main .contact-information-section .contact-container {
  display: flex;

  flex-direction: column;

  align-items: center;

  width: 100%;
}

/* Section heading */

#contact-main .contact-information-header {
  width: min(720px, 100%);

  margin: 0 auto 45px;

  text-align: center;
}

#contact-main .contact-information-header h3,
#contact-main #contact-information-title {
  margin: 14px auto 0;

  color: var(--contact-text);

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(1rem, 4vw, 2rem);

  line-height: 1.2;

  text-align: center;

  color: #696660;
}

#contact-main .contact-information-header p {
  max-width: 650px;

  margin: 18px auto 0;

  color: var(--contact-text-soft);

  line-height: 1.8;

  text-align: center;
}

/* =========================================================
   05. CONTACT CARDS GRID
   ========================================================= */

#contact-main .contact-information-grid,
#contact-main .contact-info-grid {
  width: 100%;
  max-width: 1100px;

  margin-inline: auto;

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 24px;

  justify-content: center;
  align-items: stretch;
}

/* =========================================================
   06. CONTACT CARD
   ========================================================= */

#contact-main .contact-information-card,
#contact-main .contact-info-card {
  position: relative;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: flex-start;

  min-width: 0;

  padding: 38px 30px 34px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(250, 246, 237, 0.9)
  );

  border: 1px solid var(--contact-border);

  border-radius: var(--contact-radius-lg);

  box-shadow: var(--contact-shadow);

  text-align: center;

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

#contact-main .contact-information-card::before,
#contact-main .contact-info-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 50%;

  width: 70px;
  height: 2px;

  transform: translateX(-50%);

  background: linear-gradient(
    90deg,
    transparent,
    var(--contact-gold),
    transparent
  );
}

#contact-main .contact-information-card:hover,
#contact-main .contact-info-card:hover {
  transform: translateY(-7px);

  border-color: rgba(185, 151, 91, 0.45);

  box-shadow: 0 24px 55px rgba(67, 58, 42, 0.13);
}

/* =========================================================
   07. CONTACT ICON
   ========================================================= */

#contact-main .contact-icon,
#contact-main .contact-information-icon {
  width: 68px;
  height: 68px;

  margin: 0 auto 22px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(145deg, #fffdf8, var(--contact-gold-soft));

  border: 1px solid rgba(185, 151, 91, 0.35);

  color: var(--contact-primary);

  font-size: 1.35rem;

  box-shadow: 0 8px 25px rgba(185, 151, 91, 0.12);
}

/* =========================================================
   08. CARD TYPOGRAPHY
   ========================================================= */

#contact-main .contact-information-card h3,
#contact-main .contact-info-card h3 {
  margin: 0 0 13px;

  color: var(--contact-text);

  font-family: Georgia, "Times New Roman", serif;

  font-size: 1.35rem;

  font-weight: 600;

  text-align: center;
}

#contact-main .contact-information-card p,
#contact-main .contact-info-card p {
  max-width: 300px;

  margin: 0 auto;

  color: var(--contact-text-soft);

  font-size: 0.94rem;

  line-height: 1.75;

  text-align: center;
}

#contact-main .contact-information-card a,
#contact-main .contact-info-card a {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-top: 18px;

  color: var(--contact-primary);

  font-weight: 600;

  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

#contact-main .contact-information-card a:hover,
#contact-main .contact-info-card a:hover {
  color: var(--contact-gold);

  transform: translateY(-2px);
}

/* =========================================================
   09. CONSULTATION SECTION
   ========================================================= */

#contact-main .contact-consultation-section {
  position: relative;

  padding: 100px 0;

  background: linear-gradient(135deg, #eef1e5, #f8f5ee);
}

#contact-main .contact-consultation-section .contact-container {
  display: flex;

  justify-content: center;
  align-items: center;
}

#contact-main .contact-consultation-content {
  position: relative;

  width: min(850px, 100%);

  margin-inline: auto;

  padding: 58px 50px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.94),
    rgba(249, 246, 238, 0.96)
  );

  border: 1px solid rgba(185, 151, 91, 0.3);

  border-radius: 30px;

  box-shadow: 0 25px 70px rgba(67, 58, 42, 0.1);

  text-align: center;

  overflow: hidden;
}

#contact-main .contact-consultation-content::before {
  content: "";

  position: absolute;

  top: 0;
  left: 50%;

  width: 150px;
  height: 2px;

  transform: translateX(-50%);

  background: linear-gradient(
    90deg,
    transparent,
    var(--contact-gold),
    transparent
  );
}

#contact-main .contact-consultation-content::after {
  content: "✦";

  position: absolute;

  right: 25px;
  bottom: 18px;

  color: var(--contact-gold);

  font-size: 24px;

  opacity: 0.25;
}

/* Consultation heading */

#contact-main .contact-consultation-content h2,
#contact-main #contact-consultation-title {
  max-width: 700px;

  margin: 15px auto 0;

  color: var(--contact-text);

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(2rem, 4vw, 3.2rem);

  line-height: 1.15;

  text-align: center;
}

#contact-main .contact-consultation-content > p {
  width: min(650px, 100%);

  margin: 20px auto 0;

  color: var(--contact-text-soft);

  line-height: 1.85;

  text-align: center;
}

/* =========================================================
   10. CONSULTATION BUTTON
   ========================================================= */

#contact-main .contact-consultation-action,
#contact-main .contact-consultation-actions {
  display: flex;

  justify-content: center;
  align-items: center;

  gap: 14px;

  flex-wrap: wrap;

  width: 100%;

  margin: 30px auto 0;
}

/* =========================================================
   11. CONTACT BUTTONS
   ========================================================= */

#contact-main .contact-button,
#contact-main .button {
  min-height: 50px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 13px 28px;

  border-radius: 999px;

  border: 1px solid transparent;

  font-size: 0.9rem;

  font-weight: 600;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

#contact-main .button-primary,
#contact-main .contact-button-primary {
  background: linear-gradient(
    135deg,
    var(--contact-primary),
    var(--contact-primary-dark)
  );

  color: #fff;

  box-shadow: 0 10px 25px rgba(79, 96, 53, 0.2);
}

#contact-main .button-primary:hover,
#contact-main .contact-button-primary:hover {
  transform: translateY(-3px);

  box-shadow: 0 15px 32px rgba(79, 96, 53, 0.28);
}

#contact-main .button-whatsapp,
#contact-main .contact-button-whatsapp {
  background: transparent;

  color: var(--contact-primary);

  border-color: rgba(101, 119, 68, 0.45);
}

#contact-main .button-whatsapp:hover,
#contact-main .contact-button-whatsapp:hover {
  background: var(--contact-primary-soft);

  border-color: var(--contact-primary);

  transform: translateY(-3px);
}

/* =========================================================
   12. SOCIAL MEDIA SECTION
   ========================================================= */

#contact-main .contact-social-section {
  padding: 90px 0;

  text-align: center;
}

#contact-main .contact-social-content {
  width: min(700px, 100%);

  margin-inline: auto;

  text-align: center;
}

#contact-main .contact-social-content h2 {
  margin: 15px auto;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(1.8rem, 4vw, 2.8rem);

  text-align: center;
}

#contact-main .contact-social-links {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 30px;
}

#contact-main .contact-social-links a {
  width: 52px;
  height: 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(145deg, #fffdf8, #f1eadb);

  border: 1px solid rgba(185, 151, 91, 0.3);

  color: var(--contact-primary);

  text-decoration: none;

  box-shadow: 0 8px 22px rgba(67, 58, 42, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

#contact-main .contact-social-links a:hover {
  transform: translateY(-5px);

  color: #fff;

  background: linear-gradient(
    135deg,
    var(--contact-primary),
    var(--contact-primary-dark)
  );

  box-shadow: 0 14px 30px rgba(79, 96, 53, 0.2);
}

/* =========================================================
   13. ADDRESS / CONTACT DETAILS
   ========================================================= */

#contact-main address {
  width: 100%;

  margin: 0 auto;

  font-style: normal;

  text-align: center;
}

#contact-main address p {
  margin: 7px 0;

  text-align: center;
}

#contact-main address a {
  color: var(--contact-primary);

  text-decoration: none;

  transition: color 0.25s ease;
}

#contact-main address a:hover {
  color: var(--contact-gold);
}

/* =========================================================
   14. SECTION LABEL
   ========================================================= */

#contact-main .contact-section-label {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 15px;

  width: 100%;

  margin: 0 auto;

  color: var(--contact-gold);

  font-size: 0.75rem;

  font-weight: 700;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  text-align: center;
}

#contact-main .contact-section-label::before,
#contact-main .contact-section-label::after {
  content: "";

  flex: 1 1 60px;

  max-width: 90px;

  height: 1px;

  background: linear-gradient(90deg, transparent, var(--contact-gold));
}

#contact-main .contact-section-label::after {
  background: linear-gradient(90deg, var(--contact-gold), transparent);
}

/* =========================================================
   15. BACK TO TOP
   ========================================================= */

body:has(#contact-main) .back-to-top {
  position: fixed;

  right: 24px;
  bottom: 24px;

  width: 48px;
  height: 48px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.3);

  border-radius: 50%;

  background: linear-gradient(
    135deg,
    var(--contact-primary),
    var(--contact-primary-dark)
  );

  color: #fff;

  box-shadow: 0 12px 30px rgba(50, 60, 35, 0.2);

  cursor: pointer;

  z-index: 1000;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

body:has(#contact-main) .back-to-top:hover {
  transform: translateY(-4px);

  box-shadow: 0 16px 35px rgba(50, 60, 35, 0.28);
}

/* =========================================================
   16. FOOTER KHUSUS CONTACT PAGE
   ========================================================= */

body:has(#contact-main) .site-footer {
  width: 100%;

  background: linear-gradient(180deg, #f1ecdf, #ebe4d5);

  border-top: 1px solid rgba(185, 151, 91, 0.25);
}

body:has(#contact-main) .site-footer .container {
  width: min(1180px, calc(100% - 48px));

  margin-inline: auto;
}

/* =========================================================
   17. TABLET
   ========================================================= */

@media (max-width: 1024px) {
  #contact-main .contact-container {
    width: min(100% - 40px, 900px);
  }

  #contact-main .contact-information-grid,
  #contact-main .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    max-width: 760px;

    margin-inline: auto;
  }

  #contact-main .contact-information-card:last-child,
  #contact-main .contact-info-card:last-child {
    grid-column: 1 / -1;

    width: min(100%, 360px);

    margin-inline: auto;
  }

  #contact-main .contact-hero-section {
    min-height: 480px;

    padding: 85px 0 75px;
  }

  #contact-main .contact-consultation-content {
    width: min(100%, 760px);

    padding: 50px 40px;
  }
}

/* =========================================================
   18. MOBILE
   ========================================================= */

@media (max-width: 767px) {
  #contact-main {
    width: 100%;

    overflow-x: hidden;
  }

  #contact-main .contact-container {
    width: calc(100% - 32px);

    max-width: 100%;

    margin-inline: auto;
  }

  /* HERO */

  #contact-main .contact-hero-section {
    min-height: auto;

    padding: 75px 0 65px;
  }

  #contact-main .contact-hero-section::before {
    inset: 20px 0 auto;

    height: 330px;
  }

  #contact-main .contact-hero-section::after {
    top: 40px;
  }

  #contact-main .contact-hero-content {
    width: 100%;

    margin-inline: auto;

    text-align: center;
  }

  #contact-main .contact-hero-label,
  #contact-main .hero-label {
    gap: 9px;

    font-size: 0.68rem;

    letter-spacing: 0.17em;
  }

  #contact-main .contact-hero-label::before,
  #contact-main .contact-hero-label::after,
  #contact-main .hero-label::before,
  #contact-main .hero-label::after {
    width: 25px;
  }

  #contact-main .contact-hero-title,
  #contact-main #contact-hero-title {
    width: 100%;

    font-size: clamp(2rem, 10vw, 3rem);

    line-height: 1.12;

    text-align: center;
  }

  #contact-main .contact-hero-description {
    width: min(100%, 500px);

    margin-top: 20px;

    font-size: 0.9rem;

    line-height: 1.75;

    text-align: center;
  }

  /* INFORMATION */

  #contact-main .contact-information-section {
    padding: 20px 0 70px;
  }

  #contact-main .contact-information-header {
    width: 100%;

    margin-bottom: 32px;
  }

  #contact-main .contact-information-header h2,
  #contact-main #contact-information-title {
    font-size: 2rem;

    text-align: center;
  }

  #contact-main .contact-information-grid,
  #contact-main .contact-info-grid {
    width: 100%;

    grid-template-columns: 1fr;

    gap: 18px;

    margin-inline: auto;
  }

  #contact-main .contact-information-card,
  #contact-main .contact-info-card,
  #contact-main .contact-information-card:last-child,
  #contact-main .contact-info-card:last-child {
    grid-column: auto;

    width: 100%;

    max-width: 430px;

    margin-inline: auto;

    padding: 32px 24px;

    border-radius: 22px;

    box-sizing: border-box;
  }

  /* CONSULTATION */

  #contact-main .contact-consultation-section {
    padding: 70px 0;
  }

  #contact-main .contact-consultation-content {
    width: 100%;

    padding: 42px 24px;

    border-radius: 24px;

    box-sizing: border-box;
  }

  #contact-main .contact-consultation-content h2,
  #contact-main #contact-consultation-title {
    width: 100%;

    font-size: 2rem;

    line-height: 1.18;

    text-align: center;
  }

  #contact-main .contact-consultation-content > p {
    width: 100%;

    font-size: 0.9rem;

    line-height: 1.75;

    text-align: center;
  }

  #contact-main .contact-consultation-action,
  #contact-main .contact-consultation-actions {
    width: 100%;

    flex-direction: column;

    gap: 12px;

    margin-inline: auto;
  }

  #contact-main .contact-consultation-action .button,
  #contact-main .contact-consultation-actions .button,
  #contact-main .contact-button {
    width: 100%;

    max-width: 360px;

    box-sizing: border-box;
  }

  /* SOCIAL */

  #contact-main .contact-social-section {
    padding: 65px 0;
  }

  #contact-main .contact-social-content {
    width: 100%;

    text-align: center;
  }

  #contact-main .contact-social-links {
    gap: 11px;
  }

  #contact-main .contact-social-links a {
    width: 48px;
    height: 48px;
  }

  /* SECTION LABEL */

  #contact-main .section-label {
    gap: 10px;

    font-size: 0.66rem;

    letter-spacing: 0.14em;
  }

  #contact-main .section-label::before,
  #contact-main .section-label::after {
    flex-basis: 30px;

    max-width: 55px;
  }

  /* BACK TO TOP */

  body:has(#contact-main) .back-to-top {
    right: 16px;
    bottom: 16px;

    width: 44px;
    height: 44px;
  }
}

/* =========================================================
   19. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
  #contact-main .contact-container {
    width: calc(100% - 24px);
  }

  #contact-main .contact-hero-section {
    padding: 65px 0 55px;
  }

  #contact-main .contact-hero-title,
  #contact-main #contact-hero-title {
    font-size: 2rem;
  }

  #contact-main .contact-hero-description {
    font-size: 0.86rem;
  }

  #contact-main .contact-information-card,
  #contact-main .contact-info-card {
    padding: 30px 20px;
  }

  #contact-main .contact-icon,
  #contact-main .contact-information-icon {
    width: 60px;
    height: 60px;

    margin-bottom: 18px;
  }

  #contact-main .contact-consultation-content {
    padding: 36px 19px;
  }

  #contact-main .contact-consultation-content h2,
  #contact-main #contact-consultation-title {
    font-size: 1.8rem;
  }

  #contact-main .section-label {
    gap: 7px;
  }

  #contact-main .section-label::before,
  #contact-main .section-label::after {
    flex-basis: 22px;

    max-width: 38px;
  }
}

/* =========================================================
   20. VERY SMALL SCREEN
   ========================================================= */

@media (max-width: 360px) {
  #contact-main .contact-container {
    width: calc(100% - 20px);
  }

  #contact-main .contact-hero-title,
  #contact-main #contact-hero-title {
    font-size: 1.8rem;
  }

  #contact-main .contact-information-card,
  #contact-main .contact-info-card {
    padding-inline: 17px;
  }

  #contact-main .contact-consultation-content {
    padding-inline: 16px;
  }

  #contact-main .section-label::before,
  #contact-main .section-label::after {
    flex-basis: 16px;

    max-width: 28px;
  }
}

/* =========================================================
   21. ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  #contact-main *,
  #contact-main *::before,
  #contact-main *::after,
  body:has(#contact-main) .back-to-top {
    scroll-behavior: auto !important;

    transition: none !important;

    animation: none !important;
  }
}
