:root {
  --primary: #3F51B5;
  --primary-dark: #5539d9;
  --secondary: #ff6b6b;
  --dark: #1a1a2e;
  --gray: #4a4a68;
  --light: #f8f9ff;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: var(--dark);
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  padding: 0.65rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================================================
   NAVBAR
============================================================================ */
.navbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: linear-gradient(135deg, #5c72ea 0%, #1b517c 100%);
  padding: 0.9rem 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  padding: 0.65rem 1.1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #FFEB3B !important;
  background: rgba(107, 72, 255, 0.15);
  border-radius: 8px;
}

.btn-login {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-login:hover {
  background: linear-gradient(90deg, #ffffff, #cfcfcf);
  border-color: white;
}

.btn-register {
  background: linear-gradient(90deg, #2196F3, #00BCD4);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(107, 72, 255, 0.35);
}

.btn-register:hover {
  background: linear-gradient(90deg, #ffffff, #cfcfcf);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 72, 255, 0.45);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(107, 72, 255, 0.25) !important;
}

.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%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================================================
   HERO SECTION
============================================================================ */
.hero-section {
  position: relative;
  color: #fff;
  padding: 0;
  min-height: 85vh;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  background: linear-gradient(135deg, rgba(92, 114, 234, 1), rgba(27, 81, 124, 1));
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  min-height: 85vh;
}

.hero-section .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(92, 114, 234, 0.85), rgba(27, 81, 124, 0.85));
  z-index: 1;
}

.hero-section .carousel-item > .container {
  position: relative;
  z-index: 2;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item.carousel-item-start,
.carousel-fade .carousel-item.carousel-item-end {
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 10;
}

/* ============================================================================
   CARDS & FEATURES
============================================================================ */
.feature-card {
  background: white;
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.order-icon {
  width: 70px;
  height: 70px;
  background: #FFC107;
  color: black;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

/* ============================================================================
   AUTH / LOGIN / REGISTER
============================================================================ */
#authTabs {
  background: #f6f7fb;
  padding: 6px;
  border-radius: 14px;
  display: inline-flex;
  gap: 6px;
}

#authTabs .nav-link {
  border-radius: 12px;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5a5f7d;
  background: transparent;
  transition: all 0.35s ease;
}

#authTabs .nav-link:hover {
  color: var(--primary);
}

#authTabs .nav-link.active {
  background: linear-gradient(135deg, #5c72ea, #1b517c);
  color: #fff;
  box-shadow: 0 6px 18px rgba(63, 81, 181, 0.35);
}

.auth-modern .btn-primary {
  background: linear-gradient(135deg, #5c72ea, #1b517c);
  border: none;
  border-radius: 14px;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 30px rgba(63, 81, 181, 0.35);
  transition: all 0.35s ease;
}

.auth-modern .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(63, 81, 181, 0.45);
}

.auth-modern h3,
.auth-modern h4 {
  font-weight: 700;
  letter-spacing: -0.3px;
}

.auth-modern label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7a7f9a;
}

.auth-modern {
  background: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.25);
  border-radius: 1.2rem;
  overflow: hidden;
}

.auth-modern .tab-content {
  animation: fadeUp .45s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-image {
  background: url("images/login.jpg") center/cover no-repeat;
  position: relative;
}

.auth-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(63, 81, 181, .85), rgba(27, 81, 124, .85));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

.auth-image-overlay h2 {
  font-weight: 700;
}

.nav-pills .nav-link {
  font-weight: 600;
  border-radius: 10px;
}

.nav-pills .nav-link.active {
  background: var(--primary);
}

/* ============================================================================
   OTHER SECTIONS
============================================================================ */
footer {
  background: linear-gradient(135deg, #5c72ea 0%, #1b517c 100%);
  color: #ffffff;
  padding: 3rem 0 2rem;
}

.text-gradient {
  background: linear-gradient(90deg, #FF9800, #FFEB3B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sss-section {
  background: #f8f9ff;
}

#iletisim,
#sss,
#hakkimizda,
#nasil,
#ozellikler {
  scroll-margin-top: 110px;
}

/* ============================================================================
   MEDIA QUERIES
============================================================================ */
@media (max-width: 992px) {
  .hero-section,
  .hero-section .carousel,
  .hero-section .carousel-inner,
  .hero-section .carousel-item,
  .hero-section .carousel-item > .container {
    min-height: 100vh;
  }

  .hero-section {
    padding: 6rem 0;
  }

  .navbar-collapse {
    background: linear-gradient(135deg, #5c72ea 0%, #1b517c 100%);
    padding: 1.5rem;
    border-radius: 0 0 12px 12px;
  }

  .auth-btn-group {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .auth-btn-group .btn {
    width: 100%;
  }
}

@media (max-width: 1200px) and (min-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 0.85rem;
    padding: 0.45rem 0.7rem !important;
    letter-spacing: 0.2px;
  }

  .navbar-brand {
    font-size: 1.6rem;
  }

  .auth-btn-group {
    margin-left: 0.75rem;
  }

  .auth-btn-group .btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }
}