* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    background: linear-gradient(180deg, #e6f0fa 0%, #e0f7fa 100%);
    color: #1d3c5a;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    animation: backgroundPulse 15s infinite alternate;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(77, 208, 225, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}

body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230288d1" fill-opacity="0.2" d="M0,224L60,208C120,192,240,160,360,154.7C480,149,600,171,720,186.7C840,203,960,213,1080,208C1200,203,1320,181,1380,170.7L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>');
    background-size: cover;
    z-index: -1;
    filter: blur(2px);
}

.logo-link {
    display: inline-block; /* Ensure the link takes up space */
    text-decoration: none; /* Remove underline if any */
}

.header-logo {
    display: block;
    cursor: pointer; /* Show it’s clickable */
    pointer-events: auto; /* Ensure clicks work */
}
header {
    background: linear-gradient(135deg, #0288d1 0%, #4dd0e1 50%, #0288d1 100%);
    background-size: 200% 200%;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(2, 136, 209, 0.3);
    animation: gradientShift 10s ease infinite;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    z-index: 0;
    animation: rotate 15s linear infinite;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(2, 136, 209, 0.4);
    transition: transform 0.3s ease;
}

header h1:hover {
    transform: scale(1.05);
}

header h1 a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

header h1 a:hover {
    color: #e1f5fe;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

header p {
    font-size: 1.25rem;
    font-weight: 400;
    color: #e1f5fe;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(2, 136, 209, 0.2);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    position: relative;
}

.search-filter {
    position: sticky;
    top: 1rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(2, 136, 209, 0.2),
                inset 0 0 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.search-filter:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.search-filter input[type="text"] {
    width: 100%;
    max-width: 600px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #1d3c5a;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.1);
}

.search-filter input[type="text"]:focus {
    background: #fff;
    box-shadow: 0 6px 20px rgba(77, 208, 225, 0.3),
                0 0 0 3px rgba(77, 208, 225, 0.3);
}

.search-filter .checkbox-group {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
}

.search-filter label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: #1d3c5a;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.search-filter label:hover {
    color: #0288d1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

#reviews-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(2, 136, 209, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(2, 136, 209, 0.08),
                0 0 20px rgba(255, 255, 255, 0.1);
    display: none;
    position: relative;
    transition: all 0.3s ease; /* Added from search-filter */
    backdrop-filter: blur(4px);
}

.review-card:hover {
    border-color: rgba(77, 208, 225, 0.4);
    transform: translateY(-2px); /* Added from search-filter:hover */
}

.review-card.visible {
    display: block;
}

.review-card .coast-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #0288d1;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(2, 136, 209, 0.2);
}

.review-card:hover .coast-label {
    /* No changes on hover */
}

.review-card h2 a {
    color: #1d3c5a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.review-card h2 a:hover {
    color: #ff8c00;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}
.review-card {
    display: none; /* Hide by default */
}

.review-card.visible {
    display: block; /* Show when visible class is added */
}

.rating {
    color: #0288d1;
    margin: 0.75rem 0;
    font-size: 1.75rem;
    opacity: 0.9;
}

.review-card p {
    color: #4d647f;
    font-size: 1rem;
    font-weight: 400;
}

.load-more {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.load-more button {
    padding: 1rem 3rem;
    background: linear-gradient(45deg, #0288d1, #4dd0e1);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.3);
    position: relative;
    overflow: hidden;
}

.load-more button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.load-more button:hover::after {
    width: 200%;
    height: 200%;
}

.load-more button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(77, 208, 225, 0.4);
}

footer {
    background: linear-gradient(135deg, #1d3c5a 0%, #0288d1 50%, #4dd0e1 100%);
    background-size: 200% 200%;
    color: #e1f5fe;
    text-align: center;
    padding: 2rem;
    width: 100%;
    box-shadow: 0 -8px 32px rgba(2, 136, 209, 0.3);
    position: relative;
    animation: gradientShift 12s ease infinite;
}

footer p {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.no-results {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(2, 136, 209, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(2, 136, 209, 0.08);
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 3rem auto;
    grid-column: 1 / -1;
    backdrop-filter: blur(4px);
}

.no-results p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #4d647f;
}

.no-results a {
    color: #0288d1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-results a:hover {
    color: #4dd0e1;
    text-shadow: 0 0 10px rgba(77, 208, 225, 0.3);
}

@media (max-width: 768px) {
    .review-card .coast-label {
        display: none;
    }
    .search-filter .checkbox-group {
        display: none;
    }
    header h1 {
        font-size: 2.5rem;
    }
    header p {
        font-size: 1rem;
    }
    .review-card {
        padding: 2rem;
    }
    .search-filter {
        padding: 1.5rem;
    }
}

/* Enhanced Animations */
@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(2%, 2%); }
    100% { transform: translate(0, 0); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes backgroundPulse {
    0% { background: linear-gradient(180deg, #e6f0fa 0%, #e0f7fa 100%); }
    50% { background: linear-gradient(180deg, #e0f7fa 0%, #e6f0fa 100%); }
    100% { background: linear-gradient(180deg, #e6f0fa 0%, #e0f7fa 100%); }
}
