/* ===============================
   GLOBAL
================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f6f7fb;
    color: #111827;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===============================
   CONTAINER
================================ */
.container {
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 40px 20px 80px;
    flex: 1;
}

/* ===============================
   HEADER
================================ */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.logo span {
    color: #ff7a00;
}

.main-nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
}

.header-actions a {
    margin-left: 10px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
}

.btn-outline {
    border: 1px solid #2563eb;
    color: #2563eb;
}

.btn-primary {
    background: #ff7a00;
    color: #fff;
}

/* ===============================
   HERO
================================ */
.hero {
    max-width: 720px;
    margin: 20px auto 50px;
    text-align: center;
}

.hero h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    font-size: 15px;
    color: #6b7280;
}

.hero span {
    color: #ff7a00;
    font-weight: 600;
}

/* ===============================
   REVIEW FORM
================================ */
.review-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    margin-bottom: 70px;
}

.review-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.review-form textarea {
    margin-top: 14px;
    min-height: 120px;
    resize: vertical;
}

.review-form button {
    margin-top: 22px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #ff7a00;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

/* ===============================
   STARS (FORM)
================================ */
.stars span {
    font-size: 22px;
    cursor: pointer;
    color: #d1d5db;
}

.stars span.active {
    color: #facc15;
}

/* ===============================
   REVIEWS LIST
================================ */
.section-title {
    text-align: center;
    margin: 70px 0 30px;
    font-size: 28px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.review-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .2s ease, box-shadow .2s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* ===============================
   REVIEW HEADER
================================ */
.review-header {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
}

/* Avatar (Letter in circle) */
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ff7a00;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
}

/* Location with icon */
.review-location {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-location::before {
    content: "🌍";
    font-size: 14px;
}

/* Date */
.review-date {
    font-size: 12px;
    color: #9ca3af;
}

/* Stars in card */
.review-stars {
    color: #facc15;
    font-size: 15px;
    margin: 10px 0;
    letter-spacing: 1px;
}

/* Comment */
.review-text {
    font-size: 14px;
    color: #374151;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
    background: #111827;
    color: #9ca3af;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9ca3af;
    margin-left: 15px;
    text-decoration: none;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

    .form-grid {
        grid-template-columns: 1fr;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 28px;
    }
}
/* Fix spacing under header */
.hero {
    margin-top: 40px;
}
/* Stars in form */
.stars span {
    transition: color .2s ease;
}

.stars span:hover {
    color: #facc15;
}
.review-header {
    align-items: center;
}

.review-name {
    font-size: 15px;
}

.review-location {
    font-size: 12px;
    margin-top: 2px;
}

.review-date {
    margin-top: 2px;
}
.review-location::before {
    font-size: 12px;
    opacity: 0.8;
}
.section-title {
    margin-top: 90px;
}
/* ===============================
   FIX HEADER / FOOTER OVERLAP
================================ */

/* إذا كان الهيدر fixed أو sticky */
.site-header,
.site-navbar {
    position: relative; /* يمنع تغطية المحتوى */
}

/* main خاص بصفحة Bewertungen */
.bewertungen-main {
    padding-top: 90px;   /* مسافة تحت الهيدر */
    padding-bottom: 90px; /* مسافة قبل الفوتر */
}

/* تأكيد أن الفوتر ما يطلعش */
.site-footer {
    margin-top: auto;
}
