@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #008CBA;
    /* Logonun koyu mavisi */
    --secondary: #20B2AA;
    /* Logonun açık turkuazı */
    --dark: #0f2430;
    --light: #f8f9fa;
    --brand-gradient: linear-gradient(135deg, #20B2AA 0%, #008CBA 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(32, 178, 170, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    color: #555;
    background-color: #fff;
    overflow-x: hidden;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--dark);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: 0.3s;
}

.top-bar a:hover {
    color: var(--secondary);
}

/* --- Navbar --- */
.navbar {
    padding: 15px 0;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.navbar-brand span {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin-left: 15px;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.btn-theme {
    background: var(--brand-gradient);
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 30px;
    border: none;
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
    transition: transform 0.3s ease;
}

.btn-theme:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(32, 178, 170, 0.4);
}

/* --- Hero Section --- */
.hero-wrapper {
    position: relative;
    background: url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat fixed;
    height: 85vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 36, 48, 0.8), rgba(0, 140, 186, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* --- Feature Cards (Floating) --- */
.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    margin-top: -80px;
    /* Hero üzerine binmesi için */
    position: relative;
    z-index: 3;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary);
}

.feature-icon {
    font-size: 2.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h6 {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    font-weight: 700;
    color: var(--dark);
    font-size: 2.2rem;
}

/* --- Service Card --- */
.service-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
    height: 100%;
    border: 1px solid #eee;
}

.service-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

/* --- Call to Action Bar --- */
.cta-section {
    background: var(--brand-gradient);
    padding: 60px 0;
    color: #fff;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: #aaa;
    padding-top: 70px;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 25px;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

footer ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* --- Floating WhatsApp Button (Sol Alt) --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    /* Sol köşe */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebc57;
    color: #fff;
    transform: scale(1.1);
    /* Üzerine gelince büyüme efekti */
}

.whatsapp-pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.5);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* --- MOBİL UYUMLULUK AYARLARI (Responsive) --- */
@media (max-width: 768px) {
    /* 1. Hero Bölümü Yüksekliği ve Boşlukları */
    .hero-wrapper {
        height: auto; /* Sabit yükseklik yerine içeriğe göre uzasın */
        min-height: 90vh; /* En az ekran kadar olsun */
        padding-top: 100px; /* Navbar altında kalmaması için üst boşluk */
        padding-bottom: 50px;
        text-align: center !important; /* Mobilde her şeyi ortalayalım */
    }

    /* 2. Başlık Boyutunu Küçültme */
    .hero-title {
        font-size: 2.2rem !important; /* 3.5rem'den 2.2rem'e düşürdük */
        line-height: 1.3;
    }

    /* 3. Alt Başlık */
    .hero-content p.lead {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }

    /* 4. Butonların Mobilde Alt Alta ve Tam Genişlik Olması */
    .hero-buttons {
        flex-direction: column; /* Yan yana yerine alt alta */
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%; /* Butonlar tüm genişliği kaplasın */
        margin-bottom: 15px; /* Aralarına boşluk */
        margin-left: 0 !important; /* Sol boşluğu sıfırla */
    }

    /* 5. Yüzen Kartlar (Feature Box) Arası Boşluk */
    .feature-box {
        margin-top: 20px !important; /* Hero'nun üzerine binmesin, altına insin */
        margin-bottom: 20px;
    }
}

/* --- Alt Sayfa Başlık Alanı (Page Header) --- */
.page-header {
    background: linear-gradient(rgba(15, 36, 48, 0.8), rgba(0, 140, 186, 0.8)), url('https://images.unsplash.com/photo-1558317374-a309d9155da3?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 100px 0 50px 0; /* Navbar payı */
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-weight: 700;
    letter-spacing: 1px;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
}

.breadcrumb-item a {
    color: #ccc;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary);
}

/* Galeri Resimleri */
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 250px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Hizmet Bölgeleri Kartı */
.service-region-card {
    transition: all 0.3s ease;
    background-color: #fff;
}
.service-region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    border-color: var(--secondary) !important;
}
.service-region-card i {
    transition: 0.3s;
}
.service-region-card:hover i {
    transform: scale(1.2);
}