/* Review Detail Styles */
.review-detail-hero {
    background: #f8f9fa;
    padding: 2rem 0 1rem;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.review-detail-content {
    background: #fff;
}

/* Review Header */
.review-header {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.review-rating-large {
    display: flex;
    align-items: center;
}

.review-rating-large i {
    font-size: 1.5rem;
    margin-right: 0.25rem;
}

.rating-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.verified-badge-large {
    background: #d4edda;
    color: #155724;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.verified-badge-large i {
    margin-right: 0.5rem;
}

.review-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.author-section {
    display: flex;
    align-items: center;
}

.author-avatar-large, .author-avatar-placeholder-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-avatar-placeholder-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.author-details .author-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.review-dates {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.travel-date, .review-date {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.travel-date i, .review-date i {
    margin-right: 0.5rem;
    color: #007bff;
}

/* Review Content */
.review-content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.review-summary {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.review-summary h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.review-summary .lead {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

.review-full-content h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* Review Images Gallery */
.review-images-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.review-images-section h3 {
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.review-images-section h3 i {
    margin-right: 0.5rem;
    color: #007bff;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
}

.gallery-item a {
    display: block;
    position: relative;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    min-height: 200px;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.image-caption {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.9rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Review Actions */
.review-actions {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.helpful-section, .share-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.helpful-label, .share-label {
    font-weight: 600;
    color: #333;
}

.helpful-buttons, .share-buttons {
    display: flex;
    gap: 0.5rem;
}

.helpful-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    transform: translateY(-2px);
}

.helpful-btn.voted {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

/* Sidebar */
.review-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-card h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.reviewer-profile {
    display: flex;
    align-items: center;
}

.reviewer-avatar, .reviewer-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.reviewer-avatar-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.reviewer-info h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.verified-reviewer {
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

.verified-reviewer i {
    margin-right: 0.25rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .review-sidebar {
        margin-top: 2rem;
        position: static;
    }
    
    .quick-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .review-title {
        font-size: 2rem;
    }
    
    .review-header {
        padding: 1.5rem;
    }
    
    .review-content,
    .review-images-section {
        padding: 1.5rem;
    }
    
    .author-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .author-avatar-large,
    .author-avatar-placeholder-large {
        width: 60px;
        height: 60px;
        margin-right: 0;
    }
    
    .review-dates {
        flex-direction: row;
        gap: 1rem;
    }
    
    .helpful-section,
    .share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .reviewer-profile {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .reviewer-avatar,
    .reviewer-avatar-placeholder {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .review-title {
        font-size: 1.5rem;
    }
    
    .review-header,
    .review-content,
    .review-images-section,
    .sidebar-card {
        padding: 1rem;
    }
    
    .review-rating-large {
        gap: 0.5rem;
    }
    
    .verified-badge-large {
        align-self: flex-start;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-header,
.review-content,
.review-images-section,
.sidebar-card {
    animation: fadeInUp 0.6s ease-out;
}

.gallery-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
