/* Estilos para la versión de escritorio idéntica a móvil */

/* Ajustes para el espaciado del contenido */
.site-container {
    padding-top: 20px; /* Reducido ya que el body ya tiene padding-top */
    max-width: 100%;
    margin: 0 auto;
}

/* Asegurar que el header se muestre correctamente */
#header-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Asegurar que el footer se muestre correctamente */
#footer-placeholder {
    width: 100%;
    background: #0a4b2a;
    color: white;
}

/* Estilos generales */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.site-container {
    padding-top: 180px;
    max-width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.machines-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../img/maquinas-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

.machines-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MDAiIGhlaWdodD0iNjAwIiB2aWV3Qm94PSIwIDAgNjAwIDYwMCI+PHBhdGggZmlsbD0iI2ZmYzEwNyIgZmlsbC1vcGFjaXR5PSIwLjA1IiBkPSJNNDQwIDMwMEM0NDAgMTc5LjQgMzQ4LjYgOTAgMjM1IDkwUzMwIDE3OS40IDMwIDMwMHM5MS40IDIxMCAyMDUgMjEwIDIwNS05MS40IDIwNS0yMTB6Ii8+PC9zdmc=') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.machines-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.machines-hero h1 {
    font-size: 2.2rem;
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #fff, #7CDA24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.machines-hero p {
    font-size: 1.1rem;
    max-width: 100%;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Section Title */
.section-title {
    text-align: center;
    color: #0a4b2a;
    font-size: 1.8rem;
    margin: 0 0 3rem 0;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d7a3d, #5cb01c);
    border-radius: 2px;
}

/* Machines Section */
.machines-section {
    padding: 4rem 20px;
    background: white;
}

.machine-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.machine-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0f0e6;
}

.machine-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.machine-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 75, 42, 0.1) 0%, rgba(10, 75, 42, 0.4) 100%);
    transition: opacity 0.3s ease;
}

.machine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.machine-card:hover .machine-img img {
    transform: scale(1.05);
}

.machine-content {
    padding: 1.5rem;
    text-align: center;
}

.machine-content h2 {
    color: #0a4b2a;
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}

.machine-content p {
    color: #4a6b57;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.machine-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.machine-specs li {
    color: #4a6b57;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.machine-specs li i {
    color: #0d7a3d;  /* Enhanced contrast color */
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Process Section */
.process-section {
    padding: 4rem 20px;
    background: #f8f9fa;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #0d7a3d, #5cb01c);  /* Enhanced contrast colors */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(13, 122, 61, 0.2);  /* Enhanced contrast shadow */
    position: relative;
}

.step-number:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px dashed #5cb01c;  /* Enhanced contrast color */
    border-radius: 50%;
    animation: rotate 15s linear infinite;
    opacity: 0.3;
}

.step-card h3 {
    color: #0a4b2a;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
}

.step-card p {
    color: #4a6b57;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Container para mantener el ancho máximo */
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Media Queries para ajustes mínimos en escritorio */
@media (min-width: 768px) {
    .machines-hero h1 {
        font-size: 2.5rem;
    }
    
    .machines-hero p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0;
    }
    
    .machine-cards {
        max-width: 800px;
    }
    
    .process-steps {
        max-width: 800px;
    }
}

/* Animaciones */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
