:root {
  --primary-purple: #6D28D9;
  --secondary-purple: #8B5CF6;
  --dark-charcoal: #1F2937;
  --bg-light: #F9FAFB;
  --glass-white: rgba(255, 255, 255, 0.9);
  --accent-gray: #6B7280;
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --premium-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-charcoal);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  margin-bottom: 0 !important;
}

h1, h2, h3, h4, .navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary-purple);
  letter-spacing: -0.5px;
}

/* Glassmorphism Navbar */
.navbar-custom {
  background: transparent;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-custom.scrolled {
  background: var(--glass-white);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(109, 40, 217, 0.08);
  border-bottom: 1px solid rgba(109, 40, 217, 0.1);
}

.navbar-logo {
  height: 45px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar-custom.scrolled .navbar-logo {
  height: 38px;
}

/* Navbar Toggler Premium */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  transition: var(--transition-smooth);
  border-radius: 12px;
}

.navbar-toggler:focus {
  box-shadow: none;
  background: rgba(109, 40, 217, 0.05);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(109, 40, 217, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: var(--dark-charcoal) !important;
  font-weight: 600;
  margin: 0 1.2rem;
  transition: var(--transition-smooth);
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-purple);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-purple) !important;
  transform: translateY(-2px);
}

/* Hero Section Refined */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(109, 40, 217, 0.05) 0%, rgba(255, 255, 255, 1) 90%);
  padding-top: 100px;
  overflow: hidden;
}

.hero-overlay-img {
  position: absolute;
  top: 0;
  right: -5%;
  width: 60%;
  height: 100%;
  background-image: url('../images/Saha.jpeg');
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  opacity: 0.4;
  z-index: 1;
  animation: subtleFloat 20s infinite alternate ease-in-out;
}

@keyframes subtleFloat {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  background: linear-gradient(90deg, rgba(109, 40, 217, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--primary-purple);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1;
  margin-bottom: 2rem;
  background: linear-gradient(to right, var(--primary-purple), var(--secondary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.35rem;
  color: #4B5563;
  max-width: 650px;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Premium Buttons */
.btn-premium {
  padding: 1.2rem 2.8rem;
  border-radius: 100px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

@media (max-width: 576px) {
  .btn-premium {
    padding: 0.8rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
}

.btn-premium-purple {
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.25);
}

.btn-premium-purple:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(109, 40, 217, 0.35);
  color: white;
}

.border-purple {
  border: 2px solid var(--primary-purple);
}

/* Service Cards Refined */
.section-padding {
  padding: 140px 0;
}

.section-tagline {
  color: var(--primary-purple);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: clamp(2px, 1vw, 5px);
  font-size: clamp(1rem, 3vw, 1.4rem);
  margin-bottom: 1.5rem;
  display: block;
  opacity: 1;
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  padding: 3.5rem 2.5rem;
  border-radius: 32px;
  border: 1px solid rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(109, 40, 217, 0.08);
  border-color: rgba(109, 40, 217, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-purple);
  margin-bottom: 2.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--primary-purple);
  color: white;
  transform: rotateY(360deg);
}

/* Coach Cards */
.coach-card {
  background: white;
  border-radius: 32px;
  padding: 3rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
}

@media (max-width: 991px) {
  .coach-card {
    padding: 2.5rem 1rem;
    max-width: 400px;
    margin: 0 auto;
  }
}

.coach-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--premium-shadow);
}

.coach-image-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 2.5rem;
  padding: 5px; /* Çerçeve kalınlığı azaltıldı */
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
  position: relative;
  box-shadow: 0 10px 25px rgba(109, 40, 217, 0.2);
}

.coach-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white; /* Beyaz iç çerçeve */
}

.coach-placeholder {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-purple);
  font-size: 2.5rem;
  font-weight: 800;
}

/* Contact Area */
.contact-container {
  background: var(--dark-charcoal);
  border-radius: 40px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.3);
}

.contact-link {
  transition: var(--transition-smooth);
}

.contact-link:hover {
  color: var(--secondary-purple) !important;
  transform: translateX(5px);
}

/* Scroll Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1001;
  border: none;
  outline: none;
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
  color: white;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(109, 40, 217, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 25px 50px rgba(109, 40, 217, 0.4);
}

/* Utility Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  /* .hero-title font-size handled by clamp() now */
}

@media (max-width: 991px) {
  .hero-section { 
    text-align: center; 
    padding-top: 120px;
    background: radial-gradient(circle at 50% 50%, rgba(109, 40, 217, 0.08) 0%, rgba(243, 244, 246, 0.95) 100%);
  }
  .hero-description { margin: 0 auto 3rem; }
  /* .section-title font-size handled by clamp() now */
  .hero-overlay-img { 
    width: 100%; 
    mask-image: none; 
    -webkit-mask-image: none;
    opacity: 0.25; 
    right: 0; 
  }

  /* Mobile Navbar Menu Fix */
  .navbar-collapse {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    margin-top: 1.2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(109, 40, 217, 0.15);
    border: 1px solid rgba(109, 40, 217, 0.1);
  }

  .nav-link {
    padding: 0.8rem 1rem !important;
    margin: 0.2rem 0 !important;
    border-radius: 12px;
  }

  .nav-link:hover {
    background: rgba(109, 40, 217, 0.05);
    transform: translateX(5px);
  }
  
  .nav-link::after {
    display: none;
  }
}