/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #444;
  overflow-x: hidden;
  background: linear-gradient(to bottom, #e0e0e0, #d3d3d3);
}

/* =========================
   HEADER
========================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #736d6d;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* LOGO DESKTOP */
.logo-box img {
  height: 100px;
  transform: scale(1.3);
  transform-origin: left center;
}

.logo-text {
  font-family: 'Satisfy', cursive;
  font-size: 30px;
  letter-spacing: 1px;
  color: #f3c157;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.45);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

nav ul li a {
  font-family: 'Satisfy', cursive;
  font-size: 26px;
  text-decoration: none;
  color: #f3c157;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.45);
  transition: 0.3s;
}

/* =========================
   HERO
========================= */
.hero {
  height: 100vh;
  background: url('img/Fondo.jpg') center/cover no-repeat;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero h1 {
  font-family: 'Satisfy', cursive;
  font-size: 52px;
  color: #f3c157;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 25px;
  color: #f8f8f8;
}

/* =========================
   SERVICIOS
========================= */
.servicios {
  padding: 90px 20px;
  max-width: 1200px;
  margin: auto;
}

.servicios h2 {
  text-align: center;
  font-family: 'Satisfy', cursive;
  font-size: 40px;
  color: #756b58;
  margin-bottom: 50px;
}

.servicio {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  overflow: hidden;
}

/* =========================
   SLIDER
========================= */
.slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 350px;
  margin: auto;
  overflow: hidden;
  border-radius: 6px;
}

.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.slider img.active {
  opacity: 1;
}

.slider img:hover {
  transform: scale(1.05);
}

.servicio-texto {
  flex: 1;
  max-width: 500px;
}

.servicio-texto h3 {
  font-family: 'Satisfy', cursive;
  font-size: 28px;
  color: #b66c46;
}

.servicio-texto p {
  font-size: 17px;
  line-height: 1.6;
  color: #5c3d26;
}

/* =========================
   CONTACTO
========================= */
.contacto {
  padding: 80px 20px;
  background: #f0f0f0;
}

.contacto h2 {
  font-family: 'Satisfy', cursive;
  font-size: 32px;
  color: #5c3d26;
}

.contacto-box p {
  font-size: 18px;
  color: #5c3d26;
}

/* =========================
   REDES
========================= */
.social {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.social a {
  font-size: 28px;
}

.social .ig { color: #E1306C; }
.social .fb { color: #1877F2; }
.social .wa { color: #25D366; }

/* =========================
   WHATSAPP
========================= */
.whatsapp-text {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-85px);
  background:  #44563d;
  color: #fff;
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 12px;
  z-index: 998;
}

.whatsapp {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* LOGO MOBILE */
  .logo-box {
    justify-content: center;
  }

  .logo-box img {
    height: 50px;
    transform: scale(1.5);
    transform-origin: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .slider {
    height: 260px;
  }

  .servicio {
    flex-direction: column;
    text-align: center;
  }

  .servicio-texto {
    max-width: 100%;
  }
}

@media (max-width: 480px) {

  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 28px;
  }

  .slider {
    height: 220px;
  }

  .servicios h2 {
    font-size: 30px;
  }
}

#inicio,
#servicios,
#contacto {
  scroll-margin-top: 140px;
}


.slider::after {
  content: "Muebles New World";
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: 'Satisfy', cursive;
  font-size: 20px;
  color:  #5c3d26;
  pointer-events: none;
  user-select: none;
}
