/* Our Brands Page Styles - Hero Image Reveal Through Text */
.brands-hero-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.brands-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Change from 50vh to 100% */
    z-index: 1;
}

.brands-hero__image {
    width: 100%;
    height: 100%;
}

.brands-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brands-title-section {
    position: absolute; /* Change from relative to absolute */
    bottom: 0; /* Position at bottom */
    left: 0;
    width: 100%;
    height: 40vh; /* Half the container */
    background: var(--color-background);
    padding: var(--spacing-2xl) 0;
    z-index: 2;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brands-title {
    font-size: 7rem;
    font-weight: 900;
    text-align: center;
    background: url('/assets/images/hero/our-brands.png') center/cover;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 var(--spacing-lg) 0;
    line-height: 1.1;
    position: relative;
    background-attachment: fixed;
}

.brands-description {
    font-size: 1.5rem;
    text-align: center;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Rest of the existing brands listing styles remain the same */
.brands-listing {
    position: relative;
    z-index: 3;
}

.brand-item {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-2xl) 0;
    transition: background-color var(--transition-normal);
}

.brand-item__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.brand-item__content--reverse {
    direction: rtl;
}

.brand-item__content--reverse > * {
    direction: ltr;
}

.brand-item__text {
    padding: var(--spacing-xl);
}

.brand-item__name {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: white;
    margin: 0 0 var(--spacing-lg) 0;
    line-height: 1.2;
}

.brand-item__description {
    font-size: var(--font-size-lg);
    color: white;
    line-height: 1.7;
    margin: 0 0 var(--spacing-xl) 0;
}

.brand-item__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-base);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.brand-item__cta:hover {
    gap: var(--spacing-sm);
}

.brand-item__cta svg {
    transition: transform var(--transition-fast);
}

.brand-item__cta:hover svg {
    transform: translateX(4px);
}

.brand-item__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    max-width: 550px;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .brands-title {
        font-size: clamp(3rem, 8vw, 6rem);
    }
    
    .brand-item__content {
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .brands-hero-container {
        height: 100vh; /* Better for mobile */
    }
    
    .brands-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .brands-description {
        font-size: var(--font-size-lg);
        padding: 0 var(--spacing-md);
    }
    
    .brand-item {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .brand-item__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .brand-item__content--reverse {
        direction: ltr;
    }
    
    .brand-item__text {
        padding: var(--spacing-md);
        text-align: center;
    }
    
    .brand-item__name {
        font-size: var(--font-size-3xl);
    }

    .brand-logo {
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .brands-hero-container {
        height: 100vh; /* Better for small mobile */
    }
    
    .brands-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .brands-description {
        font-size: var(--font-size-base);
    }
    
    .brand-item__name {
        font-size: var(--font-size-2xl);
    }

    .brand-logo {
        max-width: 300px;
    }
}