/* Main Stylesheet for Isaac Mukonyezi Portfolio */


/* Custom Font Families */

:root {
    color-scheme: light;
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --linkedin-color: #0077B5;
    --twitter-color: #1DA1F2;
    --github-color: #333;
    --whatsapp-color: #25D366;
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif, 'Inter', system-ui, sans-serif;
}

body {
    font-family: 'Roboto Mono', monospace, 'Inter', system-ui, sans-serif;
}


/* Social Media Brand Colors and Hover Effects */

.social-media-icons .group:hover i.fa-linkedin {
    color: var(--linkedin-color) !important;
    filter: drop-shadow(0 0 10px rgba(0, 119, 181, 0.6));
    transform: scale(1.1);
}

.social-media-icons .group:hover i.fa-twitter {
    color: var(--twitter-color) !important;
    filter: drop-shadow(0 0 10px rgba(29, 161, 242, 0.6));
    transform: scale(1.1);
}

.social-media-icons .group:hover i.fa-x-twitter {
    color: #000 !important;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
    transform: scale(1.1);
}

.dark .social-media-icons .group:hover i.fa-x-twitter {
    color: #fff !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.social-media-icons .group:hover i.fa-github {
    color: var(--github-color) !important;
    filter: drop-shadow(0 0 10px rgba(51, 51, 51, 0.6));
    transform: scale(1.1);
}

.social-media-icons .group:hover i.fa-whatsapp {
    color: var(--whatsapp-color) !important;
    filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.6));
    transform: scale(1.1);
}

.dark .social-media-icons .group:hover i.fa-github {
    color: #fff !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}


/* Smooth transitions for all social media icons */

.fab,
.fas {
    transition: all 0.3s ease;
}


/* Fixed Social Media Sidebar Styles */

#social-media-icons {
    z-index: 1000;
}

#social-media-icons a:hover {
    transform: scale(1.15) rotate(5deg);
}


/* Custom animations */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideUp {
    animation: slideUp 0.6s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}


/* Responsive Design Improvements */

@media (max-width: 768px) {
    #social-media-icons {
        bottom: 20px;
        right: 20px;
    }
    #social-media-icons a {
        padding: 12px;
        margin-bottom: 8px;
    }
    #social-media-icons i {
        font-size: 18px;
    }
}


/* Theme Toggle Button Enhancements */

#themeToggle,
#themeToggleMobile {
    transition: all 0.3s ease;
}

#themeToggle:hover,
#themeToggleMobile:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dark #themeToggle:hover,
.dark #themeToggleMobile:hover {
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}


/* Header Improvements */

.header-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* Loading States */

.loading {
    opacity: 0.5;
    pointer-events: none;
}


/* Focus States for Accessibility */

a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}


/* Print Styles */

@media print {
    #social-media-icons,
    #themeToggle,
    #themeToggleMobile,
    #mobileMenuButton {
        display: none !important;
    }
}