/* ==========================================================================
   Referans Görsel Tasarım Teması (Kompakt, Sade, Açık Renkli Mod Sitesi)
   ========================================================================== */

:root {
    --bg-main: #f4f6f9;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #2d3748;
    --text-muted: #718096;
    --primary-blue: #2b6cb0;
    --primary-blue-hover: #2c5282;
    --site-logo-red: #c53030;
    --badge-category-bg: #2b6cb0;
    --badge-version-bg: #dd6b20;
    --download-green: #38a169;
    --sidebar-width: 270px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12.5px;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
}
a:hover {
    color: var(--primary-blue-hover);
    text-decoration: underline;
}

/* ================= MODERN TOP HEADER ================= */
.top-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
    min-height: 66px;
    display: flex;
    align-items: center;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    font-size: 20px;
    font-weight: 800;
    color: var(--site-logo-red);
    letter-spacing: -0.5px;
}

.site-brand-logo img,
.site-logo-img {
    max-height: 48px;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
}

.site-brand-logo:hover img,
.site-brand-logo:hover .site-logo-img {
    transform: scale(1.03);
}

.site-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}

/* Header Nav Pills */
.header-nav-items {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.header-nav-pill:hover {
    color: #1a202c;
    background: #f1f5f9;
    transform: translateY(-1px);
}

.header-nav-pill.active {
    background: #f8fafc;
    color: #0f172a;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* Mod Gönder CTA Button */
.btn-submit-mod {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit-mod:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.38);
    transform: translateY(-1.5px);
    color: #ffffff !important;
}

/* Header Bell Icon Button */
.btn-header-bell {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    position: relative;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-header-bell:hover {
    background: #edf2f7;
    color: #1a202c;
    transform: translateY(-1px);
    border-color: #cbd5e0;
}

.btn-header-bell .bell-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
    animation: bellPulse 2s infinite;
}

@keyframes bellPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Auth Buttons */
.btn-auth-login {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    padding: 7px 15px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-auth-login:hover {
    background: #2563eb;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.btn-auth-register {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: none;
    padding: 7px 16px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    transition: all 0.2s ease;
}

.btn-auth-register:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Logged-In User Button */
.header-user-btn {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px 12px 5px 6px;
    border-radius: 50px;
    text-decoration: none !important;
    color: #2d3748;
    transition: all 0.2s ease;
}

.header-user-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e0;
    color: #1a202c;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.header-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-user-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    border: 1.5px solid #fff;
}

.header-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-badge-admin {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.header-badge-mod {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.header-dropdown-menu {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.header-dropdown-menu .dropdown-item {
    padding: 8px 16px;
    font-size: 13px;
    color: #334155;
    transition: all 0.15s ease;
}

.header-dropdown-menu .dropdown-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Fallback class */
.btn-header-action {
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}
.btn-header-action:hover {
    color: var(--primary-blue);
}

/* ================= CONTAINER & LAYOUT ================= */
.main-wrapper {
    max-width: 1600px;
    width: 100%;
    margin: 18px auto;
    padding: 0 20px;
    display: flex;
    gap: 18px;
    flex: 1 0 auto;
}

.sidebar-col {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

.content-col {
    flex-grow: 1;
    min-width: 0;
}

/* ================= SIDEBAR ================= */
.sidebar-panel {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.sidebar-login-card {
    padding: 14px;
}

.btn-sidebar-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none !important;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.btn-sidebar-profile {
    background: #ebf8ff;
    color: #2b6cb0;
    border-color: #bee3f8;
}
.btn-sidebar-profile:hover {
    background: #bee3f8;
    color: #2c5282;
    transform: translateX(2px);
}

.btn-sidebar-admin {
    background: #fff5f5;
    color: #e53e3e;
    border-color: #fed7d7;
}
.btn-sidebar-admin:hover {
    background: #fed7d7;
    color: #c53030;
    transform: translateX(2px);
}

.btn-sidebar-logout {
    background: #f7fafc;
    color: #718096;
    border-color: #e2e8f0;
}
.btn-sidebar-logout:hover {
    background: #edf2f7;
    color: #2d3748;
    transform: translateX(2px);
}

.sidebar-header {
    background: #fafbfe;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #4a5568;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 5px;
}

.sidebar-list li {
    margin-bottom: 2px;
}

.sidebar-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    color: #4a5568;
    font-size: 12px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.15s ease;
}

.sidebar-list li a:hover {
    background: #f1f5f9;
    color: var(--primary-blue);
    transform: translateX(2px);
}

.sidebar-list li a.active {
    background: #ebf8ff;
    color: var(--primary-blue);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--primary-blue);
}

.sidebar-badge {
    font-size: 10.5px;
    font-weight: 600;
    color: #718096;
    background: #edf2f7;
    padding: 2px 7px;
    border-radius: 12px;
    transition: all 0.15s ease;
}

.sidebar-list li a:hover .sidebar-badge {
    background: #e2e8f0;
    color: #2d3748;
}

.sidebar-list li a.active .sidebar-badge {
    background: var(--primary-blue);
    color: #ffffff;
}

/* ================= SECTION TITLE ================= */
.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.section-more-link {
    font-size: 11px;
    color: #dd6b20;
    font-weight: 600;
    text-decoration: none;
}
.section-more-link:hover {
    text-decoration: underline;
    color: #c05621;
}

/* ================= MOD CARDS GRID (3 COLUMNS) ================= */
.mods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mod-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border-color: #cbd5e0;
}

.mod-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #edf2f7;
    overflow: hidden;
}

.mod-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Referans görseldeki sol üstteki mavi kategori etiketi */
.badge-cat-overlay {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(30, 64, 175, 0.88);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

/* Referans görseldeki sağ alttaki turuncu versiyon etiketi */
.badge-ver-overlay {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: #dd6b20;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 2px;
    z-index: 2;
}

.mod-card-body {
    padding: 9px 11px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mod-card-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 5px 0;
    color: #1a202c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 33px;
}

.mod-card-title a {
    color: inherit;
    text-decoration: none;
}
.mod-card-title a:hover {
    color: var(--primary-blue);
}

.mod-card-author {
    font-size: 10.5px;
    color: #718096;
    margin-bottom: 6px;
}

.mod-card-author strong {
    color: #4a5568;
}

.mod-card-footer {
    border-top: 1px solid #edf2f7;
    padding: 6px 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    font-size: 10.5px;
}

.meta-downloads {
    color: var(--download-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-date {
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ================= FOOTER ================= */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 18px 0;
    margin-top: auto;
    width: 100%;
    font-size: 11.5px;
    color: #718096;
    text-align: center;
    flex-shrink: 0;
}

/* ================= HORIZONTAL MOD LIST (ALT ALTA KARTLAR) ================= */
.mod-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mod-list-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mod-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border-color: #cbd5e0;
}

.mod-list-thumb {
    position: relative;
    width: 250px;
    min-width: 250px;
    background: #edf2f7;
    overflow: hidden;
    flex-shrink: 0;
}

.mod-list-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.mod-list-thumb img {
    width: 100%;
    height: 100%;
    min-height: 165px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.mod-list-card:hover .mod-list-thumb img {
    transform: scale(1.04);
}

.mod-list-body {
    padding: 14px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.mod-list-header {
    margin-bottom: 6px;
}

.mod-list-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
    color: #1a202c;
}

.mod-list-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mod-list-title a:hover {
    color: var(--primary-blue);
}

.mod-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #718096;
}

.mod-list-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mod-list-meta strong {
    color: #4a5568;
}

.mod-list-desc {
    font-size: 12px;
    color: #4a5568;
    line-height: 1.5;
    margin: 6px 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mod-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 9px;
    margin-top: auto;
}

.mod-list-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
}

.meta-views {
    color: #718096;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.mod-list-btn {
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
    transition: all 0.2s ease;
}

.mod-list-btn:hover {
    background-color: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
    color: #ffffff;
    text-decoration: none;
    transform: translateX(2px);
}

/* ================= SAĞ SÜTUN WİDGETLARI ================= */
.recent-mods-list {
    padding: 8px 10px;
}

.recent-mod-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 5px;
    transition: background 0.15s ease;
    text-decoration: none !important;
    color: inherit;
    border: 1px solid transparent;
}

.recent-mod-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.recent-mod-thumb {
    width: 65px;
    height: 46px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #edf2f7;
    position: relative;
}

.recent-mod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-mod-info {
    flex-grow: 1;
    min-width: 0;
}

.recent-mod-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-mod-item:hover .recent-mod-title {
    color: var(--primary-blue);
}

.recent-mod-meta {
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

/* Son Yorumlar */
.recent-comments-list {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-comment-item {
    padding: 8px 10px;
    background: #fafbfe;
    border: 1px solid #edf2f7;
    border-radius: 5px;
    font-size: 11px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.recent-comment-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e0;
}

.recent-comment-user {
    font-weight: 700;
    color: #2d3748;
    font-size: 11px;
}

.recent-comment-target {
    display: block;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 2px 0 4px 0;
}

.recent-comment-target:hover {
    text-decoration: underline;
    color: var(--primary-blue-hover);
}

.recent-comment-text {
    color: #4a5568;
    font-size: 11px;
    line-height: 1.4;
    font-style: italic;
    word-break: break-word;
}

/* ================= SAYFALAMA (PAGINATION) ================= */
.pagination {
    margin: 20px 0 10px 0;
}

.pagination .page-item .page-link {
    color: #4a5568;
    border-color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: all 0.15s ease;
}

.pagination .page-item .page-link:hover {
    background: #edf2f7;
    color: var(--primary-blue);
    border-color: #cbd5e0;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(43, 108, 176, 0.3);
}

.pagination .page-item.disabled .page-link {
    color: #a0aec0;
    background-color: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .mods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
    }
    .sidebar-col {
        width: 100%;
    }
    .mods-grid {
        grid-template-columns: 1fr;
    }
    .sidebar-panel.collapse:not(.show) {
        display: none;
    }
    .mod-list-card {
        flex-direction: column;
    }
    .mod-list-thumb {
        width: 100%;
        min-width: 100%;
        height: 190px;
    }
    .mod-list-thumb img {
        min-height: 190px;
    }
}

/* ================= MODERN SITE FOOTER ================= */
.site-footer {
    background: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    padding: 22px 0;
    margin-top: auto;
    width: 100%;
    color: #64748b;
    font-size: 13px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
}

.footer-inner {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-brand-name {
    font-weight: 800;
    color: #1e293b;
    font-size: 14px;
    letter-spacing: -0.3px;
}

.footer-copyright {
    color: #64748b;
    font-size: 12.5px;
}

.footer-links-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-link {
    color: #64748b;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.footer-dot {
    color: #cbd5e1;
    font-size: 11px;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 12px;
    }
    .footer-brand-wrap,
    .footer-links-wrap {
        justify-content: center;
    }
}


/* ================= MODERN HEADER ARAMA MOTORU ================= */
.header-search-form {
    position: relative;
    margin: 0;
}

.header-search-box {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 3px 5px 3px 13px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 200px;
    box-sizing: border-box;
}

.header-search-box:focus-within {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 250px;
}

.header-search-icon {
    color: #94a3b8;
    font-size: 13px;
    margin-right: 7px;
    flex-shrink: 0;
    pointer-events: none;
    transition: color 0.2s ease;
}

.header-search-box:focus-within .header-search-icon {
    color: #3b82f6;
}

.header-search-input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 12.5px;
    font-weight: 500;
    color: #1e293b;
    padding: 4px 0 !important;
    width: 100%;
    line-height: 1.4;
}

.header-search-input::placeholder {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 400;
}

.header-search-btn {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-search-box:focus-within .header-search-btn,
.header-search-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

@media (max-width: 991px) {
    .header-search-box {
        width: 160px;
    }
    .header-search-box:focus-within {
        width: 200px;
    }
}
