/* ==========================================================================
   GENEL VE TEMEL AYARLAR
   ========================================================================== */
:root {
    --primary-color: #0056b3;
    --secondary-color: #004494;
    --accent-color: #ff9800;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --footer-bg: #2c3e50;
    --footer-text: #f8f9fa;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
   background: linear-gradient(65deg, #D32F2F, #E57373, #f4f6f4, #818b82);
    background-attachment: fixed; /* Arka planın kayarken sabit kalmasını sağlar */
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary-color); }
h1, h2, h3 { margin-bottom: 0.7em; line-height: 1.2; color: #2c3e50; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
p { margin-bottom: 1rem; }

/* ==========================================================================
   HEADER VE NAVİGASYON
   ========================================================================== */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo a { font-size: 1.6rem; font-weight: bold; color: var(--primary-color); }
.main-nav ul { list-style: none; display: flex; gap: 5px; }
.main-nav a { display: block; padding: 10px 15px; font-weight: 500; border-radius: 4px; }
.main-nav a:hover { background-color: var(--light-bg); color: var(--secondary-color); }
.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; background-color: #fff; min-width: 220px; box-shadow: 0 8px 16px rgba(0,0,0,0.1); z-index: 1; border-radius: 4px; border: 1px solid var(--border-color); }
.dropdown-content a { font-size: 15px; text-transform: none; text-align: left; }
.dropdown:hover .dropdown-content { display: block; }
.mobile-nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary-color); }

/* ==========================================================================
   BUTONLAR
   ========================================================================== */
.btn { display: inline-block; padding: 12px 24px; text-decoration: none; border-radius: 5px; font-weight: bold; transition: transform 0.2s; border: 1px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background-color: var(--accent-color); color: #000; }
.btn-accent:hover { background-color: #e68000; }
.btn-outline { background-color: transparent; border-color: var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: white; }

/* ==========================================================================
   HERO BÖLÜMÜ
   ========================================================================== */
.hero {
    background-color: var(--footer-bg);
    color: white;
    text-align: center;
    padding: 60px 20px;
}
.hero h1 { color: white; }
.hero p { font-size: 1.2rem; opacity: 0.95; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { margin-top: 25px; }
.hero .btn-outline { border-color: white; color: white; }
.hero .btn-outline:hover { background-color: white; color: var(--footer-bg); }

/* ==========================================================================
   GENEL BÖLÜMLER
   ========================================================================== */
.section { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background-color: var(--accent-color); margin: 10px auto 0; }

/* ==========================================================================
   HİZMET KARTLARI
   ========================================================================== */
.service-cards-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.service-card { border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; text-align: center; background-color: #fff; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.service-card .card-body { padding: 25px; }
.service-card .card-title { font-size: 1.25rem; margin-bottom: 15px; }
.service-card .card-link { font-size: 0.9em; color: var(--secondary-color); margin-top: 15px; font-weight: 500; text-decoration: underline; }

/* ==========================================================================
   SIKÇA SORULAN SORULAR (SSS)
   ========================================================================== */
/* ==========================================================================
   SIKÇA SORULAN SORULAR (SSS) - (HTML <details> UYUMLU)
   ========================================================================== */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 10px; border: 1px solid var(--border-color); border-radius: 5px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; background: #fff; padding: 15px 20px; font-size: 1.1rem; font-weight: 500; cursor: pointer; border: none; outline: none; position: relative; color: var(--text-color); }
.faq-question::after { content: '+'; position: absolute; right: 20px; font-size: 1.5rem; transition: transform 0.2s; }
.faq-question.active::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease-out; background-color: var(--light-bg); padding: 0 20px; }
.faq-answer p { margin: 0; padding: 20px 0; }
/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background-color: var(--footer-bg); color: var(--footer-text); padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-column h3 { font-size: 1.2rem; margin-bottom: 20px; color: #fff; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column a { color: var(--footer-text); opacity: 0.8; }
.footer-column a:hover { opacity: 1; color: var(--accent-color); }
#footer-disclaimer { text-align: center; background: rgba(0,0,0,0.2); font-size: 0.9em; padding: 15px; margin-top: 30px; }
.copyright { text-align: center; padding-top: 20px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9em; opacity: 0.7; }

/* ==========================================================================
   YARDIMCI SINIFLAR
   ========================================================================== */
.sticky-call { position: fixed; bottom: 20px; right: 20px; z-index: 99; background: #1e7e34; color: #fff; font-weight: bold; border-radius: 50px; padding: 15px 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ==========================================================================
   MOBİL UYUMLULUK
   ========================================================================== */

  /* ... sayfanın diğer tüm stilleri ... */

  /* ==========================================================================
   MOBİL UYUMLULUK (TÜM KURALLAR BU BLOKTA TOPLANDI)
   ========================================================================== */
@media (max-width: 768px) {
    /* --- GENEL MOBİL AYARLARI --- */
    h1 { font-size: 2.2rem; }
    
    /* --- HEADER VE MENÜ MOBİL AYARLARI --- */
    .mobile-nav-toggle { 
        display: block; /* Hamburger menüyü mobilde GÖSTER */
    }
    .main-nav { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: #fff; 
        box-shadow: 0 8px 16px rgba(0,0,0,.1);
    }
    .main-nav.show { 
        display: block; /* Menüye tıklandığında açılması için */
    }
    .main-nav ul { 
        flex-direction: column; 
        padding: 10px; 
    }
    .logo a {
        font-size: 1.2rem; /* Mobil için logo yazısını küçült */
    }

    /* --- FOOTER MOBİL AYARLARI --- */
    .footer-content {
        grid-template-columns: 1fr; /* Sütunları alt alta diz */
        text-align: center; /* İçerikleri ortala */
    }
    .footer-column p strong {
        display: block;
        margin-bottom: 5px;
    }
    .footer-column .social-icons {
        justify-content: center; /* Sosyal medya ikonlarını ortala */
    }
    .footer-column ul {
        padding-left: 0; /* Liste başındaki boşluğu kaldır */
    }
}


/* ==========================================================================
   YENİ EKLENEN BÖLÜMLER (ORİJİNAL KODA DOKUNULMADI)
   ========================================================================== */
.social-icons { margin-top: 15px; display: flex; gap: 15px; }
.social-icons a { color: var(--footer-text); opacity: 0.8; font-size: 1.5rem; transition: opacity 0.2s, color 0.2s; }
.social-icons a:hover { opacity: 1; color: var(--accent-color); }
.reviews-carousel-wrapper { position: relative; padding: 0 40px; }
.review-container { display: flex; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 20px; gap: 20px; scrollbar-width: none; -ms-overflow-style: none; }
.review-container::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 100%; background: #fff; border-radius: 8px; padding: 25px; min-height: 180px; border: 1px solid var(--border-color); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.8); border: 1px solid var(--border-color); border-radius: 50%; width: 40px; height: 40px; font-size: 20px; font-weight: bold; cursor: pointer; z-index: 10; transition: background-color 0.2s, box-shadow 0.2s; }
.carousel-btn:hover { background-color: #fff; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* DİKKAT: ÖNCEKİ YANLIŞ ÇÖZÜMDEN KALAN GEREKSİZ KODLAR SİLİNDİ */

@media (min-width: 600px) {
    .review-card, .review-card-placeholder { flex-basis: calc(50% - 10px); }
}
@media (min-width: 992px) {
    .review-card, .review-card-placeholder { flex-basis: calc(33.333% - 14px); }
}
.main-nav a.active {
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}
.sticky-call.is-hidden {
    opacity: 0.3; /* Yarı şeffaf yap */
    pointer-events: none; /* Tıklama özelliğini devre dışı bırak */
    transform: scale(0.8); /* Biraz küçült */
    transition: opacity 0.3s, transform 0.3s; /* Geçişi yumuşat */
}

