/* DAF Project Page Styles */

.project-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.project-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.95;
}

.description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 30px;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-button {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: white;
    color: #667eea;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.cta-button.secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Documentation Section */

.documentation {
    padding: 80px 0;
    background: #f8f9fa;
}

.documentation h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.doc-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.doc-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.doc-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.doc-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.doc-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.doc-link:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Features Section */

.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.feature:hover {
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.feature h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.feature p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Repository Stats Section */

.repo-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.repo-stats h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.95;
}

/* Repository CTA Section */

.repo-cta {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.repo-cta h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.repo-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */

@media (max-width: 768px) {
    .project-hero-content h1 {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons,
    .cta-links {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

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

    .tagline {
        font-size: 1.1rem;
    }

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