* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* Header - Full Layout */
.full-layout {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.container {
    width: 100%;
    max-width: 1400px; /* Genişletildi */
    margin: 0 auto;
    padding: 0 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo h1 {
        font-size: 28px;
        font-weight: 700;
        color: #2c3e50;
    }

    .logo span {
        color: #3498db;
    }

nav ul {
    display: flex;
    list-style: none;
}

    nav ul li {
        margin-left: 30px;
    }

        nav ul li a {
            text-decoration: none;
            color: #2c3e50;
            font-weight: 600;
            font-size: 16px;
            transition: color 0.3s;
            padding: 5px 10px;
        }

            nav ul li a:hover {
                color: #3498db;
            }

/* Boxed Layout - Daha Geniş */
.boxed-layout {
    background-color: #fff;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    max-width: 1400px; /* Genişletildi */
}

/* Kategoriler ve Slider - Aynı Height */
.categories-slider-section {
    display: flex;
    margin-bottom: 40px;
    min-height: 400px; /* Minimum yükseklik eşitlendi */
}

.categories {
    width: 25%;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
}

    .categories h3 {
        font-size: 22px;
        margin-bottom: 20px;
        color: #2c3e50;
        border-bottom: 2px solid #0f3178;
        padding-bottom: 10px;
    }

    .categories ul {
        list-style: none;
        flex-grow: 1; /* Kategorileri yüksekliğe uyumlu yapar */
    }

        .categories ul li {
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }

            .categories ul li:last-child {
                border-bottom: none;
            }

            .categories ul li a {
                text-decoration: none;
                color: #555;
                font-size: 16px;
                display: flex;
                align-items: center;
                transition: color 0.3s;
            }

                .categories ul li a:hover {
                    color: #3498db;
                }

                .categories ul li a i {
                    margin-right: 10px;
                    color: #0f3178;
                }

.slider-container {
    width: 75%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 450px; /* Sabit yükseklik eklendi */
}

.slide {
    width: 100%;
    height: 100%;
    min-height: 450px; /* Artırıldı */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.slide-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
}

    .slide-content h2 {
        font-size: 28px;
        color: #2c3e50;
        margin-bottom: 10px;
    }

    .slide-content p {
        color: #555;
        margin-bottom: 20px;
    }

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

    .btn:hover {
        background-color: #2980b9;
    }

/* Banner Section */
.banner-section {
    /* display: block; */
    justify-content: space-between;
    margin-bottom: 40px;
    width: 100%;
    float: left;
}

.banner {
    width: 24%;
    height: 180px;
    border-radius: 8px;
    /* overflow: hidden; */
    position: relative;
    background-size: cover;
    background-position: center;
    display: inline-block;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

    .banner:hover {
        transform: translateY(-5px);
    }

.banner-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 90%;
}

    .banner-content h3 {
        color: #2c3e50;
        margin-bottom: 5px;
    }

    .banner-content p {
        color: #555;
        font-size: 14px;
    }

/* Carousel Section - Maxshop Tarzı Header */
.carousel-section {
    margin-bottom: 40px;
}

/* Maxshop tarzı header */
.modtitle {
    position: relative;
    border-bottom: 3px solid;
    border-color: #ea3a3c;
    font-size: 100%;
    padding: 0;
    margin: 0px 0px -1px 0px;
    height: 40px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .modtitle span {
        background-color: #ea3a3c;
        color: white;
        font-weight: bold;
        font-size: 18px;
        padding: 8px 20px;
        display: inline-block;
        position: relative;
    }

        .modtitle span:after {
            content: "";
            position: absolute;
            right: -20px;
            top: 0;
            border-left: 20px solid #ea3a3c;
            border-top: 20px solid transparent;
            border-bottom: 20px solid transparent;
        }

.products-carousel {
    position: relative;
}

.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 20px;
}

    .product-info h4 {
        font-size: 18px;
        color: #2c3e50;
        margin-bottom: 10px;
    }

.product-price {
    color: #3498db;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

    .product-price span {
        color: #7f8c8d;
        font-size: 16px;
        text-decoration: line-through;
        margin-left: 5px;
    }

.add-to-cart {
    width: 100%;
    background-color: #0f2f74;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .add-to-cart:hover {
        background-color: #27ae60;
    }

/* Carousel Navigation Buttons */
.owl-nav {
    position: absolute;
    top: -50px;
    right: 0;
}

    .owl-nav button {
        background-color: #ea3a3c !important;
        color: white !important;
        width: 30px;
        height: 30px;
        border-radius: 50% !important;
        margin-left: 5px;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

/* Footer */
footer {
    background-color: #dbdbdb;
    color: #ecf0f1;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    width: 23%;
    margin-bottom: 20px;
}

    .footer-section h3 {
        font-size: 20px;
        margin-bottom: 20px;
        color: #3498db;
    }

    .footer-section ul {
        list-style: none;
    }

        .footer-section ul li {
            margin-bottom: 10px;
            color: #000;
            font-weight: 500;
        }

            .footer-section ul li a {
                color: #000000;
                text-decoration: none;
                transition: color 0.3s;
                font-weight: 500;
            }

                .footer-section ul li a:hover {
                    color: #3498db;
                }

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #34495e;
    color: #000000;
    font-size: 14px;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .container, .boxed-layout {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .categories-slider-section {
        flex-direction: column;
    }

    .categories, .slider-container {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .banner-section {
        flex-wrap: wrap;
    }

    .banner {
        width: 48%;
        margin-bottom: 15px;
    }

    .footer-section {
        width: 48%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 20px;
        justify-content: center;
    }

        nav ul li {
            margin: 0 10px;
        }

    .banner {
        width: 100%;
    }

    .footer-section {
        width: 100%;
    }
}

/* Üst Gri Bar - Full Layout */
.top-bar {
    width: 100%;
    background-color: #ddd;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.user-actions {
    display: flex;
    gap: 20px;
}

    .user-actions a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s;
    }

        .user-actions a:hover {
            color: #3498db;
        }

    .user-actions .register {
        color: #333;
        font-weight: 600;
    }
/* Hamburger Menü */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    padding: 5px;
}

/* Mobil Görünüm için Media Query'yi güncelle */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    header {
        flex-direction: row;
        justify-content: center;
        padding: 20px 0;
        position: relative;
    }

    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

        nav.active {
            display: block;
        }

        nav ul {
            flex-direction: column;
            margin-top: 0;
        }

            nav ul li {
                margin: 0;
                text-align: center;
                padding: 15px 0;
                border-bottom: 1px solid #eee;
            }

                nav ul li:last-child {
                    border-bottom: none;
                }

                nav ul li a {
                    display: block;
                    padding: 10px;
                }
}

@media (max-width: 480px) {
    .top-bar-content {
        justify-content: center;
    }

    .user-actions {
        font-size: 12px;
        gap: 10px;
    }
}

.search-area {
    flex: 1;
    margin-right: 30px;
}

.search-container-large {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 30px;
    padding: 5px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

    .search-container-large:focus-within {
        border-color: #3498db;
        background: white;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-icon {
    color: #7f8c8d;
    margin-right: 10px;
    font-size: 16px;
}

#searchInputMain {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 15px;
    color: #333;
    outline: none;
    width: 100%;
}

    #searchInputMain::placeholder {
        color: #95a5a6;
    }

.search-categories {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-left: 1px solid #ddd;
}

.category-select {
    border: none;
    background: transparent;
    padding: 12px 5px;
    font-size: 14px;
    color: #2c3e50;
    outline: none;
    cursor: pointer;
    min-width: 120px;
}

.search-button-main {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .search-button-main:hover {
        background: #2980b9;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

/* Responsive */
@media (max-width: 1200px) {
    .search-cart-wrapper {
        padding: 15px 20px;
    }

    .search-container-large {
        flex-wrap: wrap;
    }

    .search-categories {
        border-left: none;
        border-top: 1px solid #ddd;
        padding: 10px 15px;
        width: 100%;
    }

    .category-select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .search-cart-wrapper {
        flex-direction: column;
        gap: 15px;
        height: auto;
        padding: 20px;
    }

    .search-area {
        margin-right: 0;
        width: 100%;
    }
}
