:root {
  --dark: #0a1f3d;
  --blue: #1e5aa8;
  --light: #2196F3;
  --accent: #42A5F5;
  --gradient-1: linear-gradient(135deg, #0a1f3d 0%, #1e4d8b 50%, #2563a8 100%);
  --gradient-2: linear-gradient(145deg, #f0f8ff 0%, #e3f2fd 100%);
  --gradient-3: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
  --gradient-4: linear-gradient(135deg, #1976D2 0%, #2196F3 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
}

.nav a {
  color: #2c3e50;
  text-decoration: none;
  margin-left: 28px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: var(--light);
}

.nav-cta {
  background: var(--gradient-3);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 143, 217, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 143, 217, 0.4);
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,143,217,0.15), transparent 70%);
  top: -300px;
  left: -200px;
  border-radius: 50%;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(33,150,243,0.3), transparent 60%);
  top: -250px;
  right: -250px;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.4; }
}

.hero-content {
  color: #fff;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(120deg, #42A5F5, #64B5F6, #90CAF9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 40px;
  color: #d4e3f0;
  font-size: 18px;
  line-height: 1.8;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  margin-right: 16px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.primary {
  background: var(--gradient-3);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(59, 143, 217, 0.3);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 143, 217, 0.4);
}

.secondary {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

/* SECTIONS */
.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 70px;
  color: var(--dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-3);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* SERVICES */
.services {
  padding: 120px 0;
  background: var(--gradient-2);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,143,217,0.08), transparent 70%);
  bottom: -200px;
  right: -100px;
  border-radius: 50%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
  border: 1px solid rgba(33, 150, 243, 0.2);
  padding: 42px 32px;
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-4);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(33,150,243,0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(33, 150, 243, 0.2);
  border-color: rgba(33, 150, 243, 0.4);
  background: linear-gradient(145deg, #ffffff 0%, #e3f2fd 100%);
}

.service-card h3 {
  color: #1565C0;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 600;
}

.service-card p {
  color: #4a5568;
  line-height: 1.8;
}

/* WHY */
.why {
  background: #ffffff;
  padding: 120px 0;
  position: relative;
}

.why::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,143,217,0.06), transparent 70%);
  top: -200px;
  left: -150px;
  border-radius: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: linear-gradient(145deg, #ffffff 0%, #f5faff 100%);
  border: 1px solid rgba(59, 143, 217, 0.12);
  padding: 38px 30px;
  border-radius: 18px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.why-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(91,163,232,0.04), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 47, 92, 0.12);
  background: linear-gradient(145deg, #ffffff 0%, #e8f4ff 100%);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 47, 92, 0.12);
  background: linear-gradient(145deg, #ffffff, #f0f8ff);
}

.why-card h4 {
  color: var(--blue);
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 600;
}

.why-card p {
  color: #4a5568;
  line-height: 1.8;
}

/* CONTACT */
.contact {
  background: var(--gradient-1);
  padding: 120px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91,163,232,0.2), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.contact .section-title {
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.contact .section-title::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.contact p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #d4e3f0;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.contact-buttons {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

/* FOOTER */
.footer {
  background: #0a1628;
  color: #8a9fb5;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  border-top: 1px solid rgba(59, 143, 217, 0.1);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 30px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 14px;
    margin-bottom: 12px;
  }

  .nav {
    display: none;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}


/* SERVICE ICONS */
.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.service-icon svg {
  stroke: #ffffff;
}

/* WHY ICONS */
.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(33,150,243,0.15), rgba(66,165,245,0.2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.why-icon svg {
  stroke: var(--light);
}

/* STATS SECTION */
.stats {
  background: var(--gradient-1);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91,163,232,0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: #ffffff;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(120deg, #ffffff, #90CAF9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 16px;
  color: #d4e3f0;
  font-weight: 500;
}

/* LOCATION SECTION */
.location {
  padding: 100px 0;
  background: #ffffff;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.location-info h3 {
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 40px;
  font-weight: 700;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 14px;
  border: 1px solid rgba(59, 143, 217, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-3);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.info-item:hover::before {
  transform: scaleY(1);
}

.info-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 20px rgba(13, 47, 92, 0.08);
  background: linear-gradient(145deg, #ffffff 0%, #edf6ff 100%);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25);
}

.info-icon svg {
  stroke: #ffffff;
}

.info-item strong {
  display: block;
  color: var(--blue);
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

.info-item p {
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
}

.location-map {
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 47, 92, 0.15);
  border: 1px solid rgba(59, 143, 217, 0.15);
}

.location-map iframe {
  width: 100%;
  height: 100%;
}

/* MOBILE UPDATES */
@media (max-width: 968px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-map {
    height: 400px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
  }

  .info-icon {
    margin: 0 auto;
  }
}


/* FAQ SECTION */
.faq {
  padding: 120px 0;
  background: var(--gradient-2);
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,143,217,0.06), transparent 70%);
  bottom: -200px;
  left: -150px;
  border-radius: 50%;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: linear-gradient(145deg, #ffffff 0%, #f9fcff 100%);
  border: 1px solid rgba(59, 143, 217, 0.15);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-3);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.faq-item:hover::before {
  transform: scaleY(1);
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(13, 47, 92, 0.1);
  background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  user-select: none;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--light);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  stroke: var(--light);
}

.faq-toggle:checked + .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 32px;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 32px 28px 32px;
}

.faq-answer p {
  color: #4a5568;
  line-height: 1.8;
  font-size: 16px;
}

/* FAQ MOBILE */
@media (max-width: 768px) {
  .faq-question {
    padding: 20px 24px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 24px;
  }

  .faq-toggle:checked ~ .faq-answer {
    padding: 0 24px 20px 24px;
  }

  .faq-answer p {
    font-size: 15px;
  }
}


/* SABİT SSS BUTONU */
.floating-faq {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: var(--gradient-3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(59, 143, 217, 0.4);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  z-index: 999;
}

.floating-faq:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(59, 143, 217, 0.5);
}

.floating-faq svg {
  stroke: #ffffff;
}

.floating-faq span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .floating-faq {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }

  .floating-faq svg {
    width: 24px;
    height: 24px;
  }

  .floating-faq span {
    font-size: 10px;
  }
}


/* SABİT WHATSAPP BUTONU */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  z-index: 999;
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
  }
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background: #20BA5A;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  fill: #ffffff;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}


/* SCROLL TO TOP BUTTON */
.scroll-to-top {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(59, 143, 217, 0.3);
  text-decoration: none;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(59, 143, 217, 0.4);
}

.scroll-to-top svg {
  stroke: #ffffff;
}

/* SCROLL ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* STAGGER ANIMATIONS */
.service-card,
.why-card,
.stat-item,
.faq-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible,
.why-card.visible,
.stat-item.visible,
.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

.why-card:nth-child(1) { transition-delay: 0.1s; }
.why-card:nth-child(2) { transition-delay: 0.2s; }
.why-card:nth-child(3) { transition-delay: 0.3s; }
.why-card:nth-child(4) { transition-delay: 0.4s; }

.stat-item:nth-child(1) { transition-delay: 0.1s; }
.stat-item:nth-child(2) { transition-delay: 0.2s; }
.stat-item:nth-child(3) { transition-delay: 0.3s; }
.stat-item:nth-child(4) { transition-delay: 0.4s; }

.faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-item:nth-child(4) { transition-delay: 0.2s; }
.faq-item:nth-child(5) { transition-delay: 0.25s; }
.faq-item:nth-child(6) { transition-delay: 0.3s; }
.faq-item:nth-child(7) { transition-delay: 0.35s; }
.faq-item:nth-child(8) { transition-delay: 0.4s; }

/* HEADER SCROLL EFFECT */
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 90px;
    right: 20px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}
