/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background: url('img/oviedo-panoramica.jpg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  margin-top: 120px;
}

/* Navegación */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #0056A2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  height: 100px;
}

.logo img {
  height: 100px;
  width: auto;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #f8f8f8;
  text-decoration: none;
  font-weight: 500;
}

.hero {
  text-align: center;
  padding: 40px 20px;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero .btn {
  background-color: #ffd700;
  padding: 12px 24px;
  border: none;
  color: black;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 20px;
  display: inline-block;
}

.section {
  padding: 60px 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.banner {
  margin-top: 30px;
  padding: 40px;
  background-color: #e2e2e2;
  font-weight: bold;
  border-radius: 8px;
}

footer {
  background-color: #0056A2;
  color: #f8f8f8;
  text-align: center;
  padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background-color: #0056A2;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

/* Banner de cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 86, 162, 0.95);
  color: white;
  padding: 20px;
  z-index: 9999;
  text-align: center;
  box-shadow: 0 -4px 6px rgba(0,0,0,0.2);
}

.cookie-banner p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: #ffd700;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-buttons button {
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.9rem;
}

.btn-accept {
  background-color: #ffd700;
  color: #333;
}

.btn-necessary {
  background-color: #e0e0e0;
  color: #333;
}

.btn-reject {
  background-color: #aaa;
  color: #fff;
}