/* assets/css/styles.css - Front-end styles */

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    text-align: center;
    padding: 40px 0;
}

header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

/* Main Content */
main {
    min-height: 70vh;
    padding: 20px 0 60px;
}

.intro-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.intro-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

.intro-section ul {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 30px;
    list-style-position: inside;
}

.intro-section ul li {
    margin-bottom: 10px;
    color: #555;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    text-decoration: none;
    opacity: 0.9;
}

.primary {
    background-color: #3498db;
    color: white;
}

.secondary {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ddd;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

/* Review Form (to match the review form in J&I.js) */
.review-form-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.review-form-title {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.review-form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    position: relative;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    width: 25px;
    height: 25px;
    margin-right: 5px;
    position: relative;
}

.star-rating label:before {
    content: '★';
    font-size: 25px;
    color: #ddd;
    position: absolute;
}

.star-rating input:checked ~ label:before,
.star-rating label:hover:before,
.star-rating label:hover ~ label:before {
    color: #f8ce0b;
}

/* Consent checkbox */
.form-group.consent {
    display: flex;
    align-items: flex-start;
}

.form-group.consent input {
    margin-top: 4px;
    margin-right: 10px;
}

.form-group.consent label {
    font-weight: normal;
}

/* Submit Button */
.submit-btn {
    background-color: #4a4a4a;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background-color: #333;
}

/* Feedback Messages */
.form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.form-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 3px solid #28a745;
}

.form-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 3px solid #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .intro-section {
        padding: 25px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .button {
        width: 100%;
    }

    .review-form-container {
        padding: 15px;
    }
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.site-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 10px;
}

