/* Google Fonts */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

#mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;

    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);

    transition: all 0.3s ease-in-out;
    font-family: 'Montserrat', sans-serif;

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

#mainNav .nav-link {
    color: #212529;
    /* Yazı rengi KOYU */
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

#mainNav .nav-link:hover {
    color: #000;
}

/* ... (sağdaki ikonların stilleri aynı kalacak) ... */
.navbar-right-content {
    gap: 1rem;
}

.nav-info-item {
    color: #212529;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-social-icon {
    color: #212529;
    font-size: 1.1rem;
    margin: 0 0.2rem;
}

#mainNav .vr {
    border-left: 1px solid #6c757d;
    height: 25px;
    opacity: 0.5;
}


/* Sayfa aşağı kaydırıldığında Navbar'ın alacağı stil */
#mainNav.navbar-scrolled {
    background: #fff;
    /* Gradyanı kaldırıp tam beyaz yap */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);

    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: none;
    /* Kaydırıldığında alt çizgiyi kaldır */
}



/* --- Masthead (Hero Slider) Styles --- */
.masthead {
    height: 100vh;
    min-height: 40rem;
    position: relative;
}

.masthead .carousel,
.masthead .carousel-inner,
.masthead .carousel-item {
    height: 100%;
}

.masthead .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Görselin üzerine siyah bir katman ekler (yazının okunabilirliği için) */
.masthead .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.masthead .carousel-caption {
    z-index: 10;
    /* Yazıyı katmanın üstüne çıkarır */
}

.masthead .carousel-caption h1 {
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* --- Genel Stiller --- */
.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: #ffc107;
    bottom: 0;
    left: 0;
    transform: translateX(0);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

footer a:hover {
    color: #ffc107 !important;
}


/* --- Genel Stil Tanımları (Tekrar edenler olabilir, kontrol edip ekleyin) --- */
.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    background: #ffc107;
    /* Gold color */
    bottom: 0;
    left: 0;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* --- Hakkımızda Bölümü Stili --- */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 10px solid #ffc107;
    border-radius: .375rem;
    /* Bootstrap'in rounded değeri */
    z-index: -1;
    transition: all 0.3s ease;
}

/* --- Hizmetlerimiz Kart Stili --- */
.service-card {
    background: #fff;
    border-radius: 8px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: #ffc107;
}

.service-icon i {
    color: #ffc107;
}

/* --- Projelerimiz Kart Stili --- */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-overlay h5 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* --- Sayılarla Biz Bölümü Stili --- */
.stats-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1000&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax efekti için */
}

.stats-section i {
    color: #ffc107;
}


/* --- 6. Blog Kartları Stili --- */
.blog-card {
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-title {
    font-weight: 700;
}

.blog-card .btn-link {
    color: #212529;
    text-decoration: none;
    font-weight: 600;
}

.blog-card .btn-link:hover {
    color: #ffc107;
}

/* --- 7. Çözüm Ortakları (Logo Carousel) Stili --- */
.logo-slider {
    width: 100%;
    height: 100px;
}

.logo-slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-slider .swiper-slide img {
    display: block;
    width: 150px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.logo-slider .swiper-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- 8. Harekete Geçirici Mesaj (CTA) Stili --- */
.cta-section {
    background-color: #212529;
    /* Koyu arka plan */
}

/* --- Hakkımızda Sayfası Stilleri --- */

/* Sayfa Başlığı (Banner) Stili */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1519641471654-76ce0107ad1b?q=80&w=1000&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    padding: 6rem 0;
    color: #fff;
}

.page-header h1 {
    color: #ffc107;
    /* Gold color */
}

/* Misyon & Vizyon Kart Stili */
.mission-vision-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

/* Değerlerimiz Kart Stili */
.value-card {
    border-radius: 8px;
    background-color: #f8f9fa;
    /* bg-light */
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    background-color: #fff;
    border-color: #ffc107;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Hizmetlerimiz Sayfası Stilleri --- */
.flex-row-reverse {}

@media (max-width: 767.98px) {
    .flex-row-reverse {
        flex-direction: column-reverse !important;
    }
}

/* --- İletişim Sayfası Stilleri --- */
.contact-info-wrapper {
    background-color: #f8f9fa;
    /* bg-light */
    border-radius: 8px;
}

.contact-item .fa-2x {
    width: 35px;
    /* İkonların hizalı durması için genişlik veriyoruz */
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    /* Taşan haritayı gizleyip çerçeveye uydurur */
}

.map-wrapper iframe {
    display: block;
    /* iframe altındaki olası boşluğu kaldırır */
}


/* --- Footer Link ve İkon Stilleri --- */
.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffc107;
    text-decoration: underline;
}

.footer-social-icon {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.footer-social-icon:hover {
    color: #ffc107;
}

/* --- Yüzen İletişim Butonları Stilleri --- */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1050; /* Diğer elemanların üzerinde kalması için */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Butonlar arası boşluk */
    
    /* Animasyon */
    animation: float-animation 2.5s ease-in-out infinite;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Yuvarlak şekil */
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

/* Üzerine gelince animasyonu durdur ve butonu hafifçe büyüt */
.floating-buttons:hover {
    animation-play-state: paused;
}
.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25D366; /* WhatsApp Yeşili */
}

.phone-btn {
    background-color: #ffc107; /* Kurumsal Altın Rengi */
}

/* Aşağı-Yukarı Gitme Animasyonu */
@keyframes float-animation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* Ne kadar yukarı çıkacağı */
    }
    100% {
        transform: translateY(0);
    }
}