/* Resetear algunos estilos predeterminados */
body,
h1,
h2,
h3,
p,
ul,
li,
form {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Encabezado */
.header {
    background-color: #05284b;
    /* Color oficial de Pixar */
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    width: 80px;
    height: auto;
}

.header-content {
    flex: 1;
    padding: 0 1rem;
}

.header-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.header-subtitle {
    font-size: 1.1rem;
    color: #ccc;
}



/* Acerca de Pixar */
#about {
    background-color: #f9f9f9;
    padding: 6rem 0;
}

#about .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

#about .about-content {
    flex: 1;
    max-width: 60%;
}

#about .about-image {
    flex: 1;
    max-width: 40%;
}

#about .section-title {
    font-size: 3rem;
    color: #05284b;
    margin-bottom: 1rem;
}

#about .section-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

#about p:last-child {
    margin-bottom: 0;
}

#about .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Películas */
#movies {
    background-color: #f9f9f9;
    padding: 6rem 0;
}

#movies .container {
    text-align: center;
}

#movies .section-title {
    font-size: 3rem;
    color: #05284b;
    margin-bottom: 2rem;
}

#movies .movie-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

#movies .movie-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

#movies .movie-card:hover {
    transform: translateY(-10px);
}

#movies .movie-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0;
}

#movies .movie-details {
    padding: 2rem;
}

#movies .movie-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

#movies .movie-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

#movies .btn-details {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #ffc107;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

#movies .btn-details:hover {
    background-color: #ff8f00;
}

/* Personajes */
#characters {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

#characters .container {
    text-align: center;
}

.section-title {
    font-size: 3rem;
    color: #05284b;
    margin-bottom: 2rem;
}

.character-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    justify-items: center;
    align-items: start;
}

.character-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: translateY(-10px);
}

.character-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.character-card h3 {
    font-size: 1.8rem;
    color: #05284b;
    margin-bottom: 1rem;
}

.character-card p {
    font-size: 1.2rem;
    color: #777;
    line-height: 1.5;
}


/* Secciones de Historia y Equipo */
.section {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 3.5rem;
    color: #05284b;
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.4rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Estilo específico para Historia de Pixar */
#history .container {
    text-align: center;
}

/* Estilo específico para Equipo Creativo */
#team .container {
    text-align: center;
}

/* Estilo para resaltar ciertas partes del texto */
.highlight {
    color: #ff8f00;
    font-weight: bold;
}

/* Estilo para la lista de logros en Equipo Creativo */
.team-achievements {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.achievement {
    flex-basis: calc(33.33% - 20px);
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.achievement:hover {
    transform: translateY(-5px);
}

.achievement-icon {
    font-size: 2.5rem;
    color: #ff8f00;
    margin-bottom: 1rem;
}

.achievement-title {
    font-size: 1.5rem;
    color: #05284b;
    margin-bottom: 0.5rem;
}

.achievement-description {
    font-size: 1.2rem;
    color: #777;
}

/* Sección de Noticias */
#news {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.news-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-title {
    font-size: 2rem;
    color: #05284b;
    margin: 1.5rem 0 1rem;
}

.news-date {
    font-size: 1rem;
    color: #777;
}

.news-image {
    max-width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.news-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    padding: 1.5rem;
}

.news-read-more {
    display: inline-block;
    font-size: 1.1rem;
    color: #ff8f00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #e36e00;
}


/* Sección de Galería */
#gallery {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 3.5rem;
    color: #05284b;
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(5, 40, 75, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.gallery-link {
    font-size: 1.1rem;
    color: #ff8f00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gallery-link:hover {
    color: #e36e00;
}


/* Sección de Contacto */
#contact {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 3.5rem;
    color: #05284b;
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 1.1rem;
    color: #05284b;
    margin-bottom: 0.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    background-color: #f5f5f5;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: background-color 0.3s ease;
}

input:focus,
textarea:focus {
    background-color: #fff;
}

textarea {
    height: 150px;
}

.btn-submit {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #ff8f00;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #e36e00;
}


/* Sección de Premios */
#awards {
    padding: 6rem 0;
    background-color: #f9f9f9;
  }
  
  .section-title {
    font-size: 3.8rem;
    color: #05284b;
    margin-bottom: 2rem;
  }
  
  .section-description {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
  }
  
  .award-list ul {
    list-style: none;
    padding: 0;
  }
  
  .award-list li {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
  }
  
  .award-list strong {
    color: #05284b;
  }
  
  .award-list li:before {
    content: '\2022';
    position: absolute;
    left: -1.5rem;
    color: #ff8f00;
  }
/* Sección de Ubicaciones */
#locations {
    padding: 6rem 0;
    background-color: #f9f9f9;
  }
  
  .section-title {
    font-size: 4rem;
    color: #05284b;
    margin-bottom: 2rem;
  }
  
  .section-description {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
  }
  
  .location-map {
    margin-top: 3rem;
    text-align: center;
  }
  
  .location-map img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .location-details {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .location {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .location h3 {
    font-size: 1.8rem;
    color: #05284b;
    margin-bottom: 1rem;
  }
  
  .location p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
  }
  
  .location-link {
    display: inline-block;
    font-size: 1.1rem;
    color: #ff8f00;
    transition: color 0.3s ease;
  }
  
  .location-link:hover {
    color: #e36e00;
  }

  /* Estilo para las imágenes de ubicaciones */
.location img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
  }
  
  .location img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-radius: 25px;
  }

  /* Estilos para la navegación de Cars */
.main-navigation {
    background-color: #05284b;
    color: #fff;
    padding: 1rem 0;
  }
  
  .main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  
  .main-navigation a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .main-navigation a:hover {
    color: #f9d900;
  }
  

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Estilos Responsive */
@media (max-width: 768px) {
    /* Encabezado */
    .header .container {
      flex-direction: column;
    }
  
    .header-logo img {
      width: 60px;
      height: auto;
    }
  
    .header-title {
      font-size: 1.8rem;
      margin-top: 1rem;
      margin-bottom: 0.5rem;
    }
  
    .header-subtitle {
      font-size: 1rem;
      text-align: center;
    }
  
    /* Navegación */
    .main-navigation ul {
      gap: 0.5rem;
    }
  
    .main-navigation a {
      font-size: 0.9rem;
    }
  
    /* Acerca de Pixar */
    #about .container {
      gap: 1.5rem;
    }
  
    #about .about-content,
    #about .about-image {
      max-width: 100%;
      padding: 0 0.5rem;
    }
  
    #about .section-title {
      font-size: 1.5rem;
    }
  
    #about .section-text {
      font-size: 0.9rem;
    }
  
    #about .about-image img {
      border-radius: 8px;
    }
  
    /* Películas */
    #movies .section-title {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }
  
    #movies .movie-list {
      gap: 1rem;
    }
  
    #movies .movie-card {
      padding: 1rem;
    }
  
    #movies .movie-title {
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
    }
  
    #movies .movie-description {
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
    }
  
    #movies .btn-details {
      font-size: 0.9rem;
      padding: 0.2rem 0.8rem;
    }
  
    /* Personajes */
    #characters .character-list {
      gap: 1rem;
    }
  
    .character-card {
      padding: 0.8rem;
    }
  
    .character-card h3 {
      font-size: 1.2rem;
      margin-bottom: 0.3rem;
    }
  
    .character-card p {
      font-size: 0.9rem;
      margin-bottom: 0.3rem;
    }
  
    /* Secciones de Historia y Equipo */
    .section-title {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }
  
    .section-text {
      font-size: 0.9rem;
    }
  
    /* Sección de Noticias */
    #news .news-grid {
      gap: 1rem;
    }
  
    .news-card {
      padding: 1rem;
    }
  
    .news-title {
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
    }
  
    .news-date {
      font-size: 0.9rem;
    }
  
    .news-description {
      font-size: 0.9rem;
      line-height: 1.4;
      margin-top: 0.5rem;
    }
  
    .news-read-more {
      font-size: 0.9rem;
    }
  
    /* Sección de Galería */
    #gallery .gallery {
      gap: 0.5rem;
    }
  
    .gallery-item {
      padding: 0.3rem;
    }
  
    /* Sección de Contacto */
    #contact .contact-form {
      max-width: 100%;
    }
  
    label {
      font-size: 0.9rem;
      margin-bottom: 0.3rem;
    }
  
    input,
    textarea {
      padding: 0.5rem;
      font-size: 0.9rem;
    }
  
    .btn-submit {
      padding: 0.3rem 0.8rem;
      font-size: 0.9rem;
    }
  
    /* Sección de Premios */
    #awards .award-list li {
      font-size: 0.9rem;
      margin-bottom: 0.3rem;
    }
  
    #awards .award-list li:before {
      left: -0.7rem;
    }
  
    /* Sección de Ubicaciones */
    #locations .section-title {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }
  
    .location-details {
      gap: 1rem;
    }
  
    .location {
      padding: 0.8rem;
    }
  
    .location h3 {
      font-size: 1.2rem;
      margin-bottom: 0.3rem;
    }
  
    .location p {
      font-size: 0.9rem;
      margin-bottom: 0.3rem;
    }
  
    .location-link {
      font-size: 0.9rem;
    }
  
    /* Estilo para las imágenes de ubicaciones */
    .location img {
      border-radius: 12px;
    }
  }
  