/* Hayvancılık İlan Sitesi - Sahibinden.com Tarzı Tasarım */
/* Turuncu ve Yeşil Renk Paleti - Border Radius YOK */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B35;
    --dark-orange: #E55A2B;
    --primary-green: #4CAF50;
    --dark-green: #388E3C;

    --white: #FFFFFF;
    --bg-gray: #F4F4F4;
    --light-gray: #E8E8E8;
    --border-gray: #CCCCCC;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-gray);
}

/* ============================================
   TOP HEADER (Sahibinden Style)
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
    color: var(--white);
    padding: 0;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.mobile-menu-toggle,
.mobile-search-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}

.top-bar-logo {
    flex-shrink: 0;
}

.top-bar-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.top-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.top-bar-search {
    flex: 1;
    max-width: 600px;
    margin: 0 30px;
}

.top-search-box {
    display: flex;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    align-items: center;

}

.top-search-box input {
    flex: 1;
    padding: 10px 120px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    padding: 10px 15px;
    border: none;
    font-size: 13px;
    outline: none;
    color: #333;
}

.top-search-box input::placeholder {
    color: #999;
}

.top-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.top-search-box .search-icon {
    position: absolute;
    left: 14px;
    color: #999;
    font-size: 14px;
}


.top-search-box input {
    flex: 1;
    padding: 10px 120px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.top-search-box .search-btn {
    position: absolute;
    right: 4px;
    background: #FF6B35;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
}

.top-search-box .search-btn:hover {
    background: #E55A2B;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-icon-link {
    position: relative;
    color: white;
    font-size: 18px;
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.top-bar-icon-link:hover {
    color: #FFD700;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #E53935;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.top-bar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
}

.top-bar-link {
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.top-bar-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.top-bar-btn-primary {
    background: #4CAF50;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-btn-primary:hover {
    background: #388E3C;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.top-bar-btn-add {
    background: #FFD700;
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-btn-add:hover {
    background: #FFC700;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.top-bar-user-menu {
    position: relative;
}

.user-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar i {
    font-size: 14px;
}

.user-name {
    font-size: 13px;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-btn i.fa-chevron-down {
    font-size: 10px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.user-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

.user-dropdown a:hover {
    background: #F5F5F5;
    color: #FF6B35;
}

.user-dropdown a i {
    width: 18px;
    text-align: center;
    color: #999;
}

.user-dropdown a:hover i {
    color: #FF6B35;
}

.dropdown-divider {
    height: 1px;
    background: #E8E8E8;
    margin: 4px 0;
}

/* Mesaj ve Bildirim Dropdown'ları */
.top-bar-dropdown-wrapper {
    position: relative;
}

.top-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 360px;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.top-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid #E8E8E8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.dropdown-header a {
    font-size: 13px;
    color: #FF6B35;
    text-decoration: none;
    font-weight: 500;
}

.dropdown-header a:hover {
    text-decoration: underline;
}

.dropdown-items {
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1px solid #F5F5F5;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-item:hover {
    background: #F9F9F9;
}

.dropdown-item.unread {
    background: #FFF8F5;
}

.dropdown-item.unread:hover {
    background: #FFF0E8;
}

.item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E8E8E8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-avatar i {
    font-size: 20px;
    color: #999;
}

.item-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon i {
    font-size: 16px;
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.item-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-time {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* ============================================
   MAIN HEADER
   ============================================ */
.main-header {
    background-color: var(--white);
    border-bottom: 3px solid var(--primary-orange);
    padding: 15px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .site-logo img {
        height: 70px;
    }
}

.header-search {
    flex: 1;
    max-width: 600px;
}

.search-box {
    display: flex;
    border: 2px solid var(--border-gray);
    background: var(--white);
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-box button {
    padding: 10px 25px;
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.search-box button:hover {
    background-color: var(--dark-orange);
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

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

/* ============================================
   MAIN CONTENT
   ============================================ */
.page-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.content-layout {
    display: flex;
    gap: 20px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-section {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    margin-bottom: 15px;
}

.sidebar-title {
    background-color: var(--bg-gray);
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid var(--light-gray);
}

.sidebar-content {
    padding: 10px 0;
}

.category-list {
    list-style: none;
}

.category-item {
    border-bottom: 1px solid var(--light-gray);
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.2s;
}

.category-link:hover {
    background-color: var(--bg-gray);
    color: var(--primary-orange);
}

.category-link i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-green);
}

/* ============================================
   FILTERS
   ============================================ */
.filters-section {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 15px;
    margin-bottom: 15px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 12px;
    color: var(--text-gray);
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border-gray);
    font-size: 13px;
    background-color: var(--white);
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.filter-button {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
}

.filter-button:hover {
    background-color: var(--dark-green);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
    flex: 1;
}

.page-title-bar {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
}

.result-count {
    color: var(--text-gray);
    font-size: 13px;
}

/* ============================================
   LISTING GRID
   ============================================ */
.listings-container {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 15px;
}

.listing-item {
    display: flex;
    text-decoration: none;
    color: inherit;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    cursor: pointer;
    transition: background-color 0.2s;
}

.listing-item:hover {
    background-color: var(--bg-gray);
}

.listing-item:last-child {
    border-bottom: none;
}

.listing-image-container {
    width: 140px;
    height: 105px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: var(--bg-gray);
    border: 1px solid var(--light-gray);
    position: relative;

}

.listing-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-decoration: none;
}

.listing-title:hover {
    color: var(--primary-orange);
}

.listing-description {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;

    display: -webkit-box;
    overflow: hidden;
}

.listing-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.listing-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.listing-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-orange);
}

.listing-location {
    font-size: 12px;
    color: var(--text-gray);
}

.listing-category-tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--primary-green);
    color: var(--white);
    font-size: 11px;
    font-weight: bold;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-orange);
}

.btn-success {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-success:hover {
    background-color: var(--dark-green);
}

.btn-secondary {
    background-color: #6c757d;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-large {
    padding: 12px 30px;
    font-size: 15px;
}

/* ============================================
   FORMS
   ============================================ */
.form-container {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-gray);
    font-size: 13px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid;
}

.alert-success {
    background-color: #E8F5E9;
    border-color: var(--primary-green);
    color: var(--dark-green);
}

.alert-error {
    background-color: #FFEBEE;
    border-color: #D32F2F;
    color: #B71C1C;
}

.alert-info {
    background-color: #FFF3E0;
    border-color: var(--primary-orange);
    color: var(--dark-orange);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

.footer-top {
    padding: 40px 0 30px;
    border-bottom: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-top .footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B35;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.footer-social li {
    margin-bottom: 10px;
}

.footer-social a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #FF6B35;
}

.footer-social i {
    width: 20px;
    font-size: 16px;
}

.footer-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-contact-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.footer-phone,
.footer-email {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-phone i,
.footer-email i {
    color: #FF6B35;
    width: 16px;
}

.footer-bottom {
    padding: 20px 0;
    background: #fff;
}

.footer-copyright {
    font-size: 12px;
    color: #999;
    margin: 0 0 8px 0;
    text-align: center;
}

.footer-note {
    font-size: 11px;
    color: #aaa;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .footer-top .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-top {
        padding: 30px 0 20px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Highlight Badges */
.listing-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.badge-item {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-emergency {
    background: #e74c3c;
}

.badge-featured {
    background: #f1c40f;
}

.badge-price-drop {
    background: #2ecc71;
}

/* Favorite Button */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    border: none;
}

.fav-btn:hover {
    transform: scale(1.1);
    color: #e74c3c;
}

.fav-btn.active {
    color: #e74c3c;
}


.listing-image-container {
    position: relative;
    overflow: hidden;
}


@media (max-width: 992px) {
    .content-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .listing-image-container {
        width: 100%;
        height: 200px;
    }

    .listing-details {
        padding: 10px 0;
    }

    .listing-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-title-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ============================================
   MOBILE BOTTOM NAVIGATION
   ============================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 2000;
    height: 60px;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #eee;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 10px;
    gap: 4px;
    flex: 1;
}

.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item.active {
    color: var(--primary-orange);
}

.bottom-nav-item.add-listing {
    position: relative;
    top: -20px;
    background: var(--primary-orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4);
    flex: none;
    max-width: 50px;
}

.bottom-nav-item.add-listing i {
    font-size: 24px;
}

.bottom-nav-item.add-listing span {
    display: none;
}

/* ============================================
   MOBILE CATEGORY LIST (Sahibinden Style)
   ============================================ */
.mobile-category-list {
    display: none;
}

@media (max-width: 768px) {
    .mobile-category-list {
        display: block;
        background: white;
        margin-top: 10px;
        margin-bottom: 10px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .mobile-cat-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-cat-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-cat-menu li:last-child {
        border-bottom: none;
    }

    .mobile-cat-menu a {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        color: #333;
        text-decoration: none;
        font-size: 15px;
        transition: background-color 0.2s;
    }

    .mobile-cat-menu a:active {
        background-color: #f9f9f9;
    }

    .mobile-cat-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        font-size: 16px;
        background-color: #f5f5f5;
        color: #555;
    }

    /* Colorful Icons like Sahibinden */
    .mobile-cat-menu li:nth-child(1) .mobile-cat-icon { background-color: #FFF3E0; color: #EF6C00; }
    .mobile-cat-menu li:nth-child(2) .mobile-cat-icon { background-color: #FFEBEE; color: #C62828; }
    .mobile-cat-menu li:nth-child(3) .mobile-cat-icon { background-color: #E3F2FD; color: #1565C0; }
    .mobile-cat-menu li:nth-child(4) .mobile-cat-icon { background-color: #E8F5E9; color: #2E7D32; }
    .mobile-cat-menu li:nth-child(5) .mobile-cat-icon { background-color: #F3E5F5; color: #6A1B9A; }
    .mobile-cat-menu li:nth-child(6) .mobile-cat-icon { background-color: #FFF8E1; color: #F9A825; }
    .mobile-cat-menu li:nth-child(7) .mobile-cat-icon { background-color: #E0F7FA; color: #00838F; }
    .mobile-cat-menu li:nth-child(8) .mobile-cat-icon { background-color: #FBE9E7; color: #D84315; }
    .mobile-cat-menu li:nth-child(9) .mobile-cat-icon { background-color: #ECEFF1; color: #455A64; }

    .mobile-cat-name {
        flex: 1;
        font-weight: 500;
        color: #222;
    }

    .mobile-cat-arrow {
        color: #ccc;
        font-size: 12px;
    }
}

/* ============================================
=======
   RESPONSIVE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    body {

        padding-bottom: 60px;
        padding-bottom: 60px; /* Space for bottom nav */
    }

    .bottom-nav {
        display: flex;
    }

    .top-bar-content {
        height: 60px;
        padding: 0 10px;
    }

    .top-bar-logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .top-bar-logo img {
        height: 40px;
    }

    .mobile-search-toggle {
        display: block;
        color: white;
    }

    .top-bar-search {
        display: none;
        position: fixed;
        top: 0;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 15px;
        background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
        z-index: 2500;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        padding: 10px 15px;
        background: #3d6b1f;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .top-bar-search.mobile-show {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
        display: none; /* We use bottom nav for filter now */
    }

    .top-bar-actions .top-bar-btn-add,
    .top-bar-actions .top-bar-divider,
    .top-bar-actions .top-bar-user-menu .user-name {
        display: none;
    }

    .top-bar-actions {
        flex: 1;
        justify-content: flex-end;
        gap: 8px;
    }

    .content-layout {
        flex-direction: column;
        padding: 10px;
    }

    .sidebar {
        display: none;
    }

    .sidebar.mobile-show {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-gray);
        z-index: 3000;
        padding: 0;
        border: none;
        overflow-y: auto;
    }

    .mobile-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: var(--primary-green);
        color: white;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-sidebar-title {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .close-sidebar-btn {
        background: transparent;
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }

    .sidebar-section {
        border-left: none;
        border-right: none;
    }

    .listing-item {
        flex-direction: column;
        padding: 10px;
        background: white;
        margin-bottom: 10px;
        border: 1px solid #eee;
    }

    .listing-image-container {
        width: 100%;
        height: 220px;
    }

    .listing-details {
        padding: 10px 0 0;
    }

    .listing-title {
        font-size: 17px;
    }

    .listing-price {
        font-size: 20px;
    }


    /* Slider improvements */
    .featured-slider-section {
        padding: 0;
        margin-bottom: 20px;
    }

    .slider-slide {
        flex-direction: column;
        height: auto;
    }

    .slide-image {
        width: 100%;
        height: 200px;
    }

    .slide-content {
        padding: 15px;
    }

    .slide-description {
        display: none;
    }

    .slide-meta {
        font-size: 11px;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
    }

    .form-container {
        padding: 20px;
        border: none;
        box-shadow: none;
        margin: 0 !important;
        max-width: 100%;
    }

    .login-box {
        padding: 20px !important;
        box-shadow: none !important;
        border: none !important;
    }

    .login-page {
        padding: 10px 0 !important;
        background: white !important;
    }
}

@media (max-width: 480px) {
    .top-bar-actions .top-bar-link, 
    .top-bar-actions .top-bar-btn-primary {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .top-bar-icon-link {
        font-size: 16px;
        padding: 5px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

