/* Certificates Page Styles */
.certificates-page {
    padding-top: 80px;
    background: var(--background);
}

.page-hero {
    padding: 100px 0 50px;

    text-align: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;

}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.certificates-grid {
    padding: 80px 0;
}

.cert-card {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cert-card-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.cert-image {
    padding: 20px;
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cert-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cert-image:hover img {
    transform: scale(1.05);
}

.cert-content {
    padding: 30px 30px 30px 0;
}

.cert-content h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.cert-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cert-details p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cert-features {
    list-style: none;
    padding: 0;
}

.cert-features li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-features i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .cert-card-inner {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }

    .cert-image img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .cert-card-inner {
        grid-template-columns: 1fr;
    }

    .cert-content {
        padding: 20px;
    }

    .cert-image {
        padding: 20px 20px 0;
    }

    .cert-image img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 80px 0 40px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cert-content h3 {
        font-size: 1.5rem;
    }
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    right: -35px;
    top: -35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sertifika görsellerine hover efekti ekle */
.certificate-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.certificate-image:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}