* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f7fa;
    color: #333;
    line-height: 1.6;
    transition: transform 0.3s ease;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F8F9FA;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.navbar .logo img {
    height: 40px;
    width: auto;
}

.navbar .search-bar {
    width: 300px;
    position: relative;
}

.navbar .search-bar input {
    width: 100%;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    background-color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.navbar .search-bar input:focus {
    box-shadow: 0 0 5px #ff9100f5;
}

.navbar .search-bar i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar .nav-links a {
    color: #555;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: #FF510B;
}

.navbar .create-ad {
    background-color: #FF510B;
    color: #fff!important;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.navbar .create-ad:hover {
    background-color: #FF0F2E;
}

.navbar .menu-icon {
    display: none;
    color: #555;
    font-size: 24px;
    cursor: pointer;
}
 
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #555;
    font-size: 12px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 5px;
    color: #FF510B;
}

.bottom-nav .nav-item span {
    font-weight: 500;
}

.bottom-nav .nav-item:hover,
.bottom-nav .nav-item:focus {
    color: #FF510B;
    transform: translateY(-3px);  
}

 
@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

 
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;  
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F8F9FA;
    padding: 70px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;  
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 16px;
    padding: 15px 0;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #FF510B;
}
.mobile-menu .user-section {
    margin-top: 30px;
    margin-bottom: 20px;
}

.mobile-menu .welcome-msg {
    display: block;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

 
.mobile-menu .auth-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

 
.mobile-menu .login-btn {
    background-color: #FF510B;
    color: #fff;
    box-shadow: 0 2px 5px rgba(255, 81, 11, 0.3);
}

.mobile-menu .login-btn:hover {
    background-color: #e6450a;
    transform: translateY(-2px);  
}

/* Kayıt Ol Butonu */
.mobile-menu .register-btn {
    background-color: #fff;
    color: #FF510B;
    border: 2px solid #FF510B;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-menu .register-btn:hover {
    background-color: #FF510B;
    color: #fff;
    transform: translateY(-2px);
}
 
.mobile-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

 
.mobile-categories .category {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

 
.mobile-categories .main-cat {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.mobile-categories .main-cat:hover {
    background-color: #f1f3f5;
}

.mobile-categories .main-cat i {
    margin-right: 12px;
    color: #FF510B;
    font-size: 16px;
}

.mobile-categories .main-cat a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
    flex: 1;  
}

 
.mobile-categories .toggle-icon {
    cursor: pointer;
    padding-left: 10px;
}

.mobile-categories .toggle-icon i {
    color: #555;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-categories .category.active .toggle-icon i {
    transform: rotate(180deg);  
}

 
.mobile-categories .subcategories {
    margin-left: 0;
    max-height: 0;
    overflow: hidden;
    background-color: #f8f9fa;
    transition: max-height 0.3s ease;
}

.mobile-categories .category.active .subcategories {
    max-height: 200px;  
}

.mobile-categories .subcategories li {
    padding: 10px 20px;
    border-bottom: 1px solid #e9ecef;
}

.mobile-categories .subcategories li:last-child {
    border-bottom: none;
}

.mobile-categories .subcategories li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-categories .subcategories li a:hover {
    color: #FF510B;
    padding-left: 5px;
}
.mobile-menu .stats-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;  
}

.mobile-menu .stat-box {
    background-color: #fff;
    width: calc(50% - 5px);  
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-menu .stat-box i {
    font-size: 18px;
    color: #FF510B;
    margin-bottom: 5px;
}

.mobile-menu .stat-box .stat-title {
    display: block;
    font-size: 12px;
    color: #666;
}

.mobile-menu .stat-box .stat-number {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    transition: transform 0.3s ease;
}

.recently-viewed {
    margin-top: 20px;
}

.recently-viewed h4 {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.recently-viewed ul {
    list-style: none;
    padding: 0;
}

.recently-viewed li {
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
}

.recently-viewed li:last-child {
    border-bottom: none;
}

.recently-viewed a {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 13px;
    transition: color 0.3s;
}

.recently-viewed a:hover {
    color: #FF510B;
}

.recently-viewed .recent-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recently-viewed .recent-price {
    font-weight: 500;
    color: #2c3e50;
    margin-left: 10px;
}
.sidebar {
    width: 600px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.sidebar ul {
    list-style: none;
}

.sidebar .category {
    margin-bottom: 15px;
}

.sidebar .category .main-cat {
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: background-color 0.3s;
}

.sidebar .category .main-cat:hover {
    background-color: #f4f7fa;
    border-radius: 5px;
}

.sidebar .category .main-cat i {
    margin-right: 10px;
    color: #FF510B;
}

.sidebar .category .main-cat a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.sidebar .category .subcategories {
    margin-left: 25px;
}

.sidebar .category .subcategories li {
    padding: 8px 0;
}

.sidebar .category .subcategories li a {
    text-decoration: none;
    font-size: 14px;
    color: #555;
    transition: color 0.3s;
}

.sidebar .category .subcategories li a:hover {
    color: #FF510B;
}


.slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    width: 300%;  
    height: 100%;
    transition: transform 0.5s ease;  
}

.slide {
    width: 33.33%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

.slider .prev, .slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.slider .prev:hover, .slider .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider .prev {
    left: 10px;
}

.slider .next {
    right: 10px;
}

.ads {
    flex-grow: 1;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  
    gap: 20px;
}
.recent-ads-title {
    font-size: 24px;
    color: #2c3e50;
    margin: 20px 0;
    text-align: left;
}

 
.recent-ads-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  
    gap: 20px;
}
.ad-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.ad-card:hover {
    transform: translateY(-5px);
}

.ad-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.ad-card .content {
    padding: 10px 15px;  
}

.ad-card h4 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 13px;
}
 
.vitrin-baslik {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: left;
}

 
.banner {
    margin-top: 20px;
    text-align: center;
}

.banner img {
    width: 100%;
    max-width: 1000px; 
    height: auto; 
    border-radius: 10px; 
}
 
 
.footer {
    background-color: #FF510B;  
    color: #fff;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-stats {
    flex: 1;
    min-width: 300px;
}

.stats-boxes {
    display: flex;
    flex-wrap: wrap;  
    gap: 8px;  
    margin-bottom: 15px;  
}

.stat-box {
    background-color: #ffffff;  
    width: calc(40% - 4px);  
    padding: 8px;  
    text-align: center;
    border-radius: 8px;  
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);  
    transition: transform 0.2s ease, box-shadow 0.2s ease;  
}

.stat-box:hover {
    transform: translateY(-2px); 
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);  
}

.stat-box i {
    font-size: 20px;  
    color: #FF510B;  
    margin-bottom: 4px;  
}

.stat-title {
    display: block;
    font-size: 12px;  
    color: #7f8c8d;  
    line-height: 1.2;  
}

.stat-number {
    display: block;
    font-size: 16px;  
    font-weight: 600;  
    color: #2c3e50;  
}
.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #FF0F2E;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #FF0F2E;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.footer-bottom p {
    font-size: 12px;
    color: #fff;
}
 
@media (max-width: 768px) {
    .footer{
        display: none;
    }
    .navbar .search-bar, .navbar .nav-links {
        display: none;
    }

    .navbar .menu-icon {
        display: block;
    }

    .container {
        flex-direction: column;
        margin: 10px;
    }

    .sidebar {
     display: none;
    }

    .slider {
        height: 200px;
    }

    .ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .recent-ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.menu-open .container {
        overflow-y: hidden;
    }
}