@import url("nav.css");
/* ---- Project Page  ---- */
.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.project-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    opacity: 1;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.project-details.animate {
    opacity: 1;
    transform: translateY(0);
}

.title-1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(45deg, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tech-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.l {
    flex: 1;
    max-width: 400px;
    display: flex;
    justify-content: center;
}
.project-details-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-details-img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.r {
    flex: 1;
    padding: 0 20px;
    text-align: left;
}
.project-title {
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: var(--accent);
}

.project-tools {
    margin: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
.tools {
    color: var(--accent-alt);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-outline:hover {
    background: linear-gradient(45deg, var(--accent), var(--accent-alt));
    color: var(--primary);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-outline:active {
    transform: translateY(2px) scale(0.95);
}

.btn-text {
    color: var(--text);
    font-family: 'Poppins', sans-serif;
}

.btn-img {
    height: 26px;
    width: 26px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}
      
.floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: float 15s linear infinite;
    opacity: 0.7;
}

.floating-element:nth-child(2n) {
    background: var(--accent-alt);
    animation-duration: 20s;
}
      
.floating-element:nth-child(3n) {
    width: 6px;
    height: 6px;
    animation-duration: 25s;
}

@keyframes float {
    from {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    to {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title-1 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    .project-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .r {
        padding: 0;
        text-align: center;
    }

    .project-title {
        font-size: 1rem;
        line-height: 1.6;
    }

    .project-tools {
        font-size: 1rem;
        margin-top: 15px;
    }

    .btn-outline {
        margin-top: 15px;
        padding: 10px 16px;
    }

    .btn-text {
        font-size: 14px;
    }
}
