.proje-detay-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.proje-detay-header {
    margin-bottom: 10px;
}

.proje-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.proje-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.durum-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.durum-badge.tamamlanan {
    background-color: #28a745;
}

.durum-badge.devam-eden {
    background-color: #ffc107;
}

.durum-badge.planlanan {
    background-color: #17a2b8;
}

.proje-info {
    text-align: center;
}

.proje-info h1 {
    color: #000000;
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}


.proje-meta {
    color: #666;
    font-size: 16px;
}

.proje-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.proje-content {
    margin-bottom: 40px;
}

.proje-icerik-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 0.2rem 1.2rem;
    margin-bottom: -1rem;
    width: 100%;
    box-sizing: border-box;
}

.proje-icerik {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    max-width: 100%;
    overflow-x: hidden;
    white-space: pre-line;
}

.proje-icerik p {
    color: #222;
    font-size: 1.05rem;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    box-sizing: border-box;

    
}

.proje-icerik img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.proje-gorselleri-section {
    margin: 15px 0;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.7rem;
    margin-top: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: block;
    width: 100%;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}


.no-images-message {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 18px;
    font-style: italic;
}

.proje-gorselleri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.proje-gorsel-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.proje-gorsel-item:hover {
    transform: translateY(-5px);
}

.gorsel-wrapper {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.gorsel-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.proje-gorsel-item:hover .gorsel-wrapper img {
    transform: scale(1.05);
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.proje-footer {
    text-align: center;
    margin-top: 40px;
}

.geri-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: #255938;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.geri-btn:hover {
    background-color: #1e4730;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: pointer;
    overflow: hidden;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 1 !important;
    visibility: visible !important;
}

.lb-nav a.lb-prev {
    left: 0;
}

.lb-nav a.lb-next {
    right: 0;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 0.8 !important;
}

@media (max-width: 1200px) {
    .proje-gorselleri-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .proje-gorselleri-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .proje-gorselleri-grid {
        grid-template-columns: 1fr;
    }
    .proje-info h1 {
        font-size: 1.5rem;
    }
}