/* style.css */
/* ======== Base Styles ======== */
:root {
 --racing-red: #A30808;       /* Rich, deep racing red */
    --red-dark: #800606;         /* Darker variant */
    --red-glow: rgba(163,8,8,0.2); 
  --track-black: #0A0A0A;
  --carbon-fiber: #1A1A1A;
  --steel-gray: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--track-black);
  color: #ffffff;
}

/* ======== Navigation ======== */
nav {
  position: fixed;
  width: 100%;
  padding: 20px 50px;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-y {
    background: #e2e8f0;
    color: #1a202c;
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1em;
    margin-right: 0.05em;
    transition: all 0.3s ease;
    position: relative;
}

.logo-text {
    color: #a0aec0;
    font-weight: 800;
}

.logo:hover .logo-y {
    background: #f7fafc;
    color: #1a202c;
    transform: scale(1.05);
}

.logo:hover .logo-text {
    color: #cbd5e0;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--racing-red);
}

/* ======== Hero Section ======== */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url('trackbreed-bic.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #cccccc;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.cta-button {
  padding: 15px 40px;
  background: linear-gradient(145deg, var(--racing-red), var(--red-dark));
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 25px var(--red-glow);
}

/* ======== Features Section ======== */
.features {
  padding: 100px 50px;
  background: var(--carbon-fiber);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--track-black);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--steel-gray);
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--racing-red);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--racing-red);
}

.feature-card p {
  color: #cccccc;
  line-height: 1.6;
}

/* ======== techstack Section ======== */
.techstack {
  padding: 100px 50px;
  background: var(--track-black);
}

.techstack-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
 .techstack-image img {
            width: 100%;
            height: auto;
            display: block;
        }
/* In techstack Section styles */
.techstack-text h2 {
    font-size: 2.5rem;

    margin-bottom: 10px;
    padding-bottom: 10px; /* Added padding at bottom */
    position: relative;
}
	
.tech-section {
  margin-bottom: 40px;
  padding: 20px;
  background: var(--carbon-fiber);
  border-radius: 8px;
  border: 1px solid var(--steel-gray);
}

.tech-section h3 {
  color: var(--racing-red);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-section p {
    padding-bottom: 15px;
    font-weight: 500;
    color: #ffffff;
}

.tech-list {
  list-style: none;
  padding-left: 20px;
}

.tech-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cccccc;
}

.tech-list i {
  width: 20px;
  color: var(--racing-red);
}

/* ======== Contact Section ======== */
.contact {
  padding: 100px 50px;
  background: var(--carbon-fiber);
}

.contact-details li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #cccccc;
}

.contact-details i {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--steel-gray);
    font-size: 1.1rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form, .contact-info {
  background: var(--track-black);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--steel-gray);
}

.contact-form h2 {
  font-size: 2rem;
  color: var(--racing-red);
  margin-bottom: 30px;
}
.contact-info h3 {
    color: var(--racing-red);
    font-size: 1.5rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
    
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--carbon-fiber);
  border: 1px solid var(--steel-gray);
  color: white;
  border-radius: 5px;
  margin-top: 8px;
}

.form-group textarea {
  height: 120px;
}

/* ======== Animations ======== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======== Media Queries ======== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .features, .techstack, .contact {
    padding: 50px 20px;
  }
  
  .techstack-content, .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    margin-top: 30px;
  }
}

/* Footer */
.footer {
    padding: 30px 50px;
    background: var(--track-black);
    border-top: 1px solid var(--racing-red);
    text-align: center;
    color: #cccccc;
}

.footer p {
    font-size: 0.9rem;
    margin: 0;
}

.footer a {
    color: var(--racing-red);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 0.8;
}

/* Mailing List Styles */
.mailing-list {
    padding: 100px 50px;
    background: var(--track-black);
}

.mailing-list-info {
    background: var(--carbon-fiber);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--steel-gray);
}

.mailing-list h2 {
  font-size: 2rem;
  color: var(--racing-red);
  margin-bottom: 30px;
}

.mailing-list-info h3 {
  color: var(--racing-red);
  font-size: 1.5rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #cccccc;
}

.benefits-list i {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-gray);
  font-size: 1.1rem;
}
