/* Products Page Additional Styles */

.page-header {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.45) 0%, rgba(30, 58, 138, 0.40) 100%),
        url('../images/factory-worker-packaging-boxes.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.9;
}

/* remove gaps around split section */
.page-header { margin: 0; }
.brand-intro-split { padding: 0 !important; margin: 0 !important; }
.products-overview { padding-top: 80px !important; margin-top: 0; }

/* ── Brand Intro Split Section ── */
.brand-intro-split {
    display: flex;
    min-height: 520px;
}

.brand-intro-text {
    flex: 0 0 52%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 72px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* diagonal right edge */
.brand-intro-text::after {
    content: '';
    position: absolute;
    top: 0;
    right: -48px;
    width: 96px;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.brand-intro-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.brand-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 6s ease;
}

.brand-intro-split:hover .brand-intro-image img {
    transform: scale(1.04);
}

.brand-intro-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 80px;
    background: linear-gradient(to right, rgba(15,23,42,0.6), transparent);
    z-index: 1;
}

.intro-tag {
    display: inline-block;
    background: rgba(234, 88, 12, 0.25);
    border: 1px solid rgba(234, 88, 12, 0.6);
    color: #fb923c;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    width: fit-content;
}

.brand-intro-text h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.brand-intro-text h2 span { color: #f97316; }

.brand-intro-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.82);
    max-width: 420px;
    margin-bottom: 36px;
}

.intro-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.intro-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #f97316;
    line-height: 1;
}

.intro-stat span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    margin-top: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-intro {
    display: inline-block;
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 24px rgba(234, 88, 12, 0.45);
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-intro:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(234, 88, 12, 0.6);
    background: linear-gradient(135deg, #c2410c, #ea580c);
}

@media (max-width: 900px) {
    .brand-intro-text {
        flex: 0 0 54%;
        padding: 40px 24px;
    }
    .brand-intro-text::after { display: none; }
    .brand-intro-image {
        flex: 1;
        min-height: 420px;
    }
    .intro-stats { gap: 16px; }
}

@media (max-width: 600px) {
    .brand-intro-split { min-height: unset; }
    .brand-intro-text {
        flex: 0 0 58%;
        padding: 24px 16px;
    }
    .brand-intro-text h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .brand-intro-text p { display: none; }
    .intro-tag {
        font-size: 0.68rem;
        padding: 4px 10px;
        margin-bottom: 12px;
    }
    .intro-stats {
        gap: 10px;
        margin-bottom: 20px;
    }
    .intro-stat strong { font-size: 1.4rem; }
    .intro-stat span { font-size: 0.62rem; }
    .btn-intro {
        padding: 10px 18px;
        font-size: 0.82rem;
    }
    .brand-intro-image { min-height: 300px; }
}

/* Brand Sections */
.brand-section {
    margin-bottom: 80px;
}

.brand-header {
    text-align: center;
    margin-bottom: 60px;
}

.brand-logo-large h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 10px;
}

.brand-tagline {
    display: block;
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.brand-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* Product Variants Grid */
.product-variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.variant-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.variant-card.featured {
    border: 3px solid var(--primary-orange);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-orange);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 10;
}

.variant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.variant-image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #f9fafb, #e5e7eb);
    overflow: hidden;
}

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

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

.variant-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.variant-badge.cloro-white {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0369a1;
}

.variant-badge.cloro-pink {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    color: #be185d;
}

.variant-badge.cloro-blue {
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    color: #0f766e;
}

.variant-info {
    padding: 30px;
}

.variant-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.variant-size {
    color: var(--gray-600);
    font-weight: 600;
    margin-bottom: 20px;
}

.variant-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.variant-features li {
    padding: 8px 0;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.variant-features li:last-child {
    border-bottom: none;
}

/* Benefits Showcase */
.benefits-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.benefit-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Una Section Specific */
.una-section {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.05) 0%, transparent 100%);
    padding: 60px 0;
    border-radius: 24px;
}

.una-section .brand-logo-large h2 {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Clorofast Section Specific */
.clorofast-section {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
    padding: 60px 0;
    border-radius: 24px;
}

.clorofast-section .brand-logo-large h2 {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .product-variants-grid {
        grid-template-columns: 1fr;
    }
    
    .variant-image {
        height: 250px;
    }
    
    .benefits-showcase {
        grid-template-columns: 1fr;
    }
}
