/* Genel Stiller ve Reset */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

*, *::before, *::after {
    box-sizing: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #2e86de; /* Ana mavi renk */
    margin-top: 0;
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: #2e86de;
}

a:hover {
    color: #1e63b0; /* Mavinin koyu tonu */
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0; /* Bölümler arası dikey boşluk */
}

.section-gray {
    background-color: #f2f2f2; /* Açık gri arka plan */
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #2e86de;
    color: #ffffff;
    border-color: #2e86de;
}

.btn-primary:hover {
    background-color: #1e63b0;
    border-color: #1e63b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #ffffff;
    color: #2e86de;
    border-color: #ffffff;
}

.btn-secondary:hover {
     background-color: #e0e0e0; /* Hafif grileşen arka plan */
     border-color: #e0e0e0;
     transform: translateY(-2px);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- NAVIGATION BAR --- */
#navbar {
    position: fixed; /* Sabit menü */
    top: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Diğer içeriklerin üzerinde görünmesini sağlar */
    padding: 15px 0;
    transition: top 0.3s ease; /* Menünün görünür/gizlenir animasyonu için */
}

#navbar .container {
    display: flex;
    justify-content: space-between; /* Logo ve menüyü iki yana yasla */
    align-items: center; /* Dikeyde ortala */
}

#navbar .logo a {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
    color: #2e86de;
}

#navbar .logo img {
    height: 30px; /* Logo yüksekliği */
    margin-right: 10px;
}

#navbar .logo span {
     color: #333; /* Metin rengi */
}

#navbar .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#navbar .nav-links li {
    margin-left: 30px;
}

#navbar .nav-links a {
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

#navbar .nav-links a::after { /* Aktif/hover alt çizgi efekti */
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #2e86de;
    transition: width 0.3s ease;
}

#navbar .nav-links a:hover::after {
    width: 100%;
}

/* Burger Icon (Mobil Menü İçin) */
.burger {
    display: none; /* Varsayılan olarak gizli */
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}


/* --- HERO SECTION --- */
#hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Ekran yüksekliğinin tamamı */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden; /* Arka planın taşmasını engelle */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 1980px;
    height: 1080px;
    background: url('../1.jpg') no-repeat center center/cover; /* Lütfen bu dosyayı ekleyin */
    filter: blur(0px); /* Hafif bulanıklık */
    z-index: 0;
}

#hero .container {
    position: relative; /* İçeriğin arka planın üstünde kalmasını sağlar */
    z-index: 1;
    max-width: 900px;
    padding-top: 80px; /* Sabit menüden dolayı üstten boşluk */
}

#hero h1 {
    color: #ffffff;
    font-size: 3.5em;
    margin-bottom: 15px;
}

#hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- ABOUT SECTION --- */
#about .about-text {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-choose-us {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 40px;
}

.reason-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.reason-box i {
    font-size: 2.5em;
    color: #2e86de;
    margin-bottom: 15px;
}

.reason-box h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.reason-box p {
    font-size: 0.95em;
    color: #555;
}

/* --- SERVICES SECTION --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 40px;
}

.service-card {
     background-color: #ffffff;
     padding: 30px 20px;
     border-radius: 8px;
     text-align: center;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.8em;
    color: #2e86de;
    margin-bottom: 15px;
}

.service-card h3 {
     font-size: 1.2em;
}


/* --- CUSTOMER REVIEWS SECTION --- */
#reviews {
    text-align: center;
}

.swiper {
    width: 100%;
    
    margin: 40px auto 0 auto;
    padding-bottom: 50px; /* Pagination için boşluk */
}

.swiper-slide {
    padding: 30px;
}

.review-card {
     background-color: #f9f9f9; /* Hafif farklı arka plan */
     border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.review-card .stars {
    color: #ffc107; /* Sarı yıldız rengi */
    margin-bottom: 15px;
}

.review-card .stars i {
    font-size: 1em;
    margin: 0 2px;
}

.review-text {
     font-size: 1.1em;
     font-style: italic;
     margin-bottom: 15px;
     color: #555;
}

.customer-name {
     font-weight: 600;
     font-size: 1em;
     color: #333;
}

/* Swiper Navigasyon Okları Stili */
.swiper-button-next,
.swiper-button-prev {
  color: #2e86de !important; /* Ok rengi */
  top: 50%; /* Dikey pozisyon */
}

/* Swiper Pagination Noktaları Stili */
.swiper-pagination-bullet {
  background: #2e86de !important; /* Nokta rengi */
}


/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.contact-info h3,
.contact-form h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
}

.contact-info i {
    color: #2e86de;
    margin-right: 10px;
    width: 20px; /* İkonlar arası hizalama için */
    text-align: center;
}

.contact-info a {
     color: #555;
}

.contact-info a:hover {
    color: #2e86de;
    text-decoration: underline;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
}

.contact-form textarea {
    resize: vertical; /* Sadece dikeyde boyutlandırmaya izin ver */
}

.contact-form .btn-primary {
    width: 100%; /* Butonu tam genişlik yap */
    padding: 14px;
    font-size: 1.1em;
}

.google-map iframe {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* --- FOOTER --- */
footer {
    background-color: #333; /* Koyu gri arka plan */
    color: #e0e0e0; /* Açık gri metin */
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    flex-direction: column; /* Mobil görünümde alt alta */
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 100px; /* Footer logo yüksekliği */
    margin-bottom: 10px; /* Mobil görünümde ikonlardan boşluk */
}

.footer-social a {
    color: #e0e0e0;
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #2e86de; /* Mavi renk */
}

.footer-copyright p {
     margin: 0; /* Varsayılan paragraf marginini kaldır */
}


/* --- RESPONSIVE DESIGN (Media Queries) --- */

/* Tablet ve Küçük Masaüstü (768px - 1024px) */
@media (max-width: 1024px) {
     #hero h1 {
         font-size: 3em;
     }

     #hero p {
         font-size: 1.3em;
     }

     h2 {
         font-size: 2em;
     }

    .section {
        padding: 60px 0;
    }

    .service-grid,
    .contact-grid {
        gap: 25px;
    }

     .reason-box,
     .service-card {
         padding: 25px;
     }
}


/* Mobil Cihazlar (768px altı) */
@media (max-width: 768px) {
    /* Navigasyon */
    #navbar .container {
        flex-direction: row; /* Logo solda, burger sağda kalsın */
        justify-content: space-between;
    }

    #navbar .nav-links {
        position: absolute;
        right: 0;
        top: 65px; /* Nav yüksekliğine göre ayarla */
        background-color: #ffffff;
        flex-direction: column;
        width: 60%; /* Açılan menü genişliği */
        transform: translateX(100%); /* Başlangıçta sağda gizli */
        transition: transform 0.5s ease-in;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-bottom-left-radius: 8px;
    }

    #navbar .nav-links.nav-active {
        transform: translateX(0%); /* Aktif olunca görünür */
    }

    #navbar .nav-links li {
        margin: 15px 0; /* Mobil menüde dikey boşluk */
    }

     #navbar .nav-links a::after {
        bottom: -3px;
     }

    .burger {
        display: block; /* Burger ikonu görünür */
        z-index: 1001; /* Menünün üzerinde kalmasını sağlar */
    }

    /* Burger animasyonu (açık hali) */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }


    /* Hero Section */
    #hero {
        height: auto; /* İçeriğe göre yükseklik al */
        min-height: 100vh; /* Ancak en az ekran yüksekliği kadar olsun */
        padding: 120px 20px 60px 20px; /* Üstten sabit menü boşluğu */
    }

    #hero .container {
         padding-top: 0; /* Hero container'daki üst padding'i sıfırla, section padding yeterli */
    }


    #hero h1 {
        font-size: 2.5em;
    }

    #hero p {
        font-size: 1.1em;
    }

    .hero-buttons {
        flex-direction: column; /* Butonları alt alta */
        gap: 15px;
        align-items: center; /* Alt alta gelince ortala */
    }

    .hero-buttons .btn {
        width: 90%; /* Mobil buton genişliği */
        max-width: 300px;
    }

    /* Genel */
    h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

     .section {
         padding: 50px 0;
     }

    /* About */
     .about-text {
         font-size: 1em;
         margin-bottom: 40px;
     }

     .why-choose-us {
         grid-template-columns: 1fr; /* Tek sütun */
         gap: 20px;
     }

     .reason-box {
         padding: 20px;
     }

     .reason-box i {
         font-size: 2em;
     }

     .reason-box h3 {
         font-size: 1.1em;
     }

    /* Services */
     .service-grid {
         grid-template-columns: 1fr; /* Tek sütun */
         gap: 20px;
     }

     .service-card {
         padding: 25px;
     }

     .service-card i {
         font-size: 2.2em;
     }

     .service-card h3 {
         font-size: 1.1em;
     }

    /* Reviews */
     .review-text {
         font-size: 1em;
     }

     .swiper {
        padding-bottom: 40px;
     }


    /* Contact */
     .contact-grid {
         grid-template-columns: 1fr; /* Tek sütun */
         gap: 30px;
         margin-bottom: 40px;
     }

     .contact-info h3,
     .contact-form h3 {
         font-size: 1.3em;
         margin-bottom: 15px;
     }

     .contact-info p {
         font-size: 1em;
     }

    /* Footer */
     .footer-content {
         flex-direction: column;
         gap: 15px;
     }

     .footer-logo img {
         height: 100px;
     }

     .footer-social a {
         font-size: 1.3em;
         margin: 0 8px;
     }

     footer p {
         font-size: 0.8em;
     }
}


/* Küçük Mobil Cihazlar (480px altı) */
@media (max-width: 480px) {
     #hero h1 {
         font-size: 2em;
     }

     #hero p {
         font-size: 1em;
     }

     .btn {
         padding: 10px 20px;
         font-size: 0.9em;
     }

     h2 {
         font-size: 1.6em;
     }

      .section {
         padding: 40px 0;
     }

    .review-text {
        font-size: 0.9em;
    }

}

/* --- FLOATING WHATSAPP ICON --- */
.whatsapp-float {
    position: fixed; /* Ekrana göre sabit pozisyon alır */
    width: 60px; /* İkonun genişliği */
    height: 60px; /* İkonun yüksekliği */
    bottom: 30px; /* Sayfanın altından 30px yukarıda */
    right: 30px; /* Sayfanın sağından 30px solda */
    background-color: #25d366; /* WhatsApp yeşili */
    color: #ffffff; /* İkon rengi beyaz */
    border-radius: 50px; /* Genişlik ve yüksekliğin yarısı kadar yaparak tam yuvarlak olur */
    text-align: center;
    font-size: 30px; /* İkon boyutu */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Hafif gölge */
    z-index: 1000; /* Diğer tüm elementlerin üzerinde görünmesini sağlar (navbar'dan daha yüksek z-index verebilirsiniz) */
    display: flex; /* İkonu dikeyde ve yatayda ortalamak için */
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease; /* Üzerine gelince animasyon ekler */
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Üzerine gelince %10 büyür */
}

/* Opsiyonel: Mobil görünümde boyutu ve pozisyonu ayarlama */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* Opsiyonel: Eğer solda durmasını isterseniz */
/*
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px; // Sağ yerine sol kullanın
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px; // Mobil için sol pozisyon
        font-size: 24px;
    }
}
*/