/* Ana Sayfa Özel Ayarlamaları */

/* Mobile First Approach */

/* Hero Section (İncelmiş Versiyon) */
.hero-section {
    background-color: var(--primary-color); /* Kırmızı çizgi rengi */
    color: var(--white-color);
    text-align: center;
    padding: 10px 0; /* Bir tık daha kısaltıldı */
    min-height: auto;
    box-shadow: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Boşluk azaltıldı */
    flex-wrap: wrap;
}

.hero-content h1 {
    font-size: 1.1em; /* Bir tık küçültüldü */
    margin-bottom: 0;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-content p {
    display: none;
}

.hero-content .btn-primary {
    display: inline-block;
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 6px 12px; /* Buton padding'i azaltıldı */
    border-radius: 5px;
    font-size: 0.8em; /* Buton metni küçültüldü */
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--white-color);
    white-space: nowrap;
}

.hero-content .btn-primary:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-color: var(--light-bg);
    transform: translateY(-1px);
}

/* Genel Bölüm Başlıkları */
.section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Yeni Ana Layout (Sol Menü + Orta İçerik + Sağ Widget) */
.main-content-area {
    display: grid;
    grid-template-columns: 250px 2fr 1fr; /* Sol menü, orta (banner), sağ widget */
    gap: 20px;
    padding: 20px; /* Added horizontal padding */
    max-width: 100%; /* Changed to 100% to allow full width */
    margin: 0 auto;
    align-items: stretch; /* Sütunların yüksekliklerini eşitler */
}

/* Sol Kenar Çubuğu Menüsü */
.sidebar-menu {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 0; /* Padding azaltıldı */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-menu h4 {
    font-size: 1.05em; /* Küçültüldü */
    font-weight: 600;
    color: var(--secondary-color);
    padding: 8px 15px; /* Padding azaltıldı */
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px; /* Margin azaltıldı */
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-menu ul li a {
    display: flex;
    align-items: center;
    gap: 8px; /* Boşluk azaltıldı */
    padding: 10px 15px; /* Padding azaltıldı */
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9em; /* Küçültüldü */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-menu ul li a i {
    color: var(--primary-color);
    font-size: 1em; /* Küçültüldü */
    width: 18px; /* Genişlik azaltıldı */
    text-align: center;
}

.sidebar-menu ul li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.sidebar-menu ul li:last-child a {
    border-top: 1px solid var(--border-color);
    margin-top: 8px; /* Margin azaltıldı */
    font-weight: 600;
}

/* Orta Ana İçerik Alanı (Slider) */
.main-content-center {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Slider Stilleri (Önceki slider'dan uyarlanmış) */
.home-slider-wrapper {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    height: 0; /* Set height to 0 to use padding-top for aspect ratio */
    padding-top: 0; /* 16:9 aspect ratio for desktop */
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}
.home-slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.home-slider-item {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%; /* Explicitly set width */
    height: 100%; /* Explicitly set height */
}

.home-slider-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container */
    display: block;
    box-sizing: border-box;
}

.home-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 8px; /* Padding azaltıldı */
    z-index: 10;
}

.home-slider-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white-color);
    border: none;
    padding: 6px 10px; /* Padding azaltıldı */
    cursor: pointer;
    font-size: 1.1em; /* Küçültüldü */
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.home-slider-dots {
    position: absolute;
    bottom: 10px; /* Kısaltıldı */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px; /* Boşluk azaltıldı */
    z-index: 10;
}

.home-slider-dot {
    width: 9px; /* Küçültüldü */
    height: 9px; /* Küçültüldü */
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.2);
}

.home-slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
    border-color: var(--primary-color);
}


/* Sağ Widget - Haftanın Fırsatları */
.weekly-offers {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px; /* Padding azaltıldı */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.weekly-offers h4 {
    font-size: 1.05em; /* Küçültüldü */
    font-weight: 600;
    color: var(--secondary-color);
    padding-bottom: 8px; /* Padding azaltıldı */
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px; /* Margin azaltıldı */
    display: flex;
    align-items: center;
    gap: 6px; /* Boşluk azaltıldı */
}

.weekly-offers h4 i {
    color: var(--primary-color);
    font-size: 1.1em; /* Küçültüldü */
}

.offer-item {
    text-align: center;
    margin-bottom: 10px; /* Margin azaltıldı */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-item .offer-image {
    width: 100%;
    height: 120px; /* Fixed height for consistency */
    object-fit: contain; /* Ensure full image is visible */
    margin: 0 auto 10px auto; /* Adjusted margin */
    display: flex; /* Use flex to center image vertically */
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg); /* Add a background for images with transparent areas */
    border-radius: 5px;
}

.offer-item .offer-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.offer-item .offer-title {
    font-size: 0.95em; /* Slightly increased font size */
    color: var(--text-color);
    margin-bottom: 8px; /* Adjusted margin */
    line-height: 1.4; /* Adjusted line height */
    min-height: 45px; /* Increased height for more text */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-item .offer-code {
    font-size: 0.75em; /* Küçültüldü */
    color: #6c757d;
    margin-bottom: 8px; /* Margin azaltıldı */
}

.offer-item .offer-price {
    font-size: 1.2em; /* Küçültüldü */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px; /* Margin azaltıldı */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Boşluk azaltıldı */
    flex-wrap: wrap;
}

.offer-item .old-price {
    font-size: 0.85em; /* Küçültüldü */
    color: #adb5bd;
    text-decoration: line-through;
    font-weight: 400;
}

.offer-item .discount-percentage {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 0.7em; /* Küçültüldü */
    padding: 2px 5px; /* Padding azaltıldı */
    border-radius: 3px;
    font-weight: 700;
}

/* Ürün Bölümleri (Yeni Ürünler - Yatay Kaydırmalı Galeri) */
.products-section {
    padding: 50px 0; /* Padding azaltıldı */
    background-color: var(--white-color);
    border-bottom: 1px solid var(--border-color);
}

.product-carousel-container {
    position: relative;
    margin: 0 auto;
    padding: 0 10px; /* Padding azaltıldı */
    max-width: 1200px;
}

.product-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px; /* Padding azaltıldı */
    gap: 15px; /* Boşluk azaltıldı */
}

/* Kaydırma çubuğunu gizle ama işlevselliği koru */
.product-carousel::-webkit-scrollbar {
    height: 7px; /* Kaydırma çubuğunun yüksekliği azaltıldı */
}

.product-carousel::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.product-carousel::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,0.1);
}

.product-card {
    flex: 0 0 auto;
    width: 260px; /* Kart genişliği */
    scroll-snap-align: start;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative; /* Added for discount badge positioning */
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-card .product-image { /* Targeting the div directly */
    position: relative;
    width: 100%;
    height: 200px; /* Fixed height for product images */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg); /* Background for transparent images */
    border-bottom: 1px solid var(--border-color);
}

.product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure full image is visible */
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.discount-badge {
    position: absolute;
    top: 8px; /* Slightly reduced top position */
    left: 8px; /* Slightly reduced left position */
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3px 6px; /* Reduced padding */
    border-radius: 3px;
    font-size: 0.75em; /* Slightly reduced font size */
    font-weight: 700;
    z-index: 10;
    display: block;
    width: 40%; /* Set width to 40% as requested */
    text-align: center; /* Center the text within the badge */
}

.product-info {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    position: relative; /* For potential absolute positioning of elements */
}

.product-brand {
    font-size: 0.8em; /* Küçültüldü */
    color: #6c757d;
    margin-bottom: 4px; /* Margin azaltıldı */
    text-transform: uppercase;
}

.product-title {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 10px;
    min-height: 45px; /* Slightly increased height for better text display */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-info {
    margin-bottom: 15px; /* Margin azaltıldı */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px; /* Boşluk azaltıldı */
}

.original-price {
    color: #adb5bd;
    text-decoration: line-through;
    font-size: 0.85em; /* Küçültüldü */
    font-weight: 400;
    display: none;
}

.current-price {
    color: var(--primary-color);
    font-size: 1.4em; /* Küçültüldü */
    font-weight: 700;
}

.btn-add-to-cart {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: auto; /* Push button to the bottom */
}

.btn-add-to-cart:hover {
    background-color: var(--primary-color);
}

.view-all-link {
    text-align: center;
    margin-top: 25px; /* Margin azaltıldı */
}

.view-all-link a {
    font-size: 1em; /* Küçültüldü */
    font-weight: 500;
    color: var(--secondary-color);
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Boşluk azaltıldı */
}

.view-all-link a:hover {
    color: var(--primary-color);
}

.view-all-link a i {
    font-size: 0.85em; /* Küçültüldü */
    transition: transform 0.3s ease;
}

.view-all-link a:hover i {
    transform: translateX(4px); /* Efekt azaltıldı */
}


/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
    .main-content-area {
        grid-template-columns: 200px 2fr 1fr; /* Daha küçük widgetlar için */
        gap: 10px; /* Boşluk azaltıldı */
        padding: 15px; /* Padding adjusted */
    }
    .sidebar-menu {
        padding: 8px 0; /* Padding azaltıldı */
    }
    .sidebar-menu ul li a {
        padding: 8px 12px; /* Padding azaltıldı */
        font-size: 0.85em; /* Küçültüldü */
    }
    .home-slider-wrapper {
        padding-top: 0; /* 16:9 aspect ratio for desktop */
    }
}

/* Tablet ve küçük ekranlar için ek optimizasyonlar */
@media (max-width: 1024px) {
    .main-content-area {
        grid-template-columns: 180px 2fr 1fr;
        gap: 8px;
        padding: 12px;
    }
    
    .home-slider-wrapper {
        padding-top: 0; /* Adjusted for better fit on tablets */
    }
    
    .product-card {
        width: 240px;
    }
}


@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 0.9em;
    }
    .hero-content .btn-primary {
        padding: 5px 10px;
        font-size: 0.7em;
    }

    .main-content-area {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px; /* Added horizontal padding for mobile */
    }

    .sidebar-menu {
        order: 2;
        height: auto;
    }

    .main-content-center {
        order: 1;
        height: auto;
        width: 100%;
        margin: 0; /* Ensure no external margin */
        padding: 0; /* Ensure no external padding */
    }
    .home-slider-wrapper {
        padding-top: 75%; /* Adjusted for better fit on smaller desktops/large tablets */
        width: 100%;
        margin: 0;
    }

    .weekly-offers {
        order: 3;
        height: auto;
    }

    .section-title {
        font-size: 1.6em;
    }

    .product-carousel {
        padding-left: 10px; /* Padding azaltıldı */
        padding-right: 10px; /* Padding azaltıldı */
    }

    .product-card {
        width: 220px; /* Kart genişliği azaltıldı */
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 8px 0;
    }
    .hero-content h1 {
        font-size: 0.8em;
    }
    .hero-content .btn-primary {
        font-size: 0.7em;
        padding: 4px 8px;
    }

    .main-content-area {
        gap: 15px;
        padding: 12px; /* Added horizontal padding for mobile */
    }

    .sidebar-menu {
        margin-top: 15px;
    }

    .weekly-offers {
        margin-top: 15px;
    }

    .section-title {
        font-size: 1.4em;
        margin-bottom: 25px;
    }

    .home-slider-wrapper {
        padding-top: 90%; /* Adjusted for better fit on tablets */
        width: 100%;
        margin: 0;
    }
    .home-slider-btn {
        padding: 5px 8px;
        font-size: 0.9em;
    }
    .home-slider-controls {
        padding: 0 8px;
    }
    .home-slider-dots {
        bottom: 8px;
    }

    .weekly-offers .offer-image {
        max-width: 100px; /* Küçültüldü */
    }
    .weekly-offers .offer-title {
        font-size: 0.8em; /* Küçültüldü */
    }
    .weekly-offers .offer-price {
        font-size: 0.9em; /* Küçültüldü */
    }

    .product-carousel {
        padding-left: 8px; /* Padding azaltıldı */
        padding-right: 8px; /* Padding azaltıldı */
        gap: 12px; /* Ürün kartları arası boşluk azaltıldı */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .product-card {
        width: 180px;
    }

    /* Index Page Products Grid for Mobile */
    #dynamic-products-container.products-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 15px; /* Adjust gap for single column */
        padding: 0 15px; /* Add horizontal padding to the grid itself */
    }

    #dynamic-products-container .product-card {
        width: 100%; /* Make cards take full width */
        max-width: 300px; /* Optional: limit max width for very large screens in mobile view */
        margin: 0 auto; /* Center the cards */
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 6px 0;
    }
    .hero-content {
        gap: 3px;
    }
    .hero-content h1 {
        font-size: 0.7em;
        padding: 0 8px;
    }
    .hero-content .btn-primary {
        font-size: 0.65em;
        padding: 4px 8px;
    }

    .main-content-area {
        gap: 15px;
        padding: 10px 0; /* Remove horizontal padding on mobile */
    }
    .sidebar-menu {
        padding: 5px 0;
    }
    .sidebar-menu ul li a {
        padding: 8px 8px;
        font-size: 0.8em;
    }
    .sidebar-menu h4 {
        padding: 8px 10px;
        font-size: 1em;
    }

    .home-slider-wrapper {
        padding-top: 0%; /* 1:1 aspect ratio for mobile */
        width: 100%;
        margin: 0;
    }
    .home-slider-btn {
        padding: 3px 6px;
        font-size: 0.7em;
    }
    .home-slider-controls {
        padding: 0 3px;
    }
    .home-slider-dots {
        bottom: 3px;
        gap: 3px;
    }
    .home-slider-dot {
        width: 7px;
        height: 7px;
    }

    .weekly-offers {
        padding: 8px;
    }
    .weekly-offers h4 {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    .offer-item .offer-image {
        height: 100px; /* Adjusted for mobile */
    }
    .offer-item .offer-image img {
        max-width: 90%;
        max-height: 90%;
    }
    .offer-item .offer-title {
        font-size: 0.75em;
        min-height: 35px; /* Adjusted for mobile */
    }
    .offer-item .offer-code {
        font-size: 0.65em;
    }
    .offer-item .offer-price {
        font-size: 0.9em;
    }
    .offer-item .old-price {
        font-size: 0.75em;
    }
    .offer-item .discount-percentage {
        font-size: 0.6em;
        padding: 1px 3px;
    }

    /* Mobile specific discount badge adjustments */
    .discount-badge {
        top: 5px;
        left: 5px;
        padding: 2px 4px;
        font-size: 0.65em;
    }

    .product-carousel {
        padding-left: 3px;
        padding-right: 3px;
    }

    .product-card {
        width: 160px;
    }
    .product-card .product-image {
        height: 150px; /* Adjusted for mobile */
    }
    .product-info {
        padding: 8px;
    }
    .product-title {
        font-size: 0.9em;
        min-height: 35px;
        margin-bottom: 8px;
    }
    .current-price {
        font-size: 1.1em;
    }
    .btn-add-to-cart {
        padding: 8px 12px;
        font-size: 0.8em;
    }
}

/* Contact Button Styles - Matching Products Page */
.contact-btn {
    display: block;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 8px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    font-size: 0.9em;
}

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

.contact-btn i {
    margin-right: 5px;
}

/* Additional Mobile Responsiveness */
@media (max-width: 768px) {
    .main-content-area {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0; /* Ensure no horizontal padding */
    }
    
    .sidebar-menu {
        order: 2;
        margin-top: 20px;
    }
    
    .home-slider-wrapper {
        /*
         * En boy oranını korumak için kullanılır.
         * 16:9 oranı için 56.25% (9 / 16 * 100)
         * 4:3 oranı için 75% (3 / 4 * 100)
         * Koda göre 90% veya 100% ideal olabilir.
         * Bunu 56.25% olarak değiştirmek, bannerın genişliğe göre yüksekliğini otomatik ayarlamasını sağlar.
        */
        padding-top: 56.25%; /* Bu değerle banner, 16:9 en boy oranında kalır. */
        width: 100%;
        height: 0; /* padding-top kullanıldığı için height'ı sıfırlıyoruz */
        position: relative;
    }

    .home-slider-container {
        /* Bu container, .home-slider-wrapper'ın içine tam oturmalı */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .product-carousel {
        padding: 0 10px;
        gap: 10px;
    }
    
    .product-card {
        width: 140px;
        margin: 0 5px;
    }
    
    .weekly-offers {
        padding: 15px;
        margin: 15px 0;
    }
    
    .offer-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .offer-item .offer-image {
        max-width: 100px;
        margin: 0 auto;
    }
    
    /* Mobilde overflow kontrolü */
    .product-carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .product-card {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    
    /* Mobilde slider kontrollerini küçült */
    .home-slider-controls {
        padding: 0 5px;
    }
    
    .home-slider-btn {
        padding: 4px 6px;
        font-size: 0.8em;
    }
    
    .home-slider-dots {
        bottom: 5px;
        gap: 4px;
    }
    
    .home-slider-dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .hero-content h1 {
        font-size: 1em;
    }
    
    .hero-content .btn-primary {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    .section-title {
        font-size: 1.5em;
        margin-bottom: 25px;
    }
    
    .product-card {
        width: 120px;
        margin: 0 3px;
    }
    
    .product-title {
        font-size: 0.8em;
        min-height: 30px;
    }
    
    .current-price {
        font-size: 1em;
    }
    
    .btn-add-to-cart {
        padding: 6px 10px;
        font-size: 0.75em;
    }
    
    .weekly-offers {
        padding: 10px;
    }
    
    .offer-item .offer-title {
        font-size: 0.7em;
    }
    
    .offer-item .offer-price {
        font-size: 0.8em;
    }

    .main-content-area {
        gap: 15px;
        padding: 10px; /* Added horizontal padding for mobile */
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 0.9em;
    }
    
    .hero-content .btn-primary {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    
    .section-title {
        font-size: 1.3em;
        margin-bottom: 20px;
    }
    
    .product-card {
        width: 100px;
        margin: 0 2px;
    }
    
    .product-title {
        font-size: 0.7em;
        min-height: 25px;
    }
    
    .current-price {
        font-size: 0.9em;
    }
    
    .btn-add-to-cart {
        padding: 5px 8px;
        font-size: 0.7em;
    }
}

/* Slider Kontrolleri Stilleri */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.slider-dot.active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

/* Mobil responsive slider kontrolleri */
@media (max-width: 768px) {
    .slider-controls {
        bottom: 15px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .slider-controls {
        bottom: 10px;
        gap: 6px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
}
