* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
}

/* ===============================
   BACKGROUND IMAGE
================================ */

body {
  background: url('../images/rockaway.jpeg') no-repeat center center/cover;
  position: relative;
}

/* Overlay oscuro elegante */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

/* Header con logo centrado */
header.landing-header {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 40px;
  left: 0;
  /* background-color: rgba(0, 4, 6, 0.486); */
}

header.landing-header img {
  height: 80px;
}

/* Contenido principal centrado */
.landing-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.landing-content h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

/* Botones debajo del texto */
.landing-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.landing-buttons a {
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.915); /* color of the text */
  background-color: rgba(0, 95, 150, 0.882); /* button background */
  /* border-radius: 25px; */
  text-decoration: none;
  transition: 0.3s;

}

.landing-buttons a:hover {
  background: rgba(8, 141, 212, 0.882); /* hover effect */
  color: rgb(255, 255, 255); /* text color hover */
}


/* 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;
}

/* Enlaces generales */
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* CONTENEDORES
---------------------------------------- */
.footer-left {
  flex: 1;
  text-align: left;
  padding-left: 50px; /* mueve Términos hacia dentro */
  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; /* mueve iconos hacia dentro */
}


/* ICONOS SOCIALES (círculos estilo la imagen)
---------------------------------------- */
.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;
}

/* Hover invertido */
.footer-right .social-icon:hover {
  background: white;
  color: #0056b3;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ===============================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 768px) {

  /* Ajuste general */
  body {
    background-position: center center;
  }

  /* Logo más pequeño y más arriba */
  header.landing-header {
    top: 20px;
  }

  header.landing-header img {
    height: 55px;
  }

  /* Contenido centrado pero más compacto */
  .landing-content {
    width: 90%;
    top: 48%;
  }

  .landing-content h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
    letter-spacing: 1px;
  }

  /* Botones en columna */
  .landing-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  .landing-buttons a {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }

  /* Footer más compacto */
  .site-footer {
    flex-direction: column;
    gap: 8px;
    padding: 10px 15px;
    font-size: 12px;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    padding: 0;
    text-align: center;
  }

  .footer-right .social-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    margin: 0 6px;
  }

}

/* ===============================
   MOBILE & TABLET RESPONSIVE
================================ */

/* Cubre celulares y tablets hasta 1024px */
@media (max-width: 1024px) {

  body {
    background-position: center center;
  }

  header.landing-header {
    /* Bajamos el logo un poco más para que respire */
    top: 80px; 
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
  }

  header.landing-header img {
    /* Logo más grande para mejor visibilidad de marca */
    height: 80px; 
    width: auto;
  }

  .landing-content {
    width: 95%;
    /* Ajustamos el centrado para dar espacio al logo más grande */
    top: 55%; 
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .landing-content h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: 1px;
  }

  /* Botones en columna para móviles */
  .landing-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding: 0 10%;
  }

  .landing-buttons a {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    /* Mantener diseño cuadrado geométrico */
    border-radius: 0; 
  }

  /* Footer Mobile Compacto */
  .site-footer {
    flex-direction: column;
    gap: 10px;
    padding: 15px 10px;
    font-size: 11px;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    padding: 0;
    text-align: center;
  }

  .footer-right .social-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    margin: 0 8px;
  }
}
