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

:root {
    --primary-color: #4B9CD3;
    --secondary-color: #CC3168;
    --dark-bg: #080808;
    --darker-bg: #1a1a1a;
    --black-bg: #000000;
    --text-light: #ccc;
    --text-white: #fff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #080808 0%, #1a1a1a 50%, #000000 100%);
    color: var(--text-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(75, 156, 211, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Section Title */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #4B9CD3, #CC3168);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(75, 156, 211, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(75, 156, 211, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: rgba(75, 156, 211, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--text-light);
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.tab-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    background-color: var(--darker-bg);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--primary-color);
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-btn {
    color: var(--text-light);
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--primary-color);
}

#projectDetail h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

#projectDetail h4 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

#projectDetail ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

#projectDetail li {
    margin-bottom: 8px;
}

#projectDetail .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

#projectDetail .tech-tag {
    background: rgba(75, 156, 211, 0.2);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

#projectDetail .project-links {
    margin-top: 20px;
}

#projectDetail .project-links a {
    display: inline-block;
    margin-right: 15px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

#projectDetail .project-links a:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(75, 156, 211, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }
}
