/* Variables */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --therciary--empresa: #0056b3;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f1c40f;
    --info-color: #3498db;
}

/* Reset y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}
/* Header */
.header {
    background: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    background: var(--dark-color);
    color: white;
    padding: 10px 0;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav {
    padding: 20px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 10px 0 6px 0;
    background: transparent;
}

.logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}

.logo-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo h1 {
    font-size: 1.38rem;
    color: var(--therciary--empresa);
    font-weight: 800;
    margin: 0;
    line-height: 1.08;
    text-align: left;
    letter-spacing: 1px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.logo p {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin: 0;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.92;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}


/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn i {
    font-size: 1.2rem;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Estilos para la página de Catálogo */
.catalogo-filtros {
    background: var(--light-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.filtros-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: white;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filtro-btn:hover,
.filtro-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.catalogo-productos {
    padding: 60px 0;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.producto-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.producto-imagen {
    height: 250px;
    overflow: hidden;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.producto-card:hover .producto-imagen img {
    transform: scale(1.1);
}

.producto-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.producto-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.producto-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.producto-detalles {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.producto-detalles .marca {
    color: var(--primary-color);
    font-weight: 500;
}

.producto-detalles .stock {
    color: var(--success-color);
    font-weight: 500;
}

.producto-card .btn {
    margin-top: auto;
    text-align: center;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.producto-card {
    animation: fadeInUp 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .catalogo-hero {
        padding: 100px 0;
        min-height: 400px;
    }

    .hero-background {
        background-size: 100% 100%;
    }

    .catalogo-hero h1 {
        font-size: 2rem;
    }

    .filtros-buttons {
        padding: 0 15px;
    }

    .filtro-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .productos-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .producto-imagen {
        height: 200px;
    }

    .catalogo-filtros {
        padding: 15px 0;
    }

    .catalogo-hero p {
        font-size: 1.2rem;
        padding: 0 20px;
    }
}

/* Estilos para el botón de cotización */
.btn-cotizacion {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-cotizacion:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Estilos para el contenedor */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    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-logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.footer-info h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 20px;
    color: var(--light-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mejoras de Responsividad para Menú Móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.menu-toggle i {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .contact-info {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        display: block;
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
        color: var(--dark-color);
        border-bottom: 1px solid #eee;
        text-decoration: none;
    }
    
    .nav-links a:hover {
        background: var(--light-color);
        color: var(--primary-color);
    }
    
    /* Overlay para el menú móvil */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
    
    .menu-overlay.active {
        display: block;
    }
}

/* Mejoras de Responsividad para Texto */
body {
    font-size: 16px;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* Mejoras de Responsividad para Espaciado */
.container {
    padding: 0 15px;
    margin: 0 auto;
    max-width: 1200px;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 40px 0;
    }
}

/* Mejoras de Responsividad para Botones */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    white-space: nowrap;
}

@media screen and (max-width: 480px) {
    .btn {
        width: 100%;
        margin: 5px 0;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        padding: 7px 0 4px 0;
    }
    .logo-img {
        height: 36px;
    }
    .logo-texts {
        align-items: center;
    }
    .logo h1 {
        font-size: 0.95rem;
        text-align: center;
    }
    .logo p {
        font-size: 0.7rem;
        text-align: center;
    }
}

.footer-contact {
    margin-bottom: 2rem;
}

.footer-contact h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-group {
    margin-bottom: 1.5rem;
}

.contact-group h4 {
    color: #007bff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-group p {
    color: #fff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-group i {
    color: #007bff;
    width: 20px;
    text-align: center;
}
