/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navbar Stili */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 60px;
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero-section {
    margin-top: 0;
    overflow: hidden;
}

.carousel-item {
    height: 80vh;
    max-height: 800px;
    min-height: 500px;
    background: no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Bölüm Başlıkları */
section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    font-weight: 700;
    color: #333;
}

section h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #007bff;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* Kart Stilleri */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-title {
    font-weight: 600;
    color: #333;
}

/* Hizmetler Bölümü */
.services-section {
    padding: 80px 0;
}

.services-section .card {
    text-align: center;
    padding: 20px 15px;
    border: 1px solid #eee;
}

.services-section .card i {
    color: #007bff;
    margin-bottom: 15px;
}

/* Duyurular Bölümü */
.announcements-section {
    padding: 80px 0;
}

.announcements-section .card {
    overflow: hidden;
}

.announcements-section .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.announcements-section .card:hover .card-img-top {
    transform: scale(1.05);
}

/* İletişim Bölümü */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    width: 20px;
    margin-right: 10px;
    color: #007bff;
}

.contact-form .form-control {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea.form-control {
    min-height: 120px;
}

/* Footer */
footer {
    background: #343a40;
    color: #fff;
    padding: 40px 0 20px;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h5:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: #007bff;
    bottom: 0;
    left: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Responsive Ayarlar */
@media (max-width: 991.98px) {
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .carousel-caption {
        bottom: 20%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
    
    footer {
        text-align: center;
    }
    
    footer h5:after {
        left: 50%;
        transform: translateX(-50%);
    }
}
