/* Genel Stiller */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero .btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Hakkımızda Section */
.counter {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.counter i {
    color: #007bff;
}

/* Kartlar */
.card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

/* İletişim Formu */
.form-control {
    margin-bottom: 1rem;
    padding: 0.8rem;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    color: #007bff;
}

/* İkonlar */
.fas {
    color: #007bff;
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

/* Galeri Section */
.galeri-card {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

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

.galeri-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
}

.galeri-overlay h4 {
    margin: 0;
    font-size: 1.2rem;
}

/* Carousel Ayarları */
.carousel {
    padding: 0 50px;
}

.carousel-item {
    transition: transform 3s ease-in-out;
}

@media (max-width: 768px) {
    .carousel {
        padding: 0 20px;
    }
    
    .galeri-card img {
        height: 200px;
    }
}

/* Kayan Galeri - Güncellenen Stiller */
.sliding-gallery {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    background: #f8f9fa;
}

.sliding-gallery-track {
    display: flex;
    animation: slideLeft 30s linear infinite; /* Animasyon süresini artırdık */
}

.sliding-gallery-track:hover {
    animation-play-state: paused;
}

.sliding-gallery-item {
    flex: 0 0 300px;
    margin: 0 15px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 200px; /* Sabit yükseklik */
}

.sliding-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sliding-gallery-item:hover img {
    transform: scale(1.1);
}

.sliding-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    text-align: center;
}

/* Mobil Uyumluluk - Güncellenen Stiller */
@media (max-width: 768px) {
    .sliding-gallery {
        padding: 10px 0;
    }
    
    .sliding-gallery-track {
        animation: slideLeft 20s linear infinite;
    }
    
    .sliding-gallery-item {
        flex: 0 0 200px; /* Daha küçük genişlik */
        margin: 0 8px; /* Daha az kenar boşluğu */
        height: 150px; /* Daha küçük yükseklik */
    }

    .sliding-overlay {
        padding: 8px; /* Daha az padding */
        font-size: 0.9rem; /* Daha küçük yazı */
    }
}

/* Çok küçük ekranlar için ek optimizasyon */
@media (max-width: 480px) {
    .sliding-gallery-item {
        flex: 0 0 160px; /* Daha da küçük genişlik */
        height: 120px; /* Daha da küçük yükseklik */
        margin: 0 5px; /* Daha da az kenar boşluğu */
    }
    
    .sliding-overlay {
        padding: 5px;
        font-size: 0.8rem;
    }
}

/* Animasyon hızını ve akıcılığını iyileştirme */
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 4 - 30px * 4)); /* 4 resim ve margin hesabı */
    }
}

@media (max-width: 768px) {
    @keyframes slideLeft {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 4 - 16px * 4)); /* Mobil için hesaplama */
        }
    }
}

@media (max-width: 480px) {
    @keyframes slideLeft {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-160px * 4 - 10px * 4)); /* Küçük ekranlar için hesaplama */
        }
    }
}

/* Hakkımızda Section Ek Stiller */
.about-content {
    text-align: justify;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-features {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li i {
    position: absolute;
    left: 0;
    color: #28a745;
}

@media (max-width: 768px) {
    .feature-list {
        columns: 1;
    }
}

/* Hizmetler Section Yeni Stiller */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0; /* AOS ile görünür olacak */
}

.service-card[data-aos].aos-animate {
    opacity: 1;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #007bff, #00e1ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #007bff20, #00e1ff20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(45deg, #007bff, #00e1ff);
}

.service-icon i {
    font-size: 30px;
    color: #007bff;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    margin-bottom: 10px;
    color: #555;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 25px;
    }
}

/* Mobil için ek optimizasyon */
@media (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0s !important;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top i {
    color: white !important; /* Önceki fas class'ının mavi rengini ezmek için !important kullanıyoruz */
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 16px;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Mobil için WhatsApp butonu ayarları */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        left: 15px;
    }
} 