/* ========================================
   Hero Banner - Türkiye Haritası Tasarımı
   Ölçüler: Desktop 1920×760px, Tablet 100%×720px, Mobile 100%×620px
   ======================================== */

/* Ana Container */
.hero-banner-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background-color: #4A00A3;
}

/* Tablet */
@media (min-width: 768px) {
  .hero-banner-container {
    height: 720px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-banner-container {
    height: 760px;
  }
}

/* ========================================
   Arka Plan ve Gradient
   ======================================== */

.hero-bg-gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, #FFB84D 0%, #FF9800 50%, #F57C00 100%);
  z-index: 0;
}

/* ========================================
   Türkiye Haritası Bölümü
   ======================================== */

.turkey-map-section {
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .turkey-map-section {
    height: 540px;
    top: 90px;
    right: 5%;
    width: 55%;
    max-width: 900px;
    opacity: 0.9;
    pointer-events: auto;
  }
}

@media (min-width: 1024px) {
  .turkey-map-section {
    height: 680px;
    top: 48px;
  }
}

/* Harita Görseli */
.turkey-map-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('/images/banner/turkey-map.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
}

/* SVG Bağlantı Çizgileri */
.connection-lines {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========================================
   Şehir Işıkları
   ======================================== */

.city-lights {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.city-light {
  position: absolute;
  transform: translate(-50%, -50%);
}

/* Large Cities */
.city-light.city-large .light-glow-1 {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.6) 0%, rgba(255, 152, 0, 0.2) 50%, transparent 100%);
  filter: blur(25px);
  transform: translate(-50%, -50%);
  animation: pulse 2.5s ease-in-out infinite;
}

@media (max-width: 767px) {
  .city-light.city-large .light-glow-1 {
    width: 60px;
    height: 60px;
    filter: blur(15px);
    opacity: 0.4;
  }
}

.city-light.city-large .light-glow-2 {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.8) 0%, rgba(255, 152, 0, 0.4) 100%);
  filter: blur(12px);
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-in-out infinite;
}

.city-light.city-large .light-core {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FF9800;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px #FF9800, 0 0 40px rgba(255, 152, 0, 0.6);
  animation: pulse 1.5s ease-in-out infinite;
}

@media (max-width: 767px) {
  .city-light.city-large .light-core {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 12px #FF9800, 0 0 24px rgba(255, 152, 0, 0.4);
    opacity: 0.5;
  }
}

.city-light.city-large .light-center {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #FFFFFF, 0 0 30px #FFD700;
}

.city-light.city-large .light-ripple {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid #FF9800;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: ripple 3s ease-out infinite;
}

/* Medium Cities */
.city-light.city-medium .light-glow-1 {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.6) 0%, rgba(255, 152, 0, 0.2) 50%, transparent 100%);
  filter: blur(25px);
  transform: translate(-50%, -50%);
  animation: pulse 3.1s ease-in-out infinite;
}

.city-light.city-medium .light-glow-2 {
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.8) 0%, rgba(255, 152, 0, 0.4) 100%);
  filter: blur(12px);
  transform: translate(-50%, -50%);
  animation: pulse 2.6s ease-in-out infinite;
}

.city-light.city-medium .light-core {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FF9800;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px #FF9800, 0 0 40px rgba(255, 152, 0, 0.6);
  animation: pulse 2.1s ease-in-out infinite;
}

.city-light.city-medium .light-center {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #FFFFFF, 0 0 30px #FFD700;
}

.city-light.city-medium .light-ripple {
  position: absolute;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  border: 2px solid #FF9800;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: ripple 3.9s ease-out infinite;
}

/* Small Cities */
.city-light.city-small .light-glow-1 {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.6) 0%, rgba(255, 152, 0, 0.2) 50%, transparent 100%);
  filter: blur(25px);
  transform: translate(-50%, -50%);
  animation: pulse 4.1s ease-in-out infinite;
}

.city-light.city-small .light-glow-2 {
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.8) 0%, rgba(255, 152, 0, 0.4) 100%);
  filter: blur(12px);
  transform: translate(-50%, -50%);
  animation: pulse 3.6s ease-in-out infinite;
}

.city-light.city-small .light-core {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF9800;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px #FF9800, 0 0 40px rgba(255, 152, 0, 0.6);
  animation: pulse 3.1s ease-in-out infinite;
}

.city-light.city-small .light-center {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #FFFFFF, 0 0 30px #FFD700;
}

.city-light.city-small .light-ripple {
  position: absolute;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 2px solid #FF9800;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: ripple 5.4s ease-out infinite;
}

/* ========================================
   Animasyonlar
   ======================================== */

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes ripple {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

@keyframes slideIn {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes float {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

/* ========================================
   Glow Overlay
   ======================================== */

.hero-glow-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(ellipse at center, rgba(123, 0, 255, 0.15) 0%, transparent 70%);
}

/* ========================================
   Fiyat Kutusu (Sağ Alt Köşe)
   ======================================== */

.price-box {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: rgba(123, 0, 255, 0.95) !important;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 0.625rem;
  z-index: 15;
  max-width: calc(100% - 1.5rem);
  min-width: 120px;
}

@media (min-width: 481px) {
  .price-box {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1rem;
    min-width: 140px;
  }
}

@media (min-width: 768px) {
  .price-box {
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    max-width: none;
    min-width: auto;
    background: rgba(123, 0, 255, 0.95) !important;
  }
}

.price-box-title {
  color: white;
  font-size: 0.6875rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  line-height: 1.2;
}

@media (min-width: 481px) {
  .price-box-title {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .price-box-title {
    font-size: 1rem;
  }
}

.price-box-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.6875rem;
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

@media (min-width: 481px) {
  .price-box-subtitle {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .price-box-subtitle {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}

.price-box-amount {
  color: #FFD700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 481px) {
  .price-box-amount {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .price-box-amount {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
}

.price-box-progress {
  margin-top: 0.75rem;
  height: 0.25rem;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.price-box-progress-bar {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #FF9800 0%, #FFD700 100%);
  width: 100%;
  animation: slideIn 2s ease-out;
}

/* ========================================
   İçerik (Fotoğraf + Metin)
   ======================================== */

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (min-width: 481px) {
  .hero-content {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 0;
    padding-bottom: 0;
    display: block;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.hero-content-inner {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch; /* Üstten ve alttan aynı hizada olması için */
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  padding: 1rem;
}

/* Çok küçük ekranlarda column */
@media (max-width: 480px) {
  .hero-content-inner {
    flex-direction: column;
    align-items: stretch; /* Üstten ve alttan aynı hizada olması için */
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 481px) {
  .hero-content-inner {
    flex-direction: row;
    gap: 1.5rem;
    padding: 1.5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 768px) {
  .hero-content-inner {
    gap: 3rem;
    width: auto;
    max-width: none;
    padding: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* ========================================
   Fotoğraf (Sol Taraf)
   ======================================== */

.hero-photo {
  display: flex; /* Flex container olarak ayarla */
  align-items: stretch; /* Üstten ve alttan aynı hizada olması için */
  width: 140px;
  height: 100%; /* Parent'ın yüksekliğine göre ayarla */
  min-height: 180px; /* Minimum yükseklik */
  flex-shrink: 0;
  position: relative;
  border-radius: 0.75rem;
  overflow: visible; /* Logo overlay'in görünmesi için visible */
  margin: 0;
  z-index: 1; /* Fotoğraf container'ı */
}

@media (min-width: 481px) {
  .hero-photo {
    width: 180px;
    height: 100%; /* Parent'ın yüksekliğine göre ayarla */
    min-height: 230px; /* Minimum yükseklik */
    border-radius: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-photo {
    width: 420px;
    height: 100%; /* Parent'ın yüksekliğine göre ayarla */
    min-height: 540px; /* Minimum yükseklik */
    border-radius: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-photo {
    width: 580px;
    height: 100%; /* Parent'ın yüksekliğine göre ayarla */
    min-height: 680px; /* Minimum yükseklik */
  }
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1; /* Fotoğraf arka planda */
}

/* Logo Overlay - Önlük Üzerinde (Erkek çalışanın önlüğünün önünde) */
.hero-logo-overlay {
  position: absolute;
  top: 45%; /* Biraz yukarı - önlük bölgesine */
  left: 40%; /* Önlüğün kare kısmının ortasına - sola kaydırıldı */
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
  transform: translateX(-50%) perspective(800px) rotateY(-5deg) rotateX(2deg); /* Ortalamak için translateX(-50%) */
  z-index: 1000; /* Önlüğün önünde görünmesi için çok yüksek z-index */
  pointer-events: none; /* Tıklamaları engelleme */
}

@media (max-width: 767px) {
  .hero-logo-overlay {
    width: 3rem;
    height: 3rem;
    top: 42%; /* Mobilde biraz daha yukarı */
    left: 35%; /* Mobilde önlüğün kare kısmının ortasına - sola kaydırıldı */
    transform: translateX(-50%) perspective(400px) rotateY(-3deg) rotateX(1deg); /* Ortalamak için translateX(-50%) */
  }
}

@media (min-width: 1024px) {
  .hero-logo-overlay {
    width: 8rem;
    height: 8rem;
  }
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.95; /* Biraz daha opak */
  mix-blend-mode: normal; /* multiply yerine normal - daha görünür */
  position: relative;
  z-index: 101; /* Logo overlay'in içinde en üstte */
  pointer-events: none; /* Tıklamaları engelleme */
}

/* Derinlik Efekti */
.hero-photo-depth {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* ========================================
   Metin (Sağ Taraf)
   ======================================== */

.hero-text {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch; /* Üstten ve alttan aynı hizada olması için */
  gap: 1rem;
  width: 100%;
  padding: 0;
  z-index: 12;
  position: relative;
  min-width: 0; /* Flex item'in taşmasını önler */
  height: 100%; /* Parent'ın yüksekliğine göre ayarla */
}

@media (max-width: 480px) {
  .hero-text {
    text-align: center;
    gap: 0.875rem;
  }
}

@media (min-width: 481px) {
  .hero-text {
    text-align: left;
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero-text {
    gap: 2rem;
    width: auto;
    position: static;
  }
}

.hero-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
}

@media (min-width: 481px) {
  .hero-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.375rem;
    line-height: 4rem;
  }
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0;
}

@media (min-width: 481px) {
  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.375rem;
    line-height: 2rem;
  }
}

/* ========================================
   CTA Button
   ======================================== */

.hero-cta {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 480px) {
  .hero-cta {
    justify-content: center;
  }
}

.hero-btn {
  width: 100%;
  max-width: 280px;
  height: 2.75rem;
  background-color: #FF9800;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  margin: 0;
  white-space: nowrap;
}

.hero-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 152, 0, 0.6);
}

@media (min-width: 481px) {
  .hero-btn {
    max-width: 260px;
    height: 3rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 768px) {
  .hero-btn {
    max-width: none;
    width: 240px;
    height: 4rem;
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .hero-btn {
    width: 260px;
    height: 4.5rem;
    font-size: 1.375rem;
  }
}

.hero-btn-icon {
  width: 1.125rem;
  height: 1.125rem;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 481px) {
  .hero-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero-btn-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-btn-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* ========================================
   Floating Particles
   ======================================== */

.floating-particles {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent);
  background-size: 300% 300%;
  animation: float 25s ease-in-out infinite;
  pointer-events: none;
}
