/* Menü butonunu öne çıkaran özel stil */
.nav-btn[data-tr="Menü"],
.nav-btn[data-en="Menu"] {
  background: linear-gradient(90deg, #E6C229 70%, #8B5A2B 100%);
  color: #1A1A1A !important;
  font-weight: 700;
  border: 2.5px solid #fff2;
  box-shadow: 0 4px 24px 0 rgba(230,194,41,0.18), 0 0 0 3px rgba(230,194,41,0.10);
  position: relative;
  z-index: 1;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, border 0.3s;
  overflow: hidden;
}
.nav-btn[data-tr="Menü"]::after,
.nav-btn[data-en="Menu"]::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  box-shadow: 0 0 16px 6px #E6C22955;
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  animation: menu-glow 2.5s infinite alternate;
}
@keyframes menu-glow {
  0% { box-shadow: 0 0 16px 6px #E6C22955; }
  100% { box-shadow: 0 0 32px 12px #E6C22999; }
}
.nav-btn[data-tr="Menü"]:hover,
.nav-btn[data-en="Menu"]:hover {
  background: linear-gradient(90deg, #FFD700 80%, #E6C229 100%);
  color: #8B5A2B !important;
  box-shadow: 0 8px 32px 0 #E6C22999, 0 0 0 4px #FFD70044;
  border-color: #FFD700;
}
/* Self Servis ve Selfy Point Rozetleri */
.self-badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  margin: 1.1rem auto 0 auto;
}
.self-service-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #E6C229 60%, #8B5A2B 100%);
  border-radius: 32px;
  box-shadow: 0 2px 12px rgba(230,194,41,0.18);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
  border: 2px solid #fff2;
  transition: transform 0.2s, box-shadow 0.2s;
}
.self-service-badge:hover {
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 4px 24px rgba(230,194,41,0.28);
}
.selfy-point-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 5.2rem;
  height: 7.2rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #8B5A2B;
  background: none;
  border: none;
  margin-top: -4.4rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.selfy-point-badge::before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5rem;
  height: 5rem;
  transform: translate(-50%, -50%);
  background: url('data:image/svg+xml;utf8,<svg width="74" height="74" viewBox="0 0 74 74" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="8" y="20" width="58" height="38" rx="8" fill="none" stroke="%23E6C229" stroke-width="4"/><rect x="24" y="12" width="26" height="10" rx="4" fill="none" stroke="%23E6C229" stroke-width="4"/><circle cx="37" cy="39" r="13" fill="none" stroke="%23E6C229" stroke-width="4"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1;
}
.selfy-point-badge span {
  position: relative;
  z-index: 1;
  color: #8B5A2B;
  font-weight: 700;
  font-size: 1.08rem;
  text-transform: uppercase;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  margin-top: 6.2rem;
  margin-bottom: 0.2rem;
  display: block;
}
.selfy-point-badge:hover {
  transform: scale(1.12) rotate(2deg);
  box-shadow: 0 4px 16px rgba(230,194,41,0.22);
}
/* Self Servis Badge */
.self-service-badge {
  display: inline-block;
  margin: 1.1rem auto 0 auto;
  padding: 0.5rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #E6C229 60%, #8B5A2B 100%);
  border-radius: 32px;
  box-shadow: 0 2px 12px rgba(230,194,41,0.18);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
  border: 2px solid #fff2;
  transition: transform 0.2s, box-shadow 0.2s;
}
.self-service-badge:hover {
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 4px 24px rgba(230,194,41,0.28);
}
/* Anasayfa modern bloklar */
.main-home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 16px 40px 16px;
}
.home-hero-block {
  text-align: center;
  margin-bottom: 2.5rem;
}
.home-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--secondary);
  background: linear-gradient(135deg, var(--secondary), #CD853F);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.8px;
  opacity: 0.95;
  color: #fff;
  margin-bottom: 2.2rem;
}
.about-section {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.about-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: #e0e0e0;
  background: rgba(139,90,43,0.07);
  border-radius: 18px;
  padding: 2.2rem 2.5rem;
  max-width: 700px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: 1px solid rgba(230, 194, 41, 0.10);
}
.gallery-section {
  margin-top: 2.5rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}
.gallery-img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  object-fit: cover;
  background: #222;
}
@media (max-width: 900px) {
  .about-text { padding: 1.2rem 1rem; }
  .gallery-img { max-width: 100%; }
}
@media (max-width: 600px) {
  .main-home { padding: 90px 4px 20px 4px; }
  .home-title { font-size: 2.2rem; }
  .about-text { font-size: 0.98rem; }
  .gallery-section { margin-top: 1.2rem; }
  .gallery-grid { gap: 1.1rem; }
}
/* ========== GLOBAL STYLES ========== */
:root {
  --primary: #8B5A2B; /* Premium kahve tonu */
  --secondary: #E6C229; /* Altın rengi */
  --dark: #1A1A1A;
  --light: #F5F5F5;
  --text-light: #F0F0F0;
  --text-dark: #333;
  --whatsapp: #25D366;
  --transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  color: var(--text-light);
  background-color: var(--dark);
}

/* ========== HEADER & NAVIGATION ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(31, 20, 11, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 2rem;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  padding: 0.75rem 2rem;
  background-color: rgba(31, 20, 11, 0.98);
}

.header-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
}
#lang-switch {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 1rem;
  height: 40px;
  min-width: 90px;
  max-width: 40vw;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s, border 0.2s;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="16" viewBox="0 0 20 20" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M5.516 7.548a.75.75 0 0 1 1.06 0L10 10.97l3.424-3.423a.75.75 0 1 1 1.06 1.06l-3.954 3.954a.75.75 0 0 1-1.06 0L5.516 8.608a.75.75 0 0 1 0-1.06z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 1em;
  padding-right: 2.5em;
  margin-left: 0;
  margin-right: 0;
  vertical-align: middle;
  box-sizing: border-box;
  justify-content: flex-start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
#lang-switch:hover, #lang-switch:focus {
  background: rgba(255,255,255,0.15);
}
#lang-switch::-ms-expand {
  display: none;
}
.nav-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: auto;
  width: auto;
  max-width: 60vw;
  overflow-x: auto;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
}

/* Language Switch - Modern Toggle */
.language-switch {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.language-switch:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Navigation Buttons - Elite Style */
.nav-btn {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  height: 40px;
  min-width: 80px;
  max-width: 100%;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.nav-btn:hover::before {
  left: 100%;
}

.nav-btn:hover, .nav-btn:focus {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-btn:active {
  transform: translateY(0);
  transition: transform 0.1s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0 8px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
  }
  .lang-switch {
    font-size: 14px;
    min-width: 90px;
    max-width: 40vw;
  }
  .nav-buttons {
    gap: 8px;
    max-width: 60vw;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .nav-btn {
    font-size: 14px;
    min-width: 80px;
  }

  /* Instagram ve WhatsApp butonlarını alt alta göster */
  .instagram-float, .whatsapp-float {
    padding: 1rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .instagram-float {
    right: 20px !important;
    bottom: 80px !important;
  }
  .whatsapp-float {
    right: 20px !important;
    bottom: 20px !important;
  }
  
  .instagram-float:hover, .whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  }
  
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  }
  
  .pulse {
    animation: pulse 2s infinite;
  }
}

/* If you have a dropdown for language, ensure it doesn't overflow */
.lang-switch-dropdown {
  position: absolute;
  left: 8px;
  top: 48px;
  min-width: 120px;
  max-width: 90vw;
  background: #222;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  overflow: hidden;
  z-index: 1000;
  font-size: 15px;
  white-space: nowrap;
}
.lang-switch-dropdown .dropdown-item {
  padding: 10px 16px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-switch-dropdown .dropdown-item:hover {
  background: #333;
}


/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    to bottom,
    rgba(139, 90, 43, 0.4),
    rgba(31, 20, 11, 0.7)
  ), url(../images/ana_sayfa.jpg) center/cover no-repeat;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
  animation: slideUpFadeIn 1s ease-out 0.3s both;
  color: #fff;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.8px;
  opacity: 0.95;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
  animation: slideUpFadeIn 1s ease-out 0.6s both;
}

/* Başlık altı ince gri çizgi */
.hero-title {
    position: relative;
    padding-bottom: 10px; /* Çizgi için biraz boşluk */
}

.hero-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;       /* Çizgi uzunluğu, istediğin gibi ayarla */
    height: 2px;       /* Çizgi kalınlığı */
    background-color: #aaa; /* Gri ton, dilersen değiştirebilirsin */
    border-radius: 1px;     /* Daha şık köşeler için */
}

/* Alt başlık altına da benzer çizgi */
.hero-subtitle {
    position: relative;
    margin-top: 12px;
    padding-bottom: 8px;
}

.hero-subtitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 300px;       /* Daha kısa olabilir */
    transform: translateX(-50%);
    height: 1.5px;
    background-color: #bbb;
    border-radius: 1px;
}


/* ========== WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px; /* sağdan 20px */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #eee;
    background-color: #444;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #555;
    color: #fff;
}

/* Pulse animasyon tanımı */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 117, 125, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(108, 117, 125, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 117, 125, 0);
    }
}


.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 32px !important;
  height: 32px !important;
  fill: white;
  display: block;
}

/* ========== ANIMATIONS ========== */
@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
  .header {
    padding: 1rem;
  }
  
  .nav-menu {
    width: 280px;
    left: -280px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  #lang-switch {
    width: 100%;
    max-width: 160px;
    height: 40px;
    font-size: 14px;
    box-sizing: border-box;
    padding: 10px 16px;
    margin: 0 0 0.5rem 0;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
  }
  #lang-switch option {
    font-size: 14px;
    background: #2A1B0F;
    color: #fff;
    border-radius: 20px;
    white-space: nowrap;
    overflow: hidden;
  }
  .nav-buttons {
    margin-left: 0;
    justify-content: flex-end;
  }
  .hero {
    background-attachment: scroll;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.75rem;
  }
  
  .language-switch {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  .nav-menu {
    width: 100%;
    left: -100%;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
/* ===== HAMBURGER MENU FIX ===== */
.hamburger-menu {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.instagram-float {
    position: fixed;
    bottom: 20px;
    right: 80px; /* WhatsApp butonunun tam soluna */
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #eee;
    background-color: #444;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.instagram-float svg,
.whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
    fill: white;
    display: block;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #eee;
    background-color: #444;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    z-index: 1000;
}

.instagram-float svg {
    width: 32px !important;
    height: 32px !important;
    fill: white;
    display: block;
}

.instagram-float:hover {
    transform: translateY(-5px);
    background-color: #555;
    color: #fff;
}
.history-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 80px;
  gap: 80px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: #ddd;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  min-height: 500px; /* Minimum yükseklik ekle */
}

.history-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.history-image {
  order: 2;
  flex: 0 0 45%;
  position: relative;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px; /* Sabit yükseklik */
}

.history-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, #8B4513, #D2691E, #CD853F);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(20px);
}

.image-slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 4px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  -webkit-touch-callout: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.02);
}

.image-slider:active {
  cursor: grabbing;
}

.image-slider:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Sahne2 fotoğrafı için özel ayar */
.slide:nth-child(5) img,
.slide img[src*="sahne2"] {
  object-fit: cover;
  object-position: center 75%; /* Fotoğrafın alt yarısını göster */
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
  padding: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

  .dot.active {
    background: #D2691E;
    border-color: #CD853F;
    transform: scale(1.3);
  }

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: #ddd;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.01"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer-section {
  text-align: center;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #f8f8f8;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-description {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0;
}

.footer-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #f8f8f8;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-info {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #ccc;
  margin: 8px 0;
  line-height: 1.4;
}

.footer-bottom {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #D2691E, transparent);
  margin: 0 50px 30px;
  opacity: 0.6;
}

.footer-credits {
  text-align: center;
  padding: 0 50px;
}

.developer-credit {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.developer-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.developer-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #D2691E;
  font-weight: 600;
  transition: color 0.3s ease;
}

.developer-name:hover {
  color: #CD853F;
}

.developer-separator {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #888;
  font-weight: 400;
}

.developer-contact {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #D2691E;
  margin: 5px 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.contact-phone-btn {
  color: #D2691E;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  padding: 2px 0;
  border-radius: 4px;
}

.contact-phone-btn:hover {
  color: #CD853F;
  transform: translateY(-1px);
  text-shadow: 0 1px 3px rgba(210, 105, 30, 0.3);
}

.contact-phone-btn:active {
  transform: translateY(0);
  transition: transform 0.1s ease;
}

.year {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

/* Footer responsive design */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 15px;
  }
  
  .footer-content {
    padding: 0 20px;
    gap: 30px;
  }
  
  .footer-title {
    font-size: 1.5rem;
  }
  
  .footer-subtitle {
    font-size: 1.1rem;
  }
  
  .footer-info {
    font-size: 0.9rem;
  }
  
  .footer-divider {
    margin: 0 20px 25px;
  }
  
  .footer-credits {
    padding: 0 20px;
  }
  
  .developer-info {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-title {
    font-size: 1.3rem;
  }
  
  .footer-subtitle {
    font-size: 1rem;
  }
  
  .footer-info {
    font-size: 0.85rem;
  }
}

.history-text {
  order: 1;
  flex: 0 0 50%;
  max-width: 600px;
  text-align: left;
  position: relative;
}

.history-text::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #D2691E, #CD853F, #8B4513);
  border-radius: 2px;
}

.history-text h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  margin-bottom: 35px;
  color: var(--secondary);
  text-align: left;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
  font-weight: 700;
  background: linear-gradient(45deg, var(--secondary), #CD853F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.history-text h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #D2691E, #CD853F);
  border-radius: 2px;
}

.history-text p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
  text-align: justify;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  position: relative;
  padding-left: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.2px;
}

/* Responsive design for history section */
@media (max-width: 768px) {
  .history-section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 60px 20px;
  }
  
  .history-image {
    order: 1;
    top: 0;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
  
  .image-slider {
    height: 300px;
    max-width: 100%;
  }
  
  .history-text {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
    max-width: 100%;
  }
  
  .history-text h2 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    text-align: center;
  }
  
  .history-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
  
  .history-text::before {
    display: none; /* Sol kenardaki çizgiyi mobilde gizle */
  }
  
  .slider-dots {
    bottom: 15px;
    gap: 6px;
    padding: 8px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .history-section {
    padding: 40px 15px;
    gap: 25px;
  }
  
  .image-slider {
    height: 250px;
  }
  
  .history-text h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .history-text p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .slider-dots {
    bottom: 10px;
    gap: 5px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
}

/* Language Switch Dropdown Styles */
#lang-switch {
  background: #2A1B0F;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="16" viewBox="0 0 20 20" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M5.516 7.548a.75.75 0 0 1 1.06 0L10 10.97l3.424-3.423a.75.75 0 1 1 1.06 1.06l-3.954 3.954a.75.75 0 0 1-1.06 0L5.516 8.608a.75.75 0 0 1 0-1.06z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 1em;
  padding-right: 2.5em;
  margin-left: 1rem;
  vertical-align: middle;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
  border: 3px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Text Selection */
::selection {
  background: var(--primary);
  color: var(--text-light);
}

/* Global Transitions */
* {
  transition: background-color 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease,
              transform 0.3s ease;
}

#lang-switch:hover, #lang-switch:focus {
  background: #3B2B1F;
}
#lang-switch::-ms-expand {
  display: none;
}
@media (max-width: 768px) {
  #lang-switch {
    width: auto;
    min-width: 120px;
    padding: 10px 16px;
    font-size: 1rem;
    margin-left: 0.5rem;
  }
}

.lang-switch, .nav-btn {
  font-family: inherit;
  font-weight: 500;
  font-size: 0.93rem;
}
@media (max-width: 768px) {
  .lang-switch, .nav-btn {
    font-size: 0.78rem;
  }
}