/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background-color: #ffffff;
    font-weight: 400;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 160px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #0052a3;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0052a3;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: 
        linear-gradient(135deg, rgba(0, 82, 163, 0.85) 0%, rgba(0, 123, 255, 0.85) 100%),
        url('../images/paisajeturbinassuelo.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/paisajeturbinassuelo.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    z-index: -1;
    animation: subtlePulse 15s ease-in-out infinite alternate;
}

@keyframes subtlePulse {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.04) rotate(0.5deg); }
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

/* Sección Equipos y Maquinaria */
.equipos-maquinaria {
    padding: 80px 0;
    background: white;
}

/* ===== GALERÍA DE EQUIPOS ===== */
.galeria-equipos {
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    padding: 5rem 0;
}

.equipos-galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.equipo-galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: all 0.5s ease;
    transform: translateY(0) scale(1);
    background: white;
}

.equipo-galeria-item:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.equipo-img-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.equipo-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: brightness(0.9) contrast(1.05);
}

.equipo-galeria-item:hover .equipo-img-container img {
    transform: scale(1.06) rotate(0.5deg);
    filter: brightness(0.75) contrast(1.1);
}

.equipo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 82, 163, 0.95));
    color: white;
    padding: 2.5rem;
    transform: translateY(70%);
    transition: all 0.5s ease;
}

.equipo-galeria-item:hover .equipo-overlay {
    transform: translateY(0);
}

.equipo-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.equipo-overlay p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.equipo-specs-overlay {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.equipo-specs-overlay span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* ===== MARCAS PRODUCTOS ===== */
.marcas-productos {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.marcas-galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.marca-galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    transform: translateY(0);
    background: white;
    border: 2px solid rgba(0, 82, 163, 0.05);
}

.marca-galeria-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(0, 82, 163, 0.2);
}

.marca-img-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.marca-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.98) saturate(1.02);
}

.marca-galeria-item:hover .marca-img-container img {
    transform: scale(1.03);
    filter: brightness(0.85) saturate(1.1);
}

.marca-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 82, 163, 0.85));
    color: white;
    padding: 1.5rem;
    transform: translateY(85%);
    transition: all 0.4s ease;
}

.marca-galeria-item:hover .marca-overlay {
    transform: translateY(0);
}

.marca-overlay h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.marca-overlay p {
    font-size: 0.9rem;
    opacity: 0.95;
    margin: 0;
    line-height: 1.3;
}

.equipos-maquinaria h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.equipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.equipo-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.equipo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.equipo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0052a3, #004c99);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.equipo-icon i {
    font-size: 24px;
    color: white;
}

.equipo-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.equipo-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.equipo-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #0052a3;
    font-weight: 500;
}

.spec i {
    width: 16px;
    color: #0052a3;
}

/* Sección Productos y Suministros */
.productos-suministros {
    padding: 80px 0;
    background: #f8f9fa;
}

.productos-suministros h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.producto-categoria {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.producto-categoria:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.categoria-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.categoria-header i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.categoria-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.producto-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.producto-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
}

.producto-item i {
    color: #28a745;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.producto-item span {
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Sección CTA */
.cta-section {
    background: linear-gradient(135deg, #0052a3 0%, #007bff 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #007bff;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #007bff;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 180px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Botón WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .equipos-grid,
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .equipo-card,
    .producto-categoria {
        padding: 20px;
    }
    
    .equipos-maquinaria,
    .productos-suministros {
        padding: 60px 0;
    }
} 