* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 70px;
}

header nav ul {
  display: flex;
  list-style: none;
}

header nav ul li {
  margin-left: 30px;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #e91e63;
}

/* HERO */
.hero {
  background-image: url(images/samitara-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;  
  padding: 200px 0 150px;
  text-align: center;
  color: #fff;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #f4f4f4;
}

.btn {
  display: inline-block;
  background: #e91e63;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #c2185b;
}

/* GALLERY */
.gallery {
  padding: 80px 0;
}

.gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.gallery p {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  height: 162px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-grid img {
  width: 100%;
  height: 162px;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.view-all {
  text-align: center;
  margin-top: 40px;
}

.view-all a {
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
}

/* GALLERY 2*/

.gallery-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-grid2 a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  height: 216px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-grid2 img {
  width: 100%;
  height: 216px;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-grid2 img:hover {
  transform: scale(1.05);
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.bg-light {
  background: #f9f9f9;
}

.section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
  color: #555;
}

/* MAP */
.map-container {
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
}

/* FOOTER */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

footer p {
  margin: 10px 0;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  header nav ul {
    margin-top: 15px;
  }
  header nav ul li {
    margin: 0 10px;
  }
  .hero {
  background-image: url(images/samitara-movilbg2.webp);
  background-position: center;      
  }
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery-grid2 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery-grid img { height: 248px;}
.gallery-grid a { height: 248px;}
.gallery-grid2 img { height: 330px;}
.gallery-grid2 a { height: 330px;}
}
/* Botón Ir Arriba */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 30px; 
  right: 30px;
  z-index: 999;
  font-size: 22px;
  border: none;
  outline: none;
  background: #e91e63;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.back-to-top:hover {
  background: #c2185b;
  transform: translateY(-2px);
}

/* Solo mostrar en móviles (menos de 768px) 
@media (min-width: 768px) {
  .back-to-top {
    display: none;
  }
}*/