/**
 * Professional Logo and Branding Styles
 * Muhammad Muneeb Teaching Resources
 */

.professional-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Arial', sans-serif;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.professional-logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
    border-radius: 14px;
    z-index: -1;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main-text {
    font-size: 1.4em;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-sub-text {
    font-size: 0.85em;
    color: #7f8c8d;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.logo-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive logo styles */
@media (max-width: 768px) {
    .professional-logo {
        gap: 10px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .logo-main-text {
        font-size: 1.1em;
    }
    
    .logo-sub-text {
        font-size: 0.75em;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Brand colors */
:root {
    --brand-primary: #667eea;
    --brand-secondary: #764ba2;
    --brand-accent: #FFD700;
    --brand-text: #2c3e50;
    --brand-light: #ecf0f1;
    --brand-dark: #34495e;
}

/* Professional header integration */
.header-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.brand-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.brand-btn {
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
    font-family: inherit;
}

.brand-btn-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    border-color: transparent;
}

.brand-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.brand-btn-outline {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.brand-btn-outline:hover {
    background: var(--brand-primary);
    color: white;
}

.brand-btn-ghost {
    color: var(--brand-text);
}

.brand-btn-ghost:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--brand-primary);
}

/* Animated background for premium feel */
.brand-background {
    position: relative;
    overflow: hidden;
}

.brand-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: -1;
}

/* Professional footer branding */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    color: var(--brand-text);
}

.footer-brand-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}
