/* ==========================================================================
   MENDERES HAVUZ & PEYZAJ - COMPONENT SPECIFIC STYLES
   Calculator, Before/After Slider, Modals, Detail Layouts
   ========================================================================== */

:root {
  --pool-cyan: var(--primary, #0284c7);
  --pool-blue-dark: var(--primary-dark, #0369a1);
  --pool-bg-light: var(--primary-subtle, #e0f2fe);
  --eco-emerald: var(--secondary, #059669);
  --eco-bg-light: #ecfdf5;
  --navy-dark: var(--bg-dark, #0a1324);
  --bg-page: var(--bg-main, #f8fafc);
}

/* ==========================================================================
   INTERACTIVE COST CALCULATOR (HAVUZ & PEYZAJ HESAPLAMA)
   ========================================================================== */
.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.calc-form-area {
  padding: 2.5rem;
}

.calc-tab-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: var(--bg-page);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.calc-tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.calc-tab-btn.active {
  background: #ffffff;
  color: var(--pool-cyan);
  box-shadow: var(--shadow-sm);
}

.calc-tab-btn.tab-green.active {
  color: var(--eco-emerald);
}

.calc-group {
  margin-bottom: 1.75rem;
}

.calc-group-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

.calc-val-badge {
  background: var(--pool-bg-light);
  color: var(--pool-cyan);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pool-cyan);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
  transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.calc-option-label {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-page);
}

.calc-option-label:hover {
  border-color: var(--pool-cyan);
}

.calc-option-label input[type="radio"],
.calc-option-label input[type="checkbox"] {
  display: none;
}

.calc-option-label.selected {
  background: var(--pool-bg-light);
  border-color: var(--pool-cyan);
  color: var(--pool-cyan);
  font-weight: 700;
}

.calc-summary-area {
  background: linear-gradient(135deg, #0a192f 0%, #132b4f 100%);
  color: #ffffff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-title {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.calc-summary-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.calc-breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.calc-total-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.calc-total-label {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-total-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.1;
  margin: 0.35rem 0;
}

.calc-total-note {
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* ==========================================================================
   BEFORE / AFTER COMPARISON SLIDER
   ========================================================================== */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  user-select: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ba-image-before {
  z-index: 1;
}

.ba-image-after {
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.ba-image-after-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 900px;
  max-width: none;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ba-label {
  position: absolute;
  bottom: 20px;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  z-index: 4;
}

.ba-label-before {
  right: 20px;
}

.ba-label-after {
  left: 20px;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #ffffff;
  z-index: 5;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  font-size: 1.2rem;
  cursor: ew-resize;
}

/* ==========================================================================
   GALLERY FILTER TABS & PROJECT GRID
   ========================================================================== */
.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--pool-cyan);
  color: #ffffff;
  border-color: var(--pool-cyan);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-item-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #0f172a;
}

.gallery-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-item-img img {
  transform: scale(1.08);
}

.gallery-item-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.gallery-item-body {
  padding: 1.25rem 1.5rem;
}

.gallery-item-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--navy-dark);
}

.gallery-item-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DETAIL PAGE LAYOUT (HİZMET & BÖLGE DETAYLARI)
   ========================================================================== */
.detail-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.detail-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.detail-content h2 {
  font-size: 1.85rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.detail-content h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.detail-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.detail-hero-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  height: 360px;
}

.detail-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-checklist {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--pool-cyan);
}

.detail-checklist li {
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.detail-checklist li svg {
  color: var(--pool-cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Sidebar */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.sidebar-card.highlight {
  background: linear-gradient(135deg, #0a192f 0%, #132b4f 100%);
  color: #ffffff;
  border: none;
}

.sidebar-card.highlight h3, .sidebar-card.highlight h4 {
  color: #ffffff;
}

.sidebar-nav-list li {
  margin-bottom: 0.5rem;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-dark);
  transition: var(--transition);
}

.sidebar-nav-link:hover, .sidebar-nav-link.active {
  background: var(--pool-cyan);
  color: #ffffff;
  padding-left: 1.25rem;
}

.sidebar-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sidebar-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
}

.sidebar-tag:hover {
  background: var(--pool-cyan);
  color: #ffffff;
  border-color: var(--pool-cyan);
}

/* ==========================================================================
   CONTACT FORM & INFO CARDS (İLETİŞİM SAYFASI)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--pool-bg-light);
  color: var(--pool-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-icon.green {
  background: var(--eco-bg-light);
  color: var(--eco-emerald);
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-info-text a:hover {
  color: var(--pool-cyan);
}

.map-card {
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   MODAL DIALOG (HIZLI KEŞİF / TEKLİF FORMU)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-page);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: #fff;
}

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--navy-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE COMPONENT ADJUSTMENTS
   ========================================================================== */
@media (max-width: 900px) {
  .calculator-card {
    grid-template-columns: 1fr;
  }
  
  .calc-form-area, .calc-summary-area {
    padding: 1.75rem;
  }
  
  .detail-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .before-after-container {
    height: 320px;
  }
  
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-content {
    padding: 1.5rem;
  }
  
  .detail-hero-banner {
    height: 220px;
  }
}


/* ==========================================================================
   REGIONAL DIRECTORY & CLUSTER SYSTEM (HİZMET BÖLGELERİ & MAHALLE SİSTEMİ)
   ========================================================================== */
.regions-hero-search {
  max-width: 680px;
  margin: 1.5rem auto 0;
  position: relative;
}

.region-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.5rem 0.6rem 0.5rem 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.region-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--navy-dark);
  background: transparent;
}

.region-search-input::placeholder {
  color: var(--text-muted);
}

.region-search-btn {
  background: var(--pool-cyan);
  color: #fff;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.region-search-btn:hover {
  background: var(--pool-blue-dark);
}

.region-filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.filter-chip {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-chip:hover {
  border-color: var(--pool-cyan);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--navy-dark), #0f294a);
  color: #ffffff;
  border-color: var(--navy-dark);
  box-shadow: 0 4px 12px rgba(15, 41, 74, 0.25);
  transform: translateY(-2px);
}

/* Modern District Cards */
.district-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.district-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.district-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(56, 189, 248, 0.4);
  border-color: transparent;
}

.district-card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #0f172a;
}

.district-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.district-card:hover .district-card-img-wrap img {
  transform: scale(1.08);
}

.district-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(6, 17, 36, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}

.district-card-badges-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.district-card-icon-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.district-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--navy-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.district-card-overlay-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.district-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.district-card-sub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.district-sub-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-page);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.district-card-text {
  font-size: 0.87rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.district-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px dashed var(--border-light);
  padding-top: 1rem;
}

.district-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.district-action-btn.btn-pool-build {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
.district-action-btn.btn-pool-build:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateX(3px);
}

.district-action-btn.btn-pool-maint {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}
.district-action-btn.btn-pool-maint:hover {
  background: var(--navy-dark);
  color: #ffffff;
  border-color: var(--navy-dark);
  transform: translateX(3px);
}

.district-action-btn.btn-landscape {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.district-action-btn.btn-landscape:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  transform: translateX(3px);
}

/* Service Cluster Box on Subpages */
.service-cluster-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.05), rgba(5, 150, 105, 0.05));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2.5rem 0;
}

.cluster-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.cluster-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.cluster-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.cluster-card:hover {
  border-color: var(--pool-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cluster-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

.cluster-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mahalle Cloud Box */
.mahalle-cloud-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.mahalle-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mahalle-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.mahalle-tag-item:hover {
  background: var(--navy-dark);
  color: #ffffff;
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

@media (max-width: 1024px) {
  .district-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .district-showcase-grid {
    grid-template-columns: 1fr;
  }
  .cluster-grid {
    grid-template-columns: 1fr;
  }
}
