/* ================================================================
   style-contact.css — PT Modern Aulia Mandiri
   Tema: Luxury Maritime Dark
   ================================================================ */

/* ── PAGE TITLE ───────────────────────────────────────────────── */
.page-title {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,24,40,0.82) 0%,
    rgba(13,34,51,0.65) 50%,
    rgba(58,158,143,0.18) 100%
  );
  z-index: 1;
}

/* grid texture overlay */
.page-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,158,143,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,158,143,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

.page-title .container {
  position: relative;
  z-index: 2;
}

.page-title h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}

/* garis aksen di bawah judul */
.page-title h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #3a9e8f, #5fc4b4);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* breadcrumbs */
.page-title .breadcrumbs ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-title .breadcrumbs ol li a {
  color: #a8ddd6;
  text-decoration: none;
  transition: color 0.3s ease;
}
.page-title .breadcrumbs ol li a:hover { color: #ffffff; }

.page-title .breadcrumbs ol li.current {
  color: rgba(255,255,255,0.5);
}

.page-title .breadcrumbs ol li + li::before {
  content: '—';
  color: rgba(58,158,143,0.5);
  margin-right: 0.5rem;
  font-size: 0.65rem;
}

/* ── CONTACT SECTION ──────────────────────────────────────────── */
#contact.section {
  background: linear-gradient(180deg, #081828 0%, #0f2236 100%);
  padding: 80px 0 0;
  position: relative;
}

#contact.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3a9e8f, transparent);
}

/* ── INFO CARD (wrapper kiri) ─────────────────────────────────── */
.contact-info-wrap {
  background: linear-gradient(145deg, rgba(22,51,71,0.6) 0%, rgba(13,34,51,0.85) 100%);
  border: 1px solid rgba(58,158,143,0.15);
  border-radius: 6px;
  padding: 2.8rem 2.4rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.contact-info-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3a9e8f, #5fc4b4, transparent);
}

.contact-info-wrap h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.contact-info-wrap .subtitle-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5fc4b4;
  margin-bottom: 2rem;
  display: block;
}

/* Divider tipis */
.contact-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, #3a9e8f, transparent);
  margin-bottom: 2rem;
}

/* Info items */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(58,158,143,0.08);
  transition: all 0.3s ease;
}

.info-item:last-child { border-bottom: none; }

.info-item:hover { transform: translateX(4px); }

.info-item .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(58,158,143,0.08);
  border: 1px solid rgba(58,158,143,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-item:hover .icon-wrap {
  background: rgba(58,158,143,0.16);
  border-color: rgba(95,196,180,0.5);
  box-shadow: 0 0 16px rgba(58,158,143,0.2);
}

.info-item .icon-wrap i {
  font-size: 1rem;
  color: #5fc4b4;
}

.info-item .info-text h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5fc4b4;
  margin-bottom: 0.2rem;
}

.info-item .info-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: #c2d4e0;
  margin: 0;
  line-height: 1.6;
}

.info-item .info-text a {
  color: #c2d4e0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.info-item .info-text a:hover { color: #a8ddd6; }

/* ── LOGO KANAN ───────────────────────────────────────────────── */
.contact-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
}

.contact-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(58,158,143,0.12);
  animation: pulse-ring 4s ease-in-out infinite;
}
.contact-logo-ring:nth-child(1) { width: 260px; height: 260px; animation-delay: 0s; }
.contact-logo-ring:nth-child(2) { width: 340px; height: 340px; animation-delay: 1.5s; border-color: rgba(58,158,143,0.06); }

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.04); opacity: 1; }
}

.contact-logo-img {
  position: relative;
  z-index: 2;
  max-width: 220px;
  filter: drop-shadow(0 20px 50px rgba(58,158,143,0.22));
  transition: all 0.4s ease;
}
.contact-logo-img:hover {
  filter: drop-shadow(0 28px 70px rgba(58,158,143,0.38));
  transform: translateY(-6px);
}

/* ── MAP SECTION ──────────────────────────────────────────────── */
.map-section-title {
  padding: 60px 0 32px;
  padding-left: 15px; /* tambah ini — geser ke kanan */
} 

.map-section-title .label-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5fc4b4;
  border: 1px solid rgba(95,196,180,0.3);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.map-section-title h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.08em;
}

/* ── MAP IFRAME ───────────────────────────────────────────────── */
.map-wrapper {
  padding: 0 0 60px;
}

.map-container {
  position: relative;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(58,158,143,0.25);
  box-shadow:
    0 0 0 1px rgba(58,158,143,0.08),
    0 8px 40px rgba(0,0,0,0.5),
    0 0 80px rgba(58,158,143,0.06);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.map-container:hover {
  border-color: rgba(58,158,143,0.45);
  box-shadow:
    0 0 0 1px rgba(58,158,143,0.15),
    0 12px 60px rgba(0,0,0,0.6),
    0 0 100px rgba(58,158,143,0.1);
}

/* Corner accents — sudut-sudut dekoratif teal */
.map-container::before,
.map-container::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 3;
  pointer-events: none;
}

/* Sudut kiri atas */
.map-container::before {
  top: -1px; left: -1px;
  border-top: 2px solid #5fc4b4;
  border-left: 2px solid #5fc4b4;
  border-radius: 8px 0 0 0;
}

/* Sudut kanan bawah */
.map-container::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid #5fc4b4;
  border-right: 2px solid #5fc4b4;
  border-radius: 0 0 8px 0;
}

/* Sudut kanan atas & kiri bawah via pseudo pada inner div */
.map-corner-tr,
.map-corner-bl {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 3;
  pointer-events: none;
}
.map-corner-tr {
  top: -1px; right: -1px;
  border-top: 2px solid #5fc4b4;
  border-right: 2px solid #5fc4b4;
  border-radius: 0 8px 0 0;
}
.map-corner-bl {
  bottom: -1px; left: -1px;
  border-bottom: 2px solid #5fc4b4;
  border-left: 2px solid #5fc4b4;
  border-radius: 0 0 0 8px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: none;
  filter: grayscale(0.25) contrast(1.05) brightness(0.9);
  transition: filter 0.4s ease;
}

.map-container:hover iframe {
  filter: grayscale(0) contrast(1) brightness(1);
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 991px) {
  .contact-logo-wrap {
    margin-top: 2rem;
    padding: 1.5rem;
  }
  .contact-logo-ring:nth-child(1) { width: 200px; height: 200px; }
  .contact-logo-ring:nth-child(2) { width: 270px; height: 270px; }
  .contact-logo-img { max-width: 180px; }
}

@media (max-width: 767px) {
  .page-title { min-height: 240px; }
  #contact.section { padding: 60px 0 0; }
  .contact-info-wrap { padding: 2rem 1.5rem; }
  .map-container iframe { height: 320px; }
  .map-wrapper { padding: 0 0 40px; }
  .map-section-title { padding: 40px 0 24px; }

  .contact-logo-wrap {
    min-height: 240px;
  }
  .contact-logo-ring:nth-child(1) { width: 160px; height: 160px; }
  .contact-logo-ring:nth-child(2) { width: 220px; height: 220px; }
  .contact-logo-img { max-width: 140px; }
}

@media (max-width: 575px) {
  .info-item { gap: 0.85rem; }
  .info-item .icon-wrap { width: 36px; height: 36px; }
  .info-item .icon-wrap i { font-size: 0.85rem; }
  .info-item .info-text p { font-size: 0.85rem; }
}

@media (max-width: 767px) {
  .map-section-title {
    padding-left: 15px; /* tambah ini */
  }
}