/* Genel Sayfa Stilleri */
body {
    /* ESKİ SATIR: font-family: 'Arial', sans-serif; */
    font-family: 'Montserrat', sans-serif; /* YENİ SATIR */
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header ve Navigasyon Menüsü */
header {
    background: #2c3e50;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #e8491d 3px solid;
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

header .highlight, header .current a {
    color: #e8491d;
    font-weight: bold;
}

header a:hover {
    color: #cccccc;
    font-weight: bold;
}

/* Ana Sayfa Hero Alanı */
/* Ana Sayfa Hero Alanı - YENİ VE GELİŞTİRİLMİŞ KODLAR */
.hero {
    position: relative; /* Katmanlama için gerekli */
    min-height: 500px; /* Alanı biraz büyüttük */
    background: url('../images/hero-bg.webp') no-repeat center center/cover;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Dışarı taşmaları engeller */
}

/* Arka plan resmini karartmak için overlay efekti */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Siyah ve %60 şeffaf. Burayı değiştirerek koyuluğu ayarlayabilirsiniz. */
    z-index: 1; /* Overlay en altta (yazının arkasında) */
}

/* Parçacık animasyonunun stilini belirliyoruz */
#tsparticles {
  position: absolute;
    top: 0;
    left: 0;
  pointer-events: none; /* hiçbir tıklamayı engellemez */
  width: 100%;
  height: 100%;
  z-index: 2; /* Parçacıklar overlay'in bir katman üstünde */
}

/* Hero içindeki yazıların parçacıkların da önünde olmasını sağlıyoruz */
.hero .container {
    position: relative; /* Bu satır önemli */
    z-index: 3; /* Yazılar en üst katmanda */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* Yazı gölgesini de güçlendirdik */
}

.hero h1 {
    font-size: 3.5em; /* Yazıyı büyüttük */
    margin-bottom: 20px;
    font-weight: 700; /* Kalın font */
}

.hero p {
    font-size: 1.5em; /* Alt metni büyüttük */
    max-width: 800px; /* Çok uzamasını engelledik */
}
/* HERO ALANI DEĞİŞİKLİKLERİ SONU */

.hero h1 {
    font-size: 55px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
}

/* İçerik Alanları */
.content {
    padding: 20px;
    background: #fff;
    margin-top: 20px;
    border-radius: 5px;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.content h1, .content h2 {
    color: #2c3e50;
}

/* Fiyat Tablosu */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.price-table th, .price-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.price-table th {
    background-color: #2c3e50;
    color: white;
    font-size: 18px;
}

.price-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.price-table tr:hover {
    background-color: #ddd;
}

.price-table td:last-child {
    font-weight: bold;
    color: #e8491d;
    font-size: 1.1em;
}

/* İletişim Bilgileri */
.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    padding: 10px 0;
    border-bottom: 1px #ccc dotted;
}

/* Footer (Alt Kısım) */
footer {
    padding: 20px;
    margin-top: 20px;
    color: #ffffff;
    background-color: #2c3e50;
    text-align: center;
}

/* Kart Bölümü Stilleri */
.services {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #2c3e50;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin: 20px;
}

.card p {
    font-size: 1em;
    padding: 0 20px;
    flex-grow: 1; /* Butonların aynı hizada kalmasını sağlar */
}

.card .btn {
    display: block;
    background: #e8491d;
    color: #fff;
    padding: 12px;
    text-decoration: none;
    margin: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card .btn:hover {
    background: #333;
}

.orta{
    text-align: center;
}

/* SSS Sayfası Stilleri */
.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item h3 {
    color: #e8491d;
    margin-bottom: 10px;
}

.faq-item p {
    margin-left: 10px;
}

/* Hizmetlerimiz Sayfası Stilleri */
.page-intro {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
}

/* service-box Stilleri - YENİ VE MOBİL UYUMLU VERSİYON */
.service-box {
    display: flex; /* Öğeleri yan yana dizmek için (BÜYÜK EKRAN) */
    gap: 20px;
    margin-bottom: 40px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    align-items: flex-start; /* Resim ve yazının üstten hizalanmasını sağlar */
}

.service-box img {
    /* Büyük ekranda resmin genişliğini ayarlıyoruz */
    width: 30%; 
    max-width: 300px;
    height: auto; /* Yüksekliği otomatik ayarla */
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0; /* Küçülmesini engeller */
}

.service-text {
    /* Yazı alanının kalan genişliği kullanmasını sağlar */
    flex-grow: 1;
}


/* MOBİL UYUMLULUK KURALI (Responsive Design) */
@media (max-width: 768px) {
    /* Ekran genişliği 768 pikselden küçükse bu kuralları uygula */
    .service-box {
        flex-direction: column; /* Öğeleri yan yana yerine ALT ALTA (dikey) dizer */
        align-items: center; /* Öğeleri (resim ve yazı) yatayda ortalar */
    }

    .service-box img {
        width: 100%; /* Mobil ekranda resim tam genişlik kaplar */
        max-width: 100%;
        margin-bottom: 15px; /* Resim ile yazı arasına boşluk bırakır */
    }

    .service-text {
        text-align: center; /* Mobil görünümde yazıları ortalamak estetik durur */
    }
}

.service-box img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.service-box h2 {
    color: #e8491d;
}

/* Sabit WhatsApp Butonu */
.whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    z-index: 100;
    transition: transform 0.2s;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
}

/* Sabit Telefon Butonu - HİZALAMA GARANTİLİ CSS */
.phone-fab {
    position: fixed;
    bottom: 20px;
    right: 90px; 
    background-color: #e8491d; 
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    
    /* İkonu tam merkeze almak için kritik satırlar: */
    display: flex;
    align-items: center; 
    justify-content: center; 
    
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    z-index: 100;
    transition: transform 0.2s, background-color 0.3s;
}

.phone-fab:hover {
    transform: scale(1.1);
    background-color: #c0392b; 
}

.phone-fab svg {
    width: 30px; 
    height: 30px; 
}