/* Logo and Brand Styles */
.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--oily-golden, #b8860b), #9a7209);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Logo Image Support */
.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Hide text when image is present */
.brand-logo.has-image {
    background: transparent;
    font-size: 0;
}

.brand-logo.has-image::before {
    display: none;
}

.brand-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.brand-logo:hover::before {
    left: 100%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.brand-sub {
    font-size: 0.7rem;
    opacity: 0.9;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
}

/* Responsive Logo Styles */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .brand-logo {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .brand-logo img {
        border-radius: 8px;
    }
    
    .brand-main {
        font-size: 1.1rem;
    }
    
    .brand-sub {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .brand-logo {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .brand-logo img {
        border-radius: 6px;
    }
    
    .brand-main {
        font-size: 1rem;
    }
    
    .brand-sub {
        font-size: 0.6rem;
    }
}

/* SEO and Accessibility Improvements */
.navbar-brand:hover {
    color: #fff !important;
    text-decoration: none;
}

.navbar-brand:focus {
    outline: 2px solid var(--oily-golden, #b8860b);
    outline-offset: 2px;
}

/* Logo Animation */
@keyframes logoGlow {
    0% { box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 4px 16px rgba(184,134,11,0.4); }
    100% { box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
}

.brand-logo:hover {
    animation: logoGlow 2s ease-in-out infinite;
}