* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #FAFAFA;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}




a {
    text-decoration: none;
    cursor: pointer;
}

/* ── Navigation ────────────────────────────────────────────── */
nav {
    height: 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
}

ul {
    list-style: none;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 3rem;
    margin-right: 5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    height: 2.5rem;
    margin-left: 5rem;
    cursor: pointer;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    margin-right: 5rem;
}

.burger span {
    width: 30px;
    height: 2px;
    background-color: #001C2E;
    transition: all 0.3s ease;
}

.verlinkungen {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 0.92rem;
    color: #001C2E;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.verlinkungen:hover {
    cursor: pointer;
    color: #2c62834e;
}

/* ── Language Switcher ──────────────────────────────── */

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 0.92rem;
    color: #001C2E;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

.lang-btn.active {
    color: #2C6183;
}

.lang-btn:hover {
    color: #2C6183;
}

.lang-divider {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 0.92rem;
    color: #001C2E;
    opacity: 0.2;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-top: 1rem;
        justify-content: center;
        gap: 1rem;
    }
}




/* ── Reviews Page Specifics ────────────────────────────────── */
.reviews-page {
    padding: 6rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    min-height: 60vh;
}

.reviews-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-hero h1 {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 300;
    font-size: 2.64rem;
    color: #001C2E;
    margin-bottom: 1rem;
}

.reviews-hero p {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 300;
    font-size: 0.97rem;
    color: #555;
    margin-bottom: 2rem;
}

.primary-btn,
.secondary-btn,
.submit-btn {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 300;
    font-size: 0.88rem;
    padding: 0.8rem 2rem;
    border: 1px solid #001C2E;
    background-color: transparent;
    color: #001C2E;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.primary-btn:hover,
.submit-btn:hover {
    background-color: #001C2E;
    color: #FFFFFF;
}

.secondary-btn {
    border-color: #ccc;
    color: #555;
    margin-left: 1rem;
}

.secondary-btn:hover {
    background-color: #f0f0f0;
    color: #001C2E;
}

.hidden {
    display: none !important;
}

/* ── Review Form ───────────────────────────────────────────── */
.review-form-section {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.review-form-section h2 {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 300;
    font-size: 1.76rem;
    color: #001C2E;
    margin-bottom: 2rem;
}

.form-group-row {
    display: flex;
    gap: 2rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 0.79rem;
    color: #001C2E;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.88rem;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #001C2E;
    background: #fff;
}

.star-rating-input {
    font-size: 1.76rem;
    color: #ddd;
    cursor: pointer;
    display: inline-block;
}

.star-rating-input .star {
    transition: color 0.2s;
}

.star-rating-input .star:hover,
.star-rating-input .star.active {
    color: #D4AF37;
    /* Elegant gold */
}

.error-msg {
    color: #d9534f;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    font-family: "Roboto Flex", sans-serif;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    font-family: "Roboto Flex", sans-serif;
    border-radius: 4px;
    text-align: center;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ── Reviews Display ───────────────────────────────────────── */
.reviews-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.average-rating-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars-display {
    font-size: 1.32rem;
    color: #D4AF37;
    letter-spacing: 2px;
}

.stars-display .star.empty {
    color: #ddd;
}

.avg-text {
    font-family: "Roboto Flex", sans-serif;
    color: #555;
    font-size: 0.88rem;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-controls label {
    font-family: "Roboto Flex", sans-serif;
    color: #555;
    font-size: 0.79rem;
}

.sort-controls select {
    font-family: "Roboto Flex", sans-serif;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    outline: none;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f5f5f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.translate-btn {
    display: inline-block;
    margin-top: 1rem;
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.75rem;
    color: #2C6183;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.translate-btn:hover {
    opacity: 1;
    color: #001C2E;
}

.translate-btn.loading {
    opacity: 0.4;
    cursor: wait;
    text-decoration: none;
    animation: translatePulse 1.5s infinite ease-in-out;
}

@keyframes translatePulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.4; }
}

.translated {
    font-style: italic;
    color: #555;
    transition: all 0.3s ease;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.reviewer-info h3 {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 1.06rem;
    color: #001C2E;
    margin-bottom: 0.2rem;
}

.reviewer-info .event-type {
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-date {
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.75rem;
    color: #aaa;
}

.review-body {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    font-size: 0.88rem;
}

.loading-state {
    text-align: center;
    font-family: "Roboto Flex", sans-serif;
    color: #888;
    padding: 3rem;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    padding: 2rem 5rem;
    border-top: 1px solid #e5e5e5;
    background-color: #FAFAFA;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.79rem;
    color: #555;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.79rem;
    color: #001C2E;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #2C6183;
}

/* ── Responsive Design ─────────────────────────────────────── */
@media (max-width: 1024px) {
    ul {
        gap: 2rem;
        margin-right: 2rem;
    }

    .logo {
        margin-left: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        height: 5rem;
    }

    .burger {
        display: flex;
        z-index: 1001;
    }

    #nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        margin-right: 0;
        transition: 0.5s ease;
        z-index: 1000;
    }

    #nav-links.active {
        right: 0;
    }

    .logo {
        margin-left: 1.5rem;
        height: 1.8rem;
    }

    .burger {
        margin-right: 1.5rem;
    }

    .reviews-page {
        padding: 3rem 1.5rem;
    }

    .form-group-row {
        flex-direction: column;
        gap: 0;
    }

    .reviews-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .review-form-section {
        padding: 1.5rem;
    }

    .footer {
        padding: 2rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* -- GLOBALS -- */
html, body {
    overflow-x: hidden;
}
img {
    max-width: 100%;
}
