:root {
  --primary-color: #D4AF37; /* Gold */
  --primary-dark: #b5952f;
  --bg-dark: #0a0a0a;
  --bg-lighter: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
  --border-color: rgba(212, 175, 55, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(212, 175, 55, 0.15);
  --header-bg: rgba(5, 5, 5, 0.85);
  --header-glass-bg: rgba(5, 5, 5, 0.7);
  --shadow-color: rgba(0, 0, 0, 0.5);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --gold-gradient: linear-gradient(135deg, #f9d423 0%, #ff4e50 100%);
  --premium-gradient: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
}

[data-theme="light"] {
  --primary-color: #c49b25;
  --primary-dark: #a17f1e;
  --bg-dark: #f0f2f5;
  --bg-lighter: #ffffff;
  --text-light: #1a1a1a;
  --text-muted: #555555;
  --border-color: rgba(196, 155, 37, 0.3);
  --glass-bg: rgba(0, 0, 0, 0.03);
  --glass-border: rgba(0, 0, 0, 0.06);
  --header-bg: rgba(255, 255, 255, 0.9);
  --header-glass-bg: rgba(255, 255, 255, 0.75);
  --shadow-color: rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Global smooth transition for theme change */
header, .glass-card, .service-card, .stats-section, footer, .testimonial-card, .theme-toggle-floating {
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.text-primary {
  color: var(--primary-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Header - Modern Floating Pill Design */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-top: 25px;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header .container {
  background: var(--header-glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 60px; /* Pill Shape */
  padding: 0.5rem 2.5rem;
  box-shadow: 0 15px 35px var(--shadow-color);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
  padding-top: 15px;
}

header.scrolled .container {
  background: var(--header-bg); /* Daha tok bir arka plan */
  border-color: rgba(212, 175, 55, 0.4); /* Premium gold tint */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 0.3rem 2.5rem; /* Scroll edince hafif daralma */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
}

[data-theme="light"] .logo img {
  filter: invert(1) opacity(0.85);
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center; /* Dikeyde ortalama */
  gap: 0.5rem;
  background: var(--glass-bg); /* Inner pill */
  padding: 0.4rem 0.8rem;
  border-radius: 40px;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  color: var(--text-muted);
  transition: color 0.4s ease;
  z-index: 1;
}

/* Kusursuz Akışkan Hover (Premium Translucent Glow) */
.nav-links a::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(212, 175, 55, 0.15); /* Çok zarif, yarı şeffaf altın rengi */
  border-radius: 30px;
  z-index: -1;
  transform: scale(0.75);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a:hover::before, .nav-links a.active::before {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); /* Etrafa yayılan çok hafif altın hare */
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color) !important; /* Yazı tamamen beyaza dönmek yerine elit altın rengine bürünür */
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5); /* Yazının arkasından hafif bir parlama */
}

/* Gündüz Modu (Light Theme) İçin Özel Hover Efekti */
[data-theme="light"] .nav-links a:hover::before, 
[data-theme="light"] .nav-links a.active::before {
  background: rgba(196, 155, 37, 0.12); /* Açık temada daha net bir altın cam */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Parlama yerine şık bir alt gölge */
}

[data-theme="light"] .nav-links a:hover, 
[data-theme="light"] .nav-links a.active {
  color: var(--primary-dark) !important; /* Açık temada okunabilirlik için daha koyu altın */
  text-shadow: none; /* Beyaz zemin üzerinde glow çamur gibi durmaması için kapatılır */
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-light);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 80px;
  background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?ixlib=rb-4.0.3&auto=format&fit=crop&w=2560&q=80') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-dark); /* Tema zemin rengi ile örtüştür */
  opacity: 0.88; /* Orijinal altın/siyah dokunun çok hafif belli olması için */
  z-index: 0;
}

.hero-content {
  z-index: 1;
  max-width: 800px;
  animation: fadeIn 1.5s ease-out;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--premium-gradient);
  color: #000;
  box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(212, 175, 55, 0.6);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: inset 0 0 0 0 var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #000;
  box-shadow: inset 0 0 0 2px var(--primary-color);
}

/* Sections */
section {
  padding: 6rem 0;
}

/* Alt sayfalardaki ilk section için (Hakkımızda, Hizmetler) Header Boşluğu */
body > section:first-of-type:not(.hero) {
  padding-top: 160px;
}

/* Cards (Services) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-lighter);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
  border-color: var(--border-color);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

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

.form-group {
  position: relative;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-lighter);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-light);
  font-family: inherit;
  transition: var(--transition);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Footer - Premium Design */
.premium-footer {
  background: var(--bg-dark); /* Lüks ve sonsuz his için ana arkaplan ile birleştirildi */
  padding: 6rem 0 2rem 0; /* Daha ferah, elit boşluk */
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}

/* Footer'ın üstünde boydan boya şık bir altın ışık çizgisi */
.premium-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.footer-logo {
  height: 95px; /* Logo belirgin şekilde büyütüldü */
  object-fit: contain;
  transition: var(--transition);
}
[data-theme="light"] .footer-logo {
  filter: invert(1) opacity(0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: 1px; /* Daha elit bir görünüm için harf arası açıldı */
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* Başlıkların altındaki elit altın çizgi */
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 30px; height: 2px;
  background: var(--primary-color);
}

.footer-slogan {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  position: relative;
  transition: var(--transition);
}

/* Hover olduğunda yazı çok zarif bir şekilde sağa kayar ve parlar */
.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 8px; 
}

.contact-col p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-col i {
  color: var(--primary-color);
}

.footer-btn {
  display: inline-block;
  width: max-content;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-links a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  color: var(--text-light);
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}

.social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  z-index: -1;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}


/* Floating Theme Toggle */
.theme-toggle-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 5px 15px var(--shadow-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}
.theme-toggle-floating i {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.theme-toggle-floating:active i {
  transform: rotate(360deg) scale(1.2);
}
.theme-toggle-floating:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats Section */
.stats-section {
  background: var(--bg-lighter);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-box h3 {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.stat-box p {
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Split Layout (Why Us) */
.split-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.split-image {
  flex: 1;
  position: relative;
}
.split-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow-color);
  filter: grayscale(20%) contrast(1.1);
}
.split-text {
  flex: 1;
}
.feature-list {
  margin-top: 2rem;
}
.feature-list li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.feature-list i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 5px;
}

/* Testimonials Carousel */
.testimonials-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding-bottom: 2rem;
  /* Hide scrollbar for a cleaner look */
  scrollbar-width: none; 
  -ms-overflow-style: none;
  justify-content: flex-start;
}
.testimonials-carousel::-webkit-scrollbar {
  display: none;
}
.testimonials-carousel .testimonial-card {
  min-width: 350px;
  max-width: 400px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  margin-top: 0 !important; /* Override previous inline styles */
}
.testimonial-card {
  background: var(--glass-bg);
  padding: 3rem;
  border-radius: 15px;
  position: relative;
  border: 1px solid var(--glass-border);
}
.testimonial-card i.fa-quote-left {
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.2);
  position: absolute;
  top: 20px;
  left: 20px;
}
.testimonial-card p {
  position: relative;
  z-index: 1;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--primary-color);
}

/* CTA Block */
.cta-block {
  background: linear-gradient(135deg, var(--bg-lighter) 0%, rgba(212,175,55,0.1) 100%);
  padding: 6rem 3rem;
  border-radius: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  margin: 4rem auto;
}
.cta-block h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Enhancing Hero Background */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 180px; /* Header kapsülüyle çakışmaması için padding artırıldı */
  background: linear-gradient(rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.95)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2015&q=80') center/cover;
}
[data-theme="light"] .hero {
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(240, 242, 245, 0.95)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2015&q=80') center/cover;
}
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* --- RESPONSIVE OPTIMIZATIONS --- */

/* Tablet (iPad) Optimizasyonu */
@media (max-width: 1024px) {
  header .container {
    padding: 0.5rem 1.5rem; /* Menü sıkışmaması için boşlukları azalt */
  }
  .hero h1 { font-size: 3.5rem !important; }
  .services-grid { gap: 1.5rem; }
  .split-text h2 { font-size: 2.5rem !important; }
  
  /* Footer Tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }
}

/* Mobil (Telefon) Optimizasyonu */
@media (max-width: 768px) {
  /* Kapsül Header Sıkıştırması */
  header .container {
    padding: 0.5rem 1rem;
    border-radius: 40px;
  }
  
  .hero {
    padding-top: 120px;
  }
  .hero h1 { font-size: 2.5rem !important; }
  .hero h2 { font-size: 1.1rem !important; }
  
  /* Lüks Tam Ekran Mobil Menü */
  .menu-toggle { 
    display: block; 
    z-index: 1001; 
    position: relative;
    width: 30px;
    height: 30px;
    text-align: right;
  }
  
  /* Stacking Context (Z-index) Bug Fix */
  body.menu-open header.glass-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  body.menu-open .menu-toggle {
    position: fixed;
    top: 30px;
    right: 25px;
    color: white !important;
    z-index: 999999 !important;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* 100vw yerine 100% (Yatay kaymayı önler) */
    height: 100vh;
    background: rgba(10, 10, 10, 0.85); /* Koyu Cam */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
    
    /* Animasyon Başlangıç Hali */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
  }
  
  [data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.85); /* Açık Cam */
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  
  .nav-links a {
    font-size: 2rem; /* Mobilde dev menü yazıları (Lüks standart) */
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
  }
  
  /* Diğer İyileştirmeler */
  .contact-wrapper, .about-content, .split-section { 
    grid-template-columns: 1fr; 
    flex-direction: column; 
    gap: 2rem; 
  }
  .hero-buttons { flex-direction: column; gap: 1rem; }
  .hero-buttons a { width: 100%; text-align: center; } /* %100 genişlik ile dokunma kolaylığı */
  .cta-block { padding: 3rem 1.5rem; margin: 2rem 0; }
  .cta-block h2 { font-size: 2rem; }
  .section-title { font-size: 2rem; }
  .stat-box h3 { font-size: 2.5rem; }
  .testimonials-carousel .testimonial-card { min-width: 280px; padding: 2rem; }
  .feature-list li { flex-direction: column; text-align: center; align-items: center; }
  .feature-list i { margin-bottom: 10px; }
  
  /* Temalandırma Butonunu Mobilde Toparla */
  .theme-toggle-floating {
    bottom: 80px; /* Mobil tarayıcı (Safari/Chrome) alt menülerinin altında kalmaması için yukarı kaldırıldı */
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  /* Footer Mobil Uyum - Premium Merkezleme */
  .premium-footer {
    padding: 3rem 0 2rem 0; /* Mobilde boşluklar makul seviyeye çekildi */
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center; /* Daha derli toplu durması için tekrar ortalandı */
    gap: 3rem; 
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .brand-col {
    align-items: center;
  }
  .social-links {
    justify-content: center;
  }
  .contact-col p {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
  }
  .footer-btn {
    width: 100%;
    max-width: 300px;
    margin: 1.5rem auto 0 auto;
  }
}

/* --- PREMIUM ENHANCEMENTS --- */

/* Glassmorphism */
.glass-header {
  background: var(--header-glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px -10px var(--shadow-color);
}

/* 3D Hover & Glow */
.hover-3d {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.hover-3d:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15), 0 0 20px rgba(212, 175, 55, 0.1) inset;
  border-color: rgba(212, 175, 55, 0.4);
}

/* --- PRESTIGE FEATURES (Awwwards Level) --- */

html {
  scroll-behavior: smooth;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #050505 !important; /* Tema fark etmeksizin lüks karanlık */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.8s;
}
.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}
.preloader img {
  height: 100px;
  animation: pulseGlow 2s infinite alternate;
}
/* Beyaz invert iptal edildi, karanlık arka planda her zaman orijinal renk */
@keyframes pulseGlow {
  0% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8)); }
}

/* Premium Floating Action Dock */
.floating-dock {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--shadow-color);
  border-radius: 40px;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  gap: 0.5rem;
  z-index: 9999;
}
.floating-dock .theme-toggle-floating,
.floating-dock .whatsapp-btn {
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
  right: auto; bottom: auto; background: none; box-shadow: none; /* override old theme-toggle-floating defaults */
}
.floating-dock .theme-toggle-floating:hover {
  color: var(--primary-color);
  background: rgba(212, 175, 55, 0.1);
}
.floating-dock .whatsapp-btn:hover {
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
}
.dock-divider {
  width: 1px;
  height: 20px;
  background: var(--glass-border);
}
@media (max-width: 768px) {
  .floating-dock {
    bottom: 25px;
    right: 50%;
    transform: translateX(50%); /* Centered on mobile */
    padding: 0.4rem;
  }
}

/* Glow Text */
[data-theme="light"] .text-glow {
  text-shadow: none; /* Glow can look messy on light backgrounds */
}
.text-glow {
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Tech Stack Marquee */
.tech-stack-marquee {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding: 1.5rem 0;
  display: flex;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}
.tech-stack-marquee::before,
.tech-stack-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.tech-stack-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}
.tech-stack-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}
.marquee-content {
  display: inline-flex;
  animation: scrollMarquee 30s linear infinite;
  gap: 4rem;
  padding-left: 4rem;
}
.tech-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-light);
  opacity: 0.7;
  transition: var(--transition);
}
.tech-item:hover {
  opacity: 1;
  color: var(--primary-color);
}
.tech-item i {
  font-size: 1.5rem;
}
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Yarıya kadar kaydır, çünkü kopyası var */
}
@media (max-width: 768px) {
  .tech-item { font-size: 1rem; }
  .tech-item i { font-size: 1.2rem; }
  .tech-stack-marquee::before, .tech-stack-marquee::after { width: 50px; }
}

/* Multi-Step Modal (Brand Audit) */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.audit-modal {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  padding: 3rem;
  position: relative;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-overlay.active .audit-modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}
.modal-step {
  display: none;
  animation: fadeInStep 0.4s ease forwards;
}
.modal-step.active {
  display: block;
}
@keyframes fadeInStep {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.modal-step h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}
.modal-step p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.audit-form-group {
  margin-bottom: 1.5rem;
}
.audit-form-group input, .audit-form-group select {
  width: 100%;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 1.1rem;
  outline: none;
  transition: var(--transition);
}
[data-theme="light"] .audit-form-group input, [data-theme="light"] .audit-form-group select {
  background: rgba(0, 0, 0, 0.04);
  color: #000;
}
.audit-form-group input:focus, .audit-form-group select:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
[data-theme="light"] .audit-form-group input:focus, [data-theme="light"] .audit-form-group select:focus {
  background: #ffffff;
}
.modal-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
.btn-prev {
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-prev:hover {
  color: var(--text-light);
}
.step-indicator {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 2rem;
}
.step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}
.step-dot.active {
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

