/* Certificates Page Styles for TUNGA HUKUK website */
/* Created: April 25, 2025 */

.certificates-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/1/uploads/hero/certificates-hero.jpg');
    background-position: center;
    background-size: cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.certificates-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url('/1/uploads/goktürk-pattern.png');
    background-repeat: repeat-x;
    background-size: contain;
    opacity: 0.3;
}

.certificates-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: var(--goktürk-font);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.certificates-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.certificates-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.certificates-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.certificate-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.certificate-header {
    background-color: var(--turkuaz);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.certificate-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.certificate-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.certificate-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.certificate-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.certificate-file {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    color: #e74c3c;
}

.certificate-description {
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.certificate-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn-view {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-view:hover {
    background-color: #8a6820;
}

.no-certificates {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.no-certificates p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* CTA Section */
.cta-section {
    background-color: var(--turkuaz);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-family: var(--goktürk-font);
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .certificates-hero h1 {
        font-size: 2.2rem;
    }
    
    .certificates-hero p {
        font-size: 1rem;
    }
    
    .certificates-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .certificates-hero {
        height: 30vh;
    }
    
    .certificates-hero h1 {
        font-size: 1.8rem;
    }
    
    .certificates-section {
        padding: 3rem 0;
    }
    
    .certificates-container {
        grid-template-columns: 1fr;
    }
}
