/* ========== FONT IMPORTS ========== */
@font-face {
    font-family: 'RadikalThin';
    src: url("../fonts/Radikal-Thin.woff") format("woff");
    font-weight: 300;
}

@font-face {
    font-family: 'RadikalBold';
    src: url("../fonts/Radikal-Bold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
}

/* ========== GLOBAL STYLES ========== */
body {
    font-family: 'RadikalThin';
    color: #6A6A71;
    font-size: 16px;
    line-height: 34px;
    overflow-x: hidden;
    padding-bottom: 70px;
    top: 0;
    position: relative;
}

/* ========== LOADER STYLES ========== */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-container.fade-out {
    opacity: 0;
}

.loader {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader img {
    max-width: 100%;
    height: auto;
}

@keyframes pulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}
.modal-title {
    	font-family: 'RadikalBold' !important;
		color: #da5d07 !important;

}
.btn-primary {
    color: #ffffff !important;
    background-color: #da5d07 !important;
    border-color: #da5d07 !important;
}

.btn-primary:hover {
    color: #ffffff !important;
    background-color: #da5d07 !important;
    border-color: #da5d07 !important;
}

/* ========== NAVBAR STYLES ========== */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease;
}

.navbar-toggler {
    padding: 0;
    border: none;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .svg-inline--fa,
.nav-icon-btn,
.nav-icon-btn i {
    color: #da5d07 !important;
}

.navbar .category-title-nav {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    display: none;
    #ffffff-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== NAVIGATION ICONS ========== */
.nav-icons {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-icon-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nav-icon-btn:hover {
    opacity: 0.8;
    color: #ffffff;
    text-decoration: none;
}

/* ========== LANGUAGE DROPDOWN ========== */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #343a40;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    margin-top: 5px;
}

.language-menu.show {
    display: block;
}

.language-menu a {
    color: #ffffff;
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.language-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* ========== CATEGORY STYLES ========== */
.category-card {
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 100px;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.category-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.category-title-container {
    display: none;
    margin-bottom: 20px;
}

.category-title-container.show {
    display: block !important;
}

.category-title-text {
	font-family: 'RadikalBold';
    font-size: 1.2rem;
    font-weight: 500;
    color: #da5d07;
    margin: 0;
    text-align: right;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 34px;
}

.category-menu-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

/* ========== PRODUCT STYLES ========== */
.product-section {
    display: none;
}

.product-section .row {
    margin: 0 -15px;
    row-gap: 20px;
}

.product-section .col-md-6 {
    padding: 0 15px;
}

.product-card {
    margin-bottom: 20px;
    transition: transform 0.3s;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.product-card .d-flex {
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card.out-of-stock {
    opacity: 0.7;
}

.product-card.out-of-stock img {
    filter: grayscale(100%);
}

.product-image-container {
	width: 35%;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 12px;
    flex: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.product-description {
    color: #6c757d;
    margin-bottom: 8px;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    height: 2.8em;
}

.product-price {
    font-size: 1rem;
    font-weight: 600;
    color: #da5d07;
	font-family: 'RadikalBold';
}

.btn-outline-primary {
    color: #da5d07 !important;
    border-color: #da5d07 !important;
}

.btn-outline-primary:hover {
    color: #ffffff !important;
	background-color: #da5d07 !important;
    border-color: #da5d07 !important;
	font-family: 'RadikalBold';
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.stock-status {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 17px;
    margin-left: 8px;
}

.stock-status.in-stock {
    background-color: #d4edda;
    color: #155724;
}

.stock-status.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
}

/* ========== POPULAR PRODUCTS CAROUSEL ========== */
.popular-products-section {
    padding: 10px 0;
    position: relative;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.section-title {
    color: #333;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.popular-products-carousel {
  justify-content: center;
}

.popular-products-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    gap: 10px;
    padding: 5px 0;
    cursor: grab;
}

.popular-products-wrapper:active {
    cursor: grabbing;
}

.popular-product-item {
    flex: 0 0 calc(33.333% - 7px);
    min-width: calc(33.333% - 7px);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: scale(0.95);
    padding: 2px;
}

.popular-product-item.active {
    opacity: 1;
    transform: scale(1);
}

.popular-product-image {
    width: 100%;
    height: 0;
    padding-bottom: 80%;
    position: relative;
    margin-bottom: 5px;
    border-radius: 8px;
    overflow: hidden;
}

.popular-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-product-name {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    margin: 0;
    #ffffff-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid #000000;
}

.carousel-nav:hover {
    background: #da5d07;
    color: #ffffff;
}

.carousel-nav.prev {
    left: 2px;
}

.carousel-nav.next {
    right: 2px;
}

/* ========== SEARCH STYLES ========== */
.header-section {
    background: #f8f9fa;
}

.header-section .d-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-container {
    width: 100%;
    position: relative;
}

#urunArama {
    border-right: none;
    padding-right: 40px;
}

#aramaSifirla {
    border-left: none;
    background: #da5d07;
    color: #ffffff;
    border-color: #da5d07;
}


#aramaSifirla:active {
    background-color: #da5d07;
    color: #ffffff;
}

#aramaSifirla:focus {
    box-shadow: none;
    color: #ffffff;
}

/* ========== BUTTONS ========== */
.back-to-categories {
    background: #da5d07;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    min-width: fit-content;
    font-size: 0.9rem;
    height: 34px;
}

.back-to-categories:hover {
    color: #ffffff;
}

.feedback-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* ========== BOTTOM NAVIGATION ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: #da5d07 !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12px;
    gap: 4px;
}

.bottom-nav-item i {
    font-size: 20px;
    color: #ffffff !important;
}

.bottom-nav-item span {
    font-size: 11px;
    color: #ffffff !important;
}

.bottom-nav-item:hover {
    color: #ffffff !important;
    opacity: 0.8;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.feedback-circle {
    background-color: #fd1c1c !important;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 0px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-top: -20px;
}

.feedback-circle i {
    font-size: 28px;
    margin: 0;
    color: #ffffff;
}

.feedback-circle span {
    display: none;
}

/* ========== OFFCANVAS STYLES ========== */
.offcanvas {
    max-width: 300px;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.offcanvas-start {
    background-color: #ffffff !important;
}

.offcanvas-end {
    width: 300px;
    background-color: #ffffff !important;
}

.offcanvas-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas-title {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.offcanvas-body {
    padding: 1rem 0;
    color: #000000 !important;
}

.offcanvas-start .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
}

.offcanvas .nav-link {
    color: #000000 !important;
}

.offcanvas .nav-link:hover {
    color: rgba(0,0,0,0.8);
}

/* ========== BUSINESS INFO SECTION ========== */
.welcome-header {
    background-color: #da5d07;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-header h5 {
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.welcome-header .btn-close {
    background-color: transparent;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.logo-section {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #4a4a4a;
}

.business-logo {
    width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.business-name {
    color: #000000;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
}

.business-location {
    color: #aaaaaa;
    font-size: 14px;
    margin-bottom: 5px;
}

.business-id {
    color: #aaaaaa;
    font-size: 12px;
}

.info-section-title {
    color: #da5d07;
    padding: 15px 20px;
    font-weight: 500;
    margin: 0 auto;
    font-size: 19px;
    font-family: 'RadikalBold';
}

.business-info {
    padding: 20px;
    color: #000000 !important;
    background-color: #ffffff;
    border-top: 1px solid #4a4a4a;
}

.business-info .info-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: #000000 !important;
}

.business-info .info-item i {
    width: 20px;
    margin-right: 10px;
    margin-top: 4px;
    color: #000000;
}

.business-info .info-item span {
    flex: 1;
    font-size: 16px;
    color: #000000;
}

/* ========== WORKING HOURS ========== */
.working-hours {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 5px;
    min-width: 90%;
}

.day-hours {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f8f9fa;
    border-left: 3px solid #dee2e6;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-hours.today {
    background: #e3f2fd;
    border-left-color: #2196f3;
    font-weight: 600;
    color: #1976d2;
}

.day-name {
    min-width: 50%;
    font-weight: 500;
}

.day-time {
    min-width: 50%;
    color: #666;
    font-weight: 400;
}

.day-hours.today .day-time {
    color: #1976d2;
    font-weight: 500;
}

.info-item {
    align-items: flex-start;
}

.info-item i {
    margin-top: 6px;
}

/* ========== SOCIAL MEDIA ========== */
.social-media-title {
    color: #000000;
    padding: 15px 20px 10px;
    font-weight: 500;
    margin: 0;
    font-size: 14px;
}

.social-links {
    padding: 0 20px 20px;
    background-color: #ffffff;
}

.social-links a {
    color: #000000 !important;
    font-size: 16px !important;
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid #000000;
    background: transparent;
    display: inline-block;
    -webkit-transition: all .3s;
    transition: all .3s;
    margin-right: 10px;
}

.social-links a:hover {
    color: #ffffff !important;
    background: #da5d07;
    border-radius: 30px;
    border: 1px solid #da5d07;
}

/* ========== LIST GROUP ========== */
.list-group-item {
    border: none;
    padding: 12px 16px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.list-group-item.active {
    background-color: #f8f9fa;
    color: #da5d07;
    border-color: transparent;
}

/* ========== MODAL STYLES ========== */
.modal-content {
    border: none;
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
}

.modal-body {
    padding: 20px;
}

.wifi-icon {
    font-size: 48px;
    color: #da5d07;
    display: block;
}

.wifi-text {
    color: #666;
    font-size: 0.9rem;
}

.wifi-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.wifi-item {
    margin-bottom: 12px;
}

.wifi-item:last-child {
    margin-bottom: 0;
}

.wifi-label {
    font-weight: 500;
    color: #333;
    display: inline-block;
    width: 100px;
}

.wifi-value {
    color: #666;
}

.footer-text {
    color: #aaaaaa;
    font-size: 15px;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid #4a4a4a;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 767px) {
    .feedback-btn {
        display: none;
    }
    
    .navbar .category-title-nav {
        font-size: 1rem;
    }
    
    .header-section {
        padding: 10px !important;
    }
    
    .header-section .d-flex {
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px;
    }
    
    .back-to-categories {
        font-size: 0.85rem;
        padding: 6px 12px;
        margin: 0;
    }
    
    .category-title-text {
        font-size: 0.95rem;
        margin: 0;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    .search-container {
        margin-top: 10px;
        width: 100%;
    }
    
    .category-title-container .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .category-title-text {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .product-section .row {
        row-gap: 15px;
    }
    
    .product-section .col-md-6 {
        padding: 0 10px;
    }
    
    .popular-product-item {
        flex: 0 0 calc(33.333% - 4px);
        min-width: calc(33.333% - 4px);
    }
    
    .popular-product-name {
        font-size: 0.7rem;
    }

    .popular-product-image {
        padding-bottom: 70%;
    }

    .carousel-nav {
        width: 18px;
        height: 18px;
    }

    .carousel-nav.prev {
        left: 2px;
    }
    
    .carousel-nav.next {
        right: 2px;
    }
}


/* Rating Modal Stilleri */
.rating-modal .modal-content {
    border-radius: 10px;
    border: none;
}

.rating-modal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 10px 10px 0 0;
    padding: 15px 20px;
}

.rating-modal .modal-body {
    padding: 20px;
    text-align: center;
}

.rating-modal .rating-text {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.rating-modal .rating-btn {
    background-color: #da5d07;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.rating-modal .rating-btn:hover {
    text-decoration: none;
}

.rating-modal .store-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 15px 0 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rating-modal .modal-dialog {
    max-width: 800px;
}

/* Mobil cihazlar için responsive ayarlar */
@media (max-width: 767px) {
    .rating-modal .store-image {
        height: 300px;
    }
    
    .rating-modal .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }
}


@media (max-width: 321px) {
	
	.navbar-dark .navbar-brand img {
        height: 20px !important;
    }
	
	.nav-icon-btn {
         font-size: 1rem;
	 }
}