/* REVIEWS PAGE STYLES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: #1a1a1a;
    color: white;
    padding-top: 100px;
    overflow-x: hidden;
}

/* Header Styles (same as homepage) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: rgba(49, 49, 49, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    min-height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.logo img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    object-fit: contain;
}

.title {
    flex-shrink: 0;
    white-space: nowrap;
}

.title h1 {
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    letter-spacing: 2px;
    color: rgb(212, 212, 212);
    margin-bottom: 5px;
    line-height: 1.2;
}

.title p {
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    letter-spacing: 1px;
    color: rgb(180, 180, 180);
    line-height: 1.2;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    flex-shrink: 0;
    margin-left: auto;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 8px 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover {
    color: #d4d4d4;
    transform: translateY(-2px);
}

/* Hero Section */
.reviews-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.7)), url('../homepage/rp-bghomepage.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-overlay p {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #d4d4d4;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Filter Section */
.reviews-filter {
    background: #2a2a2a;
    padding: 2rem;
    border-bottom: 1px solid #444;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.filter-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d4d4d4;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #444;
    color: white;
    border: 2px solid #666;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 1px;
}

.filter-btn:hover {
    background: #555;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #d4d4d4;
    color: #1a1a1a;
    border-color: #d4d4d4;
}

/* Reviews Section */
.all-reviews-section {
    background: #1a1a1a;
    padding: 4rem 2rem;
    min-height: 50vh;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #444;
    transition: all 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #666;
}

.review-card .name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d4d4d4;
    margin-bottom: 0.5rem;
}

.review-card .stars {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.review-card .message {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 1rem;
}

.review-card .review-date {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.review-card.firebase-review {
    border-left: 4px solid #d4d4d4;
}

.review-card.firebase-review::before {
    content: 'NEW';
    position: absolute;
    top: 10px;
    right: 15px;
    background: #d4d4d4;
    color: #1a1a1a;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* No Reviews Message */
.no-reviews {
    text-align: center;
    padding: 4rem 2rem;
    color: #888;
}

.no-reviews i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #444;
}

.no-reviews h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #666;
}

.no-reviews p {
    font-size: 1.1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #666;
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 100px);
        background-color: rgba(49, 49, 49, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 0;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .title h1 {
        font-size: 1.5rem;
    }
    
    .title p {
        font-size: 1rem;
    }
    
    .logo img {
        width: 60px;
        height: 60px;
    }

    .reviews-hero {
        height: 60vh;
        padding: 2rem 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .all-reviews-section {
        padding: 2rem 1rem;
    }
}
