/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: #020617; /* darker for contrast */
    color: white;
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-pic {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #38bdf8;
}

/* NAV */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* HERO */
.hero {
    padding: 100px 10%;
    text-align: center;
    background: linear-gradient(to right, #020617, #1e3a8a);
    color: white;
}

.hero-content {
    max-width: 700px;
    margin: auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero span {
    color: #38bdf8;
}

.tagline {
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-text {
    margin-bottom: 25px;
    line-height: 1.6;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 8px;
    background: white;
    color: #020617;
    text-decoration: none;
    border-radius: 6px;
}

.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* SECTIONS */
section {
    padding: 70px 10%;
}

/* PROJECTS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

/* CONTACT */
.contact form {
    max-width: 500px;
    margin: auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
}

/* FOOTER */
footer {
    background: #020617;
    color: white;
    padding: 40px 10%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* HAMBURGER */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 25px;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: #020617;
        flex-direction: column;
        display: none;
        text-align: center;
    }

    .nav-links li {
        margin: 15px 0;
    }

    #menu-toggle:checked + .menu-icon + .nav-links {
        display: flex;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}