@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.greeting {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.highlight {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.roles {
    font-size: 1.8rem;
    color: #a3a3a3;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.about {
    font-size: 1.2rem;
    color: #737373;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeLeft 0.8s ease forwards 0.6s;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.tech-stack, .services {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.grid-bg {
    /* backdrop-filter: blur(10px); */
    position: relative;
    opacity: 60;
    background-color: rgba(255, 255, 255, 0.03);
    border: solid rgba(255, 255, 255, 0.3) 2px;
    border-radius: 27px;
    display: flex;
    flex-direction: column;
    /* margin-top: -10px; */
    /* padding: 20px 20px 20px 20px; */
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    /* margin-bottom: 20px; */
    
}

.tech-item, .tech-item-js, .tech-item-ts, .tech-item-css, .tech-item-react, .service-item, .service-item-firebase, .service-item-figma {
    margin-top: 10px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    /* opacity: 0; */
    transform: translateY(20px);
    cursor: pointer;
    animation: fadeUp 0.8s ease forwards;
/*     transition: all 0.3s ease-in-out; */
}

.tech-item:hover, .tech-item-js:hover, .tech-item-ts:hover, .tech-item-css:hover, .tech-item-react:hover, .service-item:hover, .service-item-firebase:hover, .service-item-figma:hover {
    transform: translateY(5px);
    /*margin-top: -75px;
    margin-left: -40px;
    margin-right: -40px;*/
    /* transform: scale(140%); */
    background: rgba(255, 255, 255, 0.08);
/*     animation: pulse 2s infinite; */
    animation: fadeUp 0.8s forwards;
    
}

.tech-item img, .service-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.tech-item-js img {
    width: 80px;
    height: 60px;
    margin-bottom: 10px;
}

.tech-item-ts img {
    width: 140px;
    height: 80px;
    margin-top: -5px;
    margin-bottom: -5px;
}

.tech-item-css img {
    width: 65px;
    height: 60px;
    margin-bottom: 11px;
}

.tech-item-react img {
    width: 65px;
    height: 60px;
    margin-bottom: 10px;
}

.tech-item span, .tech-item-js span, .tech-item-ts span, .tech-item-css span, .tech-item-react span, .service-item span, .service-item-firebase span, .service-item-figma span {
    font-size: 1.1rem;
    font-weight: 500;
}

.service-item-firebase img {
    width: 50px;
    height: 60px;
    margin-bottom: 10px;
}

.service-item-figma img {
    width: 40px;
    height: 58px;
    margin-bottom: 10px;
}

.projects {
    padding: 4rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-item h3 {
    font-size: 1.5rem;
    margin: 1rem;
    color: #ffffff;
}

.project-item p {
    margin: 1rem;
    color: #a3a3a3;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin: 1rem;
}

.project-links a {
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.project-links a:hover {
    opacity: 0.8;
}

.contact {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.contact-item, .contact-item-discord, .contact-item-gmail {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, background-color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.contact-item:hover, .contact-item-discord:hover, .contact-item-gmail:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.contact-item img {
    width: 40px;
    height: 40px;
}

.contact-item-discord img {
    width: 75px;
    height: 40px;
}

.contact-item-gmail img {
    width: 50px;
    height: 36px;
    margin-top: 2px;
    margin-bottom: 1px;
}

.contact-item span, .contact-item-discord span, .contact-item-gmail span {
    font-size: 1.1rem;
    font-weight: 500;
}

.tnc a {
    text-decoration: none;
}

.footer {
    background-color: #242424;
    height: 230px;
    padding: 10px;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-btn-insta,
.footer-btn-backToTop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 300px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.6);
    color: rgb(24, 24, 24);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    opacity: 0.85;
    transition: all 0.2s ease-in-out;
    font-family: 'Urbanist', sans-serif;
    font-size: 1.07rem;
    text-align: center;
    text-decoration: none;
}

.footer-btn-insta img,
.footer-btn-backToTop img {
    width: 25px;
    height: 25px;
}

.footer-btn-insta:hover,
.footer-btn-backToTop:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
    color: black;
    font-weight: 700;
    transform: scale(1.09);
}

.footer-right a {
    text-decoration: none;
    width: 100%;
}

.footer-right a > button {
    width: 100%;
}

.madeBy {
    font-weight: 700;
    font-size: 23px;
}

.tnc-info {
    font-weight: 300;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        transform: translateY(-20px);
    }
    25% {
        transform: translateY(-5px);
        transform: scale(1.01);
    }
    50% {
        transform: translateY(-20px);
        transform: scale(1);
    }
    75% {
        transform: translateY(-5px);
        transform: scale(1.01);
    }
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .greeting {
        font-size: 2.5rem;
    }

    .roles {
        font-size: 1.5rem;
    }

    .about {
        font-size: 1.1rem;
        margin: 0 auto;
    }

    .grid, .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-right {
        width: 100%;
        align-items: flex-start;
    }

    .footer-btn-insta,
    .footer-btn-backToTop {
        width: 100%;
        max-width: 100%;
        height: 55px;
        font-size: 1rem;
    }
}
