﻿/* ========== ROOT VARIABLES ========== */
:root {
    --primary: #292929;
    --secondary: #232422;
    --accent: #8b4513;
    --light: #f8f9fa;
    --text: #2c3e50;
    --topbar-h: 36px;
    --navbar-h: 72px;
    --bars-total: calc(var(--topbar-h) + var(--navbar-h));
}

/* ========== GLOBAL STYLES ========== */
body {
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    margin: 0;
    padding: 0;
}
.mylogo{
    height:50px;
}

/* ========== TOP BAR ========== */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
    transition: background 0.3s ease;
}

    .top-bar a {
        color: #fff;
        text-decoration: none;
    }

        .top-bar a:hover {
            opacity: 0.8;
        }

    .top-bar.scrolled {
        background: rgba(0, 0, 0, 0.9);
    }

/* ========== NAVBAR ========== */
.navbar {
    position: absolute;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgb(255 255 255 / 100%);
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

.navbar-brand {
    color: #000 !important;
    font-weight: 800;
    letter-spacing: 1px;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #000 !important;
    transition: color 0.3s ease;
    font: 'Helvetica Neue Light', serif;
    position: relative;
    text-decoration: none;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color:#2c3e50 !important;
    }
    .navbar .nav-link.active {
        border-bottom: 1px solid #000;
    }
.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: #000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar .navbar-toggler-icon {
    filter: invert(1);
}

/* Navbar scrolled state */
.navbar.scrolled {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

/* Mobile menu */
@media (max-width: 991px) {
    .navbar .collapse.navbar-collapse {
       /*background: rgba(0, 0, 0, 0.85);*/ 
        border-radius: 12px;
        padding: 12px;
        margin-top: 8px;
    }

    .navbar.scrolled .collapse.navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: var(--secondary);
    border: none;
}

    .btn-primary:hover {
        background: var(--primary);
    }

.pill {
    display: inline-block;
    background: rgba(45, 80, 22, 0.08);
    color:#fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

/* ========== FEATURE CARDS ========== */
.feature-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease;
    text-align: center;
}

    .feature-card:hover {
        transform: translateY(-6px);
    }

    .feature-card i {
        font-size: 42px;
        color: var(--secondary);
        margin-bottom: 12px;
    }

/* ========== SECTION STYLES ========== */
.section-head h2 {
    color: var(--primary);
    font-weight: 800;
}

.highlight {
    background: var(--light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* ========== GALLERY ========== */
.gallery img {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 100px 0;
    color: #fff;
    text-align: center;
    background: linear-gradient(rgba(45, 80, 22, 0.78), rgba(45, 80, 22, 0.78)), url('../img/header.jpg') center/cover no-repeat;
    position: relative;
    z-index: 1;
}

    .page-header h1 {
        font-weight: 800;
    }

/* ========== FOOTER ========== */
footer {
    background: var(--primary);
    color: #fff;
    padding: 48px 0 16px;
}

    footer a {
        color: #fff;
        opacity: 0.9;
        text-decoration: none;
    }

        footer a:hover {
            opacity: 1;
        }

.social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    margin-right: 8px;
}

    .social a:hover {
        background: rgba(255, 255, 255, 0.22);
        transform: translateY(-2px);
    }

/* ========== STATS ========== */
.stat {
    text-align: center;
}

    .stat h3 {
        color: var(--secondary);
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
    }

    .stat p {
        color: var(--text);
        margin: 0;
    }

/* ========== MAP ========== */
.map-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* Kart çerçevesi ve hover efekti */
.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
   
    transition: transform .22s ease, box-shadow .22s ease;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.10);
        border-radius: 70px 0px 70px 0px !important;
    }

/* Görsel alanı */
.service-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* 16/9 da kullanabilirsiniz: 16 / 9 */
    
}
.g-4{
    margin-bottom:15px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 70px 0px 30px 0px !important;
    box-shadow: 0 10px 20px 0 rgba(5, 16, 44, .15);
}

/* İçerik alanı */
.service-content {
    padding: 16px 14px 18px;
}

.service-title {
    color: #111;
    font-weight: 700; /* kalın başlık */
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.service-desc {
    color: #6c757d; /* bootstrap text-muted tonu */
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
}

/* İmleçle görsel zoom efekti (opsiyonel) */
.service-card:hover .service-image {
    transform: scale(1.02);
    transition: transform .3s ease;

}

/* Kartın tamamını tıklanabilir yapmak için link rengi devralınsın */
.service-card,
.service-card * {
    color: inherit;
}