/**
 * Restaurants listing and detail - same layout and design as hotels/vehicles
 */
.restaurants-listing {
    padding: 4rem 0 5rem;
    background: var(--ella-dark-green);
    min-height: 60vh;
}

.restaurants-listing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.restaurants-listing-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--ella-text);
    margin-bottom: 0.5rem;
}

.restaurants-listing-subtitle {
    color: var(--ella-text-muted);
    font-size: 1.05rem;
}

.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.restaurant-card {
    background: var(--ella-overlay);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.restaurant-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.restaurant-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.restaurant-card-image-placeholder {
    background: linear-gradient(135deg, var(--ella-teal) 0%, var(--ella-dark-teal) 100%);
}

.restaurant-card-body {
    padding: 1.25rem;
}

.restaurant-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ella-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.restaurant-card-rating {
    color: var(--ella-pale-blue);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.restaurant-card-rating-text {
    color: var(--ella-text-muted);
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.restaurant-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ella-pale-blue);
    margin-bottom: 0.25rem;
}

.restaurant-card-location {
    font-size: 0.9rem;
    color: var(--ella-sage);
    margin: 0;
}

.restaurants-empty {
    text-align: center;
    color: var(--ella-text-muted);
    padding: 2rem;
}

.restaurants-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.restaurants-pagination-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--ella-overlay);
    color: var(--ella-pale-blue);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
}

.restaurants-pagination-link:hover,
.restaurants-pagination-link.active {
    background: var(--ella-pale-blue);
    color: var(--ella-dark-forest);
    border-color: var(--ella-pale-blue);
}

/* Detail */
/* Detail - same layout as guiders/detail */
.restaurant-detail .container-narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.restaurant-detail {
    padding: 3rem 0 5rem;
    background: var(--ella-dark-green);
}

.restaurant-detail-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--ella-text);
    margin-bottom: 0.5rem;
}

.restaurant-detail-rating {
    color: var(--ella-pale-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.restaurant-detail-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ella-pale-blue);
    margin-bottom: 1rem;
}

.restaurant-gallery {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
}

.restaurant-gallery-slider {
    position: relative;
    height: 400px;
}

.restaurant-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.restaurant-gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.restaurant-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-gallery-prev,
.restaurant-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--ella-overlay);
    color: var(--ella-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.restaurant-gallery-prev { left: 1rem; }
.restaurant-gallery-next { right: 1rem; }

.restaurant-gallery-prev:hover,
.restaurant-gallery-next:hover {
    background: var(--ella-teal);
}

.restaurant-gallery-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.restaurant-gallery-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.2s;
}

.restaurant-gallery-dots span.active {
    background: var(--ella-pale-blue);
}

.restaurant-meal-types-block {
    margin-bottom: 1.5rem;
}

.restaurant-meal-types-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ella-text);
    margin-bottom: 0.75rem;
}

.restaurant-meal-types-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--ella-overlay);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.restaurant-meal-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--ella-text-muted);
    font-size: 0.95rem;
}

.restaurant-meal-type-item:last-child {
    border-bottom: none;
}

.restaurant-meal-type-name {
    font-weight: 600;
    color: var(--ella-text);
}

.restaurant-meal-type-price {
    font-weight: 700;
    color: var(--ella-pale-blue);
}

.restaurant-detail-location,
.restaurant-detail-contact {
    margin-bottom: 0.5rem;
    color: var(--ella-text-muted);
}

.restaurant-detail-contact a {
    color: var(--ella-pale-blue);
}

.restaurant-detail-description {
    margin-top: 1.5rem;
    color: var(--ella-text-muted);
    line-height: 1.75;
}

.restaurant-detail-description p {
    margin-bottom: 1rem;
}

.restaurant-map-block {
    margin-top: 2rem;
}

.restaurant-map-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ella-text);
    margin-bottom: 0.75rem;
}

.restaurant-map-embed {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.restaurant-map-link {
    color: var(--ella-pale-blue);
    text-decoration: none;
}

.restaurant-map-link:hover {
    text-decoration: underline;
}

.restaurant-detail-back {
    margin-top: 2.5rem;
}

.restaurant-detail-back a {
    color: var(--ella-pale-blue);
    text-decoration: none;
}

.restaurant-detail-back a:hover {
    text-decoration: underline;
}

/* Homepage restaurant slider */
.restaurant-slider-section {
    padding: 4rem 0;
    position: relative;
    background-image: url('../../Train.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.restaurant-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 46, 38, 0.82) 0%, rgba(17, 61, 49, 0.78) 50%, rgba(0, 3, 2, 0.75) 100%);
    z-index: 0;
}

.restaurant-slider-section .container {
    position: relative;
    z-index: 1;
}

.restaurant-slider-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--ella-text);
    text-align: center;
    margin-bottom: 1rem;
}

.restaurant-slider-subtitle {
    text-align: center;
    color: var(--ella-text-muted);
    margin-bottom: 2rem;
}

.restaurant-slider-wrap {
    position: relative;
    overflow: hidden;
}

.restaurant-slider-track {
    display: flex;
    gap: 1.25rem;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.5rem 0;
}

.restaurant-slider-track::-webkit-scrollbar {
    display: none;
}

.restaurant-slide {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: var(--ella-overlay);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.2s;
}

.restaurant-slide:hover {
    transform: translateY(-4px);
}

.restaurant-slide a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.restaurant-slide-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.restaurant-slide-image-placeholder {
    background: linear-gradient(135deg, var(--ella-teal) 0%, var(--ella-dark-teal) 100%);
}

.restaurant-slide-body {
    padding: 1rem;
}

.restaurant-slide-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ella-text);
    margin-bottom: 0.35rem;
}

.restaurant-slide-rating {
    font-size: 1rem;
    color: var(--ella-pale-blue);
}

.restaurant-slider-prev,
.restaurant-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--ella-overlay);
    color: var(--ella-text);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}

.restaurant-slider-prev { left: -0.5rem; }
.restaurant-slider-next { right: -0.5rem; }

.restaurant-slider-prev:hover,
.restaurant-slider-next:hover {
    background: var(--ella-teal);
}

@media (max-width: 768px) {
    .restaurant-slide { flex: 0 0 260px; }
    .restaurant-gallery-slider { height: 280px; }
}
