@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body{
    background-color: black;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 100vh;
    background: url('webbackground.png')no-repeat;
    background-size: cover;
    background-position: center;
}

h1{
    color: aliceblue;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* HEADER STYLES */
header {
    position: sticky;
    top: 0 ;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 20px 100px;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    /* border-bottom: 1px solid rgba(205, 255, 193, 0.2); */
}

.logo {
    color: white;
    font-size: 2em;
    font-weight: 700;
    user-select: none;
}

.navigation {
    display: flex;
    gap: 40px;
}

.navigation a {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
}

.navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background-color: #cdffb1;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.5s;
}

.navigation a:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

/* HERO SECTION */
.hero {
    position: relative;
    background : transparent;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
   justify-content: center;
   width: 1100px;
   height: 400px;
   align-items: center;
   border: 2px solid rgba(255, 255, 255, 0.5);
   box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
   border-radius: 20px;
   margin-top: 50px;
   text-align: center;
   scroll-margin-top: 140px;
}

.hero:hover {
    border: 2px solid rgba(205, 255, 193);
    box-shadow: 0 0 40px rgb(205, 255, 193, 0.8);
}

.hero h1 {
    color: white;
    font-size: 40px;
    margin-bottom: 10px;
}

.hero h2 {
    color: #cdffb1;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    max-width: 800px;
    line-height: 1.6;
}

/* SKILLS SECTION */
.skills-section {
    width: 100%;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 80px;
}

.section-title {
    color: white;
    font-size: 35px;
    margin-bottom: 50px;    
    text-align: center;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

.skill-card {
    background: transparent;
    backdrop-filter: blur(20px);
    padding: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    border: 2px solid rgba(205, 255, 193);
    box-shadow: 0 0 30px rgba(205, 255, 193, 0.6);
    transform: translateY(-5px);
}

.skill-card h3 {
    color: #cdffb1;
    font-size: 20px;
    margin-bottom: 10px;
}

.skill-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

/* PROJECTS SECTION */
#projects {
    width: 100%;
    padding: 10px 100px;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 120px;
    align-items: center;
}

.projects-title {
    color: white;
    font-size: 35px;
    margin-bottom: 50px;
}

.projects-wrapper {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.container {
    position: relative;
    background : transparent;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
   justify-content: center;
   width: 500px;
   height: auto;
   padding: 30px;
   align-items: flex-start;
   border: 2px solid rgba(255, 255, 255, 0.5);
   box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
   border-radius: 20px;
   margin-top: 20px;
   transition: all 0.3s ease;
}

.container:hover {
    border: 2px solid rgba(205, 255, 193);
    box-shadow: 0 0 40px rgb(205, 255, 193, 0.8);
    transform: translateY(-5px);
}

.container h3 {
    color: #cdffb1;
    font-size: 22px;
    margin-bottom: 15px;
}

.container p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-link {
    color: #cdffb1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: white;
    margin-right: 10px;
}

/* FOOTER STYLES */
footer {
    background-color: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(205, 255, 193, 0.2);
    color: white;
    padding: 60px 100px 30px;
    width: 100%;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h3 {
    color: #cdffb1;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #cdffb1;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(205, 255, 193, 0.5);
    border-radius: 50%;
    font-size: 24px;
}

.social-links a:hover {
    color: white;
    border-color: rgba(205, 255, 193, 1);
    background-color: rgba(205, 255, 193, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(205, 255, 193, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    header {
        padding: 15px 30px;
        flex-direction: column;
        gap: 20px;
    }

    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero {
        width: 90%;
        height: auto;
        padding: 30px;
        margin-top: 30px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .container {
        width: 90%;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .projects-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    footer {
        padding: 40px 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
} 





