:root {
  --dorado: #c9a14a;
  --dorado-suave: rgba(201,161,74,.85);
  --oscuro: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f4f4;
  color: #222;
}

.nav {
  position: relative;
}

/* HEADER */
/* HEADER */
.header {
  background: linear-gradient(90deg, #c8a44b, #006330);
  padding: 30px 0;
}

.header-inner {
  max-width: none;
  margin: 0 auto;              /* centra el bloque completo */
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* fuerza alineación izquierda */
  gap: 15px;
}

.logo-area img {
  display: block;     /* evita comportamientos inline */
  margin: 0;          /* elimina auto-centering */
  height: 105px;
}

.logo-text h1 {
  font-size: 30px;
  color: #fff;
}

.logo-text span {
  font-size: 22px;
  color: #f1e7c0;
}

/* MENU PRINCIPAL
=================*/
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  z-index: 9999;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  /*position: relative;*/
}

.menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--dorado);
  bottom: -6px;
  left: 0;
  transition: var(--transicion);
}

.menu li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  color:white;
  border: none;
  cursor: pointer;
}

/*.nav a {
  color: #fff;
  margin-left: 25px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.nav a.active,
.nav a:hover {
  border-bottom: 2px solid #f1e7c0;
}*/

/* GALERÍA */
.galeria-section {
  padding: 70px 40px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1300px;
  margin: auto;
}

/* ITEM */
.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.10);
  cursor: pointer;
  transition: transform .4s ease;
  min-width: 300px;
  margin-right: 10px;
}

.galeria-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  border-radius: 8px;
  cursor: pointer;
  display: block;
}

.galeria-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* EFECTO AMPLIACIÓN 50% */
.galeria-item:hover img {
  transform: scale(2);
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .4s ease;
}

.overlay span {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
}

.galeria-item:hover .overlay {
  opacity: 0.5;
}

/* ============ FOOTER =========== */
.footer {
  background: #1f2c3d;
  color: #cfd8e3;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr 1fr 1fr;
  gap: 20px;
  padding: 15px 10px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 10px;
}

.footer h4 {
  color: #fff;
  margin-top: 10px;
  font-size: 16px;
}

.footer p {
  font-size: 16px;
  line-height: 1.6;
}

.footer-logo {
  width: 180px;
  margin-bottom: 5px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer ul li a {
  color: #cfd8e3;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #ffffff;
}

.social-list li,
.enlaces li,
.contact-list li {
  display: flex;
  align-items: left;
  gap: 20px;
}

.footer i {
  color: #ffffff;
}

/* Barra inferior */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .galeria-item:hover img {
    transform: scale(1.25);
  }

  .header h1 {
    font-size: 1.7rem;
  }
}
/* MENU RESPONSIVE 
==================*/
@media (max-width: 768px) {
  .nav {
    width: 100%;
  }

  .menu {
    display: none;
    flex-direction: column;
    /*background: var(--blanco);*/
    background-color: rgba(255, 255, 255, 0.50);
    position: absolute;
    top: 100%;
    right: 0;
    width: 90px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 0;
    margin: 0;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    border-bottom: 1px solid #eee;
    width: 100%;
    margin: 0;
  }

  .menu li a {
    font-size: 14px; 
    padding: 4px 4px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    word-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.0; 
    transition: all 0.3s ease;
  }

  .menu li a:hover {
    background-color: rgba(0,102,204,0.1);
    color: #008425;
    box-shadow: inset 3px 0 0 var(--dorado);
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .banner-texto h2 {
    font-size: 2rem;
  }
}