:root {
  --primary-color: #1F2A44;
  --secondary-color: #f39c12;
  --bg-color: #f5f7fa;
  --white: #ffffff;
  --text-color: #333;
  --header-height: 80px;
  --highlight-color: #27ae60;
  --card-shadow: 0 5px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  --instagram-color: #E1306C;
  --linkedin-color: #0077B5;
  --github-color: #333;
  --googlemaps-color: #EA4335;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  scroll-behavior: smooth;
  padding-top: var(--header-height);
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: linear-gradient(135deg, var(--primary-color), #324a67);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
  height: 60px;
  width: auto;
  background-color: var(--white);
  padding: 8px;
  border-radius: 10px;
  transition: var(--transition);
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: 5px;
  transition: var(--transition);
}

nav ul li a:hover {
  background-color: var(--secondary-color);
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.hero {
  height: 100vh;
  min-height: 600px;
  background: url('images/background.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  margin-top: calc(-1 * var(--header-height));
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 20px;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button:hover {
  background-color: #e67e22;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

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

.content {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
  position: relative;
}

.next-race-timer {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 400px;
  text-align: center;
}

#next-race-countdown {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 10px;
}

.race-container {
  display: grid;
  gap: 20px;
  max-width: 800px;
  margin: 2rem auto;
}

.race-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.race-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.race-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.race-header h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin: 0;
}

.countdown {
  background: #d35400;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.progress-container {
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--secondary-color), var(--highlight-color));
  position: relative;
  transition: width 0.5s ease;
  will-change: width;
}

.competition-gallery {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.competition-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: white;
  transition: var(--transition);
}

.competition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-preview {
  padding: 20px;
  text-align: center;
}

.card-preview img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center 70%;
  border-radius: 8px;
  transition: var(--transition);
}

.card-preview h3 {
  margin: 15px 0;
  color: var(--primary-color);
}

.details-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  margin-top: 15px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  display: inline-block;
}

.details-btn:hover {
  background: #e67e22;
  transform: translateY(-2px);
}

.card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 20px;
  background: #f9f9f9;
}

.card-details.active {
  max-height: 2000px;
  padding: 20px;
}

.competition-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.competition-photos img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.competition-photos img:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.competition-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: left;
}

.competition-info h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.competition-info p {
  margin-bottom: 8px;
}

.contact-info {
  text-align: center;
  margin-top: 30px;
}

.email {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin: 20px 0;
  display: inline-block;
  padding: 12px 25px;
  background: rgba(243, 156, 18, 0.1);
  border-radius: 50px;
  transition: var(--transition);
  font-weight: 600;
  border: 2px dashed var(--secondary-color);
}

.email:hover {
  background: rgba(243, 156, 18, 0.2);
  transform: translateY(-3px);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
}

.social-icons a {
  color: white;
  background: rgba(255,255,255,0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  font-size: 1.4rem;
}

.social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icons .fa-instagram { color: var(--instagram-color); }
.social-icons .fa-linkedin { color: var(--linkedin-color); }
.social-icons .fa-github { color: var(--github-color); }
.social-icons .fa-map-marker-alt { color: var(--googlemaps-color); }

footer {
  background: var(--primary-color);
  color: white;
  padding: 40px 0 20px;
  text-align: center;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .competition-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 15px;
    height: 70px;
  }

  .logo img {
    height: 50px;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  nav ul.active {
    transform: translateY(0);
  }

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

  .hero {
    min-height: 500px;
    height: auto;
    padding: 100px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .content {
    padding: 60px 0;
  }

  .competition-photos {
    grid-template-columns: 1fr;
  }

  .card-preview img {
    height: 280px;
    object-position: center 60%;
  }

  .competition-photos img {
    height: 200px;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .email {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

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

  .next-race-timer {
    width: 100%;
  }

  .card-preview img {
    height: 250px;
  }

  .competition-photos img {
    height: 180px;
  }

  .social-icons {
    gap: 15px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
/* Biz Kimiz? Bölümü Stilleri */
.about-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  color: #333;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
  font-size: 2.5rem;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.about-card, .contact-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card h3 {
  color: #3498db;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.about-card ul {
  padding-left: 20px;
}

.about-card li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-card {
  grid-column: 1 / -1;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.instagram-btn {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: white;
}

.email-btn {
  background: #2c3e50;
  color: white;
}

.social-links a:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.quote {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #7f8c8d;
  font-size: 1.2rem;
  grid-column: 1 / -1;
}

/* Biz Kimiz? Bölümü İyileştirmeleri */
#biz-kimiz {
  padding: 80px 0;
  background-color: #f8f9fa;
}

#biz-kimiz .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#biz-kimiz h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.8rem;
  color: #2c3e50;
  font-weight: 700;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.about-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  line-height: 1.8;
}

.about-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #3498db;
}

.about-card ul {
  padding-left: 25px;
}

.about-card li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  position: relative;
  padding-left: 15px;
}

.about-card li:before {
  content: "•";
  color: #3498db;
  position: absolute;
  left: 0;
  font-size: 1.3rem;
}

.contact-card {
  padding: 40px;
  text-align: center;
  background: linear-gradient(135deg, #3498db, #2c3e50);
  color: white;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.social-links a {
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1rem;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  #biz-kimiz {
    padding: 50px 0;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-card {
    padding: 25px;
  }
  
  .social-links {
    flex-direction: column;
    gap: 15px;
  }
}
nav ul li .button {
  background-color: #2563eb;
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  margin-left: 10px;
  transition: background-color 0.3s;
}

nav ul li .button:hover {
  background-color: #1d4ed8;
}

