* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

/* Hero Section con tu imagen de fondo */
.hero {
    height: 100vh;
    background-image: url('IMG/FondoLogo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Añadir overlay degradado para mejor legibilidad en móvil */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}





/* Navegación central en escalera */
.center-nav {
    position: absolute;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.center-nav-item {
    margin-bottom: 2rem;  /* Espaciado entre menú */
    position: relative;
}
 /* mover alineaciones */
.center-nav-item:nth-child(1) { margin-left: -12rem; }
.center-nav-item:nth-child(2) { margin-left: -6rem; }
.center-nav-item:nth-child(3) { margin-left: -1rem; }
.center-nav-item:nth-child(4) { margin-left: 5rem; }
.center-nav-item:nth-child(5) { margin-left: 11rem; }

.center-nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.sewing-button-png {
    width: 45px;
    height: 45px;
    margin-right: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 10px rgba(44, 111, 111, 0.4));
}



 /* botones imagen */
.button-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-text {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    opacity: 1;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: white;
    white-space: nowrap;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

.center-nav-link:hover .sewing-button-png {
    transform: scale(1.2) rotateZ(5deg);
    filter: drop-shadow(0 5px 20px rgba(74, 187, 187, 0.6)) 
            hue-rotate(20deg) brightness(1.2);
}

.center-nav-link:hover .nav-text {
    color: #4ab7bb;
    transform: translateX(8px);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.center-nav-link.active .sewing-button-png {
    transform: scale(1.3) rotateZ(-3deg);
    filter: drop-shadow(0 5px 20px rgba(74, 158, 187, 0.8)) 
            hue-rotate(40deg) brightness(1.3);
}

.center-nav-link.active .nav-text {
    color: #4a9ebb;
}

/* Efecto de hilo/costura en hover */
.center-nav-link:hover .sewing-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 35px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    animation: stitchAppear 0.5s ease forwards;
}

@keyframes stitchAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(45deg) scale(0);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
}

/* Navegación superior */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.9);
    padding: 15px 50px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container h1 {
    font-size: 1.7rem;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.5rem;
    font-family: "Nunito", sans-serif;
    
}

.nav-links a:hover {
    color: #57c5c5;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #57c5c5;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Secciones */
.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c2c2c;
    font-weight: 300;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
}



/* Carrete de imágenes del portafolio */


/* Contenedor que se ajusta al slide activo */



/* Indicadores discretos del carrete */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-container:hover .carousel-indicators {
    opacity: 1;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 8px rgba(74, 158, 187, 0.4);
}

.indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}




.portfolio-carousel {
    margin: 4rem 0;
}

.carousel-container {
    position: relative;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.5s ease;
    height: 600px;  /* Altura contenedores */
    background: #000; /* Fondo negro en lugar de blanco */
}

.carousel-container:hover {
    transform: scale(1.02);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; /* Asegurar que ocupe toda la altura */
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent; /* Sin fondo blanco */
    height: 100%; /* Ocupar toda la altura disponible */
}

.carousel-slide img {
    display: block;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 0; /* Sin border-radius en las imágenes */
}

/* Contenedor que se ajusta al slide activo */
.carousel-container.landscape-active {
    height: 600px;
    max-width: 900px;
}

.carousel-container.square-active {
    height: 750px;
    max-width: 900px;
}



/* Tamaños específicos para cada tipo - LLENANDO COMPLETAMENTE EL CONTENEDOR */
.carousel-slide.size-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.size-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.size-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 0; /* Sin border-radius en overlay */
}

.carousel-slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4a9ebb;
}

.slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Botones de navegación del carrete */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.carousel-btn:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Indicadores discretos del carrete */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-container:hover .carousel-indicators {
    opacity: 1;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 8px rgba(74, 158, 187, 0.4);
}

.indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}

/* Overlay del modal */
.portfolio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9998;
}

.portfolio-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del modal */
.portfolio-modal-carousel {
    position: relative;
    width: 90%;
    background: #000; /* Fondo negro para evitar espacios blancos */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: all 0.6s ease; /* Transición más suave y larga */
}

.portfolio-modal-overlay.active .portfolio-modal-carousel {
    transform: scale(1);
}

/* Tamaños del modal según el slide activo CON ANIMACIONES */
.portfolio-modal-carousel.modal-landscape {
    max-width: 1000px;
    height: 800px; /* Altura fija para landscape */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave */
}

.portfolio-modal-carousel.modal-square {
    max-width: 800px;
    height: 900px; /* Altura fija para square */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave */
}



/* Botón cerrar modal */
.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    z-index: 10001;
}

.portfolio-modal-close:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Contenedor de slides del modal */
.portfolio-modal-container {
    position: relative;
    background: transparent; /* Sin fondo */
    height: 100%; /* Ocupar toda la altura del modal */
    transition: all 0.6s ease; /* Animación del contenedor interno */
}

.portfolio-modal-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; /* Ocupar toda la altura disponible */
}

/* Slides del modal */
.portfolio-modal-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent; /* Sin fondo blanco */
    height: 100%; /* Ocupar toda la altura del contenedor */
    transition: all 0.6s ease; /* Animación de los slides individuales */
}

/* Tamaños específicos para imágenes del modal - LLENANDO COMPLETAMENTE CON ANIMACIÓN */
.portfolio-modal-slide.modal-size-landscape img {
    width: 100%;
    height: 100%; /* Llenar toda la altura del modal */
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave de imágenes */
}

.portfolio-modal-slide.modal-size-square img {
    width: 100%;
    height: 100%; /* Llenar toda la altura del modal */
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave de imágenes */
}

.portfolio-modal-slide.modal-size-portrait img {
    width: 100%;
    height: 100%; /* Llenar toda la altura del modal */
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave de imágenes */
}

.portfolio-modal-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 3rem;
    transition: all 0.4s ease; /* Animación para el contenido de texto */
}

/* Botones de navegación del modal CON ANIMACIÓN MEJORADA */
.portfolio-modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(74, 158, 187, 0.9), rgba(44, 95, 111, 0.9));
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.7rem;
    cursor: pointer;
    border-radius: 50%;
    width: 80%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación mejorada */
    z-index: 100;
    box-shadow: 0 6px 20px rgba(74, 158, 187, 0.4);
}

.portfolio-modal-btn:hover {
    background: linear-gradient(135deg, #4a9ebb, #2c5f6f);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(74, 158, 187, 0.6);
}

.portfolio-modal-btn.prev {
    left: 10px;
}

.portfolio-modal-btn.next {
    right: 10px;
}

/* Indicadores del modal CON ANIMACIÓN */
.portfolio-modal-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 100;
    opacity: 0.8;
    transition: all 0.4s ease; /* Animación de los indicadores */
}

.portfolio-modal-carousel:hover .portfolio-modal-indicators {
    opacity: 1;
}

.portfolio-modal-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave */
    border: 2px solid rgba(255,255,255,0.3);
}

.portfolio-modal-indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 12px rgba(74, 158, 187, 0.6);
}

.portfolio-modal-indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}





/* Contenedor principal del nuevo carrusel */
#nuevo-carrusel .carousel-container {
    position: relative;
    max-width: 800px; 
        height: 780px;  /* ← LÍNEA 1: CAMBIAR ANCHO DEL CONTENEDOR */
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

#nuevo-carrusel .carousel-container:hover {
    transform: scale(1.02);
}

/* Slides del nuevo carrusel */
#nuevo-carrusel .carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#nuevo-carrusel .carousel-slide {
    min-width: 100%;
    position: relative;
}

#nuevo-carrusel .carousel-slide img {
    width: 100%;
    height: 780px;          /* ← LÍNEA 2: CAMBIAR ALTURA DE LAS IMÁGENES */
    object-fit: cover;
    display: block;
}

/* Overlay de texto */
#nuevo-carrusel .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#nuevo-carrusel .carousel-slide:hover .slide-overlay {
    transform: translateY(0);
}

#nuevo-carrusel .slide-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4a9ebb;
}

#nuevo-carrusel .slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Botones de navegación */
#nuevo-carrusel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

#nuevo-carrusel .carousel-btn:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: translateY(-50%) scale(1.1);
}

#nuevo-carrusel .carousel-btn.prev {
    left: 20px;
}

#nuevo-carrusel .carousel-btn.next {
    right: 20px;
}

/* Indicadores */
#nuevo-carrusel .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#nuevo-carrusel .carousel-container:hover .carousel-indicators {
    opacity: 1;
}

#nuevo-carrusel .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

#nuevo-carrusel .indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 8px rgba(74, 158, 187, 0.4);
}

#nuevo-carrusel .indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}




/* Overlay del modal */
#nuevo-carrusel .portfolio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9998;
}

#nuevo-carrusel .portfolio-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del modal */
#nuevo-carrusel .portfolio-modal-carousel {
    position: relative;
    width: 90%;
    max-width: 800px;      /* ← LÍNEA 6: CAMBIAR ANCHO MODAL */
    height: 880px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

#nuevo-carrusel .portfolio-modal-overlay.active .portfolio-modal-carousel {
    transform: scale(1);
}

/* Botón cerrar modal */
#nuevo-carrusel .portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    z-index: 10001;
}

#nuevo-carrusel .portfolio-modal-close:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Contenedor de slides del modal */
#nuevo-carrusel .portfolio-modal-container {
    position: relative;
}

#nuevo-carrusel .portfolio-modal-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Slides del modal */
#nuevo-carrusel .portfolio-modal-slide {
    min-width: 100%;
    position: relative;
}

#nuevo-carrusel .portfolio-modal-slide img {
    width: 100%;
    height: 850px;          /* ← LÍNEA 7: CAMBIAR ALTURA MODAL */
    object-fit: cover;
    display: block;
}

#nuevo-carrusel .portfolio-modal-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 3rem;
}



/* Botones de navegación del modal */
#nuevo-carrusel .portfolio-modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(74, 158, 187, 0.9), rgba(44, 95, 111, 0.9));
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(74, 158, 187, 0.4);
}

#nuevo-carrusel .portfolio-modal-btn:hover {
    background: linear-gradient(135deg, #4a9ebb, #2c5f6f);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(74, 158, 187, 0.6);
}

#nuevo-carrusel .portfolio-modal-btn.prev {
    left: 10px;
}

#nuevo-carrusel .portfolio-modal-btn.next {
    right: 10px;
}

/* Indicadores del modal */
#nuevo-carrusel .portfolio-modal-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 100;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#nuevo-carrusel .portfolio-modal-carousel:hover .portfolio-modal-indicators {
    opacity: 1;
}

#nuevo-carrusel .portfolio-modal-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

#nuevo-carrusel .portfolio-modal-indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 12px rgba(74, 158, 187, 0.6);
}

#nuevo-carrusel .portfolio-modal-indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}
























/* Carrusel de Antes y Después */
.before-after-carousel {
    margin: 4rem 0;
}

.before-after-carousel-container {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.before-after-carousel-container:hover {
    transform: scale(1.02);
}

.before-after-slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.before-after-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.before-after-slide.active {
    opacity: 1;
}

.before-after-container {
    display: flex;
    height: 600px;
    position: relative;
}

.before-image,
.after-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.before-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    z-index: 10;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.before-after-slide:hover .before-image img,
.before-after-slide:hover .after-image img {
    transform: scale(1.05);
}


.image-label {
    position: absolute;
    top: 25px;
    left: 25px;
    padding: 12px 28px;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    z-index: 20;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.before-label {
   background: linear-gradient(135deg, #00b894, #55a3ff);
    box-shadow: 0 8px 32px rgba(0, 184, 148, 0.4);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.after-label {
    background: linear-gradient(135deg, #00b894, #55a3ff);
    box-shadow: 0 8px 32px rgba(0, 184, 148, 0.4);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Botones de navegación del carrusel Antes y Después */
.before-after-btn {
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height:60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.before-after-btn:hover {
    background: linear-gradient(135deg, #4a9ebb, #2c5f6f);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 158, 187, 0.5);
}

.before-after-btn.prev {
    left: 10px;
}

.before-after-btn.next {
    right: 10px;
}

/* Indicadores discretos del carrusel Antes y Después - Esquina superior derecha */
.before-after-indicators {
    position: absolute;
    bottom: 20px;
    left:  50%;
    transform:translateX(-50%) ;
    display: flex;
    gap: 0.4rem;
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.before-after-carousel-container:hover .before-after-indicators {
    opacity: 1;
}

.before-after-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.before-after-indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 8px rgba(74, 158, 187, 0.4);
}

.before-after-indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}



/* Estilos base para modales */
.modal-overlay,
.portfolio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay {
    z-index: 9999;
}

.portfolio-modal-overlay {
    z-index: 9998;
}

.modal-overlay.active,
.portfolio-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Carruseles de modales */
.modal-carousel,
.portfolio-modal-carousel {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.modal-carousel {
    max-width: 1000px;
    height: 650px;
    
}



.modal-overlay.active .modal-carousel,
.portfolio-modal-overlay.active .portfolio-modal-carousel {
    transform: scale(1);
}

/* Botones cerrar modales */
.modal-close,
.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.modal-close {
    z-index: 10000;
}

.portfolio-modal-close {
    z-index: 10001;
}

.modal-close:hover,
.portfolio-modal-close:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Contenedores de carruseles modales */
.modal-carousel-container,
.portfolio-modal-container {
    position: relative;
}

.modal-slides,
.portfolio-modal-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Slides del modal de antes y después */
.modal-slide {
    min-width: 100%;
    display: flex;
    height: 650px;
}

.modal-before,
.modal-after {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.modal-before::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #4a9ebb, transparent);
    z-index: 10;
}

.modal-before img,
.modal-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-label {
    position: absolute;
    top: 25px;
    left: 25px;
    padding: 12px 28px;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    z-index: 20;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modal-before-label {
    background: linear-gradient(135deg, #00b894, #55a3ff);
    box-shadow: 0 8px 32px rgba(0, 184, 148, 0.4);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-after-label {
    background: linear-gradient(135deg, #00b894, #55a3ff);
    box-shadow: 0 8px 32px rgba(0, 184, 148, 0.4);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Slides del modal de portafolio */
.portfolio-modal-slide {
    min-width: 100%;
    position: relative;
}

.portfolio-modal-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.portfolio-modal-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 3rem;
}



/* Botones de modales */
.modal-btn,
.portfolio-modal-btn,
.salas-modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(74, 158, 187, 0.9), rgba(44, 95, 111, 0.9));
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(74, 158, 187, 0.4);
}

.modal-btn:hover,
.portfolio-modal-btn:hover,
.salas-modal-btn:hover {
    background: linear-gradient(135deg, #4a9ebb, #2c5f6f);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(74, 158, 187, 0.6);
}

/* IMPORTANTE: Posiciones específicas para prev y next */
.modal-btn.prev,
.portfolio-modal-btn.prev,
.salas-modal-btn.prev {
    left: 10px;
    right: auto; /* Asegurar que no tome el valor de right */
}

.modal-btn.next,
.portfolio-modal-btn.next,
.salas-modal-btn.next {
    right: 10px;
    left: auto; /* Asegurar que no tome el valor de left */
}

/* Indicadores discretos de modales - Esquina superior izquierda */
.modal-indicators,
.portfolio-modal-indicators {
    position: absolute;
    bottom: 20px; /* Cambiar de top a bottom */
    left: 50%; /* Centrar horizontalmente */
    transform: translateX(-50%); /* Centrar perfectamente */
    display: flex;
    gap: 0.5rem;
    z-index: 100;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal-carousel:hover .modal-indicators,
.portfolio-modal-carousel:hover .portfolio-modal-indicators {
    opacity: 1;
}

.modal-indicator,
.portfolio-modal-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.modal-indicator.active,
.portfolio-modal-indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 12px rgba(74, 158, 187, 0.6);
}

.modal-indicator:hover,
.portfolio-modal-indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}



/*servicios*/

.company-info {
    background: #f8f8f8;
    z-index: 1;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Estilos base compartidos para ambas tarjetas */
.services-offerings-card,
.about-company-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    z-index: 2;
}

.services-offerings-card:hover,
.about-company-card:hover {
    transform: translateY(-10px);
}

.about-company-card h3{
    margin-bottom: 1.5rem;
    font-family: "Raleway", sans-serif;
    font-weight: 700;

    
}





.offerings-icon img{
    width: 70px;
    height: 70px;
}


.about-company-card img{
    width: 70px;
    height: 70px;
}



/* Iconos para ambas tarjetas */
.offerings-icon,
.company-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #809c9c, #57c5c5);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Estilos específicos para la tarjeta de nosotros (mantiene características originales) */
.about-company-card p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    hyphens: auto;
    font-size: 1.2rem;
    font-family: "Nunito", sans-serif;
    
    
}

/* Estilos específicos para la tarjeta de servicios */
.services-offerings-card {
    text-align: left; /* Cambio principal: alineación izquierda */
}

.services-offerings-card h3 {
    text-align: center; /* Solo el título centrado */
    margin-bottom: 1.5rem;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

.services-list {
    text-align: left;
    padding-left: 1.5rem;
    margin-top: 1rem;
    list-style-type: disc;
    margin-bottom: 0;
    font-size: 1.2rem;
    font-family: "Nunito", sans-serif;
}

.services-list li {
    margin-bottom: 1rem; /* Espaciado aumentado entre elementos */
    line-height: 1; /* Mayor altura de línea para mejor legibilidad */
    text-align: left;
    padding-left: 0.3rem; /* Pequeño padding adicional */
}

/* Último elemento sin margen inferior */
.services-list li:last-child {
    margin-bottom: 0;
}

/* Opcional: Hover effects para los elementos de la lista */
.services-list li:hover {
    color: #4a9ebb;
    transform: translateX(5px);
    transition: all 0.2s ease;
}






/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Responsive Design */


@media screen and (max-width: 992px)

{
  /*servicios*/

.company-info {
    background: #f8f8f8;
    z-index: 1;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Estilos base compartidos para ambas tarjetas */
.services-offerings-card,
.about-company-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
      z-index: 2;
      padding: 4rem 4rem 5rem 4rem;
}

.services-offerings-card:hover,
.about-company-card:hover {
    transform: translateY(-10px);
}

/* Iconos para ambas tarjetas */
.offerings-icon,
.company-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #809c9c, #57c5c5);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.about-company-card h3{
    margin-bottom: 2rem;
    font-size: 2.7rem;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    
}

.about-company-card img{
    height: 90px;
    width: 90px;
}

/* Estilos específicos para la tarjeta de nosotros (mantiene características originales) */
.about-company-card p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    hyphens: auto;
    font-size: 2rem;
    font-family: "Nunito", sans-serif;
}

/* Estilos específicos para la tarjeta de servicios */
.services-offerings-card {
    text-align: left; /* Cambio principal: alineación izquierda */
}

.services-offerings-card h3 {
    text-align: center; /* Solo el título centrado */
    margin-bottom: 1.5rem;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 2.7rem;
}

.offerings-icon img{
    height: 90px;
    width: 90px;
}

.services-list {
    text-align: left;
    padding-left: 1.5rem;
    margin-top: 1rem;
    list-style-type: disc;
    margin-bottom: 0;
    font-size: 2rem;
    font-family: "Nunito", sans-serif;

}

.services-list li {
    margin-bottom: 1.2rem; /* Espaciado aumentado entre elementos */
    line-height: 1; /* Mayor altura de línea para mejor legibilidad */
    text-align: left;
    padding-left: 0.3rem; /* Pequeño padding adicional */
}

/* Último elemento sin margen inferior */
.services-list li:last-child {
    margin-bottom: 0;
}

/* Opcional: Hover effects para los elementos de la lista */
.services-list li:hover {
    color: #4a9ebb;
    transform: translateX(5px);
    transition: all 0.2s ease;
}







    .center-nav-item:nth-child(1) { margin-left: -11rem; }
    .center-nav-item:nth-child(2) { margin-left: -5rem; }
    .center-nav-item:nth-child(3) { margin-left: 0; }
    .center-nav-item:nth-child(4) { margin-left: 7rem; }
    .center-nav-item:nth-child(5) { margin-left: 13rem; }
    
    .nav-text {
        font-size: 4rem;
    }

    .center-nav-item {
    margin-bottom: 4rem;  /* Espaciado entre menú */
    position: relative;
}
    
    .sewing-button-png{
        margin-right: 3rem;
    }

    .button-image{
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: all 0.3s ease;

    }
    
    .button-hole {
        width: 3px;
        height: 3px;
    }
    
    .sewing-button .button-hole:nth-child(1) {
        margin-right: 4px;
        margin-bottom: 4px;
    }
    
    .sewing-button .button-hole:nth-child(2) {
        margin-bottom: 4px;
    }
    
    .sewing-button .button-hole:nth-child(3) {
        margin-right: 4px;
    }

    


    /* Navegación superior */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.9);
    padding: 15px 50px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container h1 {
    font-size: 1.7rem;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-size: 2rem;
}

.nav-links a:hover {
    color: #57c5c5;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #57c5c5;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}















/* Contenedor que se ajusta al slide activo */
.carousel-container.landscape-active {
    height: 600px;
    max-width: 800px;
}

.carousel-container.square-active {
    height: 600px;
    max-width: 600px;
}

.carousel-container.portrait-active {
    height: 600px;
    max-width: 400px;
}

/* Tamaños específicos para cada tipo - LLENANDO COMPLETAMENTE EL CONTENEDOR */
.carousel-slide.size-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.size-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.size-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 0; /* Sin border-radius en overlay */
}

.carousel-slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4a9ebb;
}

.slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}







.portfolio-carousel {
    margin: 4rem 0;
}

.carousel-container {
    position: relative;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.5s ease;
    height: 600px;  /* Altura contenedores */
    background: #000; /* Fondo negro en lugar de blanco */
}

.carousel-container:hover {
    transform: scale(1.02);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; /* Asegurar que ocupe toda la altura */
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent; /* Sin fondo blanco */
    height: 100%; /* Ocupar toda la altura disponible */
}

.carousel-slide img {
    display: block;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 0; /* Sin border-radius en las imágenes */
}



/* Overlay del modal */
.portfolio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9998;
}

.portfolio-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del modal */
.portfolio-modal-carousel {
    position: relative;
    width: 90%;
    background: #000; /* Fondo negro para evitar espacios blancos */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: all 0.6s ease; /* Transición más suave y larga */
}

.portfolio-modal-overlay.active .portfolio-modal-carousel {
    transform: scale(1);
}

/* Tamaños del modal según el slide activo CON ANIMACIONES */
.portfolio-modal-carousel.modal-landscape {
    max-width: 900px;
    height: 700px; /* Altura fija para landscape */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave */
}

.portfolio-modal-carousel.modal-square {
    max-width: 1000px;
    height: 1000px; /* Altura fija para square */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave */
}



/* Botón cerrar modal */
.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    z-index: 10001;
}

.portfolio-modal-close:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Contenedor de slides del modal */
.portfolio-modal-container {
    position: relative;
    background: transparent; /* Sin fondo */
    height: 100%; /* Ocupar toda la altura del modal */
    transition: all 0.6s ease; /* Animación del contenedor interno */
}

.portfolio-modal-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; /* Ocupar toda la altura disponible */
}

/* Slides del modal */
.portfolio-modal-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent; /* Sin fondo blanco */
    height: 100%; /* Ocupar toda la altura del contenedor */
    transition: all 0.6s ease; /* Animación de los slides individuales */
}

/* Tamaños específicos para imágenes del modal - LLENANDO COMPLETAMENTE CON ANIMACIÓN */
.portfolio-modal-slide.modal-size-landscape img {
    width: 100%;
    height: 100%; /* Llenar toda la altura del modal */
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave de imágenes */
}

.portfolio-modal-slide.modal-size-square img {
    width: 100%;
    height: 100%; /* Llenar toda la altura del modal */
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave de imágenes */
}

.portfolio-modal-slide.modal-size-portrait img {
    width: 100%;
    height: 100%; /* Llenar toda la altura del modal */
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave de imágenes */
}

.portfolio-modal-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 3rem;
    transition: all 0.4s ease; /* Animación para el contenido de texto */
}

/* Botones de navegación del modal CON ANIMACIÓN MEJORADA */
.portfolio-modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(74, 158, 187, 0.9), rgba(44, 95, 111, 0.9));
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación mejorada */
    z-index: 100;
    box-shadow: 0 6px 20px rgba(74, 158, 187, 0.4);
}

.portfolio-modal-btn:hover {
    background: linear-gradient(135deg, #4a9ebb, #2c5f6f);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(74, 158, 187, 0.6);
}

.portfolio-modal-btn.prev {
    left: 20px;
}

.portfolio-modal-btn.next {
    right: 20px;
}

/* Indicadores del modal CON ANIMACIÓN */
.portfolio-modal-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 100;
    opacity: 0.8;
    transition: all 0.4s ease; /* Animación de los indicadores */
}

.portfolio-modal-carousel:hover .portfolio-modal-indicators {
    opacity: 1;
}

.portfolio-modal-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave */
    border: 2px solid rgba(255,255,255,0.3);
}

.portfolio-modal-indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 12px rgba(74, 158, 187, 0.6);
}

.portfolio-modal-indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}





/* Contenedor principal del nuevo carrusel */
#nuevo-carrusel .carousel-container {
    position: relative;
    max-width: 600px;        /* ← LÍNEA 1: CAMBIAR ANCHO DEL CONTENEDOR */
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

#nuevo-carrusel .carousel-container:hover {
    transform: scale(1.02);
}

/* Slides del nuevo carrusel */
#nuevo-carrusel .carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#nuevo-carrusel .carousel-slide {
    min-width: 100%;
    position: relative;
}

#nuevo-carrusel .carousel-slide img {
    width: 100%;
    height: 900px;          /* ← LÍNEA 2: CAMBIAR ALTURA DE LAS IMÁGENES */
    object-fit: cover;
    display: block;
}

/* Overlay de texto */
#nuevo-carrusel .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#nuevo-carrusel .carousel-slide:hover .slide-overlay {
    transform: translateY(0);
}

#nuevo-carrusel .slide-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4a9ebb;
}

#nuevo-carrusel .slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Botones de navegación */
#nuevo-carrusel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.7rem;
    cursor: pointer;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

#nuevo-carrusel .carousel-btn:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: translateY(-50%) scale(1.1);
}

#nuevo-carrusel .carousel-btn.prev {
    left: 20px;
}

#nuevo-carrusel .carousel-btn.next {
    right: 20px;
}

/* Indicadores */
#nuevo-carrusel .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#nuevo-carrusel .carousel-container:hover .carousel-indicators {
    opacity: 1;
}

#nuevo-carrusel .indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

#nuevo-carrusel .indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 8px rgba(74, 158, 187, 0.4);
}

#nuevo-carrusel .indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}




/* Overlay del modal */
#nuevo-carrusel .portfolio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9998;
}

#nuevo-carrusel .portfolio-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del modal */
#nuevo-carrusel .portfolio-modal-carousel {
    position: relative;
    width: 90%;
    max-width: 1000px;      /* ← LÍNEA 6: CAMBIAR ANCHO MODAL */
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

#nuevo-carrusel .portfolio-modal-overlay.active .portfolio-modal-carousel {
    transform: scale(1);
}

/* Botón cerrar modal */
#nuevo-carrusel .portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 90px;
    height: 90px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 3.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    z-index: 10001;
}

#nuevo-carrusel .portfolio-modal-close:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Contenedor de slides del modal */
#nuevo-carrusel .portfolio-modal-container {
    position: relative;
}

#nuevo-carrusel .portfolio-modal-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Slides del modal */
#nuevo-carrusel .portfolio-modal-slide {
    min-width: 100%;
    position: relative;
}

#nuevo-carrusel .portfolio-modal-slide img {
    width: 100%;
    height: 1000px;          /* ← LÍNEA 7: CAMBIAR ALTURA MODAL */
    object-fit: cover;
    display: block;
}

#nuevo-carrusel .portfolio-modal-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 3rem;
}



/* Botones de navegación del modal */
#nuevo-carrusel .portfolio-modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(74, 158, 187, 0.9), rgba(44, 95, 111, 0.9));
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.7rem;
    cursor: pointer;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(74, 158, 187, 0.4);
}

#nuevo-carrusel .portfolio-modal-btn:hover {
    background: linear-gradient(135deg, #4a9ebb, #2c5f6f);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(74, 158, 187, 0.6);
}

#nuevo-carrusel .portfolio-modal-btn.prev {
    left: 20px;
}

#nuevo-carrusel .portfolio-modal-btn.next {
    right: 20px;
}

/* Indicadores del modal */
#nuevo-carrusel .portfolio-modal-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 100;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#nuevo-carrusel .portfolio-modal-carousel:hover .portfolio-modal-indicators {
    opacity: 1;
}

#nuevo-carrusel .portfolio-modal-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

#nuevo-carrusel .portfolio-modal-indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 12px rgba(74, 158, 187, 0.6);
}

#nuevo-carrusel .portfolio-modal-indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}

.section-title{
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 3rem;
}

/* Botones de navegación del carrete */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.7rem;
    cursor: pointer;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.carousel-btn:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}



/* Indicadores discretos del carrete */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-container:hover .carousel-indicators {
    opacity: 1;
}

.indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 8px rgba(74, 158, 187, 0.4);
}

.indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}




/* Carrusel de Antes y Después */
.before-after-carousel {
    margin: 4rem 0;
}

.before-after-carousel-container {
    position: relative;
    max-width: 900px;
    height: 550px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.before-after-carousel-container:hover {
    transform: scale(1.02);
}

.before-after-slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.before-after-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.before-after-slide.active {
    opacity: 1;
}

.before-after-container {
    display: flex;
    height: 600px;
    position: relative;
}

.before-image,
.after-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.before-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    z-index: 10;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.before-after-slide:hover .before-image img,
.before-after-slide:hover .after-image img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    z-index: 20;
}

.before-label {
    background: linear-gradient(135deg, #00b894, #55a3ff);
    box-shadow: 0 8px 32px rgba(0, 184, 148, 0.4);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.after-label {
    background: linear-gradient(135deg, #00b894, #55a3ff);
    box-shadow: 0 8px 32px rgba(0, 184, 148, 0.4);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Botones de navegación del carrusel Antes y Después */
.before-after-btn {
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.before-after-btn:hover {
    background: linear-gradient(135deg, #4a9ebb, #2c5f6f);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 158, 187, 0.5);
}

.before-after-btn.prev {
    left: 10px;
}

.before-after-btn.next {
    right: 10px;
}

.before-after-indicators {
    position: absolute;
    bottom: 20px;
    left:  50%;
    transform:translateX(-50%) ;
    display: flex;
    gap: 0.4rem;
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.before-after-carousel-container:hover .before-after-indicators {
    opacity: 1;
}

.before-after-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.before-after-indicator.active {
    background: #4a9ebb;
    transform: scale(1.3);
    border-color: rgba(74, 158, 187, 0.5);
    box-shadow: 0 0 8px rgba(74, 158, 187, 0.4);
}

.before-after-indicator:hover {
    background: rgba(74, 158, 187, 0.8);
    transform: scale(1.2);
}











}






/* Sección de Contacto Compacta */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.contact-card-compact {
    position: relative;
    z-index: 2;
    max-width: 450px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
    cursor: pointer; 
}

.contact-card-compact:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.9);
}

.contact-card-compact h2 {
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    font-family: "Raleway", sans-serif;
    font-weight: 800;
}

.contact-card-compact p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-family: "Nunito", sans-serif;
    
}

.contact-info-compact {
    margin-bottom: 2rem;
    text-align: center;

}

.contact-item-compact {
    margin-bottom: 1rem;
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-item-compact span {
    display: block;
    margin-bottom: 0.2rem;
}

.contact-item-compact span:first-child {
    font-weight: 500;
}

/* Links de contacto funcionales */
.contact-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.contact-link:hover {
    transform: scale(1.05);
    color: #4a9ebb;
    text-shadow: 0 0 10px rgba(74, 158, 187, 0.5);
}

.contact-link.email:hover {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.contact-link.whatsapp:hover {
    color: #25d366;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}

.contact-item-compact {
    margin-bottom: 1rem;
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
    font-family: "Raleway", sans-serif;
    font-weight: 600;

}

.contact-item-compact span {
    display: block;
    margin-bottom: 0.2rem;
    font-family: "Nunito", sans-serif;
    

}

.contact-item-compact span:first-child {
    font-weight: 500;
}

/* Links de redes sociales compactos */
.social-links-compact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    
}





.social-link-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-icon-compact {
    width: 24px;  /* Cambia el ancho */
    height: 24px; /* Cambia la altura */
    transition: transform 0.3s ease;
}

.social-link-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.social-link-compact:hover::before {
    left: 100%;
}

.social-link-compact:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-link-compact.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

.social-link-compact.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: #e4405f;
    color: rgb(204, 184, 184);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.5);
}

.social-icon-compact {
    transition: transform 0.3s ease;
}

.social-link-compact:hover .social-icon-compact {
    transform: scale(1.1);
}





/* Footer */
.footer {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr; 
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
}


.footer-logo p {
    color: #ccc;
    font-style: italic;
    font-family: "Raleway", sans-serif;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.social-link:hover {
    color: #4a9ebb;
    transform: translateX(5px);
}


/* contacto */

@media screen and (max-width: 992px) {
    /* Sección de contacto */
    .contact-section {
        padding: 3rem 1rem; /* Reduce padding y agrega margen lateral */
    }
    
    .contact-card-compact {
        max-width: 95%; /* Usa más ancho de pantalla */
        margin: 0 auto;
        padding: 2rem 1.5rem; /* Reduce padding interno */
    }
    
    .contact-card-compact h2 {
        font-size: 2rem; /* Reduce tamaño de título */
        font-family: "Raleway", sans-serif;
    font-weight: 800;
    }
    
    .contact-card-compact p {
        font-size: 3rem; /* Reduce tamaño de párrafo */
        margin-bottom: 1.5rem; /* Reduce margen */
        font-family: "Raleway", sans-serif;
    }
    
    .contact-info-compact {
        margin-bottom: 1.5rem; /* Reduce espaciado */
    }
    
    .contact-item-compact {
        font-size: 1.8rem; /* Reduce tamaño de texto */
        margin-bottom: 0.8rem;
    }
    
    /* Redes sociales más compactas */
    .social-links-compact {
        gap: 1rem; /* Reduce espaciado entre botones */
        margin-top: 1.5rem;
        
    }


    
    .social-link-compact {
        display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    
}


.social-icon-compact {
    width: 38px;  /* Cambia el ancho */
    height: 38px; /* Cambia la altura */
    transition: transform 0.3s ease;
}
    
.contact-info-compact a {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
}

.contact-item-compact span{
    font-family: "Nunito", sans-serif;
    
}
    
    /* Footer adaptado */
    .footer {
        padding: 6rem 0rem 3rem; /* Reduce padding y agrega margen */
        min-height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr; /* Cambiar a una sola columna */
        text-align: center; /* Centrar contenido */
        gap: 1.5rem;
    }
    
    .footer-logo h3 {
        font-size: 2rem; /* Reduce tamaño */
        font-family: "Raleway", sans-serif;
    font-weight: 800;
    }
    
    .footer-logo p {
        font-size: 0.9rem; /* Reduce tamaño */
        margin-bottom: 1rem;
        font-family: "Nunito", sans-serif;
        font-size: 2rem;
    
    }
    
    .social-links {
        flex-direction: row; /* Cambiar a horizontal en móvil */
        justify-content: center;
        flex-wrap: wrap; /* Permitir wrap si es necesario */
        gap: 0.5rem;
    }
    
    .social-link {
        padding: 0.3rem 0.8rem; /* Hacer botones más compactos */
        font-size: 0.9rem;
    }
}


@media screen and (min-width: 1024px) and (max-width: 1366px) {


    /* Navegación superior */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.9);
    padding: 15px 50px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.5rem;
    font-family: "Nunito", sans-serif;
    
}


    /* Navegación central en escalera */
.center-nav {
    position: absolute;
    left: 55%;
    top: 55%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.center-nav-item {
    margin-bottom: 2rem;  /* Espaciado entre menú */
    position: relative;
}
 /* mover alineaciones */
.center-nav-item:nth-child(1) { margin-left: -10rem; }
.center-nav-item:nth-child(2) { margin-left: -6rem; }
.center-nav-item:nth-child(3) { margin-left: -2rem; }
.center-nav-item:nth-child(4) { margin-left: 3rem; }
.center-nav-item:nth-child(5) { margin-left: 8rem; }

.center-nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.sewing-button-png {
    width: 45px;
    height: 45px;
    margin-right: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 10px rgba(44, 111, 111, 0.4));
}

.button-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-text {
    font-size: 2.3rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    opacity: 1;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: white;
    white-space: nowrap;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}


/* Contenedor que se ajusta al slide activo */
.carousel-container.landscape-active {
    height: 400px;
    max-width: 800px;
}

.carousel-container.square-active {
    height: 400px;
    max-width: 600px;
}

.carousel-container.portrait-active {
    height: 600px;
    max-width: 400px;
}

/* Tamaños específicos para cada tipo - LLENANDO COMPLETAMENTE EL CONTENEDOR */
.carousel-slide.size-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.size-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.size-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Contenedor del modal */
.portfolio-modal-carousel {
    position: relative;
    width: 90%;
    background: #000; /* Fondo negro para evitar espacios blancos */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: all 0.6s ease; /* Transición más suave y larga */
}

.portfolio-modal-overlay.active .portfolio-modal-carousel {
    transform: scale(1);
}

/* Tamaños del modal según el slide activo CON ANIMACIONES */
.portfolio-modal-carousel.modal-landscape {
    max-width: 900px;
    height: 500px; /* Altura fija para landscape */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave */
}

.portfolio-modal-carousel.modal-square {
    max-width: 800px;
    height: 550px; /* Altura fija para square */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animación suave */
}


/* Contenedor principal del nuevo carrusel */
#nuevo-carrusel .carousel-container {
    position: relative;
    max-width: 600px;        /* ← LÍNEA 1: CAMBIAR ANCHO DEL CONTENEDOR */
    height: 425px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

#nuevo-carrusel .carousel-container:hover {
    transform: scale(1.02);
}

/* Slides del nuevo carrusel */
#nuevo-carrusel .carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#nuevo-carrusel .carousel-slide {
    min-width: 100%;
    position: relative;
}


/* Contenedor del modal */
#nuevo-carrusel .portfolio-modal-carousel {
    position: relative;
    height: 550px;
    max-width: 700px;      /* ← LÍNEA 6: CAMBIAR ANCHO MODAL */
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}



/* Carrusel de Antes y Después */
.before-after-carousel {
    margin: 4rem 0;
}

.before-after-carousel-container {
    position: relative;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: white;
    cursor: pointer;
    transition: transform 0.3s ease;



    
}

.modal-carousel-container-before{

    position: relative;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

}


/* 1. Primero define las reglas base del WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    background: #128c7e;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* 2. DESPUÉS define tus media queries */
@media screen and (max-width: 992px) {
    /* Todas tus otras reglas responsive aquí... */
    
    /* Y al final del media query, las reglas específicas de WhatsApp */
    .whatsapp-float {
        width: 100px;
        height: 100px;
        bottom: 25px;
        right: 25px;
        font-size: 26px;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    
    .whatsapp-float:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
}

/* 3. Reglas adicionales para social links */
.social-link-compact.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}