:root {
    --primary: #0056b3;
    --primary-dark: #004494;
    --secondary: #ffb703;
    --light: #f8f9fa;
    --dark: #1a202c;
    --gray: #6c757d;
    --success: #28a745;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.navbar {
    transition: all 0.3s ease;
}

/* BUTON GÖRÜNÜRLÜĞÜ İÇİN DÜZELTİLDİ */
.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 0.5rem;
    font-size: 1.25rem;
    background-color: white;
    z-index: 1030;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-right: 5px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
    outline: 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, 86, 179, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hero-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.card {
    border: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.service-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    background: rgba(0, 86, 179, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #ffa500;
    border-color: #ffa500;
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 183, 3, 0.2);
}

.counter-item {
    text-align: center;
    border-radius: 12px;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.counter-text {
    font-size: 1.1rem;
    color: var(--gray);
}

.testimonial-card {
    padding: 2rem;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-item {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
    border-color: var(--primary);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-header {
    background-color: white;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header:hover {
    background-color: #f8f9fa;
}

.faq-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.faq-body-content {
    padding: 1rem 0 1.5rem;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.emergency-section {
    background: linear-gradient(rgba(255, 0, 0, 0.8), rgba(178, 34, 34, 0.9)), url('https://images.unsplash.com/photo-1543674892-8f7c7ce89962?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    position: relative;
}

.emergency-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.emergency-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 1rem 0;
}

.partner-logo {
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bg {
    background-color: var(--dark);
    color: #fff;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.floating-whatsapp {
    position: fixed;
    bottom: 80px; /* WhatsApp butonunu yukarıya taşıdık */
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Swiper custom styles */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Backto Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
}

/* Mobil Düzenlemeler */
@media (max-width: 767.98px) {
    /* Navbar ve toggle buton düzeltmeleri */
    .navbar {
        padding: 0.75rem 0;
    }
    
    /* Toggle buton düzeltmesi - ÖNEMLİ */
    .navbar-toggler {
        padding: 0.5rem;
        margin-right: 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .hero-bg {
        min-height: 500px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .emergency-number {
        font-size: 1.8rem;
    }

    /* Mobilde butonları tam genişlikte yap */
    .btn-lg, .btn-group-lg > .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Servis kartlarındaki butonları mobilde tam genişlikte yap */
    .service-card .btn {
        width: 100%;
    }

    /* Whatsapp butonu ve gizli içeriği için boşluk */
    #kontakt {
        padding-bottom: 100px;
    }

    /* Galerinin mobil görünümünü düzelt */
    .gallery-item img {
        height: 200px;
    }

    /* Mobilde menü elemanlarını daha büyük ve tıklanabilir yap */
    .navbar-nav .nav-link {
        padding: 12px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}
