/* ===========================================
   LLANTAS GARROM - STYLES 2025
   =========================================== */

/* ====== RESET GENERAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-scroll {
  background: #b30000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar-scroll a,
.navbar-scroll h1 {
  color: #fff !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.navbar h1 {
  font-size: 1.4rem;
  color: #b30000;
  font-weight: 600;
}

nav a {
  color: #333;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #b30000;
}

/* ====== HERO ====== */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 40px;
}

.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  padding: 14px 35px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
}

/* ====== SECCIONES ====== */
.section {
  padding: 100px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section h2 {
  font-size: 2.2rem;
  color: #b30000;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section p {
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 20px;
  color: #444;
  text-align: justify;
}

/* ====== NOSOTROS ====== */
.nosotros-valores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.nosotros-valores h3 {
  color: #b30000;
  margin-bottom: 10px;
}

.nosotros-valores ul {
  list-style: none;
  text-align: left;
  max-width: 300px;
  margin: 0 auto;
}

.nosotros-valores li::before {
  content: "✔ ";
  color: #b30000;
  font-weight: bold;
}

.bg-light {
  background-color: #f9f9f9;
}

/* ====== SERVICIOS ====== */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.servicio {
  background: white;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease;
}

.servicio:hover {
  transform: translateY(-8px);
}

.servicio h3 {
  color: #b30000;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.servicio p,
.servicio li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.servicio ul {
  margin-top: 10px;
  padding-left: 20px;
}

.servicio ul li::before {
  content: "• ";
  color: #b30000;
  font-weight: bold;
}

/* ====== FOOTER ====== */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

footer h3 {
  color: #fff;
  margin-bottom: 10px;
}

footer a {
  color: #25d366;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

/* ====== BOTÓN FLOTANTE WHATSAPP ====== */
.btn-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  font-size: 1.8rem;
  border-radius: 50%;
  padding: 15px 18px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-float:hover {
  transform: scale(1.1);
  background-color: #1ebe57;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .logo-img {
    height: 40px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  nav a {
    margin: 5px 0;
  }

  .section {
    padding: 80px 15px;
  }

  .section p {
    text-align: left;
  }
}
