/* Global Stiller - Index için */
#about, #gallery, #news {
    margin-bottom: 80px !important;
    margin-top: 80px !important;
}

h2 {
    font-weight: 600 !important;
}

/* Slider Bölümü */
#carouselExample {
    margin-bottom: var(--section-spacing, 5rem);
}

#carouselExample img {
    max-height: 600px;
    object-fit: cover;
    width: 100%;
}

.carousel-item img {
    height: 600px;
    object-fit: cover;
}

.slider-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    background: rgb(0 0 0 / 70%);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .slider-title {
        font-size: 1.8rem;
        padding: 3px 10px;
    }
} 

/* Mobil için Slider */
@media (max-width: 768px) {
    #carouselExample img {
        max-height: 300px;
        min-height: 150px;
    }
}

/* Hakkımda Bölümü */
#about {
    text-align: center;
}

#about p {
    margin: 0 auto;
    max-width: 800px;
}

.profile-photo {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-photo-ana {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    max-width: 200px;
    max-height: 200px;
}

.dahafazla {
    margin-top: 20px;
}

.dahafazla a {
    color: rgb(0 0 0);
    text-decoration: none;
    font-weight: 600;
}

/* Eserler Bölümü */
.gallery-item {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
    margin-top: 30px;
    padding-right: 25px !important;
    padding-left: 25px !important;
}

.gallery-item img {
    position: relative;
    width: 100%;
    height: 300px;
    object-fit: contain;
    /*transition: all 0.3s ease;*/
    cursor: pointer;
    /*filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));*/
    z-index: 2;
}

.gallery-item img:hover {
    transform: scale(1.02);
    filter: drop-shadow(5px 5px 3px rgba(0, 0, 0, 0.5));
}
/*
.gallery-item:hover img {
    /*transform: scale(1.05);
}*/

.gallery-item .details {
    position: relative;
    background: rgba(255, 255, 255, 1);
    padding: 15px;
    margin-top: 10px;
    z-index: 1;
}

.gallery-item .details h5 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.gallery-item .details p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

/* Haberler Bölümü */
.news-card {
    position: relative;
    background: #fff;
    margin-bottom: 2rem;
    border: none;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

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

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

.news-card img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    min-height: 225px;
    max-height: 225px;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-card .news-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
}

.news-card .news-meta span {
    font-size: 0.85rem;
    margin-right: 15px;
}

.news-card .news-meta i {
    margin-right: 5px;
}

.news-card .card-body {
    /*padding: 1.5rem;*/
    /*padding-left: 0;*/
    background: #fff;
}

.news-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-card .card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card .card-title a:hover {
    color: #34495e;
}

.news-card .card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Modal */
.modal-dialog {
    max-width: 800px;
}

.modal-body {
    padding: 0;
}

.modal-body img {
    width: 100%;
    height: auto;
}

/* Yardımcı Sınıflar */
.text-center {
    text-align: center !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.line-clamp {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

