/* =====================
   reviews.css
   Only new styles for the video reviews page.
   ===================== */



/* ---- BANNER ---- */
.review-banner {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* margin-top: var(--header-height, 70px); */
}

.review-banner-inner h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

/* ---- SECTION ---- */
.reviews-section {
    padding: clamp(30px, 5vw, 60px) clamp(15px, 3vw, 30px);
}

/* ---- CARD ---- */
.review-card {
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 4px 14px rgba(0,0,0,0.08); */
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    /* transition: transform 0.25s ease, box-shadow 0.25s ease; */
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.13);
}

/* ---- THUMBNAIL + PLAY ---- */
.review-play-area {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
    background: #111;
}

.review-thumbnail {
    width: 100%;
    height: 100%;
}

.review-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.review-card:hover .review-thumbnail img {
    transform: scale(1.05);
    opacity: 0.75;
}

.play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn i {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.95);
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding-left: 4px; /* optical center for play icon */
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.review-card:hover .play-btn i {
    transform: scale(1.12);
    background: #fff;
}

/* ---- CARD BODY ---- */
.review-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.review-stars {
    color: #f5a623;
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.review-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.review-desc {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- VIDEO MODAL ---- */
.review-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.review-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.review-modal-box {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 760px;
    position: relative;
    transform: scale(0.94);
    transition: transform 0.25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.review-modal-overlay.active .review-modal-box {
    transform: scale(1);
}

.review-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.review-modal-close:hover {
    background: #000;
}

.review-modal-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.review-modal-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.review-modal-info {
    padding: 18px 20px 22px;
}

.review-modal-info .review-stars {
    margin-bottom: 6px;
}

.review-modal-info h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.review-modal-info p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}