/* Design System & CSS Variables */
:root {
  --color-primary: hsl(43, 72%, 35%);
  --color-primary-dark: hsl(43, 85%, 38%);
  --color-secondary: hsl(220, 25%, 15%);
  --color-accent: hsl(38, 90%, 55%);
  --color-dark: hsl(220, 20%, 10%);
  --color-dark-light: hsl(220, 15%, 20%);
  --color-gray: hsl(220, 10%, 50%);
  --color-gray-light: hsl(220, 10%, 90%);
  --color-white: hsl(40, 20%, 97%);
  --gradient-primary: linear-gradient(
    135deg,
    hsl(43, 62%, 50%) 0%,
    hsl(38, 51%, 51%) 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    hsl(220, 25%, 10%) 0%,
    hsl(220, 20%, 18%) 100%
  );
  --gradient-overlay: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    system-ui, sans-serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(218, 165, 32, 0.3);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

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

.nav-link {
  text-decoration: none;
  color: var(--color-white);
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar.scrolled .nav-link {
  color: var(--color-dark);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-base);
  min-width: 50px;
}

.lang-toggle:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(43, 85%, 58%, 0.3);
}

.navbar.scrolled .lang-toggle {
  color: var(--color-dark);
}

.navbar.scrolled .lang-toggle:hover {
  color: var(--color-white);
}

.cta-button {
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .hamburger span {
  background: var(--color-dark);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Slider Navigation Buttons */
.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-white);
}

.hero-slider-btn:hover {
  background: rgba(218, 165, 32, 0.9);
  border-color: rgba(218, 165, 32, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(218, 165, 32, 0.4);
}

.hero-slider-btn.prev {
  left: 2rem;
}

.hero-slider-btn.next {
  right: 2rem;
}

.hero-slider-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}

/* Slider Indicators */
.hero-slider-indicators {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 1rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--color-accent);
  transition: all 0.3s ease;
}

.indicator:hover::before {
  width: 100%;
  height: 100%;
}

.indicator.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(218, 165, 32, 0.6);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.hero-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
  color: var(--color-gray-light);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.play-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

.stat-card {
  text-align: center;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--color-gray-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--color-white);
  font-size: 0.85rem;
  animation: fadeInUp 0.8s ease 1s backwards;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--color-white);
  margin: 0.5rem auto;
  position: relative;
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.5;
  }
}

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

/* Responsive Design - Mobile Adjustments */
@media (max-width: 768px) {
  /* Hero Section Mobile Fixes */
  .hero {
    min-height: 100vh;
    padding: 0;
  }

  .hero-content {
    z-index: 3;
    padding: 8rem 1rem 6rem;
    position: relative;
  }

  /* Hero Text */
  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    max-width: 90%;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
  }

  /* Hero Buttons */
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    padding: 0 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Hero Stats */
  .hero-stats {
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .stat-card {
    padding: 1rem;
    min-width: 100px;
    flex: 1;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Slider Controls */
  .hero-slider-btn {
    width: 45px;
    height: 45px;
    z-index: 5;
  }

  .hero-slider-btn.prev {
    left: 0.75rem;
  }

  .hero-slider-btn.next {
    right: 0.75rem;
  }

  .hero-slider-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Slider Indicators */
  .hero-slider-indicators {
    bottom: 1.5rem;
    gap: 0.6rem;
    z-index: 5;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    display: none; /* Hide on mobile to prevent overlap */
  }

  /* Hero Overlay */
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.8) 100%
    );
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  .hero-content {
    padding: 7rem 0.75rem 5rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-description {
    font-size: 0.85rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .stat-card {
    width: 100%;
  }

  .hero-slider-btn {
    width: 40px;
    height: 40px;
  }

  .hero-slider-btn.prev {
    left: 0.5rem;
  }

  .hero-slider-btn.next {
    right: 0.5rem;
  }

  .hero-slider-indicators {
    bottom: 1rem;
  }
}
