/* ============================================
   THEME CSS - F1 2026 São Paulo Grand Prix
   ============================================ */

@import url('base.css');

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  font-weight: 700;
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  margin: 0;
}

nav a {
  color: var(--color-text-light);
  font-weight: 600;
  transition: color var(--transition-fast);
}

nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #0a1f2e 100%);
  background-image: url('../img/hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-text-light);
  padding: var(--spacing-3xl) var(--spacing-lg);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(13, 27, 42, 0.6);
  z-index: 1;
}

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

.hero h1 {
  font-size: var(--font-size-5xl);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
  font-size: var(--font-size-2xl);
  color: var(--color-accent);
  margin-bottom: var(--spacing-xl);
  font-weight: 600;
}

.hero .cta-button {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  display: inline-block;
  margin-top: var(--spacing-lg);
}

.hero .cta-button:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   SECTIONS
   ============================================ */

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

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

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

.section-title h2 {
  margin-bottom: 0;
}

/* ============================================
   INFORMAÇÕES SECTION
   ============================================ */

.info-section {
  background-color: #f8f9fa;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
}

.info-card {
  background-color: var(--color-text-light);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border-left: 4px solid var(--color-primary);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.info-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.info-card p {
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   ESPECIFICAÇÕES SECTION
   ============================================ */

.specs-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #0a1f2e 100%);
  color: var(--color-text-light);
}

.specs-section h2 {
  color: var(--color-text-light);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
}

.spec-item {
  text-align: center;
  padding: var(--spacing-2xl);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 165, 116, 0.2);
  transition: all var(--transition-normal);
}

.spec-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.spec-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-accent);
}

.spec-item h3 {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.spec-item p {
  color: rgba(241, 250, 238, 0.8);
  font-size: var(--font-size-sm);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--color-dark);
  color: var(--color-text-light);
  padding: var(--spacing-2xl) var(--spacing-lg);
  margin-top: var(--spacing-3xl);
}

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

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

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

.footer-section ul {
  list-style: none;
  margin: 0;
}

.footer-section li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: rgba(241, 250, 238, 0.7);
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.company-info {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: rgba(241, 250, 238, 0.6);
  opacity: 0.8;
}

.company-info p {
  margin-bottom: var(--spacing-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  padding-top: var(--spacing-lg);
  text-align: center;
  font-size: var(--font-size-sm);
  color: rgba(241, 250, 238, 0.5);
}

/* ============================================
   HEINEKEN VILLAGE HIGHLIGHT
   ============================================ */

.heineken-highlight {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(230, 57, 70, 0.05) 100%);
  border-left: 4px solid var(--color-accent);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  margin: var(--spacing-2xl) 0;
}

.heineken-highlight h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  nav ul {
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: 400px;
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  .hero h1 {
    font-size: var(--font-size-4xl);
  }

  .hero .subtitle {
    font-size: var(--font-size-xl);
  }

  section {
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  .info-grid,
  .specs-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }

  nav ul {
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
  }

  .hero {
    min-height: 300px;
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .hero .subtitle {
    font-size: var(--font-size-lg);
  }

  .section-title h2 {
    font-size: var(--font-size-2xl);
  }

  .info-card,
  .spec-item {
    padding: var(--spacing-lg);
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  header,
  footer {
    display: none;
  }

  body {
    background-color: white;
  }

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