/* Fuente de la pagina */
@font-face {
    font-family: "PrintuartNormal";
    src: url(../fuentes/coolvetica/coolvetica\ rg.ttf);
    font-weight: bold;
}
@font-face {
    font-family: "PrintuartNegrita";
    src: url(../fuentes/coolvetica/coolvetica\ rg.ttf);
}

/* Fondo general de la página */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-image: url(../img/FondoPP.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    font-family: "PrintuartNormal", sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

/* ----- Seccion 1 - Cabecera ----- */
.cabecera {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2%;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Logo */
.logo img {
    height: 60px;
}

/* Menú */
.menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.menu a:hover {
    color: #ff3300;
}

/* ----- Sección 2 - Carrusel ----- */
.carrusel {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    margin-top: 20px;
}

.carrusel .slides {
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Botones manuales */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 20px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 22px;
    transition: 0.3s;
    z-index: 5;
}

.prev:hover, .next:hover {
    background: #ff3300;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* ----- Sección 3 - Carrusel múltiple ----- */
.titulos_separadores {
    text-align: center;
    color: white;
    margin: 20px auto;
    font-size: clamp(1.5rem, 5vw, 3rem);
    padding: 2%;
    background-color: rgba(212, 67, 0, 0.5);
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    font-family: "PrintuartNegrita", sans-serif;
}

.carrusel-multiple {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    padding: 0 50px;
}

/* Contenedor de las Diapositivas */
.multi-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Estilo Individual de Cada Diapositiva */
.multi-slide {
    flex: 0 0 25%;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilo de la Imagen dentro de la Diapositiva */
.multi-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.multi-prev, .multi-next {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    border-radius: 4px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.multi-prev:hover, .multi-next:hover {
    opacity: 1;
    background-color: rgba(255, 72, 0, 0.8);
}

.multi-prev {
    left: 10px;
}

.multi-next {
    right: 10px;
}

/* Estilos del Botón Catálogo */
.multi-btn-catalogo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.btn-catalogo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    width: 220px;
    height: 40px;
    background-color: #ff4800;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 30px;
    transition: background-color 0.3s;
}

.btn-catalogo:hover {
    background-color: #ff3300;
}

/* Estilos del Bloque de Texto (Caption) */
.TitulosC2 {
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    font-weight: bold;
    color: #ffffff;
}

.ParrafosC2 {
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    color: #ffffff;
}

.PreciosC2 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: bold;
    color: #ffffff;
}

.slide-caption {
    margin-top: 5px;
    padding: 5px;
    text-align: center;
    color: #ffffff;
    min-height: 50px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slide-caption p {
    margin: 5px 0;
    line-height: 1.4;
}

/* ----- Sección 4 - Collage y Texto ----- */
#collage-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 2%;
    flex-wrap: nowrap;
    max-width: 95%;
    margin: 0 auto;
}

.collage-container {
    width: 65%;
    height: 1000px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
}

.collage-image {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.collage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.collage-image:hover img {
    transform: scale(1.1);
}

.text-block {
    width: 25%;
    flex-shrink: 0;
    height: 1020px;
    padding: 25px;
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
}

.text-block h2 {
    font-family: "PrintuartNegrita", sans-serif;
    color: #ff4800;
    margin-bottom: 20px;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.text-block p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

/* ----- Sección 5 - Preguntas Frecuentes ----- */
#faq-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 40px;
    gap: 40px;
}

.faq-accordion-container {
    flex: 2;
    max-width: 1100px;
}

.faq-accordion-container h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
}

.faq-image-container {
    flex: 1;
    height: 100%;
    min-width: 300px;
}

.faq-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-pregunta {
    display: block;
    width: 100%;
    background-color: rgba(212, 67, 0, 0.5);
    color: #ffffff;
    padding: 15px 20px;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: bold;
    transition: background-color 0.3s;
}

.faq-pregunta:hover {
    background-color: #e66700;
}

.faq-respuesta {
    background-color: #222222;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-respuesta p {
    margin: 15px 0;
    line-height: 1.6;
    color: #ffffff;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

/* ----- SECCIÓN 6 - CONTACTO / FOOTER ----- */
#contacto {
    background-color: #333;
    color: #f7f7f7;
    padding: 40px 20px;
    font-family: sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-brand, .footer-info, .footer-social {
    padding: 15px;
    min-width: 200px;
}

.footer-brand .brand-name {
    font-family: "PrintuartNegrita", sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #ff4800;
    margin-bottom: 10px;
}

.footer-info h4, .footer-social h4 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    border-bottom: 2px solid #555;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.contact-link {
    text-decoration: none;
    color: #f7f7f7;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #ff4800;
}

.contact-link p {
    display: flex;
    align-items: center;
    margin: 0;
    line-height: 1.5;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.contact-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.social-link-group {
    text-decoration: none;
    color: #f7f7f7;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.social-link-group:hover {
    color: #ff4800;
}

.social-link-group p {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.social-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    transition: opacity 0.3s;
}

.social-link-group:hover .social-icon {
    opacity: 0.8;
}

/* ========================================= */
/* RESPONSIVE DESIGN - MEDIA QUERIES */
/* ========================================= */

/* Tablets grandes y pantallas medianas (hasta 1024px) */
@media (max-width: 1024px) {
    .cabecera {
        padding: 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .menu ul {
        gap: 15px;
    }
    
    .menu a {
        font-size: 0.9rem;
    }
    
    .carrusel {
        height: 500px;
    }
    
    /* Carrusel múltiple - 3 slides visibles */
    .multi-slide {
        flex: 0 0 33.333%;
    }
    
    .carrusel-multiple {
        padding: 0 40px;
    }
    
    #collage-section {
        gap: 15px;
    }
    
    .collage-container {
        width: 60%;
        height: 800px;
        gap: 8px;
    }
    
    .text-block {
        width: 35%;
        height: 820px;
    }
}

/* Tablets (hasta 768px) */
@media (max-width: 768px) {
    
    .cabecera {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .menu ul {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .menu a {
        font-size: 0.85rem;
    }
    
    .titulos_separadores {
        width: 90%;
        padding: 15px;
    }
    
    /* Carrusel múltiple - 2 slides visibles */
    .carrusel-multiple {
        padding: 0 35px;
    }
    
    .multi-slide {
        flex: 0 0 50%;
        padding: 8px;
    }
    
    .multi-prev, .multi-next {
        padding: 8px 12px;
        font-size: 20px;
    }
    
    .btn-catalogo {
        width: 180px;
        font-size: 24px;
        height: 35px;
    }
    
    /* Collage y texto */
    #collage-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .collage-container {
        width: 100%;
        height: auto;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        gap: 8px;
        padding: 8px;
    }
    
    .text-block {
        width: 100%;
        height: auto;
        min-height: 300px;
        overflow-y: visible;
    }
    
    /* FAQ */
    #faq-section {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        gap: 30px;
    }
    
    .faq-accordion-container,
    .faq-image-container {
        width: 100%;
        max-width: none;
        flex: none;
    }
    
    .faq-image-container {
        order: -1;
        margin-bottom: 20px;
        min-width: auto;
    }
    
    /* Footer */
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand, .footer-info, .footer-social {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        border-bottom: 1px solid #555;
        padding-bottom: 20px;
    }
    
    .footer-social {
        border-bottom: none;
    }
    
    .contact-link p,
    .social-link-group p {
        justify-content: center;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }
    
    .menu ul {
        gap: 10px;
    }
    
    .menu a {
        font-size: 0.75rem;
        padding: 5px;
    }
    
    .titulos_separadores {
        width: 95%;
        padding: 10px;
    }
    
    /* Carrusel múltiple - 1 slide visible */
    .carrusel-multiple {
        padding: 0 30px;
    }
    
    .multi-slide {
        flex: 0 0 100%;
        padding: 5px;
    }
    
    .multi-prev, .multi-next {
        padding: 6px 10px;
        font-size: 18px;
    }
    
    .multi-prev {
        left: 5px;
    }
    
    .multi-next {
        right: 5px;
    }
    
    .btn-catalogo {
        width: 150px;
        font-size: 20px;
        height: 30px;
    }
    
    /* Collage - 2 columnas */
    .collage-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 5px;
    }
    
    .text-block {
        padding: 15px;
    }
    
    /* FAQ */
    #faq-section {
        padding: 30px 15px;
    }
    
    .faq-pregunta {
        padding: 12px 15px;
    }
    
    .faq-respuesta {
        padding: 0 15px;
    }
    
    /* Footer */
    #contacto {
        padding: 30px 15px;
    }
    
    .footer-brand, .footer-info, .footer-social {
        padding: 10px;
    }
    
    .contact-icon,
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

/* Móviles muy pequeños (hasta 360px) */
@media (max-width: 360px) {
    .cabecera {
        padding: 10px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .menu ul {
        gap: 8px;
    }
    
    .menu a {
        font-size: 0.7rem;
    }
    
    .multi-prev, .multi-next {
        padding: 5px 8px;
        font-size: 16px;
    }
    
    .btn-catalogo {
        width: 130px;
        font-size: 18px;
        height: 28px;
    }
}