

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}



header {
  background-color: #000;
  color: #fff;
  padding: 1rem;
  text-align: center;
  
}



nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}



section {
  padding: 2rem;
  text-align: center;
}



.cuadro-interactivo {
  background-color: #000;
  color: white;
  width: 100%;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.titulo-centrado {
  text-align: center;
  margin-bottom: 0.3rem;
}

.titulo-link {
  color: white;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.titulo-link:hover {
  color: #d4af37;
}


.contenedor-apartados {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 20000px;
  margin: 0 auto;
}



.apartados ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-top: -30px;
}

.apartados a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.apartados a:hover {
  color: #d4af37;
}


.logo-centrado {
  text-align: center;
}

.logo-mercedes {
  width: 150px;
  height: auto;
  margin-right: 800px;
  margin-top: -20px;
  margin-bottom: 40px;
}




@media (max-width: 768px) {
  .contenedor-apartados {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .apartados ul {
    flex-direction: column;
    gap: 1rem;
  }

  .logo-mercedes {
    width: 120px;
    margin-right: 0;
  }
}


:root {
    --primary: #000000;
    --secondary: #333333;
    --accent: #c0c0c0;
    --text: #ffffff;
    --highlight: #b30000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--primary);
    color: var(--text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), center/cover no-repeat;
    overflow: hidden;
}

.logo {
    position: absolute;
    top: 30px;
    left: 50px;
    width: 80px;
    height: 80px;
    background: url('/api/placeholder/80/80') center/contain no-repeat;
}




.hero-content {
    text-align: center;
    z-index: 2;
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce 2s infinite;
}
.scroll-indicator a {
    color: var(--highlight); 
    text-decoration: none;  
    font-size: 2rem;        
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-30px) translateX(-50%);
    }
    60% {
        transform: translateY(-15px) translateX(-50%);
    }
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--highlight);
}



.timeline-item {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.timeline-inner {
  display: flex;
  width: 80%;
  max-width: 1200px;
  position: relative;
  justify-content: space-between;
  align-items: center;
}

.timeline-inner.left {
  flex-direction: row;
}

.timeline-content {
  width: 45%;
  text-align: center;
  color: white;
}

.timeline-content .year {
  font-size: 28px;
  font-weight: bold;
  color: #e40000;
  margin-bottom: 10px;
}

.timeline-image {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}


.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.timeline-item.row-reverse {
  flex-direction: row-reverse;
}

.timeline-text {
  flex: 1;
  color: white;
  max-width: 500px;
  text-align: justify;
}

.timeline-year {
  font-size: 2rem;
  color: #e30613; /* rojo Mercedes AMG */
  margin-bottom: 15px;
  text-align: center;
}

.timeline-image {
  flex: 1;
  max-width: 500px;
}

.timeline-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}


.specs {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.spec-card {
    background: var(--secondary);
    border-radius: 8px;
    padding: 30px;
    width: 23%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.spec-icon {
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 15px;
}

.spec-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.spec-card p {
    font-size: 1rem;
    color: var(--text);
}



.cta {
    background-color: #050000;
    color: var(--text);
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.cta-button {
    background-color: var(--primary);
    color: var(--text);
    padding: 15px 30px;
    font-size: 1.25rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--accent);
}


footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  border-top: 1px solid #444;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: #ccc;
  text-decoration: underline;
  margin: 0 10px;
}

footer a:hover {
  color: #fff;
}

footer .social-icons {
  margin-top: 1rem;
}

footer .social-icons a {
  margin: 0 15px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: #fff;
}
