/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
  --primary: #ffb03b;
  --primary-dark: #e89e30;
  --secondary: #33b6b4;
  --secondary-dark: #2a9a98;
  --dark: #1a1816;
  --dark-light: #2a2826;
  --light: #fffaf3;
  --white: #ffffff;
  --gray: #f8f9fa;
  --gray-dark: #e9ecef;
  --text: #433f39;
  --text-light: #948c81;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

/*--------------------------------------------------------------
# Base Styles
--------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.highlight {
  color: var(--primary);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Satisfy", cursive;
  font-size: 24px;
}

.logo-primary {
  color: var(--primary);
  font-weight: 700;
}

.logo-secondary {
  color: var(--secondary);
  font-weight: bolder;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  padding: 8px 0;
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-order {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 15px;
}

.btn-order:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/*--------------------------------------------------------------
# Branches Hero
--------------------------------------------------------------*/
.branches-hero {
  padding: 180px 0 100px;
  background:
    linear-gradient(
      135deg,
      rgba(26, 24, 22, 0.95) 0%,
      rgba(26, 24, 22, 0.8) 100%
    ),
    url("../img/branches-hero-bg.jpg") center/cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/*--------------------------------------------------------------
# Map Section
--------------------------------------------------------------*/
.map-section {
  padding: 80px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

#svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 400px;
  position: relative;
  background: var(--gray);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  margin: 30px 0;
}

#svg-turkey-map {
  width: 100%;
  height: auto;
  max-width: 800px;
}

.city {
  fill: #e0e0e0;
  stroke: var(--text-light);
  stroke-width: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.city:hover {
  fill: var(--primary);
  stroke-width: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.city.sibon-branch {
  fill: var(--secondary) !important;
  stroke: var(--white);
  stroke-width: 1.5;
}

.city.sibon-branch:hover {
  fill: var(--primary) !important;
}

.city.active {
  fill: var(--primary) !important;
  stroke: var(--white);
  stroke-width: 3;
  filter: drop-shadow(0 0 10px rgba(255, 176, 59, 0.5));
}

/* Location Markers */
.location-marker {
  position: absolute !important;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 3px 10px rgba(255, 176, 59, 0.5);
  cursor: pointer;
  z-index: 100;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  pointer-events: auto !important;
}

.location-marker:hover {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 5px 20px rgba(255, 176, 59, 0.8);
}

.location-marker.active {
  background: var(--secondary);
  box-shadow: 0 5px 20px rgba(51, 182, 180, 0.8);
  animation: activePulse 1s infinite;
}

.location-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

/* Tooltip */
.tooltip {
  position: absolute;
  padding: 12px 18px;
  background: rgba(26, 24, 22, 0.95);
  color: var(--white);
  border-radius: var(--radius);
  pointer-events: none;
  display: none;
  z-index: 1001;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
}

.tooltip::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: rgba(26, 24, 22, 0.95) transparent transparent;
}

/* City Name Display */
#city-name-display {
  position: fixed;
  padding: 16px 30px;
  background: linear-gradient(135deg, #1a1816, #2a2826);
  color: white;
  border-radius: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  font-weight: 600;
  z-index: 1001;
  display: none;
  align-items: center;
  gap: 12px;
  border: 3px solid #ffb03b;
  animation: smartAppear 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  max-width: min(90vw, 400px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sol taraftaki display için özel stil */
#city-name-display[style*="left: 20px"] {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-left: 6px solid #33b6b4;
}

/* Sağ taraftaki display için özel stil */
#city-name-display[style*="right: 20px"] {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-right: 6px solid #33b6b4;
}

@keyframes smartAppear {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
  #city-name-display {
    font-size: 14px;
    padding: 12px 20px;
    max-width: 80vw;
  }

  #city-name-display[style*="left: 20px"] {
    left: 10px !important;
  }

  #city-name-display[style*="right: 20px"] {
    right: 10px !important;
  }
}

/* Tooltip için responsive */
.tooltip {
  max-width: min(300px, 90vw);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 176, 59, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 176, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 176, 59, 0);
  }
}

@keyframes activePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(51, 182, 180, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(51, 182, 180, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(51, 182, 180, 0);
  }
}

/*--------------------------------------------------------------
# Branches Section
--------------------------------------------------------------*/
.branches-section {
  padding: 80px 0;
  background: var(--gray);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.branch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.branch-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.branch-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.branch-content {
  padding: 30px;
}

.branch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.branch-name {
  font-size: 1.5rem;
  color: var(--dark);
  margin: 0;
}

.branch-hours {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.branch-hours i {
  color: var(--primary);
}

.branch-services {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--gray);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text);
}

.service-tag i {
  color: var(--secondary);
}

.branch-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.branch-address i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.branch-contact {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.branch-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

.branch-phone:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-branch-map {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

.btn-branch-map:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Tüm şehir sınırları için çizgi stilleri */
<!-- Bu kodu subeler.html sayfasının map-section bölümüne ekleyin -->
<style>
/* ================ MÜKEMMEL HARİTA STİLLERİ ================ */
#svg-container {
  background: linear-gradient(145deg, #f5f7fa 0%, #e4e8ef 100%);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#svg-turkey-map {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.1));
}

/* Tüm şehirler için temel stiller */
.city {
  fill: #ffffff;
  stroke: #2c3e50 !important; /* Koyu lacivert çizgiler */
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: all 0.25s ease;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
}

/* Şehirler arası geçişleri belirginleştir */
.city:hover {
  fill: #ffd966;
  stroke: #e67e22 !important;
  stroke-width: 2 !important;
  filter: drop-shadow(0 4px 8px rgba(230, 126, 34, 0.3));
}

/* Aktif şehir */
.city.active {
  fill: #ffb03b !important;
  stroke: #ffffff !important;
  stroke-width: 2.5 !important;
  filter: drop-shadow(0 0 15px rgba(255, 176, 59, 0.6));
  animation: cityGlow 1.5s ease infinite;
}

/* Sibon Burger şubeleri */
.city.sibon-branch {
  fill: #d4f0f0 !important;
  stroke: #2c3e50 !important;
  stroke-width: 1.5 !important;
}

.city.sibon-branch:hover {
  fill: #33b6b4 !important;
  stroke: #ffffff !important;
}

/* Şube olan iller için özel işaret */
.city.sibon-branch::after {
  content: "●";
  position: absolute;
  color: #33b6b4;
  font-size: 20px;
}

/* Konum işaretçileri */
.location-marker {
  position: absolute !important;
  width: 28px;
  height: 28px;
  background: #ffb03b;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) translate(-50%, -50%);
  box-shadow: 0 4px 15px rgba(255, 176, 59, 0.5);
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto;
}

.location-marker::before {
  content: "●";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  color: white;
  font-size: 10px;
}

.location-marker:hover {
  transform: rotate(-45deg) translate(-50%, -50%) scale(1.3);
  background: #e67e22;
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.7);
}

.location-marker.active {
  background: #33b6b4;
  box-shadow: 0 0 0 10px rgba(51, 182, 180, 0.2);
  animation: markerPulse 1.5s ease infinite;
}

/* Şubesi olan iller için farklı işaretçi */
.location-marker.has-branch {
  background: #ff8c00;
}

/* Tooltip - Geliştirilmiş */
.tooltip {
  position: absolute;
  padding: 12px 20px;
  background: #1a1816;
  color: white;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
  z-index: 1002;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid #ffb03b;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.3px;
}

.tooltip::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 15px;
  height: 15px;
  background: #1a1816;
  border-right: 2px solid #ffb03b;
  border-bottom: 2px solid #ffb03b;
}

.tooltip strong {
  color: #ffb03b;
  margin-right: 5px;
}

.tooltip small {
  display: block;
  font-size: 12px;
  color: #33b6b4;
  margin-top: 5px;
}

/* Şehir adı gösterimi - Geliştirilmiş */
#city-name-display {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 30px;
  background: linear-gradient(135deg, #1a1816, #2a2826);
  color: white;
  border-radius: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  font-weight: 600;
  z-index: 1001;
  display: none;
  align-items: center;
  gap: 12px;
  border: 3px solid #ffb03b;
  animation: slideDown 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#city-name-display i {
  font-size: 24px;
  color: #ffb03b;
}

#city-name-dispanimation: slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes cityGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 176, 59, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 176, 59, 0.8));
  }
}

@keyframes markerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(51, 182, 180, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(51, 182, 180, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(51, 182, 180, 0);
  }
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
  .location-marker {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }

  .tooltip {
    font-size: 12px;
    padding: 8px 14px;
  }

  #city-name-display {
    font-size: 14px;
    padding: 12px 20px;
    top: 80px;
  }
}

@media (max-width: 576px) {
  .location-marker {
    width: 16px;
    height: 16px;
  }

  .city {
    stroke-width: 0.8 !important;
  }
}

/* Lejand */
.map-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #433f39;
}

.legend-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffb03b;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.legend-marker.branch {
  background: #0f9927;
}

.legend-marker.highlight {
  background: #ffb03b;
  animation: markerPulse 1.5s ease infinite;
}
</style>

<!-- Harita konteynırı -->
<div id="svg-container">
  <svg
    id="svg-turkey-map"
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 800 350"
  >
    <!-- Tüm illerin path'leri buraya eklenecek -->
    <!-- Mevcut path'leriniz burada kalacak -->
  </svg>
</div>

<!-- Lejand -->
<div class="map-legend">
  <div class="legend-item">
    <div class="legend-marker"></div>
    <span>Şube Bulunmayan İl</span>
  </div>
  <div class="legend-item">
    <div class="legend-marker branch"></div>
    <span>Sibon Burger Şubesi</span>
  </div>
  <div class="legend-item">
    <div class="legend-marker highlight"></div>
    <span>Aktif Seçim</span>
  </div>
</div>

<!-- Şehir adı gösterimi -->
<div id="city-name-display">
  <i class="fas fa-map-pin"></i>
  <span id="city-name-text"></span>
</div>;

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1816 0%, #2a2826 100%);
  color: #ffffff;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-cta.primary {
  background: #ffb03b;
  color: #ffffff;
}

.btn-cta.primary:hover {
  background: #e89e30;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 176, 59, 0.3);
}

.btn-cta.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta.secondary:hover {
  border-color: #ffffff;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: "Satisfy", cursive;
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 25px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 0;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-locations {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.location h4 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.location p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.location .phone {
  color: var(--primary);
  font-weight: 500;
}

.working-hours {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hours {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  flex-direction: column;
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-weight: 500;
}

.payment-methods {
  display: flex;
  gap: 15px;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 10px;
}

.footer-links a:before {
  content: "→";
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: var(--transition);
}

.footer-links a:hover:before {
  left: 0;
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.developer a {
  color: var(--primary);
  font-weight: 500;
}

.developer a:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Back to Top
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
  box-shadow: 0 5px 20px rgba(255, 176, 59, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/*--------------------------------------------------------------
# Phone Modal
--------------------------------------------------------------*/
.phone-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.phone-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.modal-header {
  padding: 25px 30px 20px;
  border-bottom: 1px solid var(--gray-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.5rem;
  margin: 0;
  color: var(--dark);
}

.modal-close {
  width: 36px;
  height: 36px;
  background: var(--gray);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-body {
  padding: 30px;
}

.modal-description {
  color: var(--text-light);
  margin-bottom: 25px;
  text-align: center;
  font-size: 1rem;
}

.phone-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.phone-option {
  display: flex;
  align-items: center;
  padding: 20px;
  background: var(--gray);
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.phone-option:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.option-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.option-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.option-details {
  flex: 1;
}

.option-title {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.option-phone {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.option-address {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.option-action {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.phone-option:hover .option-action {
  background: var(--secondary-dark);
}

.option-action i {
  color: var(--white);
  font-size: 1rem;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .branches-hero {
    padding: 150px 0 80px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  #svg-container {
    padding: 15px;
    min-height: 300px;
  }

  .location-marker {
    width: 16px !important;
    height: 16px !important;
    border: 2px solid var(--white) !important;
  }

  .location-marker::after {
    width: 5px !important;
    height: 5px !important;
  }

  #city-name-display {
    font-size: 16px;
    padding: 12px 20px;
    top: 150px;
  }

  .tooltip {
    font-size: 12px;
    padding: 10px 14px;
  }

  .branches-grid {
    grid-template-columns: 1fr;
  }

  .branch-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .branch-contact {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  #svg-container {
    min-height: 250px;
    padding: 10px;
  }

  .location-marker {
    width: 14px !important;
    height: 14px !important;
    border: 1.5px solid var(--white) !important;
  }

  .location-marker::after {
    width: 4px !important;
    height: 4px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Animation for phone call */
@keyframes ring {
  0%,
  100% {
    transform: rotate(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: rotate(-10deg);
  }
  20%,
  40%,
  60%,
  80% {
    transform: rotate(10deg);
  }
}

.map path {
  fill: #e0e0e0; /* İllerin iç rengi */
  stroke: #000; /* Sınır rengi */
  stroke-width: 1; /* Sınır kalınlığı */
  cursor: pointer;
  transition: 0.3s;
}

#svg-turkey-map path {
  fill: #0f9927 !important; /* İl iç rengi */
  stroke: #000000 !important; /* Sınır çizgisi rengi */
  stroke-width: 0.8; /* Çizgi kalınlığı */
}

.map path:hover {
  fill: #ff4d4d; /* Hover rengi */
  stroke: #000;
  stroke-width: 1.5;
}

.phone-option.calling .option-action {
  animation: ring 0.5s ease infinite;
  background: var(--primary);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
