/* =========================================
   1. GENEL AYARLAR VE DEĞİŞKENLER
   ========================================= */
:root {
    /* LOGODAN ALINAN YENİ RENKLER */
    --primary-color: #154734;   /* Logonun Koyu Yeşili */
    --secondary-color: #363636; /* Logonun Koyu Grisi (İkon rengi) */
    --accent-color: #ffc107;    /* Vurgu Sarısı (Korundu) */
    --text-color: #555;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    font-weight: 700;
}

/* =========================================
   2. NAVBAR & TOP BAR (ÜST MENÜ)
   ========================================= */
.top-bar {
    font-size: 0.85rem;
    background-color: var(--primary-color) !important;
}

.navbar {
    transition: all 0.3s;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    transition: color 0.3s;
    font-weight: 600;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Nabız Efekti (YEŞİL) */
.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(21, 71, 52, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(21, 71, 52, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 71, 52, 0); }
}

/* =========================================
   3. SLIDER (CAROUSEL) AYARLARI
   ========================================= */
.carousel-item {
    height: 650px !important;
    min-height: 650px !important;
    background-color: #000;
}

.carousel-item img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center;
    opacity: 0.8;
}

.carousel-caption {
    bottom: 30%;
    left: 10%;
    right: 10%;
    z-index: 2;
}

.carousel-caption h2 {
    color: #fff !important;
    font-weight: 800;
    font-size: 3rem;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
}

.carousel-caption p {
    font-size: 1.3rem;
    color: #f8f9fa;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .carousel-item {
        height: 500px !important;
        min-height: 500px !important;
    }
    .carousel-caption {
        bottom: 15% !important;
        left: 5% !important;
        right: 5% !important;
        padding-bottom: 0;
    }
    .carousel-caption h2 {
        font-size: 1.5rem !important;
        margin-bottom: 10px;
    }
    .carousel-caption p {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
        line-height: 1.3;
        display: block !important;
    }
    .carousel-caption .btn {
        padding: 8px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* =========================================
   4. KART TASARIMLARI (HİZMETLER)
   ========================================= */
.card {
    border: none;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card {
    transition: all 0.3s ease;
    background: #fff;
    cursor: default;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color) !important; /* Kenarlık koyu yeşil olur */
}

.service-card .icon-box {
    transition: all 0.3s;
    /* Varsayılan Durum: İkon Koyu Yeşil, Arka Plan Açık Gri */
    color: var(--primary-color) !important; 
    background-color: #f8f9fa !important;
}

.service-card:hover .icon-box {
    /* Hover Durumu: Arka plan Açık Yeşil, İkon Beyaz */
    background-color: #4caf50 !important; /* Açık Yeşil Tonu */
    color: #fff !important;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4); /* Hafif yeşil parlama */
}

/* =========================================
   5. FORM VE BUTONLAR
   ========================================= */
.form-control, .form-select {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #dee2e6;
    background-color: #fcfcfc;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(21, 71, 52, 0.15);
}

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

.btn-primary:hover {
    background-color: #0e3325 !important;
    border-color: #0e3325 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 71, 52, 0.3);
}

/* Outline Butonları da düzeltelim (Varsa mavi kalmasın) */
.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* =========================================
   6. FOOTER VE DİĞERLERİ
   ========================================= */
footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.hero-section-static {
    background: linear-gradient(rgba(21, 71, 52, 0.8), rgba(21, 71, 52, 0.8)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    color: white;
}

/* =========================================
   7. BOOTSTRAP RENK EZME (OVERRIDE) AYARLARI
   [Burayı eklemezsen iletişimdeki yazılar mavi kalır]
   ========================================= */

/* bg-primary (Arka planları yeşil yap) */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* text-primary (Yazıları ve ikonları yeşil yap) */
.text-primary {
    color: var(--primary-color) !important;
}

/* border-primary (Çerçeveleri yeşil yap) */
.border-primary {
    border-color: var(--primary-color) !important;
}