/* =========================
   RESET GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sue-ellen-francisco-regular {
  font-family: "Sue Ellen Francisco", cursive;
  font-weight: 400;
  font-style: normal;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #ad8728;
}

/* =========================
   HEADER
========================= */


.header {
    background:#f8f6f3;
    border-bottom: 1px solid #ad8728;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1000px;
    margin: auto;
    padding: 0 5%; /* Reduje el padding lateral del 10% al 5% */
    height: 60px;   /* Cambié de 100px a 60px */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo img {
    height: 70px;
    display: block;
}

/* MENU DESKTOP */
.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #ad8728;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/* HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}




/* =========================
   inicio
========================= */

.inicio {
  padding: 120px 10%;
  background-color: #f8f6f3;
}

.inicio-contenido {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

/* IMAGEN */

.inicio-imagen img {
  width: 520px;
  max-width: 100%;
  border-radius: 4px;
}

/* TEXTO */

.inicio-texto {
  max-width: 420px;
  color: #a67c2e;
}

/* FRASE */

.inicio-texto h1 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 45px;
  letter-spacing: 1px;
  font-family: "Sue Ellen Francisco", cursive;
}

/* BOTON */

.inicio-texto a {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid #a67c2e;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1px;
  color: #a67c2e;
  background: transparent;
  transition: all 0.35s ease;
}

/* EFECTO HOVER ELEGANTE */

.inicio-texto a:hover {
  background-color: #2b2b2b;
  color: white;
  border-color: #a67c2e;
}



/* =========================
   PRODUCTOS
========================= */


.frase-categoria {
  text-align: center;
  margin-bottom: 50px;
}

.filtro {
  background: none;
  border: none;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 0 15px;
  cursor: pointer;
  position: relative;
  padding-bottom: 5px;
}

.filtro::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  left: 0;
  bottom: 0;
  background: #040404;
  transition: 0.3s ease;
}

.filtro:hover::after,
.filtro.active::after {
  width: 100%;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.producto {
  text-align: center;
  transition: 0.3s ease;
}

.producto img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.producto h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.producto p {
  font-size: 14px;
  color: #ad8728;
}

.card {
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}


.card:hover {
  transform: translateY(-5px);
}

.card-text {
  padding-right: 10px;
}
/* =========================
   PERFORACIONES
========================= */
.perforaciones {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 60px 10%;
    background: #f8f6f3;
    flex-wrap: wrap;
}

   .col-izq {
    text-align: center;
}


.col-izq img {
    width: 180px;
    margin-top: 15px;
}
.garantias {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
    align-items:flex-start;
}


.redes-perforaciones {
    display: flex;
    flex-direction: column;   /* 🔥 esto las pone en columna */
    align-items:flex-start;  /* alineadas a la izquierda */
    gap: 10px;
    margin-top: 15px;
    align-content: center;
}

.redes-perforaciones a {
    text-decoration: none;
    color: #ad8728;
    font-weight: 800;
     transition: 0.3s;
}

  


.redes-perforaciones a:hover {
    opacity: 0.6;
}

#agendar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.dias {
    display: flex;
    gap: 10px;
}


.dias button {
  padding: 12px 20px;
  border: 1px solid #ad8728;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.3s;
}

.dias button:hover {
  background-color: #ad8728;
}

.mensaje-agenda a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 8px;
}


/* =========================
   CARRITO
========================= */
.carrito {
    padding: 80px 10%;
    background: #f8f6f3;
    text-align: center;
     border-bottom: 2px groove #ad8728;
}

.carrito-botones {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-principal {
    background:#ad8728;
    color: white;
    border: none;
    padding: 14px 30px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-principal:hover {
    background: #000;
}

.btn-secundario {
    background: transparent;
    border: 1px solid #ad8728;
    padding: 14px 30px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-secundario:hover {
    background: #000;
    color: #ad8728;
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 60px;
  margin-top: 60px;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;   /* 🔥 siempre cuadrado */
    overflow: hidden;
    border-radius: 8px;
}

.producto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* 🔥 llena el cuadro sin deformarse */
}

  


.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background:#ad8728;
    color: white;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
}

.prev {
    left: 5px;
}

.next {
    right: 5px;
}


/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 30px;
    font-size: 14px;
    border-top: 1px solid #ad8728;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    /* ================= NAV ================= */
    .nav-container {
        height: 75px;
        padding: 0 5%;
    }

    .logo img {
        height: 50px;
    }

    .nav-menu {
        position: absolute;
        top: 75px;
        right: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
        display: none;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* ================= INICIO ================= */
    .inicio {
        padding: 60px 5%;
    }

    .inicio-contenido {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .inicio-imagen img {
        max-width: 240px;
        width: 100%;
    }

    .inicio-texto p {
        max-width: 100%;
        font-size: 16px;
    }

    /* ================= PRODUCTOS ================= */
    .grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .slider {
        width: 100%;
        height: 250px;
    }

    /* ================= PERFORACIONES ================= */
    .perforaciones {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 60px 5%;
    }

    .perforaciones img {
        width: 220px;
        height: auto;
    }

    .col-izq img {
        width: 200px;
    }

    .garantias {
        align-items: center;
    }

    .redes-perforaciones {
        align-items: center;
    }

    #agendar {
        align-items: center;
    }

    .dias {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .dias button {
        width: 100%;
        max-width: 280px;
    }

}





