/* Projects Page Specific Styles */

.projects-hero {
    position: relative;
    padding: 150px 0 80px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-title {
    font-size: 4rem;
    text-align: center;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-dim);
    animation: fadeIn 1s ease 0.3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.all-projects {
    padding: 80px 0;
    background: var(--dark-bg);
}

/* Filter Styles */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--dark-card);
    color: var(--text);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    border-color: var(--primary);
}

.projects-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.project-card-full {
    background: var(--dark-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.project-card-full:nth-child(1) { animation-delay: 0.1s; }
.project-card-full:nth-child(2) { animation-delay: 0.2s; }
.project-card-full:nth-child(3) { animation-delay: 0.3s; }
.project-card-full:nth-child(4) { animation-delay: 0.4s; }
.project-card-full:nth-child(5) { animation-delay: 0.5s; }
.project-card-full:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card-full:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.4);
}

.project-card-full .project-header {
    background: var(--gradient-1);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-icon-large {
    font-size: 5rem;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

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

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-card-full .project-content {
    padding: 2.5rem;
}

.project-card-full .project-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.project-description {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.project-features {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
}

.project-features h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.project-features ul {
    list-style: none;
    padding: 0;
}

.project-features li {
    color: var(--text-dim);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.project-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.project-card-full .project-tech {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.8rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.3s, height 0.3s;
    transform: translate(-50%, -50%);
}

.project-link:hover::before {
    width: 300px;
    height: 300px;
}

.project-link span {
    position: relative;
    z-index: 1;
}

.project-link.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.project-link.secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

/* Carousel Styles for Homepage */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    padding: 1rem;
}

.project-card-carousel {
    background: var(--dark-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
    position: relative;
    height: 100%;
}

.project-card-carousel:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.project-card-carousel .project-header {
    background: var(--gradient-1);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-card-carousel .project-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.project-card-carousel .project-content {
    padding: 2rem;
}

.project-card-carousel .project-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-card-carousel .project-content p {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--primary);
}

.indicator:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
        gap: 1rem;
    }

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

    .carousel-container {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .project-links {
        flex-direction: column;
    }

    .project-link {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .project-card-full .project-content {
        padding: 1.5rem;
    }

    .project-features {
        padding: 1rem;
    }
}
