/* Punto Elin - CSS Adicional para Banners y Mejoras Visuales */

/* ============= Banners Profesionales ============= */
.banner {
    background: linear-gradient(135deg, rgba(15, 32, 46, 0.95) 0%, rgba(29, 52, 82, 0.95) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,149,0,0.05)" stroke-width="1"/></svg>');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 149, 0, 0.1) 0%, 
        rgba(255, 149, 0, 0.05) 50%, 
        rgba(0, 61, 130, 0.1) 100%);
    pointer-events: none;
}

.banner .text-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    animation: fadeInUp 0.8s ease-out;
}

.banner .text-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #FF9500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 0.6s ease-out;
}

.banner .text-content h2 {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ============= Banners de Página ============= */
.page-heading {
    background: linear-gradient(135deg, rgba(15, 32, 46, 0.95) 0%, rgba(29, 52, 82, 0.95) 100%);
    position: relative;
    padding: 80px 0;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Restaurar imagen original del banner en la página de productos */
.products-heading {
    background: linear-gradient(135deg, rgba(15, 32, 46, 0.78) 0%, rgba(29, 52, 82, 0.78) 100%),
                url('../images/BANNER%20PRODUCTOS.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 340px;
    padding: 120px 0 100px;
}

.page-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 149, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* About page heading */
.about-heading {
    background: linear-gradient(135deg, rgba(15, 32, 46, 0.78) 0%, rgba(29, 52, 82, 0.78) 100%),
                url('../images/BANNER%20NOSOTROS.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 340px;
    padding: 120px 0 100px;
}

/* Contact page heading */
.contact-heading {
    background: linear-gradient(135deg, rgba(15, 32, 46, 0.78) 0%, rgba(29, 52, 82, 0.78) 100%),
                url('../images/contact-heading.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 340px;
    padding: 120px 0 100px;
}

.page-heading .text-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.page-heading h4 {
    font-size: 16px;
    font-weight: 600;
    color: #FF9500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.page-heading h2 {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ============= Secciones ============= */
.latest-products,
.best-features,
.team-members,
.products,
.find-us,
.send-message {
    padding: 80px 0;
    position: relative;
}

.latest-products {
    background-color: #f9f9fb;
}

.best-features {
    background: linear-gradient(135deg, #fff 0%, #f9f9fb 100%);
}

/* ============= Botones Generales ============= */
.btn-primary,
.filled-button,
.btn-whatsapp {
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-heading a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.section-heading a:hover {
    color: var(--secondary-color);
}

.section-heading a i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.section-heading a:hover i {
    margin-left: 12px;
}

/* ============= Card General ============= */
.card {
    border: 2px solid #e8e8e8;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 61, 130, 0.08);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(0, 61, 130, 0.15);
}

/* ============= Imagen Hero ============= */
.right-image img,
.feature-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 61, 130, 0.15);
    transition: var(--transition);
}

.right-image img:hover,
.feature-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 61, 130, 0.25);
}

/* ============= Estilos de Hover Global ============= */
a {
    transition: var(--transition);
}

button {
    transition: var(--transition);
}

/* ============= Responsive Mejorado ============= */
@media (max-width: 1024px) {
    .banner .text-content h2 {
        font-size: 40px;
    }

    .products-heading {
        min-height: 320px;
        padding: 110px 0 90px;
    }

    .about-heading {
        min-height: 320px;
        padding: 110px 0 90px;
    }

    .contact-heading {
        min-height: 320px;
        padding: 110px 0 90px;
    }

    .page-heading h2 {
        font-size: 36px;
    }

    .latest-products,
    .best-features,
    .team-members,
    .products,
    .find-us,
    .send-message {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .banner {
        padding: 80px 0;
        min-height: 400px;
    }

    .banner .text-content h2 {
        font-size: 32px;
    }

    .banner .text-content h4 {
        font-size: 14px;
    }

    .page-heading {
        padding: 60px 0;
        min-height: 200px;
    }

    .products-heading {
        min-height: 260px;
        padding: 90px 0 70px;
    }

    .about-heading {
        min-height: 260px;
        padding: 90px 0 70px;
    }

    .contact-heading {
        min-height: 260px;
        padding: 90px 0 70px;
    }

    .page-heading h2 {
        font-size: 28px;
    }

    .page-heading h4 {
        font-size: 13px;
    }

    .latest-products,
    .best-features,
    .team-members,
    .products,
    .find-us,
    .send-message {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .banner {
        padding: 60px 0;
        min-height: 350px;
    }

    .banner .text-content h2 {
        font-size: 24px;
    }

    .banner .text-content h4 {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .page-heading {
        padding: 50px 0;
        min-height: 180px;
    }

    .products-heading {
        min-height: 220px;
        padding: 75px 0 60px;
    }

    .about-heading {
        min-height: 220px;
        padding: 75px 0 60px;
    }

    .contact-heading {
        min-height: 220px;
        padding: 75px 0 60px;
    }

    .page-heading h2 {
        font-size: 22px;
    }

    .page-heading h4 {
        font-size: 12px;
    }

    .latest-products,
    .best-features,
    .team-members,
    .products,
    .find-us,
    .send-message {
        padding: 40px 0;
    }

    .section-heading h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 50px 0;
        min-height: 300px;
    }

    .banner .text-content h2 {
        font-size: 20px;
    }

    .page-heading {
        padding: 40px 0;
        min-height: 150px;
    }

    .products-heading {
        min-height: 200px;
        padding: 68px 0 52px;
    }

    .about-heading {
        min-height: 200px;
        padding: 68px 0 52px;
    }

    .contact-heading {
        min-height: 200px;
        padding: 68px 0 52px;
    }

    .page-heading h2 {
        font-size: 18px;
    }

    .latest-products,
    .best-features,
    .team-members,
    .products,
    .find-us,
    .send-message {
        padding: 30px 0;
    }
}

/* ============= Estilos de Scroll ============= */
html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ============= Tipografía Mejorada ============= */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
}

p {
    color: #666;
}

/* ============= Overlay de Transición ============= */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
}
