* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #fafafa;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}
header {
  background: #1f0404;
  color: #fff;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}
.nav-links a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.nav-links a:hover {
  text-decoration: underline;
}
.lang-selector {
  font-size: 0.8rem;
  color: white;
}
.lang-selector a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0 5px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  
  display: inline-block;
  margin: 0 5px;
  opacity: 0.6;
}

.lang-selector a:hover {
  text-decoration: underline;
}
.lang-selector a:hover,
.lang-selector a.activo {
  opacity: 1;
}

.lang-selector img {
  vertical-align: middle;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}
.hero {
  background: url('tu-imagen-principal.jpg') no-repeat center center/cover;
  color: rgb(94, 73, 73);
  text-align: center;
  padding: 120px 20px;
}
.hero h1 {
  font-size: 2.5rem;
}
.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}
.btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #ff7f50;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  padding: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1; /* ✅ Hace la imagen cuadrada */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Modal ampliación */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}



.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-item {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
}
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 40px 20px;
}
@media(max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
  nav {
    flex-direction: column;
  }
   .gallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

