/* ========================================
   VISUAL IMPROVEMENTS (BRANDS & CATEGORIES)
   ======================================== */

/* --- 1. BRANDS SECTION IMPROVEMENTS --- */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.brand-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.brand-logo {
    max-width: 80%;
    max-height: 60px;
    /* Normalizes height */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

/* Hover Effect */
.brand-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-card:hover .brand-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Specific Logo Adjustments for Balance */
img[alt="Hoteche"] {
    max-height: 90px;
    /* Increased from 60px */
    max-width: 90%;
    transform: scale(1.2);
    /* Base scale increase */
}

img[alt="Sayer"] {
    max-height: 85px;
    /* Increased from 60px */
    max-width: 90%;
    transform: scale(1.15);
    /* Base scale increase */
}

/* Maintain hover effects with the new base scale */
.brand-card:hover img[alt="Hoteche"] {
    transform: scale(1.3);
}

.brand-card:hover img[alt="Sayer"] {
    transform: scale(1.25);
}

/* --- 2. CATEGORIES HOVER EFFECTS --- */
.category-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    /* Ensure zoom doesn't break rounded corners */
}

/* Background Zoom */
.category-bg {
    transition: transform 0.6s ease;
}

.category-card:hover .category-bg {
    transform: scale(1.1);
}

/* Lift and Glow */
.category-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Icon Animation on Hover */
.category-card .category-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #0a0e27;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Button Reveal/Highlight */
.category-btn {
    transition: all 0.3s ease;
}

.category-card:hover .category-btn {
    background: #ffd700;
    color: #0a0e27;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* --- 3. SERVICE ICONS COLOR FIX --- */
.feature-icon {
    color: #ffd700 !important;
    /* Force Gold color */
    background: rgba(255, 215, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 215, 0, 0.2) !important;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}