/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    text-align: center;
    padding: 80px 0;
}

.hero-content h2 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 40px;
    padding: 2%;
    max-width: 700px;
}


svg {
    fill: var(--primary-color);
    margin: 10px;
    width: 1.8rem;
}



@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 60px 0;
}
.project-card {
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 1;
    transform: scale(1);
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.project-card:hover {
    box-shadow: 0 2px 4px var(--primary-color);
}

.project-image {
    width: 100%;
    aspect-ratio: 16/8.5;
    background: linear-gradient(45deg, #8686d4, #89b9de);;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.project-category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 12px;
}
.project-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    list-style: none;
}
#tech-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    max-width: 200px;
    padding: 3%;
    border-radius: 20px;
    border: solid 1px var(--secondary-color);
}

.prj-btn:hover {
    background: var(--card-bg);
    border-radius: 20px;
    border: solid 1px var(--secondary-color);
}


.project-card:hover .project-image::before {
    opacity: 1;
}

.project-content {
    padding: 20px;
    margin: 2%;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-inline: 5px;
    font-size: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .project-section {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

    .image-container {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .image-container {
        width: 240px;
        height: 240px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-content {
        padding: 20px;
    }
}
