/* Front/css/restaurant/resto-index.css */

/* Single place card */
a{
    text-decoration: none;
}
.single-place-card.disabled {
    background-color: #ccc; /* Grisée */
    cursor: not-allowed;
    pointer-events: none; /* Empêche la sélection */
    opacity: 1;
}
.single-place-card {
    background-color: #ebebeb;
    font-weight: 500;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 0.5rem;
    cursor: pointer;
}
.single-place-card .nbr {
    color: #b0b0b0;
}
.flex-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* General no-reservations */
.no-reservations {
    color: rgba(0,0,0,0.4);
    text-align: center;
}

/* Carousel controls - update these if needed */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.carousel-control-prev {
    left: -60px;
}
.carousel-control-next {
    right: -60px;
}
@media (max-width: 576px) {
    .carousel-control-prev {
        left: -10px;
    }
    .carousel-control-next {
        right: -10px;
    }
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60%;
}
.carousel-indicators [data-bs-target] {
    background-color: #e61c4c;
    height: 3px;
}
.carousel-indicators {
    position: static;
    margin-top: 10px;
}

/* Card styling */
.card-img-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}
.card-body {
    background-color: #FDFAFA;
    z-index: 1;
}
.card {
    border-radius: 25px;
    overflow: hidden;
}
.card .card-img {
    height: 250px;
    object-fit: cover;
}
.card-rate {
    background-color: #fad9e0;
    padding: 7px 15px;
    display: inline-block;
    border-radius: 15px;
    color: #e61c4c;
    font-weight: 600;
}
.card-restaurant .location-text {
    margin-left: 5px;
}
.card-restaurant .icon-chair {
    filter: brightness(0) saturate(100%) invert(10%) sepia(7%) saturate(688%) hue-rotate(180deg) brightness(87%) contrast(102%);
    width: 24px;
    height: 24px;
    margin-right: 5px;
}
.card-restaurant .price {
    font-size: 16px;
    font-weight: 600;
}
.card-restaurant .client {
    font-size: 14px;
    font-weight: 600;
    color: #b3b3b3;
}
.card-restaurant .nbr {
    font-weight: 600;
}
/* Default state */
#favorite-icon{
    color: rgba(0, 0, 0, 0.4);
    position: relative;
    cursor: pointer;
    padding: 10px 25px;
    padding-top: 0;
    border-radius: 25px;

}
/* Blind dining styles (commented out in your code but included as example) */
.blind-dining-card .card-img {
    height: 100%;
    width: auto;
}
.blind-dining-card {
    padding: 0.5rem 2rem;
}
.blind-dining-card h5 {
    color: #fff;
    transition: color 0.3s ease;
}
.blind-dining-card:hover h5 {
    color: #fad9e0;
}
.blind-dining-card:hover .card-img-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}
.blind-dining-card .card-img-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Example location-link style */
.location-link {
    text-decoration: none;
    color: #e61c4c;
}
.location-link:hover {
    text-decoration: none;
    color: #e61c4ccc;
}

/* Example subheader overlay style */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.image-overlay:hover {
    transform: scale(1.03);
}

/* Countdown container */
.countdown-container {
    font-weight: bolder;
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    color: #e61c4c;
}
.countdown-value {
    color: #1e1e1e;
}
/* Default state */
.favorite-icon{
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    cursor: pointer;
    right: 15px;
    top: 15px;
    padding: 10px 25px;
    padding-top: 0;

    border-radius: 25px;
    z-index:20;
}
/* Optional hover effect for better UI feedback */
.favorite-icon:hover {
    color: #E61C4C;
    transition: all 0.2s ease-in-out;
}

/* Active state (favorited) */
.favorite-icon.favorited {
    color: #E61C4C;
    font-weight: 500;

}
.favorite-status{
    margin-left: 5px;
}

.stories-container{
    display: flex;
    width: 100%; /* Updated to make it responsive */
    max-width: 640px; /* Limit the width */
    margin: 0 auto;
    padding-bottom: 20px;
    margin-left: 0px;
    border-radius: 8px;
    gap: 24px; /* Reduced gap for better spacing */
    overflow-x: auto; /* Allow horizontal scrolling */
    scrollbar-width: none; /* Hide scrollbar in modern browsers */
    -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
}

div.container div.stories-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar in WebKit browsers */
}

div.container div.stories-container div.content {
    position: relative;
    cursor: pointer;
    flex-shrink: 0; /* Prevent shrinking of items when scrolling */
    text-align: center;
}

div.container div.stories-container div.content img {
    height: 90px !important;
    width: 90px !important;
    border-radius: 50% !important;
    object-fit: cover; /* Ensure image fits nicely in the circle */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


h2{
    font-size: 1.25em;
    font-weight: 600;

}
.search-container-restaurant{
    position: relative;
}

.suggestions-dropdown {
    position: absolute;
    background: white;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
}

.suggestions-dropdown div {
    padding: 8px;
    cursor: pointer;
}

.suggestions-dropdown div:hover {
    background-color: #f1f1f1;
}

@media screen and (max-width: 992px) {

    h2{
        font-size: 1.25em;
        font-weight: 600;

    }
}
