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

/* ===============================
   GLOBAL STYLES
================================== */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #3b5592;
    color: #f1f5f9;
}

main {
    min-height: 80vh;
}

/* ===============================
   NAVBAR
================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #000000;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
}

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

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

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

/* ===============================
   HERO (Home Page)
================================== */
.hero {
    text-align: center;
    margin-top: 120px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* ===============================
   BUTTON
================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #38bdf8;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: #0ea5e9;
}

/* ===============================
   SECTION TITLE
================================== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* ===============================
   PROJECTS PAGE
================================== */
.projects-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #1e293b;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

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

.project-card p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.tech-stack {
    display: block;
    margin: 10px 0 20px;
    font-size: 0.9rem;
    color: #38bdf8;
}

/* ===============================
   ABOUT PAGE
================================== */
.about-section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    background-color: #1e293b;
    padding: 40px;
    border-radius: 10px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===============================
   CONTACT PAGE
================================== */
.contact-section {
    padding: 80px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    background-color: #48494b;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.contact-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.contact-content a {
    color: #38bdf8;
    text-decoration: none;
}

.contact-content a:hover {
    text-decoration: underline;
}

/* ===============================
   RESPONSIVE ADJUSTMENTS
================================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .projects-section,
    .about-section,
    .contact-section {
        padding: 60px 15px;
    }

    .about-content,
    .contact-content {
        padding: 25px;
    }
}

/* ===============================
   PROFILE IMAGE
================================== */
.profile-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.profile-pic {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #38bdf8;
    transition: 0.3s;
}

.profile-pic:hover {
    transform: scale(1.05);
}

/* ===============================
   MOBILE NAVBAR
================================== */

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #1e293b;
        flex-direction: column;
        width: 200px;
        padding: 20px;
        display: none;
        border-radius: 8px 0 0 8px;
    }

    .nav-links.active {
        display: flex;
    }
}

/* footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #1e293b;
    margin-top: 60px;
    font-size: 0.9rem;
}
