/* ==========================================================================
   LUNARE PROJECT — DESIGN SYSTEM & MASTER STYLESHEET
   Colores, Tipografías, Componentes y Layouts Pixel-Perfect
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. VARIABLES CSS & TOKENS DE DISEÑO
   -------------------------------------------------------------------------- */
:root {
  /* Paleta de Colores de Marca */
  --gold-primary: #c5b358;
  --gold-hover: #ae9f4e;
  --gold-accent: #c5b357;

  /* Colores de Fondo */
  --bg-dark-primary: #111210;
  --bg-dark-card: #212121;
  --bg-dark-bar: #1f1f1f;
  --bg-light-white: #ffffff;
  --bg-light-grey: #f0f0f0;
  --bg-light-input: #f9f9f9;

  /* Colores de Texto */
  --text-dark: #111210;
  --text-black: #000000;
  --text-white: #ffffff;
  --text-muted: #717171;
  --text-footer-link: #999999;
  --border-muted: #9b9b9b;

  /* Colores de Utilidad */
  --blue-yacht: #2a5c8d;
  --blue-light: #28acff;
  --green-whatsapp: #00cc1b;

  /* Tipografía */
  --font-main: 'Poppins', sans-serif;
  --font-sub: 'Roboto', sans-serif;

  /* Sombras y Radios */
  --shadow-box: 0px 0px 15px #888888;
  --shadow-card: 0px 0px 20px 5px #bababa;
  --shadow-card-soft: 0px 0px 10px 3px #cacaca;
  --radius-sm: 5px;
  --radius-md: 15px;
}

/* --------------------------------------------------------------------------
   1. RESET Y REGLAS GLOBALES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light-white);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Clases de Utilidad de Texto */
.tac { text-align: center !important; }
.flex { display: flex; }
.jcc { justify-content: center; }
.nowrap { white-space: nowrap; }
.gold { color: var(--gold-primary) !important; }

.semib {
  font-weight: 600;
  font-size: 35px;
}

.semib2 {
  font-weight: 600;
  font-size: 22px;
}

.lt25 {
  letter-spacing: 25px;
}

.h1semib {
  font-size: 28px;
  display: inline;
  font-weight: 600;
  color: var(--text-dark);
}

.h2semib {
  font-size: 22px;
  display: inline;
  font-weight: 600;
  color: var(--text-dark);
}

.ah1 {
  font-size: 28px;
  display: inline;
  color: var(--text-dark);
  font-weight: 400;
}

.ah2 {
  font-size: 22px;
  display: inline;
  color: var(--text-dark);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   2. HEADER & NAVEGACIÓN
   -------------------------------------------------------------------------- */
.gt-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.gt-header.transparent {
  position: absolute;
  background: transparent;
  padding: 25px 0;
}

.gt-header.gt-sticky-header {
  position: fixed;
  background-color: var(--bg-dark-primary);
  padding: 12px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.gt-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gt-logo .logo-img {
  max-width: 180px;
  height: auto;
  transition: transform 0.3s ease;
}

.gt-logo:hover .logo-img {
  transform: scale(1.02);
}

.gt-desktop-nav {
  display: block;
}

.gt-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.gt-menu li a {
  font-size: 17px;
  color: var(--text-white);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
}

.gt-menu li a:hover {
  color: var(--gold-primary);
}

.gt-menu li.btn-nav-business a {
  background-color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 7px 20px;
  color: var(--text-white) !important;
  font-weight: 500;
}

.gt-menu li.btn-nav-business a:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
}

.gt-menu li.lang-item a {
  font-size: 15px;
  font-weight: 200;
  opacity: 0.8;
}

.gt-menu li.lang-item.active-lang a {
  font-weight: 600;
  opacity: 1;
  color: var(--gold-primary);
}

/* Botón menú móvil */
.gt-menu-toggle {
  display: none;
  background: none;
  border: none;
  outline: none;
  padding: 5px;
}

/* Drawer móvil */
.gt-mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gt-mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.gt-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100vh;
  background: var(--bg-dark-primary);
  z-index: 1002;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0,0,0,0.5);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gt-mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.drawer-logo {
  max-width: 130px;
}

.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-menu li a {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  display: block;
}

.drawer-menu li a:hover {
  color: var(--gold-primary);
}

.drawer-menu li.drawer-business a {
  background: var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 8px 15px;
  text-align: center;
  color: #fff;
}

.drawer-lang {
  margin-top: auto;
  display: flex;
  gap: 15px;
  color: #fff;
  font-size: 16px;
  justify-content: center;
}

.drawer-lang a.active-lang {
  color: var(--gold-primary);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION & VÍDEO BACKGROUND
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-video-wrapper iframe {
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  user-select: none;
}

.hero-title-dynamic {
  font-size: 72px;
  font-weight: 600;
  text-align: right;
  min-width: 320px;
}

.typewriter-cursor {
  font-weight: 200;
  color: var(--gold-primary);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-title-static {
  font-size: 72px;
  font-weight: 600;
  text-align: left;
}

.hero-arrow-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounceArrow 2.2s infinite ease-in-out;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -12px);
  }
  60% {
    transform: translate(-50%, -6px);
  }
}

/* --------------------------------------------------------------------------
   4. SECCIÓN MANIFIESTO
   -------------------------------------------------------------------------- */
.section-manifesto {
  background-color: var(--bg-light-white);
  padding: 90px 20px;
  text-align: center;
}

.section-manifesto .h1semib {
  display: block;
  margin-bottom: 8px;
}

.section-manifesto .ah1 {
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. SECCIÓN EVENTOS & PORTFOLIO
   -------------------------------------------------------------------------- */
.section-events {
  background-color: var(--bg-light-grey);
  padding: 60px 20px 80px;
  text-align: center;
  position: relative;
}

.vgbar {
  display: flex;
  justify-content: center;
  margin-top: -85px;
  margin-bottom: 25px;
  position: relative;
  z-index: 10;
}

.events-subtitle {
  margin-top: 5px;
  margin-bottom: 35px;
}

/* Tarjeta Central Portfolio */
.upcbox.portfolio {
  background-color: var(--bg-dark-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-box);
  max-width: 860px;
  margin: 0 auto;
  padding: 45px 35px;
}

.portfolio-title {
  margin-bottom: 25px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.gt-event-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #1a1a1a;
}

.gt-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.gt-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  box-shadow: var(--shadow-card-soft);
}

.gt-image-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gt-event-card:hover .gt-image-wrap img {
  transform: scale(1.06);
}

.gt-event-card .gt-title {
  padding: 12px 10px;
  text-align: center;
}

.gt-event-card .gt-title a {
  color: var(--text-white);
  font-size: 14px;
  font-weight: 500;
  display: block;
}

.gt-event-card .gt-title a:hover {
  color: var(--gold-primary);
}

.btn-showmore-wrap {
  margin-top: 35px;
  display: flex;
  justify-content: center;
}

.btn-showmore {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-showmore a {
  display: block;
  padding: 8px 30px;
  color: var(--gold-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-showmore:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn-showmore:hover a {
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   6. SECCIÓN NEWSLETTER
   -------------------------------------------------------------------------- */
.section-newsletter {
  background-color: var(--bg-light-white);
  padding: 70px 20px;
  text-align: center;
}

.newsletter-headline {
  margin-top: 5px;
  margin-bottom: 30px;
}

.newsletter-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form {
  border: none !important;
  border-bottom: 1px solid var(--text-black) !important;
  border-radius: 0 !important;
  width: 300px;
  padding: 8px 5px;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  background: transparent;
}

.newsletter-form::placeholder {
  color: var(--text-muted);
  font-weight: 300;
}

.btn-newsletter {
  background-color: var(--gold-primary);
  border-radius: var(--radius-sm);
  margin-left: 20px;
  transition: background-color 0.3s ease;
}

.btn-newsletter:hover {
  background-color: var(--gold-hover);
}

.btn-newsletter button {
  background: none;
  border: none;
  padding: 10px 28px;
  color: var(--text-white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.newsletter-msg {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. SECCIÓN APP DOWNLOAD & MAR (SEASEC)
   -------------------------------------------------------------------------- */
.seasec {
  min-height: 600px;
  background: url('assets/img/background-sea.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
}

.seasec-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 950px;
  margin: 0 auto;
}

.seasec-phone img {
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
}

.seasec-info {
  color: var(--text-white);
  text-align: center;
}

.seasec-info h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.seasec-info p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.seasec-badges {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.seasec-badges img {
  width: 150px;
  height: 46px;
  transition: transform 0.25s ease;
}

.seasec-badges img:hover {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   8. SECCIÓN PARTNERCHIC / MARCAS
   -------------------------------------------------------------------------- */
.section-partners {
  background-color: var(--bg-light-white);
  padding: 70px 20px;
  text-align: center;
}

.partners-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px 40px;
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.partners-carousel .partner-item {
  width: 14%;
  min-width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.partners-carousel img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partners-carousel img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
footer.gt-footer {
  background-color: var(--bg-dark-primary);
  color: var(--text-footer-link);
  padding: 60px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.6fr 1.2fr 60px;
  gap: 30px;
  padding-bottom: 50px;
}

.title-footer {
  letter-spacing: 10px;
  color: var(--gold-primary);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}

.link-footer li a {
  color: var(--text-footer-link);
  font-size: 14px;
  line-height: 2.2;
  display: block;
}

.link-footer li a:hover {
  color: var(--gold-hover);
  padding-left: 3px;
}

.btn-scopripiufoo {
  background-color: var(--bg-dark-primary);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  width: 150px;
  text-align: center;
  margin: 15px 0;
  transition: all 0.3s ease;
}

.btn-scopripiufoo a,
.btn-scopripiufoo button {
  background: none;
  border: none;
  display: block;
  width: 100%;
  padding: 7px 15px;
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 600;
}

.btn-scopripiufoo:hover {
  border-color: var(--gold-hover);
  background-color: var(--gold-hover);
}

.btn-scopripiufoo:hover a,
.btn-scopripiufoo:hover button {
  color: var(--text-white);
}

.newsletter-form-footer {
  border: none !important;
  border-bottom: 1px solid var(--border-muted) !important;
  border-radius: 0 !important;
  width: 100%;
  max-width: 280px;
  padding: 8px 0;
  background-color: var(--bg-dark-primary);
  color: var(--text-white);
  font-size: 13px;
  outline: none;
  margin-bottom: 10px;
}

.footer-socials {
  display: flex;
  gap: 18px;
  margin-top: 15px;
}

.footer-socials a {
  color: var(--gold-primary);
  font-size: 22px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-app-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.footer-app-links img {
  transition: opacity 0.3s ease;
}

.footer-app-links img:hover {
  opacity: 0.85;
}

.gotot-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gotot img {
  width: 45px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gotot img:hover {
  transform: translateY(-6px);
}

/* Barra Copyright */
.gt-copyright {
  background-color: var(--bg-dark-bar);
  padding: 18px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.gt-copyright p {
  color: var(--text-footer-link);
  font-size: 13px;
  margin: 0;
}

.gt-copyright a {
  color: var(--gold-primary);
}

.gt-copyright a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10. BOTONES FLOTANTES (STICKY BUTTONS)
   -------------------------------------------------------------------------- */
.sticky-radio-player {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sticky-radio-player:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.sticky-radio-player img {
  width: 68px;
  height: 68px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.sticky-whatsapp {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  background-color: var(--green-whatsapp);
  color: var(--text-white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE / MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  .hero-title-dynamic, 
  .hero-title-static {
    font-size: 50px;
  }
  
  .hero-title-dynamic {
    min-width: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .gotot-col {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  .gt-desktop-nav {
    display: none;
  }

  .gt-menu-toggle {
    display: block;
  }

  .semib {
    font-size: 26px;
  }

  .lt25 {
    letter-spacing: 14px;
  }

  .hero-content {
    flex-direction: column;
    gap: 5px;
  }

  .hero-title-dynamic, 
  .hero-title-static {
    font-size: 32px;
    text-align: center;
    min-width: auto;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .upcbox.portfolio {
    padding: 30px 20px;
  }

  .newsletter-form-container {
    flex-direction: column;
    gap: 15px;
  }

  .btn-newsletter {
    margin-left: 0;
  }

  .newsletter-form {
    width: 220px;
    text-align: center;
  }

  .seasec-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .seasec-phone img {
    max-width: 280px;
  }

  .partners-carousel .partner-item {
    width: 30%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .title-footer {
    text-align: center;
  }

  .btn-scopripiufoo {
    margin: 15px auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-app-links {
    align-items: center;
  }

  .newsletter-form-footer {
    margin: 0 auto 10px;
  }
}
