:root {
    --primary-color: #1411ad;
    --secondary-color: #f8b500;
    --accent-color: #c0392b;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gradient: linear-gradient(135deg, #e10b15 0%, #c0392b 100%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden; /* Prevent horizontal scroll */
}
/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important; 
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand img {
    border-radius: 50%;
}
.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    color: #000000; /* Ensure text is visible */
}
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}
.navbar-toggler {
    border: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Hero Section */
.hero {
    background: var(--gradient);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0; /* Added padding for content */
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}
.btn-custom {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 181, 0, 0.3);
}
.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 181, 0, 0.4);
    color: var(--dark-color);
}
/* Feature Cards Section */
.feature-cards-section {
    padding: 80px 0;
    background: #f9f9f9;
}
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.feature-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Service Categories Section */
.service-categories-section {
    padding: 80px 0;
    background: white;
}
.service-category-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
    display: block; /* Make the whole card clickable */
}
.service-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.service-category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: transform 0.3s ease;
}
.service-category-card:hover img {
    transform: scale(1.05);
}
.service-category-content {
    padding: 25px;
    text-align: center;
}
.service-category-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
    transition: color 0.3s ease;
}
.service-category-card:hover .service-category-content h3 {
    color: var(--primary-color);
}
.service-category-content p {
    font-size: 0.9rem;
    color: #666;
}

/* Guarantee Section */
.guarantee-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.guarantee-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.guarantee-section h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f9f9f9;
}
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.testimonial-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}
.testimonial-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}
.testimonial-card p {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* Statistics Section */
.statistics-section {
    background: var(--dark-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.statistic-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}
.statistic-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}
.statistic-card .value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.statistic-card .label {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: white;
}
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}
.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.contact-card p, .contact-card a {
    font-size: 1.1rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-card a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}
.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}
.footer ul {
    list-style: none;
    padding: 0;
}
.footer ul li {
    margin-bottom: 10px;
}
.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer ul li a:hover {
    color: var(--primary-color);
}
.footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.footer .copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Emergency Button */
/* Masaüstü ve Genel Ayarlar */
.emergency-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important; /* Masaüstünde sağda kalsın */
    background-color: #0d1b3e !important;
    color: white !important;
    width: auto !important;
    height: auto !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    z-index: 999999 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
}

/* MOBİL ÖZEL AYARI (Tam ortalama burada yapılıyor) */
@media (max-width: 767.98px) {
    .emergency-btn {
        right: 50% !important; /* Sağdan ekranın yarısına kadar çek */
        transform: translateX(50%) !important; /* Kendi genişliğinin yarısı kadar geri iterek tam ortala */
        bottom: 20px !important;
        width: 90% !important; /* Ekranın %90'ını kaplasın (daha şık durur) */
        max-width: 350px !important; /* Çok devasa olmasın */
        font-size: 14px !important;
        padding: 10px 15px !important;
    }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 8px 15px;
        border-radius: 5px;
    }
    .navbar-nav .nav-link:hover {
        background-color: rgba(var(--primary-color-rgb), 0.1);
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .feature-card, .service-category-card, .testimonial-card, .statistic-card, .contact-card {
        margin-bottom: 30px; /* Add space between cards on smaller screens */
    }
}
@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .feature-cards-section, .service-categories-section, .testimonials-section, .statistics-section, .contact-info-section, .footer {
        padding: 50px 0;
    }
    .emergency-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}
.service-notice-left {
    position: fixed;
    bottom: 20px; /* Alttan mesafe */
    left: 20px;   /* Sol köşeye sabitledik */
    width: 300px;
    background-color: #000000;
    border-top: 5px solid #d32f2f; /* Daha ciddi bir kırmızı/turuncu tonu */
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
    z-index: 999999; /* Her şeyin üstünde görünmesi için */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: slideInLeft 0.5s ease-out;
}

.service-notice-content {
    padding: 18px;
}

.service-notice-left h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #d32f2f;
    font-weight: 700;
}

.service-notice-left p {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

.service-btn {
    background-color: #222;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.service-btn:hover {
    background-color: #d32f2f;
}

/* Mobilde sağdaki butonu kapatmaması için daraltma */
@media (max-width: 480px) {
    .service-notice-left {
        width: 260px;
        left: 10px;
        bottom: 10px;
    }
}

.header-fixer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

.ust-firsat-bari {
    background-color: #E63946;
    color: white;
    height: 40px;
    overflow: hidden; /* Dışarı taşan yazıları gizle */
    display: flex;
    align-items: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 14px;
}

/* Kayan Yazı Mekanizması */
.kayan-yazi-dis-kutu {
    display: flex;
    width: max-content;
}

.kayan-yazi-ic-grup {
    display: flex;
    flex-shrink: 0;
    animation: kesintisizAkis 25s linear infinite;
}

.kayan-yazi-ic-grup span {
    padding-right: 60px; /* Yazılar arasındaki mesafeyi buradan ayarla */
    white-space: nowrap;
}

/* Mobilde Boşluğu Bitiren Sihirli Animasyon */
@keyframes kesintisizAkis {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Sayfa içeriği ve Navbar ayarı */
.navbar, header {
    top: 40px !important;
}

body {
    padding-top: 100px; /* Şerit + Navbar yüksekliği */
}

/* Mobil için hız ayarı (Opsiyonel) */
@media (max-width: 768px) {
    .kayan-yazi-ic-grup {
        animation: kesintisizAkis 20s linear infinite; /* Mobilde biraz daha hızlı aksın */
    }
}

/* Kartın genel stili (Eğer yoksa diye ekledim) */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%; /* Kart boylarını eşitlemek için */
}
.testimonial-card:hover {
    transform: translateY(-5px);
}
.testimonial-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}
.testimonial-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Baş Harf Avatar Stilleri */
.avatar-letter {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin: 0 auto 20px auto; /* Ortala ve alt boşluk bırak */
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
    border: 3px solid #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* Her müşteri için farklı renkler */
.av-1 { background-color: #3498db; } /* Aytün Tuna - Mavi */
.av-2 { background-color: #2ecc71; } /* İlker Kayacan - Yeşil */
.av-3 { background-color: #e67e22; } /* Nurdan Barlas - Turuncu */