/* ==========================
   General
========================== */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #f1f1f1;
  margin: 0;
  padding: 0;
}

/* ==========================
   Header / Top Info
========================== */
.header-bg {
  background-image: url('../img/fondo-de-agua.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 200px;
  color: #fff;
}

.header-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.6); 
  z-index: 0;
}

.header-bg > * {
  position: relative;
  z-index: 1;
}

.text-highlight {
  color: #839dc9;
  text-shadow: 1px 1px 2px #ccc;
}

.text-shadow {
  color: #1a3b72;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

/* ==========================
   Hero Section
========================== */
.hero {
  background: url('../img/hero-bg.jpg') center center/cover no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-text h1,
.hero-text h2,
.hero-text h3 {
  margin: 0.2rem 0;
}

.hero .btn {
  margin-top: 1rem;
}

/* ==========================
   Form Box
========================== */
.form-box {
  max-width: 350px;
  margin: 0 auto;
  background: rgba(0, 51, 102, 0.85);
  color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
}

.form-box input,
.form-box textarea {
  background-color: rgba(255,255,255,0.9);
  color: #000;
  border: none;
  border-radius: 5px;
}

.form-box input::placeholder,
.form-box textarea::placeholder {
  color: #555;
}

.form-box button.btn-light {
  background-color: #0066cc;
  color: #fff;
  font-weight: 700;
  border: none;
}

.form-box button.btn-light:hover {
  background-color: #004d99;
}

/* ==========================
   Gallery / Services
========================== */
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.service-box {
  transition: transform 0.3s ease;
  background-color: #f8f9fa;
  border: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-title {
  color: #cfdff9;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* ==========================
   WhatsApp Button
========================== */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp:hover {
  background-color: #128C7E;
}

.whatsapp svg {
  width: 26px;
  height: 26px;
  fill: white;
}

/* ==========================
   Responsive Media Queries
========================== */

/* Laptops / Desktop */
@media (min-width: 992px) {
  .hero {
    flex-direction: row;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    min-height: 450px;
  }
  .form-box {
    max-width: 100%;
    padding: 1rem;
  }
  .gallery img {
    height: 160px;
  }
  .header-bg {
    min-height: 180px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 400px;
  }
  .gallery img {
    height: 140px;
  }
  .header-bg {
    min-height: 150px;
  }
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .hero-text h2 {
    font-size: 1.2rem;
  }
  .hero-text h3 {
    font-size: 1rem;
  }
  .form-box {
    margin: 0 1rem;
    padding: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.2rem;
  }
  .hero-text h2 {
    font-size: 1rem;
  }
  .hero-text h3 {
    font-size: 0.9rem;
  }
  .gallery img {
    height: 120px;
  }
  .header-bg {
    min-height: 130px;
  }
}

/* ==========================
   Accessibility & UX
========================== */
a, button {
  cursor: pointer;
  transition: all 0.3s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
