/* =====================================================
   Inspire Konum Widget – Stylesheet
   Elementor global button stillerini override eder.
   ===================================================== */

.inspire-konum-widget,
.inspire-konum-widget *,
.inspire-konum-widget *::before,
.inspire-konum-widget *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.inspire-konum-widget {
  font-family: inherit;
  width: 100%;
}

/* ---- HEADER ---- */
.ik-header {
  margin-bottom: 42px;
}

.ik-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 14px;
}

.ik-subtitle {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  max-width: 430px;
}

/* ---- BODY LAYOUT ---- */
.ik-body {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* ---- MAP COLUMN ---- */
.ik-map-col {
  flex: 0 0 470px;
  max-width: 470px;
}

.ik-map-wrapper {
  position: relative;
  width: 100%;
  height: 330px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8e8e8;
}

.ik-map {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ik-map.active {
  opacity: 1;
  pointer-events: auto;
}

.ik-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.ik-no-map {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #aaa;
  font-size: 13px;
}

/* ---- INFO COLUMN ---- */
.ik-info-col {
  flex: 1;
  min-width: 0;
}

/* ---- TABS ---- */
.ik-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 36px;
}

/*
 * Elementor'un global button stillerini sıfırlamak için !important kullanılıyor.
 * Elementor: button { background: var(--e-global-color-accent); color:#fff; ... }
 */
.elementor-widget-inspire_konum .ik-tab,
.inspire-konum-widget .ik-tabs .ik-tab {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  text-shadow: none !important;

  display: inline-block !important;
  padding: 10px 24px 14px !important;
  margin-bottom: -1px !important;

  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;

  color: #b0b0b0 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  vertical-align: bottom !important;

  transition: color 0.2s ease, border-bottom-color 0.2s ease !important;
}

.elementor-widget-inspire_konum .ik-tab:hover,
.inspire-konum-widget .ik-tabs .ik-tab:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: #e91e8c !important;
  border-bottom-color: transparent !important;
}

.elementor-widget-inspire_konum .ik-tab.active,
.inspire-konum-widget .ik-tabs .ik-tab.active {
  background: transparent !important;
  background-color: transparent !important;
  color: #e91e8c !important;
  border-bottom-color: #e91e8c !important;
  font-weight: 600 !important;
}

/* ---- DETAILS ---- */
.ik-detail {
  display: none;
}

.ik-detail.active {
  display: block;
}

/* ---- INFO ITEMS ---- */
.ik-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}

.ik-info-item:last-child {
  margin-bottom: 0;
}

/* ---- ICON ---- */
.ik-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e91e8c;
}

.ik-icon-bg {
  background-color: rgba(233, 30, 140, 0.1) !important;
}

.ik-icon svg {
  fill: currentColor;
  display: block;
}

/* ---- INFO CONTENT ---- */
.ik-info-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 3px;
}

.ik-info-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  display: block;
  line-height: 1.3;
}

.ik-info-value {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  display: block;
  text-decoration: none;
}

a.ik-info-value:hover,
.ik-email-link:hover {
  color: #e91e8c;
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .ik-map-col {
    flex: 0 0 380px;
    max-width: 380px;
  }
  .ik-body {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .ik-map-col {
    flex: 0 0 320px;
    max-width: 320px;
  }
  .ik-body {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .ik-body {
    flex-direction: column;
    gap: 30px;
  }
  .ik-map-col {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .ik-title {
    font-size: 26px;
  }
  .elementor-widget-inspire_konum .ik-tab,
  .inspire-konum-widget .ik-tabs .ik-tab {
    padding: 8px 14px 12px !important;
    font-size: 13px !important;
  }
}
