/* Creative Developer Theme Styles */

:root {
    --bg-dark: #0a192f;
    --bg-light: #112240;
    --text-white: #e6f1ff;
    --text-gray: #8892b0;
    --text-gray-light: #a8b2d1;
    --accent: #64ffda;
    --accent-tint: rgba(100, 255, 218, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-gray);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.text-white { color: var(--text-white) !important; }
.text-gray { color: var(--text-gray) !important; }
.text-gray-light { color: var(--text-gray-light) !important; }
.text-accent { color: var(--accent) !important; }
.font-monospace { font-family: 'Fira Code', monospace !important; }

/* Matrix Background */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}

.z-index-1 { position: relative; z-index: 1; }
.z-index-2 { position: relative; z-index: 2; }

/* Navbar */
.navbar {
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.5rem;
}

.nav-link {
    font-family: 'Fira Code', monospace;
    color: var(--text-white) !important;
    font-size: 0.9rem;
    margin-left: 1.5rem;
}

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

.nav-link::before {
    content: '> ';
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-link:hover::before {
    opacity: 1;
}

/* Section Common */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.section-title::after {
    content: "";
    display: block;
    width: 300px;
    height: 1px;
    background-color: #233554;
    margin-left: 20px;
}

/* Glass Panel */
.glass-panel {
    background: var(--bg-light);
    border-radius: 4px;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
}

/* Code Window */
.code-window {
    border: 1px solid #233554;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Buttons */
.btn-outline-accent {
    color: var(--accent);
    border-color: var(--accent);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background-color: var(--accent-tint);
    color: var(--accent);
    border-color: var(--accent);
}

/* Skill Card */
.skill-card {
    border: 1px solid transparent;
}

.skill-card:hover {
    border-color: var(--accent);
}

/* Project Images */
.project-image-container {
    cursor: pointer;
    background-color: var(--accent);
    transition: all 0.3s ease;
}

.project-image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7); /* Dark blue overlay */
    mix-blend-mode: multiply;
    transition: all 0.3s ease;
    z-index: 1;
}

.project-image-container img {
    filter: grayscale(100%) contrast(1) brightness(90%);
    transition: all 0.3s ease;
    mix-blend-mode: multiply;
}

.project-image-container:hover .overlay {
    background-color: transparent;
}

.project-image-container:hover img {
    filter: none;
    mix-blend-mode: normal;
}

/* Social Links */
.hover-accent:hover {
    color: var(--accent) !important;
    transform: translateY(-3px);
    display: inline-block;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .section-title::after {
        width: 100%;
    }
    .project-content-right {
        text-align: left !important;
    }
    .project-content-right .glass-panel {
        text-align: left !important;
    }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.floating-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid rgba(100, 255, 218, 0.3);
    background: rgba(17, 34, 64, 0.9);
    backdrop-filter: blur(10px);
    color: #64ffda;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.floating-btn:hover {
    transform: translateY(-2px);
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.15);
    color: #64ffda;
}

.floating-btn.edit-btn {
    border-color: #64ffda;
    background: #64ffda;
    color: #0a192f;
}

.floating-btn.edit-btn:hover {
    background: #64ffda;
    opacity: 0.9;
    color: #0a192f;
}
