/*
Theme Name: Sailing Retreat Mallorca
Theme URI: https://sailingretreatmallorca.com
Description: Child theme of GeneratePress for Sailing Retreat Mallorca.
Author: Sailing Retreat Mallorca
Template: generatepress
Version: 1.0
Text Domain: sailing-retreat-mallorca
*/
 /* RESET BÁSICO */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #000;
      color: #fff;
      line-height: 1.5;
      overflow: hidden;
    }

    /* HERO FULLSCREEN CON VÍDEO */

    .hero {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
      color: #ffffff;
    }

    .hero video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      transform: translate(-50%, -50%);
      object-fit: cover;
    }

    /* capa oscura para que el texto se lea bien */
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.65)
      );
      z-index: 1;
    }

    /* CONTENIDO CENTRAL */

    .hero-content {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 0 1.5rem;
    }

    .hero-title {
      font-family: "Playfair Display", serif;
      font-size: clamp(2.6rem, 4vw, 3.6rem);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 0.8rem;
    }

    .hero-subtitle {
      font-family: "Playfair Display", serif;
      font-size: clamp(1.3rem, 2.3vw, 1.8rem);
      font-weight: 400;
      opacity: 0.95;
      margin-bottom: 1.4rem;
    }

    .hero-tagline {
      font-size: 1rem;
      max-width: 560px;
      opacity: 0.9;
      margin-bottom: 1.6rem;
    }

    /* MENÚ INFERIOR CON ICONOS */

    .bottom-nav {
      position: absolute;
      z-index: 3;
      bottom: 3rem;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 3rem;
      padding: 0 1.5rem;
    }

    .bottom-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }

    .bottom-nav-item a {
      font-family: "Playfair Display", serif;
      text-decoration: none;
      font-size: 0.95rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.88);
      padding: 0.45rem 1.25rem;
      background: rgba(0, 0, 0, 0.28);
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.32);
      backdrop-filter: blur(6px);
      transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    }

    .bottom-nav-item a:hover {
      background: rgba(255, 255, 255, 0.25);
      color: #ffffff;
      opacity: 1;
      transform: translateY(-1px);
    }

    /* ICONOS SVG DEL MENÚ INFERIOR */

    .nav-icon-svg {
      width: 30px;
      height: 30px;
      stroke: rgba(255, 255, 255, 0.9);
      stroke-width: 1.6;
      fill: none;
    }

    .nav-icon-svg circle,
    .nav-icon-svg line,
    .nav-icon-svg path {
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* FOOTER */

    footer {
      position: absolute;
      z-index: 2;
      bottom: 0.8rem;
      left: 0;
      right: 0;
      text-align: center;
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.78);
    }

    /* RESPONSIVE */

    @media (max-width: 768px) {
      .bottom-nav {
        gap: 1.4rem;
        bottom: 2.4rem;
        flex-wrap: wrap;
      }

      .bottom-nav-item a {
        font-size: 0.8rem;
        padding: 0.35rem 0.9rem;
        letter-spacing: 0.12em;
      }

      .hero-title {
        font-size: 2.1rem;
      }

      .hero-subtitle {
        font-size: 1.2rem;
      }

      .hero-tagline {
        font-size: 0.9rem;
      }
    }
/* RESET GENERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0A1A2F; /* Black Blue del Perseo XXI */
  color: #fff;
  line-height: 1.5;
  overflow: hidden;
}

/* =========================================
   HERO FULLSCREEN + VIDEO / FOTO DE FONDO
   ========================================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #ffffff;
}

.hero video,
.hero img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Gradiente para legibilidad del texto */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

/* =========================================
   CONTENIDO CENTRAL DEL HERO
   ========================================= */

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 1.4rem;
}

.hero-tagline {
  font-size: 1rem;
  max-width: 580px;
  opacity: 0.9;
  margin-bottom: 1.6rem;
}

.hero-meta {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.4rem;
}

/* =========================================
   MENÚ INFERIOR
   ========================================= */

.bottom-nav {
  position: absolute;
  z-index: 3;
  bottom: 3rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 0 1.5rem;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bottom-nav-item a {
  font-family: "Playfair Display", serif;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.45rem 1.25rem;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.bottom-nav-item a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}

/* =========================================
   ICONOS SVG DEL MENÚ
   ========================================= */

.nav-icon-svg {
  width: 30px;
  height: 30px;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.6;
  fill: none;
}

.nav-icon-svg circle,
.nav-icon-svg line,
.nav-icon-svg path {
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================
   BOTÓN YOUTUBE (ABOUT PAGE)
   ========================================= */

.youtube-link {
  position: absolute;
  z-index: 3;
  top: 1.6rem;
  right: 1.6rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.12em;
  border-radius: 999px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(5px);
  transition: all 0.25s ease;
  font-family: "Playfair Display", serif;
}

.youtube-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.yt-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
  position: absolute;
  z-index: 2;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .bottom-nav {
    gap: 1.4rem;
    bottom: 2.4rem;
    flex-wrap: wrap;
  }

  .bottom-nav-item a {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    letter-spacing: 0.12em;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }
}
/* CONTENEDOR CENTRAL */
.about-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 3rem;
}

/* MARCO DE MÓVIL (versión escritorio) */
.phone-frame {
  width: 330px;
  height: 650px;
  background: #000;
  border-radius: 38px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

/* La muesca superior del móvil */
.phone-notch {
  width: 140px;
  height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 0 0 12px 12px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* VIDEO DENTRO DEL MÓVIL */
.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

/* En móvil real: NO mostrar marco, mostrar el vídeo a pantalla completa */
@media (max-width: 768px) {

  .phone-frame {
    display: none;
  }

  .about-wrapper {
    padding: 0;
  }

  .hero video {
    display: block;
  }

  /* Opcional: fondo oscuro detrás del vídeo vertical */
  .hero {
    background: #000;
  }
}
/* WHATSAPP FLOATING ICON (en esquina superior izquierda) */
.whatsapp-floating {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 30;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: #fff; /* hace que el icono sea blanco */
}

.whatsapp-floating:hover {
  opacity: 1;
  transform: scale(1.08);
}