@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap');

:root {
    --primary-color: #904AF2;
    --secondary-color: #6e6a64;
    --muted: #f5f6f8;
    --card-border: #ececec;
    --text: #222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--secondary-color);
}
h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-top: 100px;
    text-align: center;
}
.main-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px;
    margin-bottom: 40px;
    margin-top: 140px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 200px;
}
@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}
.form-section, .reviews-section {
    background: white;
    padding: 30px;
    box-shadow: 0 6px 18px #333;
}
h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8em;
    font-family: 'Oswald', sans-serif;
}
.reviews-section .avis-scroll {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: border-color 0.3s;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}
textarea {
    resize: vertical;
    min-height: 100px;
}
.star-rating {
    display: flex;
    gap: 10px;
    font-size: 2em;
    margin-bottom: 20px;
}
.star {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s, transform 0.2s;
}
.star:hover,
.star.active {
    color: #ffd700;
    transform: scale(1.1);
}
.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px #333;
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.review-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    animation: slideIn 0.5s ease;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.review-author {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}
.review-stars {
    color: #ffd700;
    font-size: 1.2em;
}
.review-service {
    color: var(--primary-color);
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 10px;
}
.review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}
.review-date {
    color: #999;
    font-size: 0.85em;
}
.no-reviews {
    text-align: center;
    color: #999;
    padding: 40px;
    font-style: italic;
}
.success-message {
    background: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    animation: slideIn 0.5s ease;
}
.error-message {
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}
.filter-section {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}