/* Root Colors */
:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --bg-dark: #0f172a;
    --border: #334155;
    --shadow: rgba(15, 23, 42, 0.3);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
}

.header h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--accent-light), #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Canvas Container - Full Height */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

/* Project Detail Panel */
.project-panel {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid var(--accent);
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 420px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#project-detail h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--accent-light);
    font-weight: 700;
    line-height: 1.3;
}

#project-detail p {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

.project-link {
    display: inline-block !important;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(59, 130, 246, 0.1);
}

.project-link:hover {
    color: var(--text-primary);
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Footer Minimal */
.footer-minimal {
    position: fixed;
    bottom: 1rem;
    left: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    z-index: 100;
}

.footer-minimal a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-minimal a:hover {
    color: var(--accent-light);
}

/* Print Styles */
@media print {
    #canvas-container {
        display: none !important;
    }

    .header,
    .footer-minimal,
    .project-panel {
        position: static !important;
        display: block;
    }

    body {
        background: white;
        color: black;
    }

    .header {
        background: white;
        border-bottom: 1px solid #ddd;
    }

    .header h1 {
        background: none;
        -webkit-text-fill-color: unset;
        color: black;
    }

    .header p {
        color: #666;
    }

    .project-panel {
        background: white;
        border: 1px solid #ddd;
        margin: 2rem;
    }

    #project-detail h2 {
        color: black;
    }

    #project-detail p {
        color: #333;
    }

    .project-link {
        color: #0066cc !important;
    }

    .footer-minimal {
        position: static;
        margin-top: 2rem;
        padding: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header h1 {
        font-size: 1.2rem;
    }

    .header p {
        font-size: 0.8rem;
    }

    .project-panel {
        position: absolute;
        bottom: auto;
        top: 65vh;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .footer-minimal {
        left: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .project-panel {
        position: absolute;
        top: 60vh;
        padding: 1.5rem;
        bottom: auto;
        right: 0.5rem;
        left: 0.5rem;
        max-height: 250px;
    }

    #project-detail h2 {
        font-size: 1.2rem;
    }

    #project-detail p {
        font-size: 0.9rem;
    }

    .footer-minimal {
        left: 0.5rem;
        bottom: 0.5rem;
        font-size: 0.75rem;
    }
}

/* About Section - Below Viewport */
.about-section {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 50%, #0f172a 100%);
    padding: 6rem 2rem;
    margin-top: 100vh;
    border-top: 1px solid var(--border);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-light), #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.about-section h3 {
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    color: var(--accent-light);
    font-weight: 700;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-section ul {
    list-style: none;
    margin: 2rem 0;
}

.about-section li {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.about-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.3rem;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent), #0ea5e9);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    border-color: var(--accent);
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-light);
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 1.5rem;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }

    .about-section h3 {
        font-size: 1.3rem;
    }

    .about-section p,
    .about-section li {
        font-size: 1rem;
    }
}

