/*
Theme Name: Blazk
Description: Minimal black interface theme for Mevasoft projects
Version: 1.0
Author: Mevasoft
Text Domain: blazk
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #111111;
    border-left: 1px solid #333333;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar.open {
    right: 0;
}


.sidebar-nav {
    padding: 30px 0;
}

.sidebar-nav a {
    display: block;
    padding: 15px 25px;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-nav a:hover {
    color: #ffffff;
    background-color: #222222;
    border-left-color: #ffffff;
    padding-left: 30px;
}

.sidebar-nav a::before {
    content: '→';
    position: absolute;
    right: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sidebar-nav a:hover::before {
    opacity: 1;
}

/* Main content */
.main-content {
    margin-right: 0;
    transition: margin-right 0.3s ease;
}

.main-content.sidebar-open {
    margin-right: 300px;
}

/* Header */
.header {
    background-color: #000000;
    border-bottom: 1px solid #333333;
    padding: 15px 0;
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    z-index: 100;
    transition: top 0.3s ease;
}

.header.visible {
    top: 0;
}

/* Header always visible on non-home pages */
body:not(.home):not(.page-id-99):not(.page-template-front-page) .header {
    top: 0;
    position: sticky;
}

/* Add top padding for content on non-home pages */
body:not(.home):not(.page-id-99):not(.page-template-front-page) .section {
    padding-top: 100px;
}

body:not(.home):not(.page-id-99):not(.page-template-front-page) #error-404 {
    padding-top: 100px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 2px solid #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    transform: rotate(25deg);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(25deg) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    transition: color 0.2s ease;
}

.logo:hover .logo-text {
    color: #3B82F6;
}

/* Content sections */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section - full width */
#home {
    background-color: #000000;
    position: relative;
    padding: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #ffffff;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 30px;
    transition: border-color 0.2s ease;
}

.project-card:hover {
    border-color: #555555;
}

.project-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.project-description {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.project-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.project-link:hover {
    border-bottom-color: #ffffff;
}

/* Footer */
.footer {
    background-color: #000000;
    border-top: 1px solid #333333;
    padding: 40px 20px;
    text-align: center;
    color: #666666;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        right: -100%;
    }
    
    .main-content.sidebar-open {
        margin-right: 0;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Hero buttons mobile */
    #home div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    #home div[style*="display: flex"] a {
        width: 200px !important;
        text-align: center !important;
    }
    
    /* Logo mobile responsive */
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    /* Hero mobile responsive */
    #home h1 {
        font-size: 36px !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    
    #home p {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    #home p:last-of-type {
        font-size: 14px !important;
        margin-bottom: 32px !important;
    }
    
    #home div[style*="display: flex"] {
        gap: 16px !important;
        margin-top: 32px !important;
    }
    
    #home div[style*="display: flex"] a {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* Overlay for mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}
