/*!
Theme Name: Lolas elizabth
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Landing page for Lolas Elizabeth location.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: shaken-spirit
*/

/* ======================
   RESET & GLOBAL
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  height: 100%;
  width: 100%;
  /* CAMBIO: De hidden a auto para permitir el desplazamiento en todas las páginas */
  overflow: auto; 
}

/* ======================
   HERO BACKGROUND
====================== */
.hero-bg {
  position: relative;
  width: 100%;
  min-height: 100vh;

  /* La imagen ahora se maneja dinámicamente desde front-page.php */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.landing-content,
.landing-header {
  position: relative;
  z-index: 2;
}

/* ======================
   HEADER / LOGO
====================== */
header.landing-header {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 100px;
  left: 0;
}

header.landing-header img {
  height: 90px;
  margin-bottom: -50px; /* Separa logo del texto */
}

/* ======================
   LANDING CONTENT
====================== */
.landing-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white; /* Texto blanco para legibilidad */
  margin-top: 90px;
}

.landing-content h2 {
  font-size: 2em;
  margin-top: 10px;    
  margin-bottom: 12px; 
}

.landing-content h4 {
  font-size: 1.2em;
  margin-bottom: 25px; 
}

/* ======================
   BUTTONS
====================== */
.landing-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.landing-buttons a {
  margin-top: 20px;
  padding: 10px 35px;
  color: rgba(255, 255, 255, 0.915);
  background: rgba(0, 95, 150, 0.882);
  text-decoration: none;
  /* border-radius: 0; Botones cuadrados para estética geométrica */
  transition: 0.3s;
}

.landing-buttons a:hover {
  background: rgba(8, 141, 212, 0.882);
  color: #fff;
  letter-spacing: 1px; /* Toque "luxurious" para la marca */
}

/* ===============================
   NEWSLETTER CF7
================================ */
.newsletter {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  padding: 10px 15px;
  border: none;
  outline: none;
  font-size: 14px;
  width: 220px;
}

.newsletter-form input[type="submit"] {
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #0057b3a8;
  color: white;
  transition: 0.3s ease;
}

.newsletter-form input[type="submit"]:hover {
  background: #0056b3;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0056b3;
  color: white;
  padding: 14px 0px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

.footer-left {
  flex: 1;
  text-align: left;
  padding-left: 50px; 
  font-size: 13px;
}

.footer-center {
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: center;
}

.footer-center p {
  margin: 0;
}

.footer-right {
  flex: 1;
  text-align: right;
  padding-right: 50px; 
}

.footer-right .social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  margin-left: 11px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: white;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.footer-right .social-icon:hover {
  background: white;
  color: #0056b3;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ======================
   RESPONSIVE MOBILE
===================== */
@media (max-width: 768px) {
  body, html {
    /* En móvil ya tenías overflow: auto, por lo que no hubo cambios aquí */
    overflow: auto; 
  }

  .hero-bg {
    padding: 20px;
    min-height: 100vh;
  }

  header.landing-header {
    position: relative;
    top: 0;
    padding: 30px 0 10px 0;
  }

  header.landing-header img {
    height: 70px;
    margin-bottom: -20px;
  }

  .landing-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: 40px;
    padding: 0 20px;
  }

  .landing-content h2 {
    font-size: 1.6em;
  }

  .landing-content h4 {
    font-size: 1em;
    line-height: 1.4;
  }

  .landing-buttons a {
    padding: 12px 25px;
    font-size: 14px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input[type="email"],
  .newsletter-form input[type="submit"] {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 10px 8px;
    font-size: 12px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: none;
    padding: 0;
    text-align: center;
  }

  .footer-right .social-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    margin-left: 6px;
  }
}