/* General Styles */

@font-face {
    font-family: 'BreeSerif-Regular';
    src: url('BreeSerif-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Blacker Sans Display';
    src: url('blacker-sans-display-trial.regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto';
    src: url('NotoSansSunuwar-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;    
    background-image: url('Sole portada 2.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Fondo transparente para que se vea el fondo global */
.hero,
.about {
    background-color: transparent !important;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo {
    height: 2500px; /* Ajusta el tamaño del logo según sea necesario */
    width: 2500px;
}


.top-header {
    background-color: #b28e0e;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}

.top-header p {
    margin: 0;
    font-weight: bold;
}

.whatsapp-link {
    color: #ffffff; /* Color oficial de WhatsApp */
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-link:hover {
    text-decoration: underline;
}


.header h1 {
    margin: 0;
    font-size: 1.8rem;
    text-align: center;
}

.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-list li {
    display: inline;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #ff7f50;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 118px; /* Ajusta el tamaño según sea necesario */
    width: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    color: white;
}



.hero h2 {
    font-family: 'Blacker Sans Display';
    font-size: 5rem;
    margin-bottom: 10px;
    font-weight: normal;
}


.hero p {
    font-family: 'Blacker Sans Display';
    font-size: 42px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #b28e0e;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #000000;
}

.product-section {
    padding: 60px 20px;
    background-color: #e4e4e4;
}

.product-section-2 {
    padding: 60px 20px;
    background-color: #ffffff;
}

.product-section-2 .product-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


.product-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.product-text {
    flex: 1 1 45%;
    color: #333;
}

.product-text h2 {
    font-family: 'Blacker Sans Display';
    font-size: 32px;
    margin-bottom: 15px;
}

.product-text p {
    font-size: 18px;
    line-height: 1.6;
}

.product-image {
    flex: 1 1 45%;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.carousel {
    position: relative;
    flex: 1 1 45%;
    overflow: hidden;
    max-width: 100%;
    height: 400px; /* altura personalizada */
}

.carousel-track {
    display: flex;
    height: 100%; /* importante para que las imágenes llenen verticalmente */
    transition: transform 0.5s ease-in-out;
}

.carousel-track img {
    width: 100%;       /* mostrar una imagen a la vez */
    height: 100%;      /* que llene verticalmente */
    flex: 0 0 100%;    /* no se encoja ni crezca */
    object-fit: cover;
    border-radius: 12px;
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

#canceles .carousel,
#cortinas .carousel,
#espejos .carousel {
    height: 700px;
}

#canceles .carousel-track,
#canceles .carousel-track img,
#cortinas .carousel-track,
#cortinas .carousel-track img,
#espejos .carousel-track,
#espejos .carousel-track img {
    height: 100%;
}






.industries-grid {
    display: flex;
    font-family: 'Noto';
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 40px auto 0;
}

.industries-grid .btn {
    min-width: 160px;
    text-align: center;
}

.whatsapp-link {
    color: #ffffff; /* Color oficial de WhatsApp */
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.products/*, .about, .industries*/ {
    text-align: center;
}

.products h2/*, .about h2, .industries h2*/{
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about {
    position: relative;
    text-align: center;

    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    color: #fff;
    padding: 100px 20px;
    z-index: 1;
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about h2 {
    font-family: 'Blacker Sans Display';
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 10px;
}

.about p {
    font-family: 'Noto';
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: normal;
}


.industries {
    text-align: center;
    font-family: Arial, sans-serif;
    width: 100%;
    margin: 0;
    padding: 60px 20px;
    color: #333;
    background-color: #ffffff;
}



.industries h2 {
    font-family: 'Blacker Sans Display';
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 15px;
}

.industries ul {
    list-style-type: disc;
    padding-left: 0;
    display: inline-block;
    text-align: left;
}

.industries li {
    font-size: 24px;
    margin: 5px 0;
}


.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.product-item {
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.product-item:hover {
    transform: scale(1.08);
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.25);
}
.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}







.contact-section {
    background-color: #e4e4e4;
    padding: 2rem 0;
    text-align: center;
}

.contact-section h2 {
    font-family: 'Blacker Sans Display';
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.contact-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-family: 'Noto';
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.contact-info img {
    width: 24px;
    height: 24px;
}

.contact-info p {
    font-family: 'Noto';
    margin: 0;
    font-size: 1rem;
}

.contact-info a {
    color: black; /* Color verde característico de WhatsApp */
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #128C7E; /* Cambia a un tono más oscuro al pasar el cursor */
}




/* Footer */
.footer {
    background: #b28e0e;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

html {
    scroll-behavior: smooth;
}

.multi-line-text {
    white-space: pre-line;
    font-family: 'Noto';
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-bullets {
    padding-left: 1.2em;
    font-family: 'Noto';
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.product-bullets li {
    margin-bottom: 8px;
    list-style-type: disc;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}



/* Media Query para dispositivos móviles */
@media screen and (max-width: 480px) {
    .container {
        width: 95%; /* Hace que el contenido se ajuste mejor en móviles */
        max-width: 100%;
    }

    .header-container {
        flex-direction: column; /* Acomoda el logo y menú en columna */
        align-items: center;
        text-align: center;
        width: 100%; /* Asegura que ocupe toda la pantalla */
        padding: 0 10px; /* Reduce el padding lateral */
    }
    .header {
        padding: 10px 0; /* Reduce el padding para evitar desbordes */
    }

    .logo-title {
        flex-direction: column;
        gap: 5px; /* Reduce el espacio entre logo y título */
    }

    .logo {
        height: 250px; /* Reduce el tamaño del logo */
    }

    .nav-menu {
        flex-direction: column; /* Asegura que el menú no se desborde */
        align-items: center;
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        padding: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 10px 0; /* Asegura que los enlaces sean fáciles de tocar */
    }

    .hero {
        padding: 50px 15px; /* Reduce padding para evitar desbordes */
        background-size: cover; /* Asegura que la imagen de fondo se ajuste */
    }

    .hero h2 {
        font-size: 32px; /* Reduce el tamaño del título para móviles */
    }

    .hero p {
        font-size: 16px;
    }

    .product-list {
        grid-template-columns: 2fr; /* Una columna en pantallas pequeñas */
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Asegura que los elementos se apilen */
    }

    .contact-item {
        padding: 1rem;
    }

    .footer {
        font-size: 0.8rem;
    }

    body {
        background-attachment: scroll !important;
    }

    body::before {
        position: absolute !important;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 95%; /* Ajusta el contenido en tablets y móviles */
        max-width: 100%;
    }

    .header-container {
        flex-direction: column; /* Pone el logo y menú en columna */
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    .header {
        padding: 10px 0;
    }

    .logo-title {
        flex-direction: column;
        gap: 5px;
    }

    .logo {
        height: 40px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        padding: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .hero {
        padding: 50px 15px;
        background-size: cover;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    /* Ajuste de columnas en tablets */
    .product-list {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en pantallas medianas */
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        padding: 1rem;
    }

    .footer {
        font-size: 0.8rem;
    }
}
