/* ===================================
   Brands Page Specific Styles
   =================================== */

/* Brands Hero - Split Layout */
.brands-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 75vh;
}

.hero-image-section {
    position: relative;
    overflow: hidden;
}

.hero-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.brands-hero:hover .hero-image-section img {
    transform: scale(1.05);
}

.hero-image-overlay-brands {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.5), rgba(107, 70, 193, 0.5));
}

.hero-content-section {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-purple));
    display: flex;
    align-items: center;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.hero-content-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content-inner {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title-large {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-stats-brands {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-brand {
    text-align: center;
    position: relative;
}

.stat-brand-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-brand:hover .stat-brand-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-brand h3 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.stat-brand p {
    font-size: 14px;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Brand Showcase */
.featured-brand-showcase {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.featured-brand-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.featured-brand-image img {
    width: 100%;
    display: block;
}

/* Featured Brand Logo Display */
.featured-logo-display {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px;
}

.featured-brand-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.3s ease;
}

.featured-logo-display:hover .featured-brand-logo {
    transform: scale(1.05);
}

/* Featured Brand Logo Placeholder */
.featured-logo-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-logo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2.5s infinite;
}

.featured-logo-box {
    text-align: center;
    padding: 40px;
    z-index: 1;
}

.featured-logo-box i {
    font-size: 80px;
    color: #FFA500;
    opacity: 0.6;
    margin-bottom: 20px;
    display: block;
}

.featured-placeholder-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #FFA500;
    opacity: 0.7;
    text-align: center;
    line-height: 1.4;
    display: block;
}

.featured-ribbon {
    position: absolute;
    top: 20px;
    left: -35px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: var(--white);
    padding: 10px 45px;
    font-weight: 600;
    font-size: 14px;
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-brand-info {
    padding: 20px 0;
}

.featured-brand-name {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.featured-brand-category {
    font-size: 18px;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 20px;
}

.featured-brand-desc {
    font-size: 17px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 35px;
}

.featured-achievements {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.achievement-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.achievement-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
}

.achievement-content h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.achievement-content p {
    font-size: 15px;
    color: var(--dark-gray);
}

/* Brand Portfolio */
.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-red);
}

.category-title i {
    color: var(--primary-red);
}

.brands-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.brand-portfolio-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.brand-portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.15);
}

/* Brand Logo Display (for actual logos) */
.brand-logo-display {
    position: relative;
    height: 220px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.portfolio-brand-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-portfolio-card:hover .portfolio-brand-logo {
    transform: scale(1.08);
}

/* Brand Logo Placeholder Styles */
.brand-logo-placeholder {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-logo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.logo-placeholder-box {
    text-align: center;
    padding: 30px;
    z-index: 1;
}

.logo-placeholder-box i {
    font-size: 50px;
    color: var(--primary-blue);
    opacity: 0.4;
    margin-bottom: 15px;
    display: block;
}

.placeholder-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.5;
    text-align: center;
    line-height: 1.4;
    display: block;
}

.bestseller-placeholder {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a3 100%);
}

.bestseller-placeholder .logo-placeholder-box i {
    color: #FFA500;
}

.bestseller-placeholder .placeholder-text {
    color: #FFA500;
}

.brand-portfolio-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.brand-portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.brand-portfolio-card:hover .brand-portfolio-image img {
    transform: scale(1.1);
}

.brand-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.bestseller-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(255, 165, 0, 0.4);
}

.brand-portfolio-content {
    padding: 25px;
}

.brand-portfolio-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.brand-portfolio-category {
    font-size: 14px;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 12px;
}

.brand-portfolio-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.brand-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.brand-tag {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Partnership Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.15);
}

.benefit-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.benefit-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .brands-hero-split {
        grid-template-columns: 1fr;
    }

    .hero-image-section {
        min-height: 400px;
    }

    .hero-content-section {
        padding: 60px 40px;
    }
    
    .hero-title-large {
        font-size: 38px;
    }
    
    .hero-stats-brands {
        gap: 30px;
    }

    .featured-brand-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured-brand-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content-section {
        padding: 50px 30px;
    }
    
    .hero-title-large {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }

    .hero-stats-brands {
        gap: 25px;
    }
    
    .stat-brand-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .stat-brand h3 {
        font-size: 32px;
    }

    .featured-brand-name {
        font-size: 30px;
    }

    .category-title {
        font-size: 24px;
    }

    .brands-category-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content-section {
        padding: 40px 20px;
    }
    
    .hero-title-large {
        font-size: 28px;
    }

    .hero-stats-brands {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-brand-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .featured-brand-name {
        font-size: 26px;
    }

    .achievement-item {
        flex-direction: column;
        text-align: center;
    }

    .achievement-icon {
        margin: 0 auto;
    }
}