/* Temel Değişkenler */
:root {
    --primary-dark: #11457e;
    --primary-light: #246ba0;
    --primary-hover: #1a5991;
    --section-padding: 5rem 0;
    --border-radius: 15px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    --box-shadow-hover: 0 8px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    color: #333;
}

.lead {
    font-weight: 400;
    line-height: 1.6;
    color: #666;
}

.text-muted {
    color: #666 !important;
}

/* Genel Kart Stilleri */
.card-base {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card-base:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

/* İkon Konteynır */
.icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(17, 69, 126, 0.1);
    transition: var(--transition);
}

.icon-container i {
    color: var(--primary-dark);
    font-size: 1.5rem;
}

/* Butonlar */
.btn {
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    background-color: var(--primary-light);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* Form Elemanları */
.form-control {
    padding: 0.8rem 1rem;
    border: 1px solid #dee2e6;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(17, 69, 126, 0.15);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Bölüm Başlıkları */
.section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title .badge {
    margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(17, 69, 126, 0.9), rgba(36, 107, 160, 0.9)), 
                url('https://images.unsplash.com/photo-1581092160562-40aa08e78837');
 background: linear-gradient(rgb(17 69 126 / 60%), rgb(31 41 48 / 90%)), url(../img/bannerHeader.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    min-height: 500px;
}

/* Sayaç Bölümü */
.counter-section {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-light));
    color: white;
}

.counter {
    text-align: center;
    padding: 1rem;
}

.counter .count {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 10px 0;
    color: white;
}

/* Hizmetler Bölümü */
.service-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.service-img {
    position: relative;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    color: white;
    font-size: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #555;
}

.service-features li i {
    color: var(--primary-dark);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.btn-outline-primary {
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-outline-primary:hover {
    background: var(--primary-dark);
    color: white;
}

@media (max-width: 767.98px) {
    .service-img {
        min-height: 200px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
}

/* Hakkımızda Kartları */
.about-card {
    @extend .card-base;
}

.about-info-item {
    @extend .card-base;
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.about-info-item:hover {
    transform: translateX(10px);
}

/* İletişim Bölümü */
.contact-info-item {
    margin-bottom: 2rem;
}

.contact-icon {
    @extend .icon-container;
    width: 45px;
    height: 45px;
}

/* Medya Sorguları */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .display-4 {
        font-size: calc(1.6rem + 1.5vw);
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .about-info-item,
    .about-stat-card {
        margin-bottom: 1rem;
    }
}

/* İletişim bölümü iyileştirmeleri */
.contact-icon i {
    color: var(--primary-dark);
    font-size: 1.2rem;
}

/* İyileştirilmiş butonlar */
.btn-outline-light:hover {
    color: var(--primary-dark);
}

/* İletişim Formu */
.contact-info {
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info i {
    color: var(--primary-dark);
    margin-right: 10px;
}

/* Footer */
.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-light) !important;
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-buttons .btn {
        margin: 10px 5px;
    }
    
    .counter .count {
        font-size: 2rem;
    }
}

/* Hizmet Kartları Güncellemesi */
.service-card:hover .icon-circle {
    background: var(--primary-dark);
}

.service-card:hover .icon-circle i {
    color: white !important;
}

/* Hakkımızda Bölümü */
#hakkimizda img {
    border-radius: 15px;
}

/* Projeler */
.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 69, 126, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.project-content h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
}

.testimonial-user img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* SSS */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 500;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-dark);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 20px;
    background: #f8f9fa;
}

/* Navbar Stilleri */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color:var(--primary-dark) !important;
}

.nav-link {
    color: var(--primary-dark)!important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.text-primary {
    color: var(--primary-dark) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-dark);
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Mobil menü için arka plan */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255,255,255,0.1);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        backdrop-filter: blur(10px);
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-light) !important;
    }
        .nav-link.active::after{
            display: none;
        }
}
button.navbar-toggler, button.navbar-toggler:focus {
    border: 0;
    box-shadow: none;
   
}
/* Neden Biz Bölümü */
.why-us-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #0056b3, #007bff);
    transition: all 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.why-us-icon i {
    font-size: 2rem;
    color: #007bff;
    transition: all 0.3s ease;
}

.why-us-card:hover .why-us-icon {
    background: #007bff;
}

.why-us-card:hover .why-us-icon i {
    color: white;
}

.why-us-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.why-us-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.why-us-list li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.why-us-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #007bff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

/* İkonlar ve vurgular */
.fa-quote-left {
    color: var(--primary-dark);
}

/* İstatistik Kartları */
.about-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(17, 69, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.about-stat-card h3 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-stat-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Hakkımızda Bölümü Yeni Stiller */
.about-card-img {
    position: relative;
    overflow: hidden;
}

.about-card-img img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    transition: all 0.5s ease;
}

.about-card:hover .about-card-img img {
    transform: scale(1.1);
}

.about-card-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 69, 126, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.about-card:hover .overlay {
    opacity: 1;
}

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

.about-card-content {
    padding: 1.5rem;
}

.about-card-content h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.about-card-content p {
    color: #666;
    margin: 0;
}

/* Bilgi Kartları */
.about-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.about-info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.info-icon i {
    color: white;
    font-size: 1.5rem;
}

.info-content h5 {
    margin: 0 0 0.5rem;
    color: var(--primary-dark);
}

.info-content p {
    margin: 0;
    color: #666;
}

/* İstatistik Kartları */
.about-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(17, 69, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.about-stat-card h3 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-stat-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive iyileştirmeler */
@media (max-width: 991.98px) {
    .about-info-item {
        margin-bottom: 1rem;
    }
    
    .about-stat-card {
        margin-bottom: 1rem;
    }
}

/* Responsive iyileştirmeler */
@media (max-width: 991.98px) {
    .display-4 {
        font-size: calc(1.6rem + 1.5vw);
    }
    
    .hero-section {
        min-height: 600px;
    }
}

/* Hakkımızda Bölümü */
.about-image {
    position: relative;
    padding: 1rem;
}

.experience-badge {
    position: absolute;
    top: 30px;
    right: 0;
    background: var(--primary-dark);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.feature-item {
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

@media (max-width: 991.98px) {
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .experience-badge {
        padding: 1rem;
    }
    
    .experience-badge .number {
        font-size: 2rem;
    }
}

/* WhatsApp Butonu Stilleri */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background: #22c35e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.whatsapp-icon i {
    font-size: 24px;
}



/* Mobil Görünüm */
@media (max-width: 576px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        padding: 8px;
        border-radius: 50%;
    }
    
    .whatsapp-icon {
        margin: 0;
    }
}

/* Animasyon Efekti */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-link {
    animation: whatsappPulse 2s infinite;
}

/* Sosyal Medya Bölümü */
.social-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-image-container::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: white;
    border-radius: 7px;
    z-index: 0;
}

.social-image-container img {
    position: relative;
width: 100%;
height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 7px;
    z-index: 1;
}

.instagram-overlay {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 100%;  
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
    border-radius: 7px;
    z-index: 2;
    height: 100%;
}

.instagram-overlay i {
    font-size: 2.5rem;
    color: white;
}

.social-image-container:hover img {
    transform: scale(1.1);
}

.social-image-container:hover .instagram-overlay {
    opacity: 1;
} 