/* =================================== */
/* 1. GENEL VE TEMEL AYARLAR           */
/* =================================== */

body {
    font-family: 'Lato', sans-serif;
    padding-top: 70px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.nav-link {
    font-family: 'Poppins', sans-serif;
}

:root {
    --ipeksi-pink: #E83E8C;
    --ipeksi-blue: #00BFFF;
    --primary-color: var(--ipeksi-pink);
    --secondary-color: var(--ipeksi-blue);
    --text-dark: #343A40;
    --text-muted: #6c757d;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d63384;
}

/* =================================== */
/* 2. BOOTSTRAP DEĞİŞKENLERİNİ EZME    */
/* =================================== */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #d63384;
    border-color: #d63384;
}

.nav-link.active,
.dropdown-item.active,
.dropdown-item:active {
    color: var(--primary-color) !important;
    background-color: rgba(232, 62, 140, 0.1) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* =================================== */
/* 3. SAYFA BÖLÜMLERİ                  */
/* =================================== */

/* --- Hero Alanı --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/slider.jpg') no-repeat center center;
    background-size: cover;
    height: 80vh;
    min-height: 500px;
}

.hero-section .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* --- Hizmetlerimiz Alanı --- */
.services-section .service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.services-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.services-section .service-card .text-primary {
    transition: transform 0.3s ease;
}

.services-section .service-card:hover .text-primary {
    transform: scale(1.1);
}

/* --- Sayılarla Biz Alanı (YENİ) --- */
.counter-stats-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x1080') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax efekti için */
}

.counter-stats-section .counter h2 {
    font-weight: 700;
    font-size: 3rem;
}

.counter-stats-section .counter p {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- Servis Bölgelerimiz Alanı --- */
.service-areas-section h2 {
    color: var(--primary-color);
}

.service-areas-section i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.service-areas-section .col-lg-3:hover i {
    transform: scale(1.2);
}

/* --- Vurgulanan Garanti Alanı (YENİ) --- */
.guarantee-section {
    background-color: var(--secondary-color);
    color: white;
}

.guarantee-section i {
    color: white;
}

.guarantee-section .btn-light {
    font-weight: bold;
    color: var(--secondary-color);
}

/* --- SSS Alanı --- */
.faq-section .accordion-item {
    border-radius: 5px !important;
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--text-dark);
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(232, 62, 140, 0.1);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(232, 62, 140, 0.25);
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23343a40'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E83E8C'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* --- Çağrı (CTA) Alanı --- */
.cta-section {
    background: linear-gradient(45deg, var(--ipeksi-blue), var(--ipeksi-pink));
}

.cta-section .btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

.cta-section .btn-success:hover {
    background-color: #1DAE52;
    border-color: #1DAE52;
}


/* =================================== */
/* 4. HİZMET DETAY SAYFASI STİLLERİ    */
/* =================================== */

.page-header {
    background: linear-gradient(rgba(3, 87, 255, 0.6), #dd098a), url('https://via.placeholder.com/1920x400') no-repeat center center;
    background-size: cover;
}

.process-steps .step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.process-steps .step-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 1.5rem;
}

.process-steps .step-content {
    padding-top: 5px;
}

.sidebar-box {
    background-color: #f8f9fa;
    /* bg-light */
    border: 1px solid #dee2e6;
}

.sidebar-box .service-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-box .service-list li:last-child {
    border-bottom: none;
}

.sidebar-box .service-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.sidebar-box .service-list a:hover {
    color: var(--primary-color);
}

/* =================================== */
/* 5. SERVİS BÖLGELERİ SAYFASI         */
/* =================================== */

.map-container {
    overflow: hidden;
    /* Köşeleri yuvarlatılmış harita için */
    border: 1px solid #dee2e6;
}

/* =================================== */
/* 6. ÇOK KADEMELİ DROPDOWN MENÜ (SON HALİ) */
/* =================================== */
.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropend .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .125em;
    margin-top: -0.7em;
}

/* ========================================= */
/* 8. İLÇE VE MAHALLE SAYFASI YENİ TASARIM */
/* ========================================= */

.feature-box-sm i {
    color: var(--primary-color);
}

.neighborhood-card {
    display: block;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    /* Bootstrap'in default köşe yuvarlaklığı */
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.neighborhood-card:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.sidebar-box .list-group-item {
    background-color: transparent;
    /* Arka planı şeffaf yapar */
    border-left: none;
    border-right: none;
    padding-left: 0;
}

.sidebar-box .list-group-item:last-child {
    border-bottom: none;
}

/* Ispartakule sayfası için statik kart stili */
.neighborhood-card-static {
    display: block;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    background-color: #f8f9fa;
}
/* =================================== */
/* 9. İLETİŞİM SAYFASI                 */
/* =================================== */

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 5px;
    width: 30px; /* İkonların aynı hizada durması için */
    text-align: center;
}

/* =================================== */
/* 10. SABİT WHATSAPP İKONU            */
/* =================================== */

.whatsapp-float {
    position: fixed; /* Ekranla birlikte hareket etmesini sağlar */
    width: 60px;
    height: 60px;
    bottom: 40px; /* Alttan boşluk */
    right: 40px; /* Sağdan boşluk */
    background-color: #25D366; /* WhatsApp yeşili */
    color: #FFF; /* İkon rengi */
    border-radius: 50px; /* Yuvarlak yapar */
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 100; /* Diğer tüm elemanların üstünde kalmasını sağlar */
    
    /* İkonu tam ortalamak için */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Üzerine gelince hafif büyüme efekti */
    transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}



/* =================================== */
/* 11. MÜŞTERİ YORUMLARI ALANI         */
/* =================================== */

.testimonial-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-card .rating {
    color: #ffc107; /* Altın sarısı */
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* =================================== */
/* 12. YENİ FOOTER STİLLERİ            */
/* =================================== */

.footer-links li {
    margin-bottom: 0.75rem; /* Liste elemanları arasına boşluk */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7); /* Link rengini biraz soluklaştırır */
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FFF; /* Üzerine gelince rengi beyaz yapar */
    padding-left: 5px; /* Üzerine gelince hafif sağa kayma efekti */
}

.social-icons a {
    transition: transform 0.3s ease;
    display: inline-block; /* Efektin düzgün çalışması için */
}

.social-icons a:hover {
    transform: scale(1.2); /* İkonları büyütür */
}