/* ===== PRODUCTS PAGE ===== */
.products-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.products-page .navbar + * {
    margin-top: 0 !important;
}

/* ===== BANNER ===== */
.products-banner {
    position: relative;
    width: 100%;
    height: 768px;
    background: #f5f5f5 center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.products-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.products-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.products-banner-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -1px;
    margin: 0;
    margin-bottom: 30px;
}

.products-banner-title strong {
    font-weight: 700;
}

.hero-animate {
    opacity: 0;
    animation: heroReveal 0.8s ease-out forwards;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Banner debajo con dos botones (simulado en la imagen) */
.products-banner-buttons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 3;
}

.products-banner-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.products-banner-btn:hover {
    background: #ffffff;
    color: #142029;
    transform: translateY(-3px);
}

@media (max-width: 991.98px) {
    .products-banner {
        height: 520px;
    }
    
    .products-banner-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 575.98px) {
    .products-banner {
        height: 340px;
    }
    
    .products-banner-title {
        font-size: 2rem;
        padding: 0 20px;
    }
    
    .products-banner-buttons {
        flex-direction: column;
        bottom: 20px;
        gap: 12px;
    }
    
    .products-banner-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 0;
    background: #ffffff;
    margin-top: 0 !important;
}

.products-section::before {
    display: none;
}

.products-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
}

/* Eliminar bordes de columnas Bootstrap */
.product-row,
.product-row .container,
.product-row .row,
.product-row .col-12,
.product-row [class*="col-"] {
    border: none !important;
    outline: none !important;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none !important;
    outline: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    min-height: 300px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border: none !important;
    outline: none !important;
}

/* ===== PRODUCT IMAGE ===== */
.product-image-wrapper {
    width: 50%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.product-image {
    max-width: 120%;
    max-height: 120%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: rotate(-5deg) scale(1.1);
}

/* ===== PRODUCT INFO ===== */
.product-info {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.product-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
    letter-spacing: 0.5px;
}

/* ===== PRODUCT BUTTON ===== */
.product-btn {
    display: inline-block;
    padding: 14px 42px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-btn:hover {
    background: #fff;
    color: #142029;
    text-decoration: none;
}

/* ===== AJUSTES PARA 3 COLUMNAS ===== */
.col-md-4 .product-card {
    flex-direction: column;
    min-height: 450px;
}

.col-md-4 .product-card .product-image-wrapper {
    width: 100%;
    height: 250px;
    min-height: 250px;
    padding: 20px;
}

.col-md-4 .product-card .product-info {
    width: 100%;
    padding: 20px 16px;
    gap: 12px;
}

.col-md-4 .product-card .product-name {
    font-size: 1.5rem;
}

.col-md-4 .product-card .product-btn {
    padding: 10px 28px;
    font-size: 0.9rem;
}

/* ===== NO PRODUCTS ===== */
.no-products {
    text-align: center;
    padding: 100px 20px;
}

.no-products h3 {
    font-size: 2rem;
    color: #142029;
    margin-bottom: 16px;
}

.no-products p {
    font-size: 1.1rem;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .products-section {
        padding: 0;
    }
    
    .products-container {
        padding: 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-image-wrapper {
        width: 100%;
        height: 240px;
        min-height: 240px;
    }
    
    .product-info {
        width: 100%;
        padding: 30px 20px;
    }
    
    .product-name {
        font-size: 2rem;
    }
    
    .product-btn {
        padding: 12px 36px;
        font-size: 1rem;
    }
    
    /* Resetear ajustes de 3 columnas en tablet */
    .col-md-4 .product-card {
        flex-direction: column;
    }
    
    .col-md-4 .product-card .product-image-wrapper {
        width: 100%;
        height: 280px;
        min-height: 280px;
    }
    
    .col-md-4 .product-card .product-info {
        width: 100%;
    }
    
    .col-md-4 .product-card .product-name {
        font-size: 2rem;
    }
    
    .col-md-4 .product-card .product-btn {
        padding: 12px 36px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .products-section {
        padding: 0;
    }
    
    .product-card {
        min-height: auto;
    }
    
    .product-image-wrapper {
        height: 200px;
        min-height: 200px;
        padding: 20px;
    }
    
    .product-info {
        padding: 25px 16px;
    }
    
    .product-name {
        font-size: 1.6rem;
    }
    
    .product-btn {
        padding: 10px 28px;
        font-size: 0.9rem;
    }
    
    /* Resetear ajustes de 3 columnas en móvil */
    .col-md-4 .product-card .product-image-wrapper {
        height: 240px;
        min-height: 240px;
    }
    
    .col-md-4 .product-card .product-info {
        padding: 25px 16px;
    }
    
    .col-md-4 .product-card .product-name {
        font-size: 1.6rem;
    }
    
    .col-md-4 .product-card .product-btn {
        padding: 10px 28px;
        font-size: 0.9rem;
    }
}

/* ===== COLIBRÍES ANIMADOS ===== */
.product-hummingbird {
    position: absolute;
    opacity: 0.18;
    pointer-events: none;
    z-index: 10;
}

.product-hummingbird img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Colibríes individuales con diferentes animaciones */
.hummingbird-1 {
    top: 10%;
    left: 5%;
    width: 140px;
    animation: floatSlow 4s ease-in-out infinite;
}

.hummingbird-2 {
    top: 30%;
    right: 8%;
    width: 100px;
    animation: floatMedium 3.5s ease-in-out infinite 0.5s;
    transform: scaleX(-1);
}

.hummingbird-3 {
    bottom: 25%;
    left: 10%;
    width: 120px;
    animation: floatFast 3s ease-in-out infinite 1s;
}

.hummingbird-4 {
    top: 60%;
    right: 5%;
    width: 90px;
    animation: floatSlow 4.5s ease-in-out infinite 1.5s;
}

.hummingbird-5 {
    bottom: 15%;
    right: 12%;
    width: 110px;
    animation: floatMedium 3.8s ease-in-out infinite 0.8s;
}

.hummingbird-6 {
    top: 20%;
    left: calc(50% - 150px);
    width: 130px;
    animation: floatSlow 4.2s ease-in-out infinite 0.3s;
}

.hummingbird-7 {
    top: 45%;
    left: 48%;
    width: 95px;
    animation: floatMedium 3.6s ease-in-out infinite 1.2s;
}

.hummingbird-8 {
    bottom: 30%;
    left: 52%;
    width: 115px;
    animation: floatFast 3.3s ease-in-out infinite 0.6s;
}

/* Animaciones de flotación */
@keyframes floatSlow {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(-3deg); 
    }
}

@keyframes floatMedium {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(2deg); 
    }
}

@keyframes floatFast {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-12px) rotate(-2deg); 
    }
}

/* Responsive para colibríes */
@media (max-width: 991.98px) {
    .hummingbird-1, .hummingbird-4, .hummingbird-6, .hummingbird-7 { display: none; }
    
    .hummingbird-2 { width: 80px; opacity: 0.1; }
    .hummingbird-3 { width: 90px; opacity: 0.1; }
    .hummingbird-5 { width: 85px; opacity: 0.1; }
    .hummingbird-8 { width: 88px; opacity: 0.1; }
}

@media (max-width: 767.98px) {
    .product-hummingbird { display: none; }
}
