/* Banner Carousel Styles */

.banner-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.9;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 16px;
    height: 16px;
    background-size: 100%;
    filter: invert(1) brightness(0);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 576px) {
    .banner-img {
        height: 180px;
        object-fit: contain;
        background-color: #fff;
        padding: 10px;
    }
    .cat-slider {
        margin: 0;
    }
    .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }
    .content-area .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    #bannerCarousel {
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 28px;
        height: 28px;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 14px;
        height: 14px;
    }
}


/* Category Slider Styles */

.cat-slider {
    padding: 20px 0;
    margin: 0 -10px;
}

.cat-item {
    padding: 10px;
}

.category-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 15px;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.category-image {
    position: relative;
    padding-bottom: 10px;
}

.category-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.category-name {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Product Card Styles */

.list-card {
    transition: transform 0.2s ease-in-out;
    background: #fff;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

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

.list-card-image {
    position: relative;
    overflow: hidden;
}

.list-card-image img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}


/* Position Badges */

.star,
.favourite-heart,
.member-plan {
    position: absolute;
    z-index: 2;
}

.star {
    top: 10px;
    right: 10px;
}

.favourite-heart {
    top: 10px;
    left: 10px;
}

.member-plan {
    bottom: 10px;
    left: 10px;
}


/* Modal Styles */

.modal-content {
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}


/* Responsive Styles */

@media (max-width: 768px) {
    #bannerCarousel {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .cat-slider {
        margin: 0 -5px;
    }
    .cat-item {
        padding: 5px;
    }
    .category-image img {
        height: 100px;
    }
    .category-name {
        font-size: 12px;
    }
    .list-card-image img {
        height: 160px;
    }
    .mobile-logo {
        max-width: 150px;
        margin: 0 10px;
    }
    .mobile-logo img {
        max-height: 35px;
    }
    .toggle.hc-nav-trigger {
        margin-right: 10px;
    }
    .back-button {
        padding: 6px 10px;
    }
    .back-button i {
        font-size: 16px;
    }
    .app-buttons {
        margin-top: 10px;
    }
    .btn-app img {
        height: 28px;
    }
    .footer-copyright {
        padding: 15px 0 85px;
    }
}


/* Mobile Header Styles */

.title.d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.toggle.hc-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 15px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
}

.toggle.hc-nav-trigger span,
.toggle.hc-nav-trigger span::before,
.toggle.hc-nav-trigger span::after {
    display: block;
    position: relative;
    width: 20px;
    height: 2px;
    background: #333;
    transition: all 0.2s ease;
}

.toggle.hc-nav-trigger span::before,
.toggle.hc-nav-trigger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
}

.toggle.hc-nav-trigger span::before {
    top: -6px;
}

.toggle.hc-nav-trigger span::after {
    bottom: -6px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    padding: 0 15px;
    max-width: 200px;
}

.mobile-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}


/* Back Button Styles */

.back-button {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.back-button i {
    font-size: 18px;
}

.logo-container a,
.mobile-logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo-container a:hover,
.mobile-logo a:hover {
    opacity: 0.9;
}


/* Footer Styles */

.osahan-menu-fotter {
    display: none;
    border-top: 1px solid #f1f1f1;
    z-index: 1000;
}

.osahan-menu-fotter .row {
    margin: 0;
}

.osahan-menu-fotter .col-3 {
    padding: 0;
}

.osahan-menu-fotter a {
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #838383;
    transition: all 0.2s ease;
}

.osahan-menu-fotter a:hover {
    color: #000;
    text-decoration: none;
}

.osahan-menu-fotter i {
    font-size: 20px;
    line-height: 1;
}

.osahan-menu-fotter .small {
    font-size: 12px;
    line-height: 1;
    margin-top: 6px;
}

.footer-copyright {
    background: #f8f9fa;
    font-size: 13px;
    padding-bottom: 100px;
    /* Footer menu yüksekliği kadar padding */
}


/* Responsive Footer Styles */

@media (max-width: 576px) {
    .osahan-menu-fotter {
        display: block;
        padding: 8px 0;
    }
    .osahan-menu-fotter i {
        font-size: 18px;
    }
    .osahan-menu-fotter .small {
        font-size: 11px;
        margin-top: 4px;
    }
    .footer-copyright {
        padding-bottom: 85px;
    }
}

@media (min-width: 577px) {
    .footer-copyright {
        padding: 15px 0;
    }
    .bg-primary {
        display: none !important;
    }
}

@media (min-width: 577px) {
    .bg-primary {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .header-main {
        display: none;
    }
    .bg-primary {
        display: block !important;
    }
    .toggle.hc-nav-trigger {
        margin-right: 10px;
    }
}


/* App Store Buttons */

.app-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-app {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.btn-app:hover {
    opacity: 0.8;
}

.btn-app img {
    border-radius: 6px;
}


/* Yan Menü Stilleri */

.second-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.second-nav li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.second-nav li a:hover {
    background: #f8f9fa;
    text-decoration: none;
}

.second-nav li a i {
    margin-right: 10px;
    font-size: 18px;
}