/* ==========================================
   HERMON FIKADU PORTFOLIO - MAIN STYLESHEET
   Modern, Creative Developer Profile
   ========================================== */

/* ========== ROOT VARIABLES ========== */
:root {
    /* Color Palette */
    --primary-color: #0066ff;
    --secondary-color: #00d4ff;
    --dark-bg: #0a0e27;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white) !important;
}

.brand-name {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-accent {
    color: var(--secondary-color);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ========== PARTICLES BACKGROUND ========== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--dark-bg);
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    min-height: 50px;
    color: var(--secondary-color);
}

.typed-text {
    border-right: 3px solid var(--secondary-color);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons .btn {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-bounce);
}

.btn-primary {
    background: var(--gradient-2);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark-bg) !important;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-2);
    border-radius: 30px;
    filter: blur(40px);
    opacity: 0.3;
    z-index: -1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.scroll-indicator a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* ========== COMING SOON SECTIONS ========== */
.coming-soon-section {
    padding: 100px 0;
    background: var(--dark-bg);
    color: var(--white);
}

.coming-soon-section.alt-bg {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.coming-soon-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 212, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* ========== SKILL CARDS ========== */
.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.skill-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.skill-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.skill-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ========== PROJECTS SECTIONS ========== */
.projects-preview-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.project-meta i {
    color: var(--secondary-color);
}

.project-content h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-link {
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.project-link:hover {
    color: var(--primary-color);
    gap: 0.5rem;
}

.project-link i {
    transition: var(--transition-smooth);
}

.project-link:hover i {
    transform: translateX(5px);
}

/* ========== CONTACT PREVIEW ========== */
.contact-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    width: 40px;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 3rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== PROJECTS PAGE ========== */
.projects-section {
    padding: 80px 0;
    background: var(--dark-bg);
    min-height: 60vh;
}

.empty-state {
    text-align: center;
    padding: 100px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.empty-state i {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.empty-state h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
}

.cta-box {
    background: var(--gradient-2);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    color: var(--white);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ========== FOOTER ========== */
.footer {
    background: #000;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--gradient-2);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* ========== ADMIN STYLES ========== */
.admin-login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.login-header h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-light);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 255, 0.15);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.login-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.login-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

/* Admin Dashboard */
.admin-dashboard {
    background: #f8f9fa;
    min-height: 100vh;
    padding-top: 76px;
}

.admin-sidebar {
    background: var(--dark-bg);
    min-height: calc(100vh - 76px);
    padding: 2rem 1rem;
    position: sticky;
    top: 76px;
}

.sidebar-header {
    color: var(--white);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h4 {
    margin-bottom: 0.5rem;
}

.sidebar-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.sidebar-menu a:hover,
.sidebar-menu li.active a {
    background: var(--gradient-2);
    color: var(--white);
}

.sidebar-menu i {
    width: 20px;
}

.admin-content {
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h2 {
    color: var(--text-dark);
    margin: 0;
}

.stat-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    margin-bottom: 1.5rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.stat-icon.bg-primary {
    background: var(--gradient-2);
}

.stat-icon.bg-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.stat-icon.bg-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-details h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.8rem;
}

.stat-details p {
    margin: 0;
    color: var(--text-light);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: var(--white);
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.table {
    margin: 0;
}

.table thead th {
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: var(--text-dark);
}

.project-thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.image-preview-box {
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    background: #f8f9fa;
}

.image-preview-box img {
    max-height: 200px;
    border-radius: 10px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .page-title {
        font-size: 2.3rem;
    }
    
    .admin-sidebar {
        position: relative;
        min-height: auto;
        top: 0;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 1 1 100px;
    }
    
    .cta-box {
        padding: 40px 30px;
    }
    
    .cta-box h2 {
        font-size: 1.8rem;
    }
}








