* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  background: #1e1e1e; /* fondo exterior oscuro */
  line-height: 1.6;
}

/* Página centrada */
.page {
  max-width: 1180px;      /* ancho similar al real */
  margin: 0 auto;
  background: #ffffff;   /* fondo blanco del sitio */
  min-height: 100vh;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* Top bar */
.top-bar {
  background: #222;
  color: #eee;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  padding: 6px 20px;
}

/* Header */
.header {
  padding: 20px;
  text-align: center;
  border-bottom: none;
}

.logo img {
  width: 227px;
  height: 76px;
  object-fit: contain;
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

/* === Navegación === */

.nav-menu {
  list-style: none;
  display: flex;
  gap: 26px;
  justify-content: center;
}

.nav-menu a {
  text-decoration: none;
  color: #222;
  font-size: 15px;        /* más grande que antes */
  font-weight: 400;
  transition: color 0.2s ease, font-size 0.2s ease;
}

/* Página activa */
.nav-menu a.active {
  color: #00a8e0;
  font-size: 16.5px;
  font-weight: 500;
  border-bottom: 2px solid #00a8e0;
  padding-bottom: 4px;
}

/* Hover (no compite con el activo) */
.nav-menu a:hover {
  color: #555;
}
/* Hero */
.hero {
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.hero img {
  width: 80%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.columns {
  display: flex;
  gap: 40px;
}

.column {
  flex: 1;
}

.menu-separator {
  border: none;
  border-top: 1px solid #ccc;
  margin: 15px 0;
}

/* News list */
.news-list article {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.news-list img {
  width: 80px;
  height: 60px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 15px;
  margin-top: 60px;
  font-size: 12px;
}

/* Responsive */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
}

@media (max-width: 768px) {
  .columns {
    flex-direction: column;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    margin-top: 10px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* === Carrusel === */

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* Botones */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 28px;
  padding: 6px 12px;
  cursor: pointer;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(255,255,255,1);
}

/* === Trailer News === */

.trailer-news h1 {
  margin-bottom: 40px;
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.news-card {
  border: 1px solid #ccc;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.news-content .meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

.news-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* === Contacto === */

.contacto h1 {
  margin-bottom: 40px;
  text-align: center;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 6px;
}

.form-group label span {
  font-size: 13px;
  color: #999;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #bbb;
}

/* Botón */
.btn-submit {
  background: #00a8e0;   /* mismo celeste que el menú activo */
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
}

.btn-submit:hover {
  background: #008fc0;
}

.form-ok {
  background: #e6f7fb;
  color: #007fa8;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #bde7f3;
}

.form-error {
  background: #fdeaea;
  color: #a00000;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #f5c2c2;
}