@import url('https://fonts.googleapis.com/css2?family=Grandstander:wght@100..900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #030303;
  --text-primary: #FFFFFF;
  --text-secondary: #a0a0a0;
  --accent-1: #ff2e22;
  /* Vigggggggggggbrant Logo Red */
  --accent-2: #c4120c;
  /* Dynamic Action Red */
  --card-bg: #111111;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(0, 0, 0, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --header-h: 90px;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Grandstander', sans-serif;

  /* Metallic Colors */
  --gold-glow: rgba(251, 191, 36, 0.4);
  --silver-glow: rgba(148, 163, 184, 0.4);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
}

/* ================================
   SCROLL REVEAL ANIMATIONS
================================ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay variants */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.5s;
}

/* Direction variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}



/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.8));
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  /* Added to contain slide-in animations */
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(236, 29, 19, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(236, 29, 19, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--accent-1);
  /* Matched with primary button color */
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  transform: translateY(-3px);
}

/* Header & Nav */
/* Header & Nav - Pedro Acosta Inspired */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  background-color: transparent;
  /* Transparent initial */
}

.header.scrolled {
  background-color: var(--glass-bg);
  /* sleek glass effect */
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  height: 75px;
}

.header.scrolled .nav-logo-img {
  height: 110px;
  transform: translateY(4px);
}

.page-width {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 3%;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-left {
  flex: 1.2;
  /* Weighted flex to push center menu slightly right */
  display: flex;
  align-items: center;
  min-width: 0;
  /* Prevents logo from forcing width during transition */
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--accent-1);
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(236, 29, 19, 0.4));
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(4px);
  z-index: 100;
}

.nav-logo-img:hover {
  filter: drop-shadow(0 0 35px rgba(236, 29, 19, 0.7)) brightness(1.1);
  transform: translateY(4px) scale(1.05);
}

.header.scrolled .nav-logo-img:hover {
  transform: translateY(4px) scale(1.05);
}

.header-inline-menu {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.list-menu {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.list-menu li {
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: red;
  /* Pedro Acosta inspired red accent */
  transition: width 0.3s ease;
}

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

.header-right {
  flex: 0.8;
  /* Weighted flex to complete the balance with header-left */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-btn:hover {
  border-color: var(--accent-1);
}

.lang-btn img {
  width: 18px;
  border-radius: 2px;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-dropdown:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu a {
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.lang-menu a img {
  width: 18px;
  border-radius: 2px;
}

.lang-menu a:hover,
.lang-menu a.active {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
  /* Prevent floating circles from overflowing */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('resimler/back.jpeg') center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(3, 3, 3, 0.9) 0%, rgba(3, 3, 3, 0.4) 60%, transparent 100%),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-tag,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

/* Unified Tag Styling (Pedro Acosta Inspired Red) */
.hero-tag,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1.5px solid rgba(236, 29, 19, 0.4);
  background: rgba(236, 29, 19, 0.05);
  color: #EC1D13;
  box-shadow: 0 4px 15px rgba(236, 29, 19, 0.1);
}

.hero-tag:hover,
.tag:hover {
  background: rgba(236, 29, 19, 0.12);
  border-color: rgba(236, 29, 19, 0.8);
  box-shadow: 0 0 20px rgba(236, 29, 19, 0.2);
  transform: translateY(-2px);
}

/* Color Modifiers (Now all unified to Red as requested, but keeping classes for structural consistency) */
.tag--red,
.tag--purple,
.tag--cyan,
.tag--gold,
.tag--emerald,
.tag--silver {
  background: rgba(236, 29, 19, 0.08);
  border-color: rgba(236, 29, 19, 0.4);
  color: #EC1D13;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  text-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #fff;
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Floating Elements */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: float 10s infinite alternate;
  pointer-events: none;
  /* Ignore touch/clicks */
}

.circle-1 {
  width: 300px;
  height: 300px;
  background: rgba(0, 229, 255, 0.15);
  top: -100px;
  left: -100px;
}

.circle-2 {
  width: 400px;
  height: 400px;
  background: rgba(112, 0, 255, 0.15);
  bottom: -150px;
  right: -100px;
  animation-delay: -5s;
}

@media (max-width: 768px) {
  .circle-2 {
    right: -50px;
    /* Less aggressive on mobile */
    width: 200px;
    height: 200px;
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 30px) scale(1.1);
    /* Reduced movement */
  }
}

@keyframes metalShimmer {
  0% {
    transform: translateX(-150%) skewX(-25deg);
    opacity: 0;
  }

  20% {
    opacity: 0.8;
  }

  100% {
    transform: translateX(150%) skewX(-25deg);
    opacity: 0;
  }
}

/* Achievements Grid Layout */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.achievement-card {
  background: linear-gradient(145deg, #111111 0%, #080808 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Racing Accent Line */
.achievement-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 0 15px var(--accent-1);
  opacity: 0.8;
}

.achievement-card:hover::after {
  transform: scaleX(1);
}

/* Subtle Scanline Texture */
.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 4px);
  pointer-events: none;
  z-index: 1;
}

.achievement-card:hover {
  transform: translateY(-12px);
  border-color: rgba(236, 29, 19, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(236, 29, 19, 0.1);
}

.achievement-card--champion {
  border-color: rgba(236, 29, 19, 0.4);
  background: linear-gradient(145deg, #150505 0%, #080808 100%);
}

.achievement-card--champion::after {
  transform: scaleX(1);
  opacity: 1;
}

.achievement-card--champion:hover {
  border-color: var(--accent-1);
  box-shadow: 0 20px 50px rgba(236, 29, 19, 0.2);
}

.achievement-card__icon {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.achievement-card__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  opacity: 0.15;
  /* Subtle permanent glow */
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.achievement-card:not(.achievement-card--champion) .achievement-card__icon::before {
  background: radial-gradient(circle, var(--silver-glow) 0%, transparent 70%);
}

.achievement-card:hover .achievement-card__icon::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

.achievement-card__icon svg {
  width: auto;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.achievement-card:hover .achievement-card__icon svg {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.achievement-card__content {
  position: relative;
  z-index: 2;
}

.achievement-card__year {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-1);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 1rem;
  letter-spacing: -1px;
  line-height: 1.1;
}

.achievement-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.achievement-card__rank {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

.achievement-card--champion .achievement-card__rank {
  color: var(--accent-1);
}

.achievement-card__watermark {
  position: absolute;
  bottom: -30px;
  right: -30px;
  opacity: 0.02;
  color: #fff;
  z-index: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.achievement-card:hover .achievement-card__watermark {
  transform: scale(1.2) rotate(-10deg) translate(-20px, -20px);
  opacity: 0.05;
}

/* Achievements List Layout */
.achievements-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

.achievement-row {
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.achievement-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(236, 29, 19, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 0;
}

.achievement-row:hover::before {
  transform: translateX(100%);
}

.achievement-year {
  flex: 0 0 200px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-secondary);
  transition: all 0.4s ease;
}

.achievement-row:hover .achievement-year {
  color: var(--accent-1);
  -webkit-text-stroke: 1px var(--accent-1);
}

.achievement-details {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.achievement-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  transition: color 0.3s;
}

.achievement-row:hover .achievement-title {
  color: var(--accent-1);
}

.achievement-result {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  padding: 10px 24px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  transition: all 0.3s;
}

.achievement-result.champion {
  color: var(--black);
  background: var(--accent-1);
  border-color: var(--accent-1);
}

@media (max-width: 768px) {
  .achievement-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .achievement-details {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .achievement-year {
    font-size: 3.5rem;
    flex: auto;
  }
}

/* Glass Cards (Achievements & Gallery) */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 229, 255, 0.05);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.card-year {
  color: var(--accent-1);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card-result {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Center Heading */
.center-heading {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.center-heading .tag {
  color: var(--accent-1);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-flex;
  /* Changed from content-wide block to compact inline-flex */
}

.center-heading h2 {
  font-size: clamp(1.6rem, 8vw, 3.5rem);
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Feature Layouts */
.feature-split {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.feature-split.reverse {
  flex-direction: row-reverse;
}

.feature-img {
  flex: 1;
  position: relative;
}

.img-glass {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-color);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.img-glass span {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Countdown */
.countdown-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 4rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
}

.timer-wrap {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #fff, var(--text-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timer-lbl {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-2);
  text-transform: uppercase;
}

/* Footer */
footer {
  background: #000;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  /* Reduced from 100px */
  position: relative;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  top: 50%;
  right: -250px;
  left: auto;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
  filter: grayscale(1) brightness(2);
  user-select: none;
}

.footer-watermark img {
  height: 650px;
  width: auto;
  max-width: none;
  display: block;
}


.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  /* Reduced from 2rem */
  position: relative;
  z-index: 1;
}

.footer-brand {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand-wrap {
  margin-bottom: 0;
}

.footer-brand-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(236, 29, 19, 0.6));
  transition: all 0.4s ease;
  margin-bottom: -1rem;
  /* Perfect balance for icon */
}

.footer-brand-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 25px rgba(236, 29, 19, 0.6));
}

.footer-nav-horizontal {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-horizontal a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
}

.footer-nav-horizontal a:hover {
  color: var(--accent-1);
}

.footer-legal-horizontal {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.footer-legal-horizontal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.footer-legal-horizontal a:hover {
  color: #fff;
}

.footer-logo {
  display: block;
  margin-top: 5rem;
  margin-bottom: -3.5rem;
}

.footer-logo-img {
  height: 220px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(236, 29, 19, 0.45));
  transition: all 0.4s ease;
}

.footer-logo-img:hover {
  filter: drop-shadow(0 0 20px rgba(236, 29, 19, 0.7));
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  background: transparent;
}

.social-icon:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #fff;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent-1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 8, 0.98);
  backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0 0 40px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px 0 0;
  margin-bottom: 0.5rem;
  margin-top: -8px;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 8px 0;
  color: var(--text-secondary);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent-1);
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
}

.mobile-nav-logo img {
  height: 140px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(236, 29, 19, 0.5));
}

.mobile-nav-lang {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.mobile-nav-lang a {
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  padding: 10px 24px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.mobile-nav-lang a img {
  width: 20px;
  border-radius: 2px;
}

.mobile-nav-lang a:hover,
.mobile-nav-lang a.active {
  border-color: var(--accent-1);
  background: rgba(236, 29, 19, 0.1);
  color: #fff !important;
}

/* Contact Page Specific */
.contact-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 100%, rgba(112, 0, 255, 0.15) 0%, var(--bg-color) 70%);
  padding-top: var(--header-h);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: -50px auto 100px;
  padding: 0 20px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.contact-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-1);
}

.contact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(112, 0, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent-1);
}

.contact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 992px) {

  .header-inline-menu,
  .header-right {
    display: none;
  }

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

  .header-inner {
    justify-content: space-between;
    flex-direction: row;
    padding: 0 8% 0 2%;
    /* Increased right padding to nudge button left */
  }

  .header-left {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: none;
    flex-direction: row-reverse;
    /* Logo Left, Button Right */
  }

  .header-logo {
    margin: 0;
  }

  .nav-logo-img {
    height: 125px;
    transform: translateY(0);
    margin: 0;
  }

  .footer-brand-wrap {
    margin-top: -1rem;
    /* Lowered further as requested */
    margin-bottom: -1rem;
  }

  .footer-brand-img {
    height: 130px;
  }

  .feature-split,
  .feature-split.reverse {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .feature-content .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-col {
    justify-self: center !important;
  }

  .footer-brand {
    margin: 1.5rem auto 0;
    /* Added spacing to move text down */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 30px);
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .timer-wrap {
    gap: 1.5rem;
  }

  .timer-num {
    font-size: 2rem;
  }
}

/* ================================
   NEW PAGE COMPONENTS (About, Calendar, Gallery, Sponsors, Press)
================================ */

/* Pages General Hero */
.page-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.15) 0%, var(--bg-color) 70%);
  padding-top: calc(var(--header-h) + 30px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  /* Changed from center to align with top */
  margin-top: 2rem;
}

.about-img {
  margin-top: 0;
  /* Restored to natural position */
  position: relative;
  z-index: 10;
}


.about-content h2 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  text-transform: uppercase;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.stats-strip {
  display: flex;
  justify-content: space-around;
  padding: 4rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

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

.stat-val {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-1);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-lbl {
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* Calendar Page */
.race-table-wrapper {
  overflow-x: auto;
  width: 100%;
  margin-top: 2rem;
}

.race-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  text-align: left;
}

.race-table th {
  padding: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.race-table td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.race-date {
  font-weight: 800;
  color: var(--accent-1);
}

.race-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.status-badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid transparent;
}

.status-upcoming {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: rgba(236, 29, 19, 0.08);
  box-shadow: 0 0 15px rgba(236, 29, 19, 0.1);
}

.status-completed {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
}

/* Gallery Page */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.masonry-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.masonry-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sponsors Page */
.sponsors-grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.sponsor-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  transition: all 0.4s;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sponsor-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-1);
  box-shadow: 0 10px 30px rgba(236, 29, 19, 0.15);
}

.sponsor-placeholder {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.sponsor-name {
  font-size: clamp(1rem, 4vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.sponsor-tier {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Press Page */
.press-featured {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 30px;
}

.press-featured__img {
  flex: 1;
  min-width: 0;
  aspect-ratio: 16/9;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.1);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 800;
}

.press-featured__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.press-featured__content h2 {
  font-size: clamp(1.3rem, 4vw, 2rem) !important;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
}

.press-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.press-card:hover {
  border-color: var(--accent-1);
  transform: translateY(-5px);
}

.press-img {
  height: 200px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid var(--border-color);
  font-weight: 800;
}

.press-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.press-date {
  color: var(--accent-1);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
  letter-spacing: 1px;
}

.press-title {
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .press-featured {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    margin-top: 0;
  }

  .about-img {
    margin-top: 0;
    /* Restored to natural position for mobile */
    margin-bottom: 2rem;
  }

  .about-content p {
    text-align: left;
    /* Left align for easier reading of bio text */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-secondary);
  }

  .about-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .stats-strip {
    flex-direction: column;
    gap: 3rem;
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .page-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .sponsors-grid-main {
    grid-template-columns: 1fr;
  }

  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }

  /* Fix title sponsor card inline padding on mobile */
  .sponsor-card[style*="grid-column"] {
    grid-column: 1 / -1 !important;
    padding: 2.5rem 1.5rem !important;
  }

  .sponsor-card[style*="grid-column"] img {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 1.5rem !important;
  }

  .sponsor-card[style*="grid-column"] .sponsor-placeholder {
    font-size: 1.8rem !important;
  }

  /* Press featured on mobile */
  .press-featured {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .press-featured__img {
    width: 100%;
  }

  .press-body {
    padding: 1.5rem;
  }

  /* Footer watermark mobile */
  .footer-watermark {
    right: -430px;
    left: auto;
    top: 65%;
    transform: translateY(-50%);
    width: auto;
    opacity: 0.1;
  }

  .footer-watermark img {
    height: 600px;
  }

  /* Timer smaller on mobile */
  .timer-wrap {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-bg {
    background-position: 55% center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(3, 3, 3, 0.9) 0%, rgba(3, 3, 3, 0.4) 50%, rgba(3, 3, 3, 0.9) 100%);
  }
}

/* ================================================
   Turkish Language Fix: Prevent incorrect uppercase
   i → I (wrong), should be i → İ in Turkish
   ================================================ */
:lang(tr) .page-title,
:lang(tr) .tag,
:lang(tr) .nav-link,
:lang(tr) .sponsor-name,
:lang(tr) .stat-lbl,
:lang(tr) .race-name,
:lang(tr) .press-title,
:lang(tr) h1,
:lang(tr) h2,
:lang(tr) h3 {
  /* Modern browsers that support lang-aware uppercase */
  text-transform: uppercase;
}

/* Override: Correct Turkish uppercase via JS-based class .tr-upper */
.tr-upper {
  /* Applied via JS for elements where i/ı must be correct */
}