/* Base */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    text-align: center;
    background: #0f172a;
    color: white;
    font-size: 18px;
    transition: 0.3s ease;
}

section {
    padding: 80px 20px;
}

/* Hero */
.hero {
    background: #020617;
    animation: fadeIn 1.2s ease-in;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 20px;
    opacity: 0.8;
}

.hero a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.hero a:hover {
    background: #2563eb;
}

/* Headings */
h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Projects (NO BOX DESIGN) */
.project {
    margin: 30px auto;
    width: 60%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.project h3 {
    font-size: 24px;
}

.project p {
    font-size: 16px;
}

.project a {
    text-decoration: none;
    margin: 0 5px;
    font-weight: 500;
    color: #60a5fa;
}

.project a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .project {
        width: 90%;
    }
}

/* Light Mode */
body.light-mode {
    background: #f9fafb;
    color: #111;
}

body.light-mode .hero {
    background: #e5e7eb;
}

body.light-mode .project {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.light-mode a {
    color: #2563eb;
}

/* Toggle Button */
.toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 14px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
}

/* Animation */
section {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    padding: 20px;
    opacity: 0.7;
}