/* ========================================
   products.css - Alliance Global
   Products Page Styles
   ======================================== */

/* Page Hero & Breadcrumb styles moved to style.css */

/* ========================================
   PRODUCTS PAGE SECTION
   ======================================== */
.products-page-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.section-header {
    margin-bottom: 50px;
    position: relative;
}

.section-header .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(183, 147, 72, 0.08);
    border-radius: 6px;
    border-left: 3px solid var(--accent);
}

.section-header .section-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.section-header .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-header .section-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Decorative separator */
.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 20px auto 0;
}

/* ========================================
   FILTER LABEL
   ======================================== */
.filter-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-label-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(7, 41, 98, 0.08), rgba(183, 147, 72, 0.08));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--primary);
}

.filter-label-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.3px;
}

/* ========================================
   CATEGORY FILTER TABS
   ======================================== */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(7, 41, 98, 0.05);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(7, 41, 98, 0.3);
}

.filter-btn .filter-text {
    font-weight: 500;
}

.filter-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(183, 147, 72, 0.15);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.filter-btn i {
    font-size: 12px;
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ========================================
   PRODUCT CARD
   ======================================== */
.product-page-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
    position: relative;
}

.product-page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    z-index: 3;
}

.product-page-card:hover::before {
    transform: scaleX(1);
}

.product-page-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(7, 41, 98, 0.12);
    border-color: rgba(183, 147, 72, 0.3);
}

/* Product Image */
.product-page-img {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(7, 41, 98, 0.04), rgba(183, 147, 72, 0.04));
}

.product-page-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-page-card:hover .product-page-img img {
    transform: scale(1.08);
}

.product-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: rgba(7, 41, 98, 0.12);
    background: linear-gradient(135deg, rgba(7, 41, 98, 0.02), rgba(183, 147, 72, 0.04));
}

/* Image Hover Overlay */
.product-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 41, 98, 0) 0%, rgba(7, 41, 98, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.product-page-card:hover .product-img-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.product-page-card:hover .overlay-btn {
    transform: translateY(0);
}

.overlay-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1) !important;
}

/* Category Badge */
.product-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: rgba(7, 41, 98, 0.9);
    backdrop-filter: blur(8px);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(7, 41, 98, 0.3);
    z-index: 3;
}

/* Product Info */
.product-page-info {
    padding: 24px;
}

.product-page-name {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-page-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-page-name a:hover {
    color: var(--accent);
}

.product-page-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Quick Specs */
.product-quick-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.quick-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
}

.quick-spec i {
    color: var(--accent);
    font-size: 11px;
    width: 14px;
    text-align: center;
}

.quick-spec strong {
    color: var(--primary);
    font-weight: 600;
}

/* Product Buttons */
.product-btns {
    display: flex;
    gap: 10px;
}

/* Product Details Button */
.product-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 14px;
    background: var(--primary);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-view-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 41, 98, 0.3);
}

/* Send Inquiry Button */
.product-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 14px;
    background: transparent;
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--accent);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-contact-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 147, 72, 0.3);
}

/* ========================================
   NO PRODUCTS STATE
   ======================================== */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.no-products i {
    font-size: 60px;
    color: rgba(7, 41, 98, 0.15);
    margin-bottom: 20px;
}

.no-products h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.no-products p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* CTA styles moved to style.css */

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .products-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .products-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-filters {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .products-page-section {
        padding: 40px 0;
    }

    .products-page-grid {
        gap: 20px;
    }

    .category-filters {
        gap: 8px;
        padding: 14px;
        margin-bottom: 35px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .section-header .section-subtitle {
        font-size: 14px;
    }

    .product-page-img {
        height: 200px;
    }

    .product-page-info {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .products-page-section {
        padding: 30px 0;
    }

    .products-page-grid {
        grid-template-columns: 1fr;
    }

    .product-page-img {
        height: 220px;
    }

    .category-filters {
        gap: 6px;
        padding: 12px;
    }

    .filter-btn {
        padding: 7px 12px;
        font-size: 11px;
    }

    .product-quick-specs {
        padding: 12px;
    }

    .product-btns {
        flex-direction: column;
    }

    .product-view-btn {
        width: 100%;
        height: auto;
        padding: 12px;
    }
}
