/* NAV BAR */
.custom-navbar {
  background-color: transparent !important;  /*Asegura transparencia del navbar.... color #fefaf7; */
  border-bottom: none; /* 1px solid #eee; */
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.custom-navbar .nav-link {
  color: #333;
  font-size: 14px;
  margin-left: 12px;
  text-decoration: none;
}

.custom-navbar .nav-link:hover {
  color: #000;
}

.search-input {
  border: none;
  background-color: #eee5dd;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  width: 160px;
}

.search-input:focus {
  outline: none;
  box-shadow: none;
}

.icon-btn {
  background-color: #f4f0ec;
  border: none;
  padding: 6px 10px;
  font-size: 16px;
}

.avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/*logo izquierda navbar*/

/* Tamaño y estilo del logo */
.trompo_c {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Espaciado y tipografía del texto del logo */
.nav_trompos {
  font-size: 18px;
  color: #222;
  font-weight: 600;
}

/* Link con el logo */
.nav_logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* Credenciales del usuario (ul + li) */
.nav_credenciales {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav_credenciales li {
  display: inline-block;
}

.texto_credenciales {
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.texto_credenciales:hover {
  color: #000;
}

/* Botón hamburguesa (para móviles) */
.hamburger {
  display: none; /* Oculto en escritorio */
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Avatar y botón favoritos extra */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mostrar el menú oculto cuando se activa */
.nav_credenciales.show {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  z-index: 10;
}

/* Responsive para pantallas chicas */
@media (max-width: 768px) {
  .custom-navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .left, .right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }

  .nav-link {
    margin: 0;
    padding: 6px 0;
  }

  .hamburger {
    display: block;
  }

  .nav_credenciales {
    display: none;
    width: 100%;
  }

  .nav_credenciales.show {
    display: flex;
    width: 100%;
  }

  .search-input {
    width: 100%;
  }

  .right {
    align-items: stretch;
  }
}

/* FOOTER */
.footer {
  background-color: #fefaf7; /* Mismo color que el navbar */
  padding: 30px 0;
  font-family: 'Inter', sans-serif;
  text-align: center;
  color: #333; /* Texto oscuro */
  border-top: 1px solid #eee;
}

.footer .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0;
  font-size: 0.9rem;
  gap: 15px;
}

.footer .row a {
  color: #333;
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.3s ease;
}

.footer .row a:hover {
  color: #000;
}

.footer .row ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0;
}

.footer .row ul li {
  margin: 0;
}

.footer .row a i {
  font-size: 1.8rem;
  margin: 0 8px;
}

@media (max-width: 720px) {
  .footer .row {
    flex-direction: column;
    gap: 10px;
  }

  .footer .row ul {
    flex-direction: column;
    gap: 8px;
  }
}


/* Sección de cards */
.trompos_section {
    background: white;
    padding: 80px 2rem;
}

.trompos_cards_container {
    max-width: 1200px;
    margin: 0 auto;
}

.trompos_cards_row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trompos_card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.trompos_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.trompos_card_icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
hero
.trompos_card_title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: bold;
}

.trompos_card_description {
    color: #666;
    line-height: 1.8;
}


/* ---- VIDEO ---- */
.trompos_hero_section {
            position: relative;
            width: 100%;
            height: 100vh;
            min-height: 600px;
            max-height: 1000px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.trompos_video_background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -3;
        }

.trompos_hero_content {
  position: relative; 
  z-index: 2;         
  color: white;       
  text-align: center;
  padding: 20px;
}
.trompos_hero_title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: bold;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            letter-spacing: -0.02em;
        }

.trompos_hero_subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.trompos_hero_btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 30px; /* Reducido el padding */
    font-size: 1.2rem; /* Reducido el tamaño de la fuente */
    font-weight: bold;
    border-radius: 30px; /* Radio de borde más pequeño */
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px; /* Menos espaciado entre letras */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Menos sombra */
}

.trompos_hero_btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Fuente personalizada */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

.fancy-font {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
}