﻿/* Container and Layout */
.reserva-container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom:2%;
}

.reserva-search-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.reserva-input-group {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EB7439;
    border-radius: 30px;
    padding:2%;
}
    .btn-search i {
        color: #EB7439;
        padding: 5px;
    }
.btn-search{
    border:none;
    background-color:transparent;
}
.reserva-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 20px 0;
    padding: 0 20px;
    text-align: center;
}

.reserva-container-reservas-cards {
    position: relative;
    padding: 0 40px;
}

.reserva-carousel-container {
    overflow: hidden;
}

.reserva-restaurant-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

/* Restaurant Cards */
.reserva-restaurant-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 300px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.reserva-restaurant-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.reserva-restaurant-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.reserva-restaurant-rating {
    background-color: #ff4444;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.reserva-restaurant-image-container {
    position: relative;
    width: 100%;
    height: 200px;
}

.reserva-restaurant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reserva-rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.reserva-restaurant-info {
    padding: 12px 15px;
}

.reserva-restaurant-price {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.reserva-restaurant-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
}

.reserva-location-icon {
    color: #ff4444;
    flex-shrink: 0;
}

.reserva-location-text {
    display: flex;
    gap: 4px;
}

.reserva-distance {
    color: #666;
    white-space: nowrap;
}

.reserva-restaurant-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.reserva-restaurant-address {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

    .reserva-restaurant-address i {
        color: #ff4444;
    }

/* Carousel Navigation */
.reserva-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 68, 68, 0.8);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 1.2rem;
}

    .reserva-carousel-btn.prev {
        left: 0;
    }

    .reserva-carousel-btn.next {
        right: 0;
    }

    .reserva-carousel-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .reserva-carousel-btn:hover:not(:disabled) {
        background: rgba(255, 68, 68, 1);
    }

/* Primary Button */
.reserva-btn-primary {
    background-color: #ff4444;
    border-color: #ff4444;
    color: white;
    padding: 8px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

    .reserva-btn-primary:hover {
        background-color: #ff3333;
        border-color: #ff3333;
    }

/* Ver Todos Page Styles */
.reserva-buttons-orange {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.reserva-btn-location-orange {
    display: flex;
    align-items: center;
    background-color: #ff4444;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

    .reserva-btn-location-orange img {
        margin-right: 10px;
    }

.reserva-food-section {
    margin-top: 30px;
}

.reserva-section-name-food {
    text-align: center;
    margin-bottom: 30px;
}

.reserva-restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.reserva-restaurant-description {
    font-size: 0.9rem;
    color: #333;
    margin-top: 10px;
}

.reserva-restaurant-footer {
    padding: 10px 15px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.reserva-card-link img {
    width: 24px;
    height: 24px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .reserva-restaurant-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 992px) {
    .reserva-restaurant-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .reserva-restaurant-card {
        flex: 0 0 100%;
    }

    .reserva-container-reservas-cards {
        padding: 0 20px;
    }

    .reserva-carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}
.view-toggle-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    padding: 0 15px;
}

.view-toggle-btn {
    padding: 10px 30px;
    border: 1px solid #EB7439;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #EB7439;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .view-toggle-btn.active {
        background: #EB7439;
        color: white;
    }

    .view-toggle-btn:hover {
        background: #ff5722;
        color: white;
    }

.popup-content {
    text-align: center;
    padding: 10px;
    min-width: 200px;
}

.popup-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.popup-rating {
    color: #ffc107;
    font-weight: bold;
    margin: 5px 0;
}

.popup-price {
    color: #666;
    margin: 5px 0;
}

.popup-address {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0;
}

.btn-ver-detalle {
    background: #ff5722;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .btn-ver-detalle:hover {
        background: #f4511e;
    }

#map {
    height: 800px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 15px 0;
}
.restaurant-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.restaurant-header {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-info {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.restaurant-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.restaurant-name {
    font-size: 2.5rem;
    font-weight: bold;
}

.restaurant-rating {
    background: #ff4444;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.restaurant-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 16px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin: 24px 0;
}

.action-button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-direction {
    background: #ff4444;
    color: white;
}

.btn-reserve {
    background: #1976d2;
    color: white;
}

.btn-share {
    background: #f5f5f5;
    color: #ff4444;
}

.nav-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.nav-tab {
    font-size: 1.1rem;
    color: #666;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
}

    .nav-tab.active {
        color: #ff4444;
        font-weight: 500;
    }

        .nav-tab.active::after {
            content: '';
            position: absolute;
            bottom: -13px;
            left: 0;
            right: 0;
            height: 2px;
            background: #ff5722;
        }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.schedule-list {
    display: grid;
    gap: 12px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
}

    .service-item i {
        color: #4caf50;
    }

.reviews-list {
    display: grid;
    gap: 20px;
}

.review-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 16px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.review-author {
    font-weight: 500;
}

.review-rating {
    color: #ffc107;
}

.review-text {
    color: #666;
    line-height: 1.5;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .gallery-image:hover {
        transform: scale(1.05);
    }

.reviews-summary {
    margin-bottom: 32px;
    background: white;
    border-radius: 12px;
    padding: 24px;
}

.rating-overview {
    display: flex;
    gap: 48px;
    align-items: center;
}

.rating-big {
    text-align: center;
    min-width: 150px;
}

.rating-number {
    font-size: 48px;
    font-weight: bold;
}

.rating-stars {
    color: #ffc107;
    font-size: 24px;
    margin: 8px 0;
}

    .rating-stars .filled {
        color: #ffc107;
    }

.total-reviews {
    color: #666;
}

.rating-bars {
    flex: 1;
    max-width: 400px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.stars {
    min-width: 60px;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.count {
    min-width: 30px;
    text-align: right;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-initials {
    font-size: 20px;
    font-weight: 500;
    color: #666;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 500;
    margin-bottom: 4px;
}

.review-source {
    color: #666;
    font-size: 0.9em;
}

.review-date {
    color: #666;
    font-size: 0.9em;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 12px;
}

    .review-rating .filled {
        color: #ffc107;
    }

.review-text {
    color: #333;
    line-height: 1.5;
}
.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
}


.action-button:hover {
  transform: translateY(-2px);
}

.action-button:hover {
    transform: translateY(-2px);
}

.action-button i {
    margin-right: 8px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.share-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .share-option:hover {
        background-color: #f0f0f0;
    }

    .share-option i {
        margin-right: 10px;
        font-size: 20px;
    }

.close-modal {
    color: #aaa;
    float: right;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border:none;
}

    .close-modal:hover,
    .close-modal:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.telefoto-rest{
    padding-top:1%;
}

@media (max-width: 600px) {
    .action-buttons {
        display: flex;
        gap: 6px;
        margin: 24px 0;
    }

    .action-button {
        flex: 1;
        padding: 12px;
        border-radius: 8px;
        border: none;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .tab-content p{
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .restaurant-header {
        height: 250px;
    }

    .restaurant-info {
        padding: 16px;
    }

    .restaurant-name {
        font-size: 1.8rem;
    }

    .restaurant-rating {
        padding: 6px 12px;
        font-size: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .action-button {
        width: 100%;
    }

    .nav-tabs {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-tab {
        font-size: 1rem;
        padding: 6px 0;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }

    .gallery-image {
        height: 150px;
    }

    .reviews-summary {
        padding: 16px;
    }

    .rating-overview {
        flex-direction: column;
        gap: 24px;
    }

    .rating-big {
        min-width: auto;
    }

    .rating-bars {
        width: 100%;
        max-width: none;
    }

    .review-card {
        padding: 16px;
    }

    .reviewer-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .avatar {
        width: 40px;
        height: 40px;
    }

    .review-header {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .restaurant-name {
        font-size: 1.5rem;
    }

    .restaurant-rating {
        font-size: 0.9rem;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .gallery-image {
        height: 120px;
    }

    .rating-number {
        font-size: 36px;
    }

    .rating-stars {
        font-size: 20px;
    }
}