/* Brands Page - Luxury Theme via brands_theme1.css */

.brands-page-container {
    padding: 60px 0 100px;
    background-color: #ffffff;
    /* Clean white background */
    min-height: 80vh;
}

/* Header Styling */
.brands-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.brands-title {
    font-size: 3rem;
    font-weight: 700;
    /* Serif feel if font allows, or bold sans */
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    /* Optional: If a serif font is available globally, use it here */
    font-family: var(--font-heading, serif);
}

.brands-subtitle {
    font-size: 1.125rem;
    color: #666;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 4 columns desktop */
    gap: 40px;
    justify-content: center;
    margin: 0 60px;
}

/* Brand Card */
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    group-hover: none;
    /* Reset standard link styles if any */
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    /* Soft lift hover effect */
}

/* Logo Circle */
.brand-logo-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo-circle {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    /* Increased glow on hover */
    border-color: rgba(0, 0, 0, 0.08);
}

.brand-logo-circle img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    transition: transform 0.3s ease;
    /* Removed grayscale and opacity for clean, original color look */
}

.brand-card:hover .brand-logo-circle img {
    transform: scale(1.05);
    /* No filter or opacity changes on hover */
}

/* Placeholder when no image */
.brand-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    color: #333;
    font-size: 2.5rem;
    font-weight: 300;
}

/* Brand Name */
.brand-name {
    font-size: 1.125rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.brand-card:hover .brand-name {
    color: #000;
    /* Darker on hover */
    font-weight: 600;
}

/* Empty State */
.no-brands-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-brands-message p {
    font-size: 1.25rem;
    color: #888;
    margin-bottom: 30px;
}

.return-home-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.return-home-btn:hover {
    background-color: #333;
}

/* Media Queries */
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols tablet landscape */
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .brands-page-container {
        padding-top: 40px;
    }

    .brands-title {
        font-size: 2.25rem;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols tablet/large mobile */
        gap: 20px;
    }

    .brand-logo-circle {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Staying 2 cols even on mobile for grid look, typically better for brands than 1 stack */
        gap: 15px;
    }

    .brand-logo-circle {
        width: 110px;
        height: 110px;
        margin-bottom: 12px;
    }

    .brand-name {
        font-size: 0.95rem;
    }
}