/* Projetos Page Styles */

.projects-hero {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(to bottom, var(--surface-dark), var(--primary-soft));
    text-align: center;
}

.projects-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.projects-hero p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.projects-section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-pastel);
    border-radius: 2px;
}

/* Grid Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.project-card {
    background: var(--surface-mid);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--accent-pastel);
}

.card-image {
    height: 250px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.project-card:hover .card-content p {
    color: var(--text-primary);
}

/* Video Grid Styles */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.video-card {
    background: var(--surface-mid);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-medium);
    border-color: var(--accent-pastel);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 20px;
}

.video-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* Quality Seal Styles */
.quality-seal-section {
    padding: 80px 0;
    background: linear-gradient(to top, var(--surface-dark), var(--primary-soft));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quality-seal-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.quality-seal-image {
    flex: 0 0 300px;
    max-width: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(30, 58, 138, 0.2);
    border: 4px solid var(--surface-mid);
    animation: float 6s ease-in-out infinite;
}

.quality-seal-card {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.quality-seal-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(90deg, #fbbf24, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quality-seal-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.quality-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.quality-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.quality-footer {
    text-align: center;
    font-weight: 700;
    margin-top: 30px;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .projects-hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .projects-hero h1 {
        font-size: 2.2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quality-seal-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .quality-seal-image {
        width: 180px;
        height: 180px;
        flex: 0 0 180px;
    }

    .quality-seal-card {
        min-width: auto;
        width: 100%;
        padding: 25px;
    }
}

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

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

    .section-header h2 {
        font-size: 1.5rem;
    }

    .card-image {
        height: 200px;
    }

    .quality-seal-title {
        font-size: 1.5rem;
    }

    .quality-seal-image {
        width: 150px;
        height: 150px;
        flex: 0 0 150px;
    }
}
