@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libertinus+Math&family=Oswald:wght@200..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    color: #87ACA3;
    background: #0f0f0f;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./assets/proj.webp') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.navbar {
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    color: #138B83;
    font-size: 20px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    font-size: 26px;
    background: none;
    color: #87ACA3;
    border: none;
    cursor: pointer;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu li a {
    color: #87ACA3;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 10px;
    transition: color 0.3s ease; 
    display: flex;
    align-items: center; 
    gap: 5px;
    position: relative; 
    overflow: hidden;
}

.nav-menu li a i {
    font-size: 16px; 
    margin-right: 3px; 
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2B7C85; 
    transform: scaleX(0); 
    transform-origin: bottom right; 
    transition: transform 0.3s ease-out; 
}

.nav-menu li a:hover::after {
    transform: scaleX(1); 
    transform-origin: bottom left; 
}

.nav-menu li a.active {
    color: #2B7C85; 
}

.nav-menu li a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #2B7C85;
    border-bottom: 2px solid #2B7C85;
}

.content-wrapper {
    flex-grow: 1;
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding-bottom: 40px;
}

.container {
    max-width: 1000px;
    margin: 0 20px;
    padding: 40px 30px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.glass {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #87ACA3;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #37BEB0;
}

.subtitle {
    font-size: 18px;
    color: #6CB0A8;
    margin-bottom: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 12px;
    border-left: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin-top: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

/* .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
} */

.project-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

.project-header h2 {
    /* font-family: 'Dancing Script', cursive; */
    /* font-family: 'Great Vibes', cursive; */
    /* font-family: 'Tangerine', cursive; */
    /* font-family: "Oswald", sans-serif; */
    font-family: "Libertinus Math", system-ui;
    font-size: 34px;
    font-weight: 700;
    color: #2B7C85;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.project-link {
    display: inline-block;
    background-color: #00C4B0;
    color: #1f1f1f;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.project-link:hover {
    background-color: #00EAD9;
    transform: translateY(-2px);
}

.project-image {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.project-description {
    font-size: 16px;
    margin: 10px 0 25px;
    line-height: 1.7;
    text-align: justify;
    color: #A4E5E0;
}

h3 {
    font-size: 22px;
    color: #0a93ab;
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

.features,
.tech-stack {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.features li {
    background-color: rgba(255, 248, 225, 0.1);
    border-left: 4px solid #067593;
    color: #2de4d4;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    flex-grow: 1;
    min-width: 180px;
}

.tech-stack li {
    background-color: #429E9D;
    color: #222;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.tech-stack li:hover {
    background-color: #09A9C8;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 10px; 
}

.social-links {
    margin-top: 10px;
    display: flex;
    gap: 15px; 
}

.social-links a {
    color: #fff; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #00C4B0; 
    transform: translateY(-3px); 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        text-align: right;
        padding: 20px;
    }

    .nav-menu-visible {
        display: flex;
    }

    .content-wrapper {
        padding-top: 70px;
        padding-bottom: 20px;
    }

    .container {
        padding: 30px 15px;
        margin: 0 10px;
    }

    h1 {
        font-size: 38px;
    }

    .subtitle {
        font-size: 16px;
    }

    .project-card {
        padding: 20px;
    }

    .project-header h2 {
        font-size: 24px;
    }

    .project-description {
        font-size: 15px;
    }

    h3 {
        font-size: 18px;
    }

    .features li,
    .tech-stack li {
        font-size: 13px;
        padding: 8px 12px;
        min-width: unset;
    }
}

