* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 2000px;
  font-family: Arial, sans-serif;
}

/* HEADER */
#header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 0px 40px;
  transition: all 0.3s ease;
  background: transparent;
  z-index: 1000;
}

/* SCROLL */
#header.scrolled {
  background: rgba(255, 255, 255, 0.656);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* CONTENEDOR */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 70px;
}

/* NAV */
nav {
  display: flex;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;

  /* 🔥 CLAVE: siempre visible */
  color: white;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  transition: all 0.3s;
}

/* CUANDO SCROLL */
#header.scrolled nav a {
  color: #222;
  text-shadow: none;
}

/* BOTÓN */
.login-btn {
  background: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 80px;
    right: 20px;
    background: white;
    flex-direction: column;
    width: 200px;
    padding: 15px;
    border-radius: 10px;
    display: none;
  }

  nav a {
    color: #222;
    text-shadow: none;
    margin: 10px 0;
  }

  nav.active {
    display: flex;
  }

  .login-btn {
    display: none;
  }
}













/*this  section  is for the hero */


.gallery {
  background: #f5f5f5;
  padding: 100px 20px;
  text-align: center;
}

.gallery h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.gallery p {
  color: #666;
  margin-bottom: 40px;
}

/* IMAGEN PRINCIPAL */
.gallery-main {
  max-width: 900px;
  margin: 0 auto 20px;
}

.gallery-main img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

/* MINIATURAS */
.gallery-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-thumbs img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s;
}

.gallery-thumbs img:hover {
  opacity: 1;
  transform: scale(1.05);
}
@media (max-width: 768px) {

  .gallery-main {
    max-width: 100%;
  }

  .gallery-thumbs img {
    width: 80px;
    height: 60px;
  }

}












/*this is section es for the 3 section*/
.gallery2 {
  background: #f5f5f5;
  padding: 100px 20px;
  text-align: center;
}

.gallery2 h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.gallery2 p {
  color: #666;
  margin-bottom: 50px;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* CARD */
.gallery-card {
  position: relative;
  text-align: left;
}

/* IMAGEN */
.gallery-card img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  transition: 0.3s;
}

/* HOVER */
.gallery-card:hover img {
  transform: scale(1.03);
}

/* TEXTO */
.gallery-card h3 {
  margin-top: 10px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* FLECHA */
.arrow {
  font-size: 18px;
}

/* BADGE */
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: gold;
  color: black;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: bold;
}
@media (max-width: 768px) {

  .gallery-grid {
    grid-template-columns: 1fr;
  }

}






/*last section for final */


/* ===== Footer (light navy theme) this is for the footer styles ===== */
:root{
  --footer-bg: #121a27;       /* navy muy oscuro */
  --footer-text: #e8eef8;     /* texto claro */
  --footer-muted: #9fb0c7;    /* texto secundario */
  --footer-border: rgba(255,255,255,0.08);
}

.site-footer{
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 40px;
}

.footer-container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 880px){
  .footer-container{
    grid-template-columns: 1.2fr 1fr 1.2fr; /* 3 columnas */
    align-items: start;
  }
}

.footer-col h3{
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 0.8rem + 1vw, 1.6rem);
  font-weight: 900;
}

.footer-col .muted{
  color: var(--footer-muted);
  margin: 0 0 16px;
}

/* Redes */
.social-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  gap: 16px;
}
.social-list a{
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1px solid var(--footer-border);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.social-list a:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}
.social-list i{ font-size: 18px; }

/* Info (Email / Phone) */
.info-block{
  margin: 10px 0 18px;
}
.label{
  display:block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--footer-text);
  margin-bottom: 6px;
}
.value a{
  color: var(--footer-muted);
  text-decoration: none;
}
.value a:hover{ color: #ffffff; }

/* Form */
.input-row{
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--footer-border);
  border-radius: 12px;
  padding: 0 12px;
  display: flex;
  align-items: center;
}
.input-row input{
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  padding: 12px 0;
  font-size: 0.98rem;
}
.input-row input::placeholder{ color: rgba(255,255,255,0.65); }

.footer-btn{
  margin-top: 12px;
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--brand, #0b3b63) 0%, var(--brand-600, #0a3356) 100%);
  box-shadow: 0 10px 22px rgba(11,59,99,.25);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.footer-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(11,59,99,.34);
}

/* Bottom line */
.footer-bottom{
  border-top: 1px solid var(--footer-border);
  padding: 16px 18px 26px;
  text-align: left;
  color: var(--footer-muted);
}
.footer-bottom p{
  max-width: 1240px;
  margin: 0 auto;
}


/*estilos de los logo de los iconos de x facebook etc*/



.social{
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;     /* ✅ fondo circular */
  overflow: hidden;       /* ✅ asegura círculo */
  background: #f1f5f9;    /* opcional: gris suave */
  transition: background .2s ease, transform .2s ease;
}

.social li a:hover {
  background: #e2e8f0;    /* hover */
  transform: scale(1.05);
}

.social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform .2s ease, opacity .2s ease;
}

.social img:hover {
  transform: scale(1.12);
  opacity: .9;
}
