/* ============================================
   LASTIK LOJISTIK - Main Stylesheet
   Modern, Premium Design System
   Theme: Orange & White
============================================ */

/* ============================================
   DESIGN TOKENS & CSS VARIABLES
============================================ */
:root {
  /* Primary Colors - Orange Theme */
  --primary-color: #FF6B35;
  --primary-dark: #E85A28;
  --primary-light: #FF8559;
  --primary-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8559 100%);

  /* Neutral Colors */
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --gray: #6C757D;
  --dark-gray: #343A40;
  --black: #212529;

  /* Semantic Colors */
  --success: #28A745;
  --warning: #FFC107;
  --error: #DC3545;
  --info: #17A2B8;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing Scale */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 1.5rem;
  /* 24px */
  --spacing-lg: 2rem;
  /* 32px */
  --spacing-xl: 3rem;
  /* 48px */
  --spacing-2xl: 4rem;
  /* 64px */
  --spacing-3xl: 6rem;
  /* 96px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-width: 1400px;
  --header-height: 80px;
  --footer-height: 300px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--dark-gray);
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--gray);
}

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

a:hover {
  color: var(--primary-dark);
}

/* ============================================
   LAYOUT UTILITIES
============================================ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  position: relative;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo img {
  height: 65px;
  width: auto;
  transition: transform var(--transition-base);
}

.logo:hover img {
  transform: scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-link {
  font-weight: var(--font-weight-medium);
  color: var(--dark-gray);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

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

.auth-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

/* ============================================
   HERO SLIDER
============================================ */
.hero-slider {
  margin-top: 0;
  position: relative;
  height: 450px;
  overflow: hidden;
}

.brands-section {
  position: relative;
  z-index: 10;
  background: var(--white);
}

.brands-section:first-of-type {
  margin-top: var(--header-height);
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 107, 53, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: var(--spacing-lg);
  animation: fadeInUp var(--transition-slow) ease-out;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
}

.slider-controls {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
  color: var(--light-gray);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--light-gray);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 998;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .auth-buttons {
    flex-direction: row;
    gap: var(--spacing-xs);
    position: relative;
    z-index: 999;
  }

  .auth-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .hero-slider {
    height: auto;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  .hero-content p {
    font-size: 1rem !important;
  }

  /* Grid'i tek kolona çevir */
  .hero-slide .container>div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .hero-slide img {
    max-width: 250px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero-slider {
    height: 350px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BRANDS MARQUEE / SCROLLING LOGOS
============================================ */
.brands-section {
  padding: var(--spacing-xl) 0;
  background: var(--white);
  overflow: hidden;
}

.brands-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--spacing-xl);
}

.brands-track {
  display: flex;
  gap: var(--spacing-xl);
  animation: scroll 30s linear infinite;
  will-change: transform;
}

.brand-logo {
  flex-shrink: 0;
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.brand-logo:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: all var(--transition-base);
}

.brand-logo:hover img {
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}

/* ============================================
   UTILITY CLASSES
============================================ */
.text-center {
  text-align: center;
}

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

.bg-primary {
  background: var(--primary-gradient);
}

.bg-light {
  background: var(--off-white);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn var(--transition-base);
}

.slide-in-left {
  animation: slideInLeft var(--transition-base);
}

.slide-in-right {
  animation: slideInRight var(--transition-base);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #25d366;
  color: #fff;
  padding: 12px 24px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  background-color: #1ebc51;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.whatsapp-text {
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}