/* ========================================
   v7: Pricing Cards · Review Submission · Local Tips
   Villa Carpe Diem² — CI: Electric Blue #00AEEF · Dark #0A0A0A
   ======================================== */

/* ----------------------------------------
   Gemeinsame Sektion-Abstände
   ---------------------------------------- */
.pricing-cards-section,
.review-submission-section,
.discover-section {
    padding: var(--spacing-xl) 0;
}

/* ----------------------------------------
   1. PRICING CARDS SECTION
   ---------------------------------------- */
.pricing-cards-section {
    background-color: var(--body-bg);
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: var(--spacing-lg);
}

.pricing-card {
    background: var(--light-bg);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 28px 32px 32px;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: scale(1.02);
    filter: brightness(1.08);
    box-shadow: 0 8px 32px rgba(0, 174, 239, 0.18);
}

.pricing-card-header {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.pricing-card-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.pricing-card-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    margin-top: auto;
}

.pricing-price-prefix {
    font-size: 0.8em;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-price-unit {
    font-size: 0.65em;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cta {
    text-align: center;
    margin-top: 1.5rem;
}

/* Share Your Experience CTA (am Ende der Reviews-Sektion) */
.review-share-cta {
    text-align: center;
    padding: 1.5rem 0 0;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ----------------------------------------
   2. REVIEW SUBMISSION SECTION
   ---------------------------------------- */
.review-submission-section {
    background-color: var(--light-bg);
}

.review-form-wrap {
    max-width: 700px;
    margin: 0 auto;
}

/* Star Rating */
.star-rating-interactive {
    display: flex;
    gap: 6px;
    margin-top: 0.25rem;
}

.star-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 2rem;
    color: #555;
    transition: color 0.1s ease, transform 0.1s ease;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.star-btn:hover,
.star-btn.active {
    color: #FFD700;
    transform: scale(1.1);
}

/* Language dropdown in review form */
#rv-language {
    background-color: var(--body-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

#rv-language:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Char counter */
.char-counter {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 0.25rem;
}

/* Thank you message */
.review-thankyou {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    animation: fadeInUp 0.4s ease-out;
}

.review-thankyou .thankyou-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.review-thankyou h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.review-thankyou p {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ----------------------------------------
   3. DISCOVER / LOCAL TIPS SECTION
   ---------------------------------------- */
.discover-section {
    background-color: var(--body-bg);
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: var(--spacing-lg);
}

.discover-card {
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.discover-card:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.discover-card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1f1f1f 0%, #252525 100%);
    overflow: hidden;
}

/* Placeholder text underneath image (visible when img fails to load) */
.discover-card-img-wrap .img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
    line-height: 1.4;
}

.discover-card-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.discover-card-body {
    padding: 16px 20px 20px;
}

.discover-card-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.discover-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */

/* Pricing: 3 → 1 Spalte */
@media (max-width: 900px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Discover: 3 → 2 → 1 Spalte */
@media (max-width: 1000px) {
    .discover-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .discover-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-price {
        font-size: 1.875rem;
    }
}

/* Nav mit 9 Items auf Mobile */
@media (max-width: 768px) {
    .nav-links li a.nav-link {
        font-size: 0.8rem;
    }
}

/* ----------------------------------------
   v7.0.2 Fixes
   ---------------------------------------- */

/* K1: Logo-Abstand zu Navigation */
.logo {
    margin-right: 48px;
}

/* K6: Owner's Pick Badge auf Discover-Karte */
.discover-owner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(0, 174, 239, 0.92);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
}
