/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #8b94a5, #becbd6);
  color: #fff;
  line-height: 1.6; */
  font-family: 'Poppins', sans-serif;
  background: url("../styles/wallpaper_black_white.png") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  width: 100%;
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, #EAE1C9, #EAE1C9); /* C1E1C1 -> ECFFDC */
  z-index: 1000;
  padding: 10px 0;
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
}

.header-container {
  max-width: 100%; /* 1200px */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.hide-header {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

img { /* para todas las imágenes */
  max-width: 100%;
  height: auto;
}

.logo img {
  height: 130px;
  width: auto;
}

/* Navigation */
.nav-bar {
  display: flex;
  position: flexbox;
  top: 100%;
  left: 0;
  right: 0;
  background-color: transparent;
  z-index: 999; /* Menor que header pero visible */
}

.nav-bar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  /* margin: 0;
  padding: 0; */
}

.nav-bar ul li a { /* ul li a indicates links*/
  color: #8b94a5;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-bar ul li a:hover { 
  color: #ffa726; /* 88abb8 */
}

.nav-bar a { /* a para el menú */
  text-decoration: none;
  color: white;
  font-weight: bold; /*600*/
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-bar a:hover {
  color: #ffa726;
}

.header-actions {
  display: flex;
  gap: 15px;
}

.search-btn,
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-actions .search-btn,
.header-actions .menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}



/*Hero Overlay*/

.hero{
  position: relative; /* si es necesario para layering */
  z-index: 1; /* Asegura que esté detrás */
  width:100%;
  overflow: hidden;
}

.hero-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 0 20px;
  width: 100%;
  max-width: 700px;
  box-sizing: border-box;
}

.hero-overlay h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
}

.hero-overlay p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.hero-overlay .btn {
  background: #ff6f00;
  color: white;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-overlay .btn:hover {
  background: #ff8800;
}


/*Hero content for antonio image, use of flexbox to put the side by side*/
.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 900;
  background: #fff;
  color: #2c007a;
  padding: 15px;
  border-radius: 16px;
  line-height: 1.3;
}

.highlights {
  margin: 20px 0;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  color: white;
}

.highlights li {
  margin-bottom: 10px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero {
  text-align: left;
  padding: 100px 20px;
  background: url('assets/hero-background.png') no-repeat center;
  background-size: cover;
  color: #fff;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  background-color: rgba(0, 0, 0, 0.3);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero .btn {
  background: #ff6f00;
  color: white;
  padding: 15px 30px;
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background: #ff8f00;
}

/* About Section */
.about {
  background-color: #ffffff10;
  padding: 60px 20px;
  border-top: 1px solid #ffffff20;
  color: #fff;
}

.about h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about p {
  font-size: 18px;
}

/* Map Dropdown */
.map-dropdown {
  margin: 40px 0;
  text-align: center;
}

.map-toggle-btn {
  background: #ff6f00;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.map-toggle-btn:hover {
  background: #ff8800;
}

.map-container {
  max-width: 800px;
  margin: 20px auto 0;
  overflow: hidden;
  max-height: 0;              /* start hidden */
  transition: max-height 0.5s ease;
}

.map-container img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.map-container.open {
  max-height: 800px;/* enough space for your image */
}

/* Gallery */
.gallery-section {
  text-align: center;
  padding: 2rem;
}

.gallery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gallery-grid img {
  width: 100%;
  height: 180px; /*auto */
  object-fit: cover;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 200px;
  border-radius: 6px;
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.hidden-gallery {
  display: none;
}

.show-more {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #ddd;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.show-more:hover {
  background-color: #ccc;
}



/* FEATURED VIDEOS SECTION */
.featured-videos {
    padding: 80px 0;
    background-color: var(--light-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333;
}

.video-card:hover {
    transform: translateY(-10px);
}

.video-thumbnail video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* esquinas redondeadas */
}


.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 12px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #8b94a5;
    margin: 0 12px 12px 12px;
}

.video-meta span {
    display: flex;
    align-items: center;
}

.video-meta i {
    margin-right: 5px;
}

/* Prices section container */
.prices {
  background-color: transparent; /*1e2538*/
  color: #fff;
  padding: 3rem 2rem;
}

.prices-container {
  background-color: #ffffff10;
  padding: 60px 20px;
  border-top: 1px solid #ffffff20;
  color: #fff;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.price-image {
  flex: 1;
  min-width: 300px;
  max-width: 40%;
}

.price-list {
  flex: 1;
  min-width: 300px;
  max-width: 55%;
}

.price-image img {
  min-width: 300px;
  max-width: 25%;
  height: auto;
  border: 10px solid white;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.price-list h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  text-decoration: none; /*underline*/
  text-underline-offset: 6px;
}

.price-list ul {
  list-style: none;
  padding: 0;
}

.price-list li {
  font-size: 1.3rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/*Info Section*/
.important-info,
.contact {
  text-align: center;
}

.important-info ul,
.contact ul {
  list-style: none;
  padding: 0;
}

.important-info ul li,
.contact ul li {
  display: inline-block;
  margin: 0.5rem 1rem;
}
.important-info a {
  color: orange;
}
.important-info a:hover {
  color: #ff8c00; /* slightly darker */
}

/* Footer */
.footer {
  background-color: #EAE1C9;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.footer-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ffa726;
}

.footer-socials a {
  color: white;
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #ffa726;
}

.footer p {
  margin-top: 20px;
  font-size: 14px;
  color: #cccccc;
}

/* ========= MENÚ RESPONSIVE ========= */

/* Icono hamburguesa oculto por defecto */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

html, body { /* Evitar scroll horizontal */
  overflow-x: hidden;
}

/* Modo responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .header {
    position: fixed;
    width: 100%;
    top: 0;
  }
  body { /* Ajustar padding para evitar solapamiento con header fijo */
      padding-top: 90px; /* equal to header height */
    }
  /* Reducir padding en mobile*/
  .container{
    padding: 10px;
  }
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  /* Mostrar menú móvil al activar con JS */
  .nav-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #EAE1C9;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    display: none; /* oculto por defecto */
    z-index: 1000;
    justify-content: center;
  }
  /* Hide nav on small screens */
  .nav-bar.active {
    display: flex;
  }

  .nav-bar ul { /* ul para el menú */
    display: flex;
    flex-direction: column;
    gap: 1rem; /*20px*/
    list-style: none;
    padding: 0;
    margin: 0;
    /* text-align: center; */
  }

  .nav-bar ul li a {
    color: white;
    font-size: 18px;
  }

  .hero-wrapper {
    height: 450px;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }

  .hero-overlay p {
    font-size: 14px;
  }

  /*Prices*/
  .prices-container {
    flex-direction: column;
  }

  .price-image,
  .price-list {
    max-width: 100%;
  }

  }