/* ========== 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);
}

* {
  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(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
  padding: 0.75rem 2rem;
  background-color: rgba(0, 0, 0, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

/* 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-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-btn {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.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 {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.nav-btn:active {
  transform: translateY(-1px);
  transition: transform 0.1s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
    justify-content: space-between;
  }
  
  .nav-buttons {
    gap: 0.3rem;
  }
  
  .nav-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.3px;
  }
  
  .language-switch {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 20px;
  }
  
  /* Mobile Social Media Buttons - Instagram üst, WhatsApp alt */
  .instagram-float {
    width: 42px !important;
    height: 42px !important;
    bottom: 70px !important; /* WhatsApp butonunun üstünde */
    right: 15px !important;
    position: fixed !important;
  }
  
  .instagram-float svg {
    width: 26px !important;
    height: 26px !important;
  }
  
  .whatsapp-float {
    width: 42px !important;
    height: 42px !important;
    bottom: 15px !important; /* En altta */
    right: 15px !important;
    position: fixed !important;
  }
  
  .whatsapp-float svg {
    width: 26px !important;
    height: 26px !important;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0 0.8rem;
  }
  
  .nav-buttons {
    gap: 0.2rem;
  }
  
  .nav-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 18px;
  }
  
  .language-switch {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 18px;
  }
  
  /* Smaller Mobile Social Media Buttons - Navigation area */
  .instagram-float {
    width: 38px !important;
    height: 38px !important;
    bottom: 60px !important; /* WhatsApp butonunun üstünde */
    right: 12px !important;
    position: fixed !important;
  }
  
  .instagram-float svg {
    width: 23px !important;
    height: 23px !important;
  }
  
  .whatsapp-float {
    width: 38px !important;
    height: 38px !important;
    bottom: 12px !important;
    right: 12px !important;
    position: fixed !important;
  }
  
  .whatsapp-float svg {
    width: 23px !important;
    height: 23px !important;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../images/ana_sayfa.jpg) center/cover no-repeat;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  animation: slideUpFadeIn 1s ease-out 0.3s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  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) {
  .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: 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, box-shadow 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: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  -webkit-touch-callout: none;
}

.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: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  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);
}

.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: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #f8f8f8;
  text-align: left;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.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: 'Poppins', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e0e0e0;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 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;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

@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;
  }
}