/* Genel Ayarlar ve Arka Plan */
html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: #ffffff;
    color: #1e293b;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 80px; /* Footer yüksekliği kadar en altta boşluk bırakır, üst üste binmeyi önler */
}

/* 1. Bölüm: Beyaz ve Modern Hero Alanı */
.hero-white-section {
    background-color: #ffffff;
    padding: 60px 0;
}

/* Karınca Temalı Gelişmiş Arama Kutusu */
.search-container-box {
    background: #ffffff;
    border: 2px solid #ff7300; /* Logodaki baskın turuncu/sarı tonu */
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 10px 25px rgba(255, 115, 0, 0.1);
}

.search-input-field {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 1.05rem;
}

.btn-karinca-orange {
    background-color: #ff7300;
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
    border: none;
    transition: background-color 0.2s ease;
}

    .btn-karinca-orange:hover {
        background-color: #e06500;
        color: #ffffff;
    }

/* 2. Bölüm: Canlı Kategori Kartları */
.category-card-modern {
    border: none !important;
    border-radius: 20px !important;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Her karta logodaki renk vurgusunu veren sol çizgiler */
.border-karinca-orange {
    border-left: 5px solid #ff7300 !important;
    box-shadow: 0 5px 15px rgba(255, 115, 0, 0.05);
}

.border-karinca-blue {
    border-left: 5px solid #007bff !important;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.05);
}

.border-karinca-dark {
    border-left: 5px solid #1e293b !important;
    box-shadow: 0 5px 15px rgba(30, 41, 59, 0.05);
}

.border-karinca-yellow {
    border-left: 5px solid #ffc107 !important;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.05);
}

.category-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.icon-circle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8fafc;
    margin-bottom: 15px;
}

/* Görsel Stilleri */
.template-img {
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    max-height: 360px;
}

/* Çakışmayı Önleyen Alt Boşluk Sınıfı */
.main-content-wrapper {
    padding-bottom: 80px;
}

/* Navbardaki Logo Boyutlandırması */
.navbar-logo {
    height: 75px; /* Yükseklik */
    width: 180px; /* Genişlik (Uzunluk) */
    object-fit: contain; /* Logoyu verdiğin ölçülere tam sığdırmaya zorlar */
    padding: 2px 0;
}

/* =========================================================================
   SAYFA ORTASINDAKİ ÇİZGİYİ VE TELİF METNİNİ EN ALTA KİLİTLEYEN YENİ KODLAR
   ========================================================================= */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px; /* Metni dikeyde tam ortalar */
    background-color: #ffffff !important;
    border-top: 1px solid #dee2e6 !important;
    z-index: 9999;
    text-align: center;
}
