body {
    font-family: Arial, sans-serif;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}
.review-box {
    max-width: 600px;
    margin: 30px auto;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-header h3{
    color: black;
}
.review-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}
.review-btn:hover {
    background: #0056b3;
}
.review-form {
    margin-top: 15px;
    display: none;
    animation: slideDown 0.4s ease forwards;
}
@keyframes slideDown {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}
.star-rating {
    display: flex;
    font-size: 24px;
    gap: 5px;
    cursor: pointer;
}
.star {
    color: #ccc;
}
.star.selected {
    color: gold;
}
textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    min-height: 80px;
    resize: vertical;
}
.image-preview img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    margin: 5px;
}
.submit-btn {
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.submit-btn:hover {
    background: #218838;
}
.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 30px auto;
    gap: 20px;
    padding: 15px;
}
.reviews-section, .form-section {
    flex: 1;
    min-width: 300px;
}
.reviews-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.reviews-section h2 {
    width: 100%; /* make heading span full width above cards */
    margin-bottom: 10px;
    color: yellow;
}
.review-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex: 1 1 calc(33.333% - 20px); /* 3 per row */
    box-sizing: border-box;
    min-width: 280px; /* Prevent squishing */
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: brown;
}
.review-date {
    color: #888;
    font-size: 0.9rem;
}
.stars {
    color: rgb(255, 153, 0);
    font-size: 18px;
}
.review-text {
    margin-top: 10px;
    font-size: 1rem;
    color: black;
}
.short-text { display: inline; }
.full-text { display: none; }
.image-gallery {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.image-gallery img, .more-images {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
}
.more-images {
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}
.lightbox {
    display:none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}
.lightbox .prev, .lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    background: rgba(0,0,0,0.5);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}
.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }
.lightbox .close-lightbox {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}