/* ========================================
   MODERN PRODUCTS PAGE 2025
   SEO & Mobile Optimized
   ======================================== */

/* Hero Section */
.modern-products-hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    overflow: hidden;
}

.products-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Modern Breadcrumb */
.modern-breadcrumb {
    margin-bottom: 32px;
}

.modern-breadcrumb .breadcrumb {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid rgba(0, 32, 82, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin: 0;
}

.modern-breadcrumb .breadcrumb-item {
    font-size: 14px;
    font-weight: 500;
}

.modern-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.modern-breadcrumb .breadcrumb-item a:hover {
    color: #ff5e15;
}

.modern-breadcrumb .breadcrumb-item.active {
    color: #002052;
    font-weight: 600;
}

.modern-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #cbd5e1;
    padding: 0 12px;
}

/* Hero Title */
.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.title-gradient {
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.title-navy {
    color: #002052;
    display: inline-block;
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Background Decoration */
.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 94, 21, 0.08) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 32, 82, 0.06) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

/* Products Grid Section */
.modern-products-grid {
    padding: 100px 0;
    background: #ffffff;
}

/* Blog Style Grid */
.products-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Blog Card */
.product-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8eef5;
}

.product-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 32, 82, 0.12);
    border-color: #ff5e15;
}

.card-link-wrapper {
    text-decoration: none;
    display: block;
    color: inherit;
}

/* Product Blog Image */
.product-blog-image {
    position: relative;
    width: 100%;
    padding-bottom: 65%;
    overflow: hidden;
    background: #f8f9fb;
}

.product-blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-blog-card:hover .product-blog-image img {
    transform: scale(1.05);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 32, 82, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-blog-card:hover .image-overlay {
    opacity: 1;
}

.overlay-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 94, 21, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #002052;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge i {
    font-size: 10px;
    color: #ff5e15;
}

/* Product Blog Content */
.product-blog-content {
    padding: 28px 24px 24px;
}

.product-blog-title {
    font-size: 20px;
    font-weight: 700;
    color: #002052;
    margin: 0 0 12px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    min-height: 56px;
}

.product-blog-card:hover .product-blog-title {
    color: #ff5e15;
}

.product-blog-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 20px 0;
    min-height: 66px;
}

/* Product Blog Footer */
.product-blog-footer {
    display: flex;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e8eef5;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff5e15;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-blog-card:hover .read-more {
    gap: 12px;
}

.read-more i {
    font-size: 12px;
}

/* CTA Section */
.products-cta-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 56px;
    background: linear-gradient(135deg, #002052 0%, #003875 100%);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 32, 82, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 94, 21, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 94, 21, 0.2) 0%, rgba(255, 94, 21, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff5e15;
    font-size: 32px;
}

.cta-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.cta-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    color: white;
    border-radius: 100px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 94, 21, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    gap: 16px;
    background: white;
    color: #ff5e15;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 94, 21, 0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .products-blog-grid {
        gap: 28px;
    }
}

@media (max-width: 1024px) {
    .products-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .modern-products-hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .modern-products-grid {
        padding: 60px 0;
    }
    
    .products-blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .product-blog-content {
        padding: 24px 20px 20px;
    }
    
    .product-blog-title {
        font-size: 18px;
        min-height: auto;
    }
    
    .product-blog-excerpt {
        font-size: 14px;
        min-height: auto;
    }
    
    .products-cta-section {
        padding: 60px 0;
    }
    
    .cta-text h2 {
        font-size: 24px;
    }
    
    .cta-text p {
        font-size: 15px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-products-hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .modern-breadcrumb .breadcrumb {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .product-badge {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .product-blog-title {
        font-size: 17px;
    }
    
    .product-blog-excerpt {
        font-size: 13px;
    }
    
    .read-more {
        font-size: 13px;
    }
    
    .cta-box {
        padding: 32px 24px;
    }
    
    .cta-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
    
    .cta-text h2 {
        font-size: 20px;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }
}
