/* ------------------ GENERAL ------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background: #ebe3e3;
}

/* ------------------ HEADER ------------------ */
header {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 20px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;   /* Header inmóvil */
    top: 0;
    left: s0;
    z-index: 999;
}

.logo {
    font-size: 30px;
    font-weight: 700;
}

.redes-header a {
    text-decoration: none;
}

.redes-header img {
    width: 30px;
    margin-left: 4px;
    transition: .3s;
}

.redes-header img:hover {
    transform: scale(1.1);
}

/* ------------------ BANNER ------------------ */
.banner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ------------------ TITULOS ------------------ */
.section-title {
    text-align: center;
    font-size: 35px;
    margin: 15px 0 20px;
    font-weight: 700;
}

/* ------------------ CATEGORÍAS ------------------ */
.categoria {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 40px;
}

.categoria h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #4e4a4a;
    text-align: center;
}

/* ------------------ CARRUSEL ------------------ */
.carousel-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 5px 0;
}

.carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.item {
    flex: 0 0 auto;
    width: 45vw;
    max-width: 200px;
    background: #948c8c6b;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: .3s;
}

.item:hover {
    transform: translateY(-5px);
}

.item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ------------------ BOTONES CARRUSEL ------------------ */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: .3s; 
    /* Ocultar en móvil */
}

.carousel-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.btn-left { left: 3px; }
.btn-right { right: 3px; }

.carousel-btn:hover {
    background: #000;
}

/* Mostrar botones en pantallas grandes */
@media (min-width: 768px) {
    .carousel-btn {
        display: block;
    }
}

/* ------------------ MARCA ------------------ */
.marca-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 20px;
    background: #fff;
    margin-top: 40px;
    gap: 20px;
    text-align: center;
}

.marca-section img {
    width: 60%;
    max-width: 200px;
    margin: auto;
    border-radius: 12px;
}

.marca-text h1 {
    font-size: 30px;
    margin-bottom: 12px;
}

/* ------------------ FOOTER ------------------ */
footer {
    background: #000;
    color: #fff;
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
}

.footer-redes img {
    width: 35px;
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 14px;
}

/* ------------------ WHATSAPP ------------------ */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    z-index: 999;
}

.whatsapp-btn img {
    width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}


/* =============================
   GALERÍA 3D PROFESIONAL
   ============================= */

.galeria-3d {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 70px;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    perspective: 1100px;
    margin: auto;
}

.slider {
    width: 100%;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s ease;
}

.slide {
    position: absolute;
    width: 70%;
    left: 15%;
    opacity: 0;
    transform: scale(0.8) rotateY(40deg);
    transition: all .8s ease;
}

.slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.25);
}

.slide.active {
    opacity: 1;
    transform: translateZ(120px) scale(1) rotateY(0deg);
}

.slide.left {
    opacity: 0.6;
    transform: translateX(-180px) rotateY(40deg);
}

.slide.right {
    opacity: 0.6;
    transform: translateX(180px) rotateY(-40deg);

    
}

/* Botones */
.btn-prev,
.btn-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #000000c2;
    border: none;
    color: #fff;
    font-size: 22px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: 0.3s ease;
}

.btn-prev:hover,
.btn-next:hover {
    background: #333;
}

.btn-prev {
    left: 20px;
}

.btn-next {
    right: 20px;
}

