
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }
        .container {
            max-width: 600px;
            margin: 10px auto;
            background-color: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            border-radius: 0px;
            overflow: hidden;
        }
        .restaurant-name {
            font-size: 1.5em;
            font-weight: bold;
            color: #fff;
            margin-left: 10px;
        }
        .rating {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.9em;
            color: #ff9800;
            margin-bottom: 5px;
            margin-left: 10px;
        }
        .cuisine, .hours, .price {
            font-size: 0.9em;
            color: #555;
            margin: 10px;
        }
.description,
.address,
.telephone {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 16px; /* Adjust as needed */
}
.address p {
    margin: 0;
    padding: 0;
    line-height: 1.5; /* Adjust line height for better spacing */
    font-size: 16px; /* Ensure consistent font size */
}

.address span {
    display: inline; /* Ensure inline display for city, state, and zip code */
    margin-right: 2px; /* Optional spacing between elements */
}

.info-section div {
    margin-bottom: 10px; /* Optional spacing between sections */
}

.info-section div {
    margin-bottom: 10px; /* Optional spacing between sections */
}
        .tabs {
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            border-top: 1px solid #ddd;
            border-bottom: 1px solid #0073bb;
        }
        .tab {
            color: #0073bb;
            font-weight: bold;
            cursor: pointer;
        }
        .tab-content {
            display: none;
            padding: 15px;
        }

.tab-content .star,
.tab-content .stars {
    color: #ff9800; /* Match the star color from index.php */
}

.tab-content .stars span {
    color: #000; /* Set the text after the stars to black */
}
        #photos {
            display: block; /* Show Photos tab by default */
        }
        .image-gallery {
            display: flex;
            overflow-x: auto;
            gap: 10px;
        }
        .gallery-image {
            width: 100px;
            height: 100px;
            border-radius: 5px;
            object-fit: cover;
            cursor: pointer;
        }
.review-btn {
    background-color: #0073bb; /* Match the header button color */
    color: white; /* Text color */
    padding: 10px 15px; /* Consistent padding with header buttons */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-size: 16px; /* Adjust font size for better visibility */
    font-weight: bold; /* Bold text for emphasis */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    cursor: pointer; /* Pointer cursor for button effect */
    border: none; /* Remove border */
}

.submit-btn {
    margin-top: 10px;
    background-color: #0073bb; /* Match the header button color */
    color: white; /* Text color */
    padding: 10px 15px; /* Consistent padding with header buttons */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-size: 16px; /* Adjust font size for better visibility */
    cursor: pointer; /* Pointer cursor for button effect */
    border: none; /* Remove border */
}

.star {
    font-size: 25px; /* Increase the font size */
    color: #0073bb; /* Your specified color */
    cursor: pointer;
}

.review-btn:hover {
    background-color: #005a99; /* Darker shade on hover */
}

.review-btn-container {
    text-align: center; /* Center the button horizontally */
    margin-top: 20px; /* Add some spacing above the button */
}

.share-icon {
    position: absolute;
    top: 10px; /* Position from the top */
    right: 10px; /* Position from the right */
    background-color: transparent; /* White circle background */
    width: 40px; /* Adjust size */
    height: 40px; /* Adjust size */
    display: flex; /* Center the icon */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    cursor: pointer; /* Pointer cursor */
    z-index: 10; /* Ensure it appears above content */
}

.share-icon img {
    width: 30px; /* Icon size */
    height: 30px; /* Ensure aspect ratio */
    display: inline-block;
}

.share-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.share-modal.show {
    display: flex;
    opacity: 1;
}
.share-modal-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 90%;
    width: 300px;
    animation: modalOpen 0.3s ease; /* Add animation */
}

@keyframes modalOpen {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
    .share-modal-content button {
        margin: 10px 5px;
        padding: 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
    }

    .share-modal-content .copy-url {
        background-color: #1da1f2;
        color: white;
    }

    .share-modal-content .twitter-share {
        background-color: #1da1f2;
        color: white;
    }

    .share-modal-content .facebook-share {
        background-color: #1da1f2;
        color: white;
    }

.share-modal-content .close {
    position: absolute; /* Position relative to the modal-content */
    top: 10px; /* Distance from the top of the modal-content */
    right: 10px; /* Distance from the right of the modal-content */
    font-size: 24px;
    color: #fff; /* White color for better contrast */
    cursor: pointer;
    z-index: 1000; /* Ensure it appears above the image */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for visibility */
    padding: 5px 10px;
    border-radius: 5px;
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.show {
    display: flex;
    opacity: 1;
}
.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh; /* Ensures the modal fits within the viewport */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    animation: modalOpen 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
@keyframes modalOpen {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.close {
    position: absolute; /* Position relative to the modal-content */
    top: 10px; /* Distance from the top of the modal-content */
    right: 10px; /* Distance from the right of the modal-content */
    font-size: 24px;
    color: #fff; /* White color for better contrast */
    cursor: pointer;
    z-index: 1000; /* Ensure it appears above the image */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for visibility */
    padding: 5px 10px;
    border-radius: 5px;
}
.modal-image {
    width: auto;
    height: auto;
    max-width: 100%; /* Ensure the image fits within the modal container */
    max-height: 63vh; /* Prevent the image from exceeding the viewport height */
    object-fit: contain; /* Maintain aspect ratio */
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 24px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    outline: none;
    border-radius: 50%;
}
.prev { left: 10px; }
.next { right: 10px; }

@media (min-width: 768px) {
    .container {
        width: 60%;
        max-width: none; /* Disable the mobile-specific max-width */
        margin: 20px auto; /* Optional: Add more margin for a cleaner desktop layout */
    }
}
