/* ============================= */
/* CONTACT MAP SECTION */
/* ============================= */

.contact-map-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(25, 118, 210, 0.10), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f6f8fb 100%);
}

.contact-map-header {
  max-width: 820px;
  margin-bottom: 52px;
}

.contact-map-header h2 {
  margin: 16px 0;
  color: #0b2f5b;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
}

.contact-map-header p {
  max-width: 720px;
  margin: 0;
  color: #667085;
  font-size: 19px;
  line-height: 1.75;
}


/* ============================= */
/* LAYOUT */
/* ============================= */

.contact-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(360px, 460px);
  gap: 42px;
  align-items: center;
  justify-content: center;
}

.contact-map-left,
.contact-map-right {
  min-width: 0;
}

.contact-map-right {
  display: flex;
  justify-content: flex-start;
}


/* ============================= */
/* MAP */
/* ============================= */

.canakkale-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);

    --pin-y-offset: 42px;
}

.canakkale-map-img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%) brightness(1.05);
  opacity: 0.9;
  border-radius: 22px;
}


/* ============================= */
/* MAP POINTS */
/* ============================= */

.map-point {
  position: absolute;
  z-index: 2;

  width: 18px;
  height: 18px;
  padding: 0;

  color: transparent;
  font-size: 0;
  line-height: 0;

  background: #1976d2;
  border: 3px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;

  transform: translate(-50%, calc(-50% + var(--pin-y-offset, 0px)));

  box-shadow: none;
  transition: background-color 0.18s ease;
}

.map-point::after {
  display: none;
}

.map-point:hover,
.map-point.active {
  background: #f0442e;
  box-shadow: none;
  transform: translate(-50%, calc(-50% + var(--pin-y-offset, 0px)));
}


.map-point:hover,
.map-point.active {
  background: #f0442e;
 
  
}




/* ============================= */
/* POINT POSITIONS */
/* ============================= */

.point-gokceada {
  top: 40%;
  left: 12%;
}

.point-bozcaada {
  top: 65%;
  left: 25%;
}

.point-eceabat {
  top: 33%;
  left: 38%;
}

.point-gelibolu {
  top: 21%;
  left: 46%;
}

.point-lapseki {
  top: 34%;
  left: 58%;
}

.point-biga {
  top: 35%;
  left: 75%;
}

.point-merkez {
  top: 45%;
  left: 44%;
}

.point-ezine {
  top: 60%;
  left: 34%;
}

.point-bayramic {
  top: 62%;
  left: 54%;
}

.point-ayvacik {
  top: 78%;
  left: 42%;
}

.point-can {
  top: 49%;
  left: 66%;
}

.point-yenice {
  top: 56%;
  left: 76%;
}


/* ============================= */
/* REPRESENTATIVE CARD */
/* ============================= */

.rep-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 38px;
  margin-left: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.10);
  transition: 0.25s ease;
}

.rep-card.is-changing {
  opacity: 0.55;
  transform: translateY(4px);
}

.rep-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 14px;
  color: #f0442e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(240, 68, 46, 0.08);
  border-radius: 999px;
}

.rep-card h3 {
  margin: 0 0 8px;
  color: #0b2f5b;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
}

.rep-role {
  margin: 0 0 24px;
  color: #667085;
  font-size: 17px;
  font-weight: 700;
}

.rep-region {
  padding: 20px;
  margin-bottom: 22px;
  background: #f6f8fb;
  border: 1px solid #e4e7ec;
  border-radius: 20px;
}

.rep-region strong {
  display: block;
  margin-bottom: 8px;
  color: #0b2f5b;
  font-size: 14px;
}

.rep-region p {
  margin: 0;
  color: #667085;
  line-height: 1.65;
}

.rep-contact-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.rep-contact-list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  transition: 0.2s ease;
}

.rep-contact-list a:hover {
  border-color: rgba(25, 118, 210, 0.35);
  transform: translateY(-2px);
}

.rep-contact-list span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.rep-contact-list strong {
  color: #0b2f5b;
  font-size: 16px;
  font-weight: 900;
}

.rep-whatsapp {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 16px 22px;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  background: #22c55e;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.20);
}

.rep-whatsapp:hover {
  color: #ffffff;
  background: #16a34a;
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 991px) {
  .contact-map-section {
    padding: 80px 0;
  }

  .contact-map-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-map-right {
    justify-content: flex-start;
  }

  .canakkale-map-wrapper {
    padding: 18px;
  }

  .map-point {
    padding: 6px 9px;
    font-size: 11px;
  }

  .rep-card {
    max-width: 100%;
    padding: 28px;
  }
}

@media (max-width: 576px) {
  .contact-map-header h2 {
    font-size: 36px;
  }

  .contact-map-header p {
    font-size: 17px;
  }

  .canakkale-map-wrapper {
    padding: 12px;
    border-radius: 24px;
    --pin-y-offset: 24px;
  }

  .canakkale-map-img {
    border-radius: 18px;
  }

  .map-point {
    padding: 5px 7px;
    font-size: 9px;
    border-width: 2px;
  }

  .rep-card h3 {
    font-size: 28px;
  }
}