/* Genel Stiller */
body {
    padding-top: 56px;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    height: 200px;
}

/* Kartlar */
.services {
    position: relative;
    margin-top: 100px;
    padding-top: 50px;
    z-index: 100;
    background-color: #fff;
}

.card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.card-body {
    padding: 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-text {
    margin-bottom: 0;
    flex-grow: 1;
}

/* İkonlar */
.fas {
    color: #0d6efd;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Form */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Responsive tasarım için */
@media (max-width: 1000px) {
    .hero,
    .carousel-item,
    .carousel-item img {
        width: 100%;
        height: 400px;
    }
    
    .carousel-item img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .services {
        margin-top: 50px;
        padding-top: 30px;
    }
    
    .hero,
    .carousel,
    .carousel-inner,
    .carousel-item,
    .carousel-item img {
        height: 200px; /* Mobilde de sabit yükseklik */
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .carousel-caption .btn-primary {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .carousel-container {
        margin-bottom: 30px;
    }
    
    .carousel-item img {
        height: 450px;
    }
    
    .carousel-caption {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 400px;
    }
}

/* Hakkımızda */
#hakkimizda img {
    max-width: 100%;
    transition: transform 0.3s;
}

#hakkimizda img:hover {
    transform: scale(1.02);
}

#hakkimizda ul {
    padding-left: 20px;
    margin: 15px 0;
}

#hakkimizda ul li {
    margin-bottom: 8px;
    position: relative;
}

/* Hakkımızda Bölümü */
#hakkimizda {
    background-color: #ffffff;
}

.about-content {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.about-content h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-content .lead {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-list {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.services-list h4 {
    color: #333;
    font-weight: 500;
}

.services-list ul li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #444;
    display: flex;
    align-items: center;
}

.services-list .fas {
    color: #0d6efd;
    margin-right: 10px;
    font-size: 1.2rem;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.mission-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 2rem;
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .about-content {
        padding: 1.5rem;
    }
    
    .services-list {
        padding: 1.5rem;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
    }
}

/* Carousel Stilleri - YENİ */
.carousel-container {
    margin-top: 56px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.carousel {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100px;
}

.carousel-inner {
    width: 100%;
}

.carousel-item {
    width: 100%;
}

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

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    bottom: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 10px;
    z-index: 15;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 15px;
    }
}

.container.mt-5 {
    margin-top: 3rem !important;
}

/* Yazılar için stil */
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    bottom: 20px;
}

/* Kontrol butonları */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Gösterge noktaları */
.carousel-indicators {
    bottom: 0;
}

/* Partners Section */
.partners {
    background: #f8f9fa;
    padding: 30px 0;
}

.partner-carousel {
    padding: 0;
    margin: 0;
}

.partner-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    transition: transform 0.3s ease;
    height: 100px;
}

.partner-card img {
    max-width: 150px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-2px);
}

.partner-card:hover img {
    filter: grayscale(0%);
}

#partnerCarousel {
    padding: 0 20px;
}

#partnerCarousel .carousel-control-prev,
#partnerCarousel .carousel-control-next {
    width: 3%;
    color: #333;
    background: none;
}

#partnerCarousel .carousel-control-prev-icon,
#partnerCarousel .carousel-control-next-icon {
    background-color: #333;
    border-radius: 50%;
    padding: 5px;
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .partner-card {
        height: 80px;
        padding: 10px;
        margin: 5px;
    }
    
    .partner-card img {
        max-width: 120px;
    }
} 
