/* Guest Review Page Styles */

/* Hero Section */
.guest-review-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../img/guest-review-hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Accounts for fixed header */
}

.guest-review-hero .hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px;
}

.guest-review-hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.guest-review-hero .hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-gold);
    max-width: 800px;
    margin: 0 auto;
}

/* Review Form Section */
.guest-review-section {
    background-color: var(--white);
    color: var(--black);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.review-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-red);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--primary-red));
}

/* Rating Groups */
.rating-group {
    margin-bottom: 30px;
}

.rating-group > label {
    display: block;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 600;
}

.rating-options {
    display: flex;
    justify-content: space-between;
}

.rating-option {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-option input[type="radio"] {
    display: none;
}

.rating-option label {
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid var(--primary-red);
    border-radius: 20px;
    color: var(--primary-red);
    transition: all 0.3s ease;
    margin-top: 10px;
    min-width: 120px;
    text-align: center;
}

.rating-option input[type="radio"]:checked + label {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Additional Info Section */
.additional-info {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--gray);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(209, 10, 16, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

/* Submit Button */
.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Review Statistics Section */
.review-statistics-section {
    background-color: var(--black);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.statistics-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.7;
}

/* Previous Reviews Section */
.previous-reviews {
    background-color: var(--black);
    color: var(--white);
    padding: 100px 0;
}

#previous-reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.review-item {
    background-color: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.review-item:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.review-header h3 {
    color: var(--gold);
    margin: 0;
    font-size: 1.2rem;
}

.review-date {
    color: var(--white);
    opacity: 0.7;
    font-size: 0.9rem;
}

.review-ratings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.review-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-label {
    color: var(--white);
    opacity: 0.8;
}

.rating-value {
    font-weight: 400;
    color: var(--gold);
}

.review-comment {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--white);
    opacity: 0.9;
}

.review-summary {
    display: flex;
    justify-content: flex-end;
}

.overall-rating {
    color: var(--gold);
    font-weight: 600;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .guest-review-hero {
        min-height: 350px;
    }

    .guest-review-hero h1 {
        font-size: 3rem;
    }

    .guest-review-hero .hero-subtitle {
        font-size: 1.3rem;
    }

    .review-form-container {
        padding: 30px 20px;
    }

    .rating-options {
        flex-wrap: wrap;
        gap: 15px;
    }

    .rating-option label {
        min-width: 100px;
    }

    .statistics-container {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .guest-review-hero {
        min-height: 300px;
    }

    .guest-review-hero h1 {
        font-size: 2.5rem;
    }

    .guest-review-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .review-form-container {
        padding: 20px 15px;
    }

    .rating-options {
        flex-direction: column;
        align-items: stretch;
    }

    .rating-option label {
        min-width: auto;
    }

    #previous-reviews-container {
        grid-template-columns: 1fr;
    }
}

/* Additional Background Decorations */
.guest-review-hero::before,
.guest-review-hero::after,
.review-statistics-section::before,
.review-statistics-section::after,
.previous-reviews::before,
.previous-reviews::after {
    content: '';
    position: absolute;
    background-color: rgba(209, 10, 16, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.guest-review-hero::before {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.guest-review-hero::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
    background-color: rgba(212, 175, 55, 0.05);
}

.review-statistics-section::before {
    width: 250px;
    height: 250px;
    top: -125px;
    right: -125px;
}

.review-statistics-section::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    background-color: rgba(212, 175, 55, 0.05);
}

.previous-reviews::before {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.previous-reviews::after {
    width: 250px;
    height: 250px;
    bottom: -125px;
    right: -125px;
    background-color: rgba(212, 175, 55, 0.05);
}
/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.toast {
    background-color: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 1;
    transition: all 0.3s ease;
    position: relative;
    max-width: 300px;
    word-wrap: break-word;
}

.toast-success {
    background-color: #28a745;
    border-left: 5px solid #218838;
}

.toast-error {
    background-color: #dc3545;
    border-left: 5px solid #bd2130;
}

.toast-hide {
    opacity: 0;
    transform: translateX(100%);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast {
    animation: slideIn 0.3s ease forwards;
}
/* Verbesserte Eingabefeld-Stile */
textarea.form-control,
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    color: var(--gray);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.5;
}

textarea.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(209, 10, 16, 0.2);
    outline: none;
    background-color: #fff;
}

/* Platzhalter-Stil */
textarea.form-control::placeholder,
input[type="text"]::placeholder,
input[type="email"]::placeholder {
    color: #aaa;
    font-style: italic;
}

/* Checkbox-Stil verbessern */
.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-group label {
    font-size: 0.95rem;
    cursor: pointer;
}

/* Fokus-Stil für Barrierefreiheit */
.checkbox-group input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(209, 10, 16, 0.5);
}

/* Textfeld-Animation beim Fokus */
.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--gray);
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    color: var(--primary-red);
}

/* Verbesserung der Mobilansicht für Formulare */
@media (max-width: 768px) {
    textarea.form-control,
    input[type="text"],
    input[type="email"] {
        padding: 12px;
        font-size: 16px; /* Verhindert Zoom auf mobilen Geräten */
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}
/* Spezifische Stile für textarea */
#comment {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    color: var(--gray);
    min-height: 150px;
    resize: vertical;
    line-height: 1.5;
    margin-bottom: 20px;
}

#comment:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(209, 10, 16, 0.2);
    outline: none;
    background-color: #fff;
}

#comment::placeholder {
    color: #aaa;
    font-style: italic;
}