/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #1a1a2e;
  color: #e0e0e0;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(22, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0 0;
  transition: padding 0.3s ease;
}

.logo {
  transition: height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  overflow: hidden;
  height: 140px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.logo img {
  height: 130px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  transition: margin 0.3s ease;
}

/* Scroll sonrası küçük header */
.header--scrolled .header-inner {
  padding: 0;
}

.header--scrolled .logo {
  height: 0;
  opacity: 0;
  margin-bottom: 0;
}

.header--scrolled .nav {
  margin-bottom: 6px;
  margin-top: 6px;
}

.nav-link {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #a0a0a0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== MOBILE MENU ========== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1001;
}

.mobile-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: #1e1e36;
  z-index: 1002;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: left 0.3s ease;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  margin-bottom: 20px;
}

.mobile-nav-link {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #a0a0a0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* ========== HERO ========== */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  background: url('hero.png') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* Koyu overlay - yazılar okunsun diye */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 25, 0.7);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7c9cf5;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #8890a8;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}

/* ========== SECTIONS ========== */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-text {
  color: #c0c0d0;
  font-size: 15.5px;
  line-height: 1.9;
  text-align: center;
}

.section-text p {
  margin-bottom: 16px;
}

.section-text strong {
  color: #e0e0e0;
}

.section-text ul {
  margin: 24px auto;
  padding-left: 0;
  max-width: 650px;
  text-align: left;
}

.section-text li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-text li:last-child {
  border-bottom: none;
}

.section-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
}

.section-text li strong {
  color: #ffffff;
}

/* Why Us */
.why-us {
  max-width: 650px;
  margin: 0 auto;
  text-align: left;
}

.why-us p {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 15.5px;
}

.why-us p:last-child {
  border-bottom: none;
}

/* Section divider */
.section + .section {
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ========== FEATURE ROW (Resim + Yazı) ========== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.feature-img:hover img {
  transform: scale(1.04);
}

.feature-text .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.feature-text .section-text {
  text-align: left;
}

.feature-text .section-text ul {
  max-width: none;
}

.feature-text .why-us {
  max-width: none;
}

/* ========== PHONE BAND ========== */
.phone-band {
  background: linear-gradient(135deg, #232345, #1e2a4a);
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  padding: 16px 0;
}

.phone-link {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.phone-link:hover {
  background: rgba(255,255,255,0.05);
}

.phone-text {
  display: inline-block;
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ========== CERTIFICATES ========== */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.cert-item {
  text-align: center;
}

.cert-img {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cert-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  border-color: rgba(59, 130, 246, 0.3);
}

/* ========== KATALOG ========== */
.katalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.katalog-img {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  width: 100%;
}

.katalog-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border-color: rgba(59, 130, 246, 0.3);
}

/* ========== CONTACT ========== */
.contact-wrapper {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact-card {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(37, 211, 102, 0.2);
}

.contact-icon {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.contact-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-desc {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 35px;
  line-height: 1.6;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #25D366;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-phone {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin-top: 25px;
}

.contact-phone strong {
  color: #fff;
}

.contact-note {
  color: #6b7280;
  font-size: 14px;
  margin-top: 30px;
}

/* ========== LIGHTBOX ========== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255,255,255,0.1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 44px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.3s;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* ========== FOOTER ========== */
.footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer p {
  color: #8080a0;
  font-size: 13px;
}

/* ========== WHATSAPP FAB ========== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-inner {
    position: relative;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo img {
    height: 90px;
  }

  .mobile-menu-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero {
    padding: 120px 0 70px;
    min-height: auto;
  }

  .hero-title {
    letter-spacing: 1px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .section {
    padding: 40px 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .feature-text .section-title {
    text-align: center;
  }

  .feature-text .section-text {
    text-align: center;
  }

  .feature-text .section-text ul {
    text-align: left;
  }

  .katalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .contact-card {
    padding: 40px 24px;
  }

  .contact-btn {
    padding: 16px 32px;
    font-size: 16px;
  }

  .phone-text {
    font-size: 13px;
  }

  .whatsapp-fab {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-fab svg {
    width: 26px;
    height: 26px;
  }
}
