/* ==========================================================
   🌟 GENERAL
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f6f8;
    color: #333;
    line-height: 1.6;
}

/* ==========================================================
   🌟 FEEDBACK SECTION
========================================================== */

.all-feedback-section {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    padding: 50px 20px;
}

/* ==========================================================
   🌟 HEADER
========================================================== */

.review-header {
    margin-bottom: 40px;
    text-align: left;
}

.dhaba-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.title-underline {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f7d774);
    border-radius: 20px;
    margin-bottom: 12px;
}

.review-title {
    font-size: 17px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-title i {
    color: #d4af37;
}

/* ==========================================================
   🌟 REVIEW CARD
========================================================== */

.feedback-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #ececec;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    transition: .35s ease;
}

.feedback-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .10);
}

/* ==========================================================
   🌟 CARD HEADER
========================================================== */

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4af37;
    background: #fff;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.date {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.date i {
    color: #d4af37;
}

/* ==========================================================
   🌟 STAR RATING
========================================================== */

.rating {
    font-size: 22px;
    white-space: nowrap;
}

.star {
    color: #ddd;
    transition: .3s;
}

.star.filled {
    color: #ffb400;
    text-shadow: 0 0 6px rgba(255, 180, 0, .25);
}

/* ==========================================================
   🌟 FEEDBACK TEXT
========================================================== */

.feedback-box {
    margin: 20px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, #fff8e1, #ffffff);
    border-left: 5px solid #d4af37;
    border-radius: 14px;
    color: #444;
    font-size: 15px;
    line-height: 1.8;
    font-style: italic;
    position: relative;
}

.feedback-box::before {
    content: "❝";
    position: absolute;
    left: 12px;
    top: -8px;
    font-size: 34px;
    color: #d4af37;
    opacity: .25;
}

/* ==========================================================
   🌟 REVIEW DETAILS
========================================================== */

.review-bottom {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #ececec;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

/* ==========================================================
   🌟 USER TYPE BADGE
========================================================== */

.info-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    background: #f8f9fa;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #ececec;
    transition: all .3s ease;
}

.info-box i {
    color: #6c63ff;
    font-size: 15px;
}

.info-box:hover {
    background: #6c63ff;
    color: #fff;
    transform: translateY(-2px);
}

.info-box:hover i {
    color: #fff;
}

/* ==========================================================
   🌟 LOCATION BUTTON
========================================================== */

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    background: #fff6df;
    border: 1px solid #e7c44d;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    transition: all .3s ease;
}

.location-btn i {
    color: #e53935;
    font-size: 16px;
}

.location-btn:hover {
    background: #d4af37;
    color: #fff;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, .25);
}

.location-btn:hover i {
    color: #fff;
}

/* ==========================================================
   🌟 REVIEW IMAGES
========================================================== */

.feedback-images {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.review-img {
    width: 115px;
    height: 115px;
    border-radius: 14px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transition: all .35s ease;
}

.review-img:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .18);
}

/* ==========================================================
   🌟 EMPTY IMAGE PLACEHOLDER (Optional)
========================================================== */

.no-image {
    width: 115px;
    height: 115px;
    border-radius: 14px;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
    font-size: 13px;
    border: 2px dashed #ddd;
}

/* ==========================================================
   🌟 SMOOTH TRANSITIONS
========================================================== */

.feedback-card,
.review-img,
.location-btn,
.info-box {
    transition: all .35s ease;
}

/* ==========================================================
   🌟 SCROLL ANIMATION
========================================================== */

.feedback-card {
    animation: fadeUp .5s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ==========================================================
   🌟 RESPONSIVE DESIGN
========================================================== */

@media (max-width:992px) {

    .all-feedback-section {
        padding: 40px 25px;
    }

    .feedback-card {
        padding: 20px;
    }

    .review-img {
        width: 100px;
        height: 100px;
    }

}

@media (max-width:768px) {

    .all-feedback-section {
        padding: 30px 18px;
    }

    .review-header {
        text-align: center;
    }

    .title-underline {
        margin: 12px auto;
    }

    .review-title {
        justify-content: center;
    }

    .feedback-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .rating {
        font-size: 20px;
    }

    .review-tags {
        flex-direction: column;
        align-items: stretch;
    }

    .location-btn,
    .info-box {
        width: 100%;
        justify-content: center;
    }

    .feedback-images {
        justify-content: center;
    }

    .review-img {
        width: 90px;
        height: 90px;
    }

}

@media (max-width:576px) {

    .dhaba-main-title {
        font-size: 28px;
    }

    .review-title {
        font-size: 15px;
    }

    .feedback-card {
        padding: 18px;
        border-radius: 15px;
    }

    .user-avatar {
        width: 52px;
        height: 52px;
    }

    .user-details h4 {
        font-size: 16px;
    }

    .feedback-box {
        padding: 15px;
        font-size: 14px;
    }

    .review-img {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }

}

/* ==========================================================
   🌟 NO FEEDBACK
========================================================== */

.no-feedback {
    background: #fff;
    padding: 60px 20px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    color: #666;
}

.no-feedback i {
    font-size: 60px;
    color: #d4af37;
    margin-bottom: 18px;
}

.no-feedback h3 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
}

.no-feedback p {
    color: #888;
    font-size: 15px;
}

/* ==========================================================
   🌟 IMAGE POPUP
========================================================== */

.image-overlay {

    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    animation: fadeIn .3s ease;

}

.image-overlay img {

    max-width: 90%;
    max-height: 90%;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);

}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

/* ==========================================================
   🌟 CUSTOM SCROLLBAR
========================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f3f3f3;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b98d18;
}

/* ==========================================================
   🌟 SELECTION
========================================================== */

::selection {
    background: #d4af37;
    color: #fff;
}

/* ==========================================================
   🌟 LINKS
========================================================== */

a {
    transition: .3s;
}

a:hover {
    text-decoration: none;
}

/* ==========================================================
   🌟 SMOOTH SCROLL
========================================================== */

html {
    scroll-behavior: smooth;
}

/* ==========================================================
   🌟 CARD HOVER EFFECTS
========================================================== */

.feedback-card:hover .user-avatar {
    transform: rotate(5deg) scale(1.05);
}

.feedback-card:hover .user-details h4 {
    color: #d4af37;
}

.feedback-card:hover .feedback-box {
    background: #fffdf5;
}

/* ==========================================================
   🌟 IMAGE EFFECT
========================================================== */

.review-img {
    position: relative;
}

.review-img:hover {
    filter: brightness(1.05);
}

/* ==========================================================
   🌟 LOCATION BUTTON EFFECT
========================================================== */

.location-btn:active {
    transform: scale(.97);
}

/* ==========================================================
   🌟 USER BADGE EFFECT
========================================================== */

.info-box:active {
    transform: scale(.96);
}

/* ==========================================================
   🌟 OPTIONAL GLASS EFFECT
========================================================== */

.feedback-card {
    backdrop-filter: blur(8px);
}

/* ==========================================================
   🌟 OPTIONAL SHADOW
========================================================== */

.feedback-card {
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05),
        0 2px 6px rgba(0, 0, 0, .04);
}

/* ================================
   IMAGE POPUP
================================ */

.image-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    animation: fadeIn .3s ease;
}

/* Popup Image */

.popup-image {

    width: 70%;
    max-width: 850px;
    max-height: 80vh;
    object-fit: contain;

    border-radius: 14px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .35);

    animation: zoomIn .3s ease;

}

/* Close Button */

.popup-close {

    position: absolute;

    top: 25px;
    right: 35px;

    width: 45px;
    height: 45px;

    background: #fff;
    color: #333;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    font-size: 30px;
    font-weight: bold;

    transition: .3s;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);

}

.popup-close:hover {

    background: #d4af37;
    color: #fff;

    transform: rotate(90deg);

}

/* Fade */

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

/* Zoom */

@keyframes zoomIn {

    from {
        transform: scale(.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }

}

/* Mobile */

@media(max-width:768px) {

    .popup-image {

        width: 92%;
        max-height: 70vh;

    }

    .popup-close {

        width: 38px;
        height: 38px;

        right: 15px;
        top: 15px;

        font-size: 26px;

    }

}

/* ==========================================================
   🌟 END OF FILE
========================================================== */