/* Importar fuentes personalizadas */
@import url('fonts.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: white;
    color: black;
}

.hero-section {
    height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 60px; /* Padding vertical 20px, horizontal 60px */
    margin-top: 0;
    background: url('../images/inicio-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0; /* Eliminado border-radius para que llegue a los extremos */
    margin-left: 0;
    margin-right: 0;
    transform: scaleX(-1); /* Voltear horizontalmente para desktop */
}

/* Contenedor para el contenido que no debe voltearse */
.hero-content {
    transform: scaleX(-1); /* Voltear el contenido de vuelta para que sea legible */
}

.container {
    max-width: 800px;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 2.5rem; /* Reducido de 3rem a 2.5rem */
    font-weight: var(--gothic-bold);
    color: #93C121; /* Verde de la marca */
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: var(--gothic-semi);
    color: #93C121; /* Verde de la marca */
    margin-bottom: 30px;
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ffffff; /* Texto blanco */
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .company-name {
        font-size: 2.2rem; /* Reducido proporcionalmente para móvil */
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 20px 30px; /* Padding horizontal reducido para móvil */
        background-image: url('../images/incio-banner-movil.png'); /* Imagen específica para móvil */
        background-position: center; /* Posición centrada para la imagen móvil */
        transform: none; /* No voltear en móvil */
    }
    
    /* El contenido no debe voltearse en móvil */
    .hero-content {
        transform: none !important; /* Eliminar la transformación en móvil */
    }
}

/* Dropdown Menu */
.dropdown-container {
    position: relative;
    margin: -2;
    z-index: 1500;
    width: 100%;
}

.dropdown-toggle {
    background: none;
    color: #666;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    margin-left: 20px;
}

.dropdown-icon {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #666;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active .dropdown-icon {
    transform: rotate(180deg);
    border-top: 8px solid #333;
}

.dropdown-menu {
    position: relative;
    width: 100vw;
    height: 350px;
    background: #93C121;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: none;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    z-index: 1000;
    margin-left: calc(-50vw + 50%);
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-item {
    background: none;
    border: none;
    padding: 0;
    text-align: center;
    cursor: pointer;
    font-size: 40px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Media queries para el dropdown en móviles */
@media (max-width: 768px) {
    .dropdown-menu {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    
    .dropdown-item {
        font-size: 28px;
        padding: 15px 0;
        width: 100%;
        height: auto;
        margin: 5px 0;
    }
    
    .dropdown-item:hover {
        transform: translateY(0);
        background-color: rgba(0, 0, 0, 0.1);
    }
}

/* Nueva sección de proceso */
.process-section {
    background-color: #f5f5f5;
    padding: 30px 20px;
    min-height: 500px;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.video-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    width: 450px;
    height: 350px;
    background: #bed9b6;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.video-container:hover {
    transform: scale(1.02);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.video-container:hover .product-image {
    transform: scale(1.05);
}

.play-button {
    width: 80px;
    height: 80px;
    background: #93C121;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
    position: relative;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.leaf-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #93C121;
}

.content-section {
    flex: 1;
    padding: 20px;
}

.process-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #93C121;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-align: center;
}

.process-subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    color: #153862;
    margin-bottom: 25px;
    text-align: center;
}

.process-description {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

/* Modal para el video */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
}

.close-button {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .process-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .video-container {
        width: 300px;
        height: 200px;
    }
    
    .process-title {
        font-size: 2rem;
    }
    
    .process-subtitle {
        font-size: 1.2rem;
    }
    
    .process-description {
        font-size: 1rem;
    }
}

/* Nueva sección de información */
.info-section {
    background-color: #f5f5f5;
    padding: 30px 10px;
    min-height: 500px;
}

.info-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-container .video-container {
    width: 450px;
    height: 350px;
    background: #bed9b6;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

.info-container .video-container:hover {
    transform: scale(1.02);
}

.info-container .video-container:hover .info-image {
    transform: scale(1.05);
}

.info-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.text-section {
    flex: 1;
    padding: 20px;
}

.info-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #93C121;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.info-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

/* Responsive para la nueva sección */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .info-container .video-container {
        width: 300px;
        height: 200px;
    }
    
    .info-title {
        font-size: 2rem;
    }
    
    .info-subtitle {
        font-size: 1.2rem;
    }
    
    .info-description {
        font-size: 1rem;
    }
}

/* Sección de carrusel de productos */
.carousel-section {
    background: #f8f9fa;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.carousel-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: var(--gothic-bold);
    color: #153862;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(300px * 13); /* 13 elementos * 300px cada uno */
}

.carousel-item {
    flex: 0 0 300px;
    margin-right: 30px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.carousel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    text-align: center;
}

.carousel-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: var(--gothic-bold);
    margin: 0;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 8)); /* Mueve 8 elementos (la mitad) */
    }
}

/* Pausar animación en hover */
.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .carousel-item {
        flex: 0 0 250px;
        margin-right: 20px;
    }
    
    .carousel-image {
        height: 150px;
    }
    
    .carousel-caption {
        padding: 15px 10px 10px;
    }
    
    .carousel-caption h3 {
        font-size: 0.9rem;
    }
    
    .carousel-track {
        width: calc(250px * 13);
        animation: scroll-mobile 25s linear infinite;
    }
    
    @keyframes scroll-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 8));
        }
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 200px;
        margin-right: 15px;
    }
    
    .carousel-image {
        height: 120px;
    }
    
    .carousel-caption h3 {
        font-size: 0.8rem;
    }
    
    .carousel-track {
        width: calc(200px * 13);
        animation: scroll-small 20s linear infinite;
    }
    
    @keyframes scroll-small {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 8));
        }
    }
}


/* Elementos flotantes */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}



.scroll-to-top {
    position: fixed;
    bottom: 35px;
    left: 2%;
    z-index: 1000;
    cursor: pointer;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    background: #9ACD32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(154, 205, 50, 0.4);
    transition: transform 0.3s ease;
}

.scroll-arrow:hover {
    transform: scale(1.1);
}

/* Responsive para la sección de exposiciones */
@media (max-width: 768px) {
    .expo-title {
        font-size: 1.8rem;
    }
    
    .expo-logos {
        flex-direction: column;
        gap: 30px;
    }
    
    .logo-small {
        width: 100px;
        height: 70px;
    }
    
    .logo-large {
        width: 160px;
        height: 120px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

/* Sección de descarga de catálogo */
.catalog-section {
    background-color: white;
    padding: 10px 20px;
    min-height: 300px;
}

.catalog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-header {
    text-align: center;
    margin-bottom: 60px;
}

.catalog-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #93C121;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.catalog-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.catalog-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.catalog-image-placeholder {
    width: 400px;
    height: 500px;
    border: 2px solid #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}

.placeholder-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.placeholder-text {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.form-column {
    flex: 2;
    padding: 20px;
}

.form-title {
    font-size: 1.4rem;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
}

.highlight {
    color: #153862;
    font-weight: bold;
}

.catalog-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.form-input {
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #93C121;
    box-shadow: 0 0 0 2px rgba(34, 139, 34, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.download-btn {
    background-color: #93C121;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.download-btn:hover {
    background-color: #7EA01C;
}

/* Responsive para la sección de catálogo */
@media (max-width: 768px) {
    .catalog-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .catalog-title {
        font-size: 2rem;
    }
    
    .catalog-description {
        font-size: 1.1rem;
    }
    
    .catalog-image-placeholder {
        width: 300px;
        height: 400px;
    }
    
    .form-title {
        font-size: 1.2rem;
    }
    
    .catalog-form {
        max-width: 100%;
    }
}

/* Sección de orientación técnica */
.guidance-section {
    background-color: white;
    padding: 60px 40px;
    min-height: 400px;
}

.guidance-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.guidance-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.guidance-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width:1000px;
    margin: 0 auto;
}

.guidance-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.highlight-gold {
    color: #153862;
    font-weight: bold;
}

.highlight-green {
    color: #93C121;
    font-weight: bold;
}

/* Responsive para la sección de orientación */
@media (max-width: 768px) {
    .guidance-title {
        font-size: 2rem;
    }
    
    .guidance-text {
        font-size: 1.1rem;
    }
    
    .guidance-section {
        padding: 40px 20px;
    }
}
