/*
Theme Name: Caribe Cruze
Theme URI: https://caribecruze.com
Author: Jimenez
Description: Tema personalizado para Caribe Cruze con efectos dorados glassmorphism
Version: 1.0
Text Domain: caribe-cruze
*/

/* Importar fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ======================
   RESET Y VARIABLES BASE
   ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary-color: #199CA3; /* Turquesa */
  --secondary-color: #F5E6A3; /* Dorado Base */
  --golden-primary: #D1A246; /* Dorado Elegante */
  --golden-light: #F5E6A3; /* Dorado Claro */
  --hero-bg: #0F1B35; /* Azul Marino Oscuro */
  --white: #fff;
  --black: #000;
  --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  --golden-glow: 0 0 20px rgba(209, 162, 70, 0.3);
  --transition: all 0.3s ease;
}

/* ======================
   EFECTOS DORADOS GLASSMORPHISM
   ====================== */

/* Efecto glassmorphism dorado base */
.glass-gold {
  background: rgba(209, 162, 70, 0.2);
  border: 1px solid rgba(209, 162, 70, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: var(--golden-glow);
}

.glass-gold:hover {
  background: rgba(209, 162, 70, 0.4);
  border-color: var(--golden-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(209, 162, 70, 0.4);
}

/* Texto dorado con efectos */
.text-gold {
  color: var(--golden-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.text-gold:hover {
  color: var(--golden-light);
  text-shadow: 0 0 8px rgba(209, 162, 70, 0.5);
}

.text-gold-light {
  color: var(--golden-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.text-gold-light:hover {
  color: var(--golden-primary);
  text-shadow: 0 0 6px rgba(209, 162, 70, 0.4);
}

/* ======================
   HEADER FLOTANTE CON EFECTOS DORADOS
   ====================== */
.floating-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

/* Logo SIN efectos de borde glassmorphism */
.header-brand {
  color: var(--golden-primary);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1001;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 60px;
  height: 60px;
  max-width: 200px;
  width: auto;
  /* SIN efectos glassmorphism - solo color y sombra */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 8px 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.header-brand img,
.header-brand svg,
.header-brand * {
  max-height: inherit !important;
  height: inherit !important;
  max-width: inherit !important;
  width: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.header-brand:hover {
  color: var(--golden-light);
  background: transparent;
  border: none;
  transform: translateY(-2px);
  box-shadow: none;
  text-shadow: 0 0 10px rgba(209, 162, 70, 0.5);
}

/* Menú desktop CON efectos de borde glassmorphism */
.desktop-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.desktop-menu a,
.header-button {
  /* CON efectos glassmorphism dorados */
  background: rgba(209, 162, 70, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(209, 162, 70, 0.3) !important;
  color: var(--golden-light) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  text-transform: uppercase;
  text-align: center;
  padding: 12px 24px;
  border-radius: 25px !important;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 15px rgba(209, 162, 70, 0.2) !important;
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo sutil en botones desktop */
.desktop-menu a::before,
.header-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.desktop-menu a:hover::before,
.header-button:hover::before {
  left: 100%;
}

.desktop-menu a:hover,
.header-button:hover {
  background: rgba(209, 162, 70, 0.3) !important;
  border: 1px solid rgba(209, 162, 70, 0.6) !important;
  color: var(--golden-light) !important;
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 0 10px rgba(209, 162, 70, 0.5);
  box-shadow: 0 8px 25px rgba(209, 162, 70, 0.4) !important;
}

/* ======================
   BANNER PRINCIPAL
   ====================== */
.home-banner {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin: 0;
  padding: 0;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ======================
   BOTONES CENTRADOS CON EFECTOS GLASSMORPHISM
   ====================== */
.center-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 40px;
  z-index: 10;
  flex-wrap: wrap;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
}

.center-buttons a {
  /* CON efectos glassmorphism dorados intensos */
  background: rgba(209, 162, 70, 0.25) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 2px solid rgba(209, 162, 70, 0.4) !important;
  color: var(--golden-light) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  text-transform: uppercase;
  text-align: center;
  padding: 15px 25px;
  border-radius: 30px !important;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 6px 25px rgba(209, 162, 70, 0.3) !important;
  position: relative;
  overflow: hidden;
  min-width: 180px;
  white-space: nowrap;
}

/* Efecto de brillo animado en los botones centrados */
.center-buttons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.center-buttons a:hover::before {
  left: 100%;
}

.center-buttons a:hover {
  background: rgba(209, 162, 70, 0.45) !important;
  border: 2px solid rgba(209, 162, 70, 0.7) !important;
  color: var(--golden-light) !important;
  transform: translateY(-4px) scale(1.08);
  text-shadow: 0 0 15px rgba(209, 162, 70, 0.6);
  box-shadow: 0 10px 35px rgba(209, 162, 70, 0.5) !important;
  animation: goldenPulse 2s infinite;
}

/* ======================
   CONTENIDO DEL BANNER CON EFECTOS DORADOS
   ====================== */
.banner-content {
  max-width: 900px;
  padding: 20px;
  z-index: 1;
  margin-top: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: var(--text-shadow);
  font-family: 'Poppins', sans-serif;
}

/* Estilo especial para "CARIBE CRUZE" con glassmorphism */
.banner-content h1 .caribe-cruze {
  color: var(--golden-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  /* Efecto de resplandor dorado */
  filter: drop-shadow(0 0 10px rgba(209, 162, 70, 0.3));
}

.banner-content h1 .cc {
  color: var(--golden-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(0 0 10px rgba(209, 162, 70, 0.3));
}

.banner-content .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: var(--text-shadow);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

/* CTA Button con efecto glassmorphism dorado intenso */
.cta-button {
  display: inline-block;
  padding: clamp(15px, 3vw, 18px) clamp(35px, 4vw, 45px);
  /* Efecto glassmorphism dorado */
  background: rgba(209, 162, 70, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 2px solid rgba(209, 162, 70, 0.5);
  color: var(--golden-light);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  transition: var(--transition);
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: center;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 20px rgba(209, 162, 70, 0.4);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo animado en el CTA */
.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: rgba(209, 162, 70, 0.5);
  border-color: var(--golden-primary);
  color: var(--golden-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(209, 162, 70, 0.6);
  text-shadow: 0 0 8px rgba(209, 162, 70, 0.5);
}

/* ======================
   MENÚ HAMBURGUESA CON EFECTOS DORADOS
   ====================== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(209, 162, 70, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(209, 162, 70, 0.3);
  border-radius: 8px;
  z-index: 1001;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger-menu:hover {
  background: rgba(209, 162, 70, 0.2);
  border-color: var(--golden-primary);
  box-shadow: 0 2px 8px rgba(209, 162, 70, 0.3);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--golden-primary);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
  background-color: var(--golden-light);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
  background-color: var(--golden-light);
}

/* Menú móvil con efectos dorados */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -65%;
  width: 65%;
  max-width: 320px;
  min-width: 250px;
  height: 100vh;
  /* Efecto glassmorphism intenso */
  background: rgba(15, 27, 53, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 2px solid rgba(209, 162, 70, 0.4);
  z-index: 1000;
  transition: right 0.3s ease;
  padding-top: 80px;
  box-shadow: -5px 0 25px rgba(209, 162, 70, 0.2);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  display: block;
  color: var(--golden-light) !important;
  /* Efecto glassmorphism sutil para cada enlace */
  background: rgba(209, 162, 70, 0.05) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 30px;
  margin: 5px 15px;
  border-radius: 12px;
  border: 1px solid rgba(209, 162, 70, 0.2);
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.mobile-menu a:hover {
  background: rgba(209, 162, 70, 0.2) !important;
  border-color: rgba(209, 162, 70, 0.5) !important;
  transform: translateX(10px);
  color: var(--golden-light) !important;
  text-shadow: 0 0 10px rgba(209, 162, 70, 0.5);
  box-shadow: 0 2px 8px rgba(209, 162, 70, 0.3);
}

.mobile-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--golden-primary), var(--golden-light));
  transition: width 0.3s ease;
  transform: translateY(-50%);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(209, 162, 70, 0.5);
}

.mobile-menu a:hover::before {
  width: 25px;
}

/* Overlay con efecto dorado */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 27, 53, 0.8);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ======================
   LOGO EN MEDIO DEL TEXTO SIN EFECTOS DE BORDE
   ====================== */
.main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px; /* Reducido de 8px a 2px para pegar más el logo */
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500; /* Reducido de 800 a 500 para texto más delgado */
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: var(--text-shadow);
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.title-part {
    white-space: nowrap;
    line-height: 1.1; /* Reducido de 1.2 a 1.1 para líneas más compactas */
    /* Efecto dorado en el texto */
    color: var(--golden-primary);
    filter: drop-shadow(0 0 10px rgba(209, 162, 70, 0.3));
    font-weight: 400; /* Peso más ligero para el texto */
}

.logo-inline {
    height: 200px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    /* Efectos dorados en el logo SIN glassmorphism */
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 15px rgba(209, 162, 70, 0.3));
    transition: all 0.3s ease;
    margin: -5px 0; /* Margen negativo para pegar más el logo */
    /* SIN efectos glassmorphism */
    padding: 5px; /* Reducido de 10px a 5px */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.logo-inline:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(209, 162, 70, 0.5));
    background: transparent;
    border: none;
    box-shadow: none;
}

/* ======================
   ANIMACIONES ADICIONALES
   ====================== */

/* Animación de entrada escalonada para elementos del menú móvil */
.mobile-menu.active a {
  animation: slideInRight 0.3s ease-out forwards;
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu.active a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.active a:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animación de pulso dorado */
@keyframes goldenPulse {
  0% { box-shadow: 0 0 0 0 rgba(209, 162, 70, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(209, 162, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(209, 162, 70, 0); }
}

/* Aplicar pulso dorado a elementos específicos */
.cta-button:hover {
  animation: goldenPulse 2s infinite;
}

/* ======================
   RESPONSIVE CON EFECTOS DORADOS
   ====================== */

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .floating-menu {
    height: 70px;
    padding: 0 1rem;
    background: rgba(15, 27, 53, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(209, 162, 70, 0.3);
    box-shadow: 0 2px 10px rgba(209, 162, 70, 0.2);
  }
  
  .header-brand {
    font-size: 1.2rem !important;
    max-height: 50px !important;
    height: 50px !important;
    max-width: 140px !important;
    padding: 6px 10px;
  }
  
  .main-title {
    gap: 1px; /* Aún más pegado en móvil */
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 400; /* Texto más delgado en móvil */
  }
  
  .title-part {
    font-weight: 300; /* Más delgado en móvil */
  }
  
  .logo-inline {
    height: 160px;
    max-width: 220px;
    padding: 4px; /* Menos padding en móvil */
    margin: -3px 0; /* Margen negativo ajustado */
  }
  
  .mobile-menu {
    padding-top: 70px;
  }
  
  .banner-content {
    margin-top: 20px;
    padding: 15px;
  }
  
  /* Botones centrados en móvil */
  .center-buttons {
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 30px;
    flex-direction: column;
    align-items: center;
  }
  
  .center-buttons a {
    min-width: 220px;
    padding: 14px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    width: 70%;
    right: -70%;
    max-width: 280px;
    min-width: 220px;
    padding-top: 65px;
  }
  
  .floating-menu {
    height: 65px;
    padding: 0 0.8rem;
  }
  
  .header-brand {
    font-size: 1rem !important;
    max-height: 45px !important;
    height: 45px !important;
    max-width: 120px !important;
    padding: 5px 8px;
  }
  
  .main-title {
    gap: 0px; /* Sin gap en pantallas pequeñas */
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    font-weight: 300; /* Muy delgado en pantallas pequeñas */
  }
  
  .title-part {
    font-weight: 200; /* Extra delgado */
  }
  
  .logo-inline {
    height: 130px;
    max-width: 170px;
    padding: 3px;
    margin: -2px 0;
  }
  
  .mobile-menu a {
    padding: 18px 25px;
    font-size: 1.1rem;
    margin: 3px 10px;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .center-buttons a {
    min-width: 200px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .mobile-menu {
    width: 75%;
    right: -75%;
    max-width: 250px;
    padding-top: 60px;
  }
  
  .floating-menu {
    height: 60px;
    padding: 0 0.6rem;
  }
  
  .header-brand {
    font-size: 0.9rem !important;
    max-height: 40px !important;
    height: 40px !important;
    max-width: 110px !important;
    padding: 4px 6px;
  }
  
  .main-title {
    gap: 0px; /* Sin gap */
    font-weight: 200; /* Extra delgado */
  }
  
  .title-part {
    font-weight: 100; /* Ultra delgado */
  }
  
  .logo-inline {
    height: 110px;
    max-width: 150px;
    padding: 2px;
    margin: -1px 0;
  }
  
  .mobile-menu a {
    padding: 16px 20px;
    font-size: 1rem;
    margin: 2px 8px;
  }
}

@media (min-width: 769px) {
  .hamburger-menu {
    display: none !important;
  }
  
  .mobile-menu,
  .menu-overlay {
    display: none !important;
  }
  
  .desktop-menu {
    display: flex;
  }
}