/* restaurant_detail_style.css */

/* Inherit dark theme from main.css for body, header, footer if not overridden */

.restaurant-detail-page .container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.restaurant-info {
    display: flex;
    background-color: #2c2c2c; /* Darker card background */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #e0e0e0; /* Light text for contrast */
}

.restaurant-image {
    width: 300px;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
    border: 2px solid #FFD700; /* Accent border */
}

.info-content h2 {
    font-size: 2.5em;
    color: #FFD700; /* Accent color for title */
    margin-top: 0;
    margin-bottom: 10px;
}

.info-content .cuisine,
.info-content .location {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #c7c7c7;
}

.info-content .cuisine i,
.info-content .location i {
    margin-right: 8px;
    color: #FFD700;
}

.info-content .rating-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-content .rating {
    font-size: 1.1em;
    color: #FFD700; /* Gold for stars */
    margin-right: 15px;
}

.info-content .rating i.far {
    color: #777; /* Dimmer color for empty stars */
}

.info-content .price-range {
    font-size: 1.1em;
    font-weight: bold;
    color: #b0b0b0;
}

.info-content .tags span {
    background-color: #444;
    color: #FFD700;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    margin-right: 5px;
    display: inline-block;
    margin-top: 5px;
}

/* Reviews Section */
.reviews-section,
.add-review-section {
    background-color: #232323; /* Slightly different dark shade for sections */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.reviews-section h3,
.add-review-section h3 {
    color: #FFD700;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.reviews-list .review-card {
    background-color: #2c2c2c;
    border: 1px solid #444;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    color: #d0d0d0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-user {
    font-weight: bold;
    color: #FFD700;
}

.review-user i {
    margin-right: 5px;
}

.review-rating {
    color: #FFD700;
}

.review-comment {
    font-size: 1em;
    line-height: 1.6;
    color: #c7c7c7;
}

/* Add Review Form */
.review-form div {
    margin-bottom: 15px;
}

.review-form label {
    display: block;
    margin-bottom: 5px;
    color: #c7c7c7;
    font-weight: bold;
}

.review-form select,
.review-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #1e1e1e;
    color: #e0e0e0;
    font-size: 1em;
}

.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.submit-review-btn {
    background-color: #FFD700;
    color: #181818; /* Dark text on bright button */
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-review-btn:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
}

.add-review-section p {
    color: #c7c7c7;
}

.add-review-section p a {
    color: #FFD700;
    text-decoration: none;
}

.add-review-section p a:hover {
    text-decoration: underline;
}