@import url(navbar_and_body.css);

body {
    background-color: #0f172a;
    min-height: 100vh;
    padding-bottom: 60px;
}

.sertifikalar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 20px 20px;
}

.sayfa-baslik {
    text-align: center;
    color: #ffd700;
    font-size: 2.5rem;
    margin: 20px 0 40px 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    animation: titlePulse 2s ease-in-out infinite;
}

.sayfa-baslik::before,
.sayfa-baslik::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #ffd700;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    animation: dotPulse 2s ease-in-out infinite;
}

.sayfa-baslik::before {
    left: -20px;
}

.sayfa-baslik::after {
    right: -20px;
}

.sertifikalar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.sertifika-kart {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.sertifika-kart:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.sertifika-resim {
    width: 100%;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.sertifika-resim img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.sertifika-kart:hover .sertifika-resim img {
    transform: scale(1.1);
}

.sertifika-bilgi {
    padding: 20px;
    text-align: center;
}

.sertifika-bilgi h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.sertifika-bilgi p {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
    padding: 0 10px;
    margin-top: 10px;
}

@keyframes titlePulse {
    0%, 100% {
        color: #ffd700;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        color: #fff;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                     0 0 30px rgba(255, 215, 0, 0.4);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px #ffd700;
    }
    50% {
        opacity: 0.3;
        box-shadow: 0 0 20px #ffd700;
    }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .sertifikalar-container {
        padding: 80px 15px 20px 15px;
    }
    
    .sayfa-baslik {
        font-size: 2rem;
        margin: 15px 0 30px 0;
    }
    
    .sayfa-baslik::before,
    .sayfa-baslik::after {
        width: 6px;
        height: 6px;
    }

    .sertifikalar-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px;
    }

    .sertifika-resim {
        height: 200px;
    }

    .sertifika-bilgi h3 {
        font-size: 1.3rem;
    }

    .sertifika-bilgi p {
        font-size: 0.85rem;
        padding: 0 5px;
    }
}

@media screen and (max-width: 375px) {
    .sertifikalar-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }
    
    .sertifika-kart {
        min-height: 300px;
    }
    
    .sertifika-bilgi h3 {
        font-size: 1rem;
    }
    
    .sertifika-bilgi p {
        font-size: 0.8rem;
    }
}

/* Lightbox Stili */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Mobil için lightbox düzenlemesi */
@media (max-width: 768px) {
    .lightbox img {
        max-width: 95%;
        max-height: 80vh;
    }
}