
/* General settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #0b1120;
    color: #e5e7eb;
    line-height: 1.7;
}

/* Navigation */
header {
    background: #111827;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 27px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span,
.hero h1 span {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Hero section */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}

.intro {
    color: #38bdf8;
    letter-spacing: 4px;
}

.hero h1 {
    font-size: clamp(45px, 8vw, 75px);
    margin: 10px 0;
}

.hero h2 {
    font-size: 24px;
    color: #94a3b8;
}

.hero p {
    max-width: 600px;
    margin: 20px 0;
    color: #cbd5e1;
}

.btn {
    display: inline-block;
    background: #38bdf8;
    color: #0b1120;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #7dd3fc;
    transform: translateY(-3px);
}

/* Common sections */
section:not(.hero) {
    padding: 80px 10%;
    text-align: center;
}

section h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #38bdf8;
}

#about p {
    max-width: 750px;
    margin: auto;
}

/* Skills */
.skills-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.skills-list span {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 12px 22px;
    border-radius: 8px;
}

/* Projects */
.project-card {
    max-width: 550px;
    margin: auto;
    padding: 30px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.project-card h3 {
    margin-bottom: 10px;
}

/* Contact */
#contact a {
    color: #38bdf8;
    text-decoration: none;
}

/* Footer */
footer {
    background: #111827;
    text-align: center;
    padding: 20px;
    color: #94a3b8;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    section:not(.hero) {
        padding: 60px 7%;
    }
}
