/* =========================
   GLOBAL
========================= */

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Linkler */
a {
    text-decoration: none;
}

/* =========================
   NAVBAR (GENEL)
========================= */

.custom-navbar {
    background: transparent;
    padding: 18px 0;
    position: fixed;
    width: 100%;
    z-index: 1050;
    transition: all .3s ease;
}

    .custom-navbar .nav-link {
        font-weight: 500;
        margin-right: 10px;
        transition: .2s;
    }

        .custom-navbar .nav-link:hover {
            opacity: .7;
        }

/* Brand */
.navbar-brand {
    font-size: 1.4rem;
}

/* Scroll sonrası navbar */
.navbar-scrolled {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

    .navbar-scrolled .nav-link,
    .navbar-scrolled .navbar-brand {
        color: #212529 !important;
    }

    .navbar-scrolled .navbar-toggler-icon {
        filter: invert(1);
    }

/* =========================
   HERO SECTION
========================= */

.hero-section {
    background: linear-gradient(135deg, #0d6efd, #4f8cff);
    color: white;
    padding: 180px 20px 120px;
    border-radius: 0 0 40px 40px;
    text-align: center;
}

/* =========================
   SEARCH BOX
========================= */

.search-box {
    max-width: 700px;
    margin: auto;
    position: relative;
}

    .search-box .input-group {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,.15);
    }

    .search-box .form-control,
    .search-box .input-group-text {
        border: none;
        padding: 16px;
    }

    .search-box input:focus {
        box-shadow: none;
    }

/* Search results dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    z-index: 1000;
    display: none;
}

.search-item {
    padding: 12px 20px;
    cursor: pointer;
    color: #333;
}

    .search-item:hover {
        background: #f5f5f5;
    }

/* =========================
   STATS
========================= */

.stats-box h2 {
    font-weight: 700;
    color: #0d6efd;
}

/* =========================
   TOOL CARDS
========================= */

.tool-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: all .25s ease;
    min-height: 220px;
    background: #fff;
}

    .tool-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,.15);
    }

.tool-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* =========================
   CAROUSEL CONTROLS
========================= */

.carousel {
    padding: 0 60px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 3px 15px rgba(0,0,0,.15);
}

.carousel-control-prev {
    left: -10px;
}

.carousel-control-next {
    right: -10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* =========================
   BUTTONS (GENEL)
========================= */

.btn-primary {
    border-radius: 10px;
    padding: 10px 18px;
}

.btn-light {
    border-radius: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .hero-section {
        padding: 140px 15px 80px;
    }

    .carousel {
        padding: 0 20px;
    }

    .tool-card {
        min-height: 180px;
    }
}
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* sayfa içeriği büyüsün */
.content-wrapper {
    flex: 1;
}

/* footer */
.footer {
    background: #fff;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* içerik alanı */
.content-wrapper {
    flex: 1;
}

/* footer */
.footer {
    background: #fff;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}