/* Hero section */
.project-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    margin-top: 61px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.project-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.project-tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Content sections */
.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem 2rem;
}

.content-section:first-of-type {
    padding-top: 3rem;
}

.content-section:last-child {
    padding-bottom: 2.5rem;
}

/* Project info */
.project-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 0;
}

.project-description h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.project-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

/* Feature list styling */
.project-description ul,
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.project-description li,
.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
}

.project-description li:before,
.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0A84FF;
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 1.7;
}

.project-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Features section */
.features-section {
    margin: 1rem 0 0 0;
}

.features-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Screenshots section */
.screenshots-section {
    margin: 2rem 0;
}

.screenshots-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-item:hover .screenshot-caption {
    opacity: 1;
}

/* Implementation details */
.implementation-section {
    margin: 1rem 0 0 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
}

.implementation-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.implementation-content {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.implementation-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.implementation-content h3:first-child {
    margin-top: 0;
}

.implementation-content p {
    margin-bottom: 1.5rem;
}

.implementation-content ul {
    list-style: none;
    padding-left: 0;
}

.implementation-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.implementation-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0A84FF;
}

/* Next project */
.next-project {
    text-align: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.next-project h3 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.next-project-link {
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.next-project-link:hover {
    color: #0A84FF;
}

/* Mobile styles */
@media (max-width: 768px) {
    .project-hero {
        height: 50vh;
        min-height: 350px;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-tagline {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-button {
        width: 100%;
        justify-content: center;
    }

    .project-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-description {
        text-align: center;
    }

    .project-description h2 {
        font-size: 1.75rem;
    }

    .project-details {
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
    }

    .tech-list {
        justify-content: center;
    }

    .features-section h2,
    .screenshots-section h2,
    .implementation-section h2 {
        font-size: 1.75rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

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

    .content-section {
        padding: 2rem 1rem 1rem 1rem;
    }

    .next-project h3 {
        font-size: 0.875rem;
    }

    .next-project-link {
        font-size: 1.5rem;
    }
    
    .project-description li,
    .feature-list li {
        text-align: left;
    }
}