/* Professional Logo Styles for SmartCalcs */

/* Common logo styles */
.logo-icon {
    height: 32px;
    width: 32px;
    margin-right: 12px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-link, .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-link:hover .logo-icon,
.nav-logo:hover .logo-icon {
    transform: scale(1.05);
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    user-select: none;
}

/* Mobile responsive logo */
@media (max-width: 768px) {
    .logo-icon {
        height: 28px;
        width: 28px;
        margin-right: 8px;
    }
    
    .brand-text {
        font-size: 20px;
    }
}

/* Special logo for homepage hero */
.hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.3));
}

/* Footer logo */
.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Loading state for logo */
.logo-icon[src=""] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2) {
    .logo-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .logo-icon {
        filter: brightness(1.1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
    }
}

/* Print styles */
@media print {
    .logo-icon {
        height: 24px;
        width: 24px;
        margin-right: 8px;
        filter: none;
    }
    
    .brand-text {
        color: #333 !important;
        -webkit-text-fill-color: #333 !important;
    }
}