/* Quiz Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 546px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://quimbaya-tours.com/wp-content/uploads/2023/12/iStock-1391248627-min.jpg');
    background-size: cover;
    background-position: center;
}

.quiz-intro {
    margin-bottom: 50px;
    padding-bottom: 50px;
}

.quiz-intro p {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 35px;
}

/* Quiz Container */
.quiz-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* Progress Bar */
.quiz-progress {
    margin-bottom: 30px;
}

.progress {
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: width 0.5s ease;
    background-color: #6ec1e4;
}

.progress-text {
    color: #6ec1e4;
}

/* Quiz Stats */
.quiz-stats {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Question Card */
.question-card {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.question-number {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.question-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

/* Answer Options */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.answer-option {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.answer-option:hover {
    background: #e9ecef;
    border-color: #6ec1e4;
    transform: translateX(5px);
}

.answer-option.selected {
    background: #e3f2fd;
    border-color: #6ec1e4;
}

.answer-option.correct {
    background: #d4edda !important;
    border-color: #28a745 !important;
}

.answer-option.incorrect {
    background: #f8d7da !important;
    border-color: #dc3545 !important;
}

/* Navigation Buttons */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-quiz {
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Score Display */
.score-display {
    padding: 40px;
    background: linear-gradient(135deg, #6ec1e4 0%, #5ba7cc 100%);
    border-radius: 4px;
    color: white;
    margin-bottom: 30px;
}

.score-display .display-1 {
    font-weight: 700;
    margin-bottom: 10px;
}

/* Quiz Summary */
.quiz-summary {
    background: white;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.quiz-summary h4 {
    color: #333;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.summary-question {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.summary-question:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quiz-section {
    padding-top: 3rem;
    padding-bottom: 8rem;
}

.quiz-summary .question-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.quiz-summary .answer-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-summary .answer-option {
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    cursor: default;
}

.quiz-summary .answer-option.correct {
    background: #d4edda !important;
    border-color: #28a745 !important;
}

.quiz-summary .answer-option.incorrect {
    background: #f8d7da !important;
    border-color: #dc3545 !important;
}

/* Email Form */
.quiz-email-form .card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.quiz-email-form input {
    border-radius: 4px;
    padding: 15px;
    font-size: 1rem;
}

/* Social Share */
.social-share {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 4px;
}

.quiz-btn-colour {
    color: #6ec1e4;
    border: #6ec1e4 solid 1px;
}

/* Feedback Section */
.feedback-section {
    margin-top: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 4px;
}

.feedback-section textarea {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 15px;
    font-size: 1rem;
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 0;
        padding-top: 60px;
        padding-bottom: 115px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .quiz-container {
        padding: 20px;
        margin-top: -30px;
    }

    .question-text {
        font-size: 1.1rem;
    }

    .answer-option {
        padding: 15px;
        font-size: 1rem;
    }

    .quiz-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .btn-quiz {
        width: 100%;
    }

    /* Quiz Summary Mobile Styles */
    .quiz-summary {
        padding: 20px;
    }

    .quiz-summary .question-text {
        font-size: 1rem;
    }

    .quiz-summary .answer-option {
        padding: 12px;
        font-size: 0.9rem;
    }
}
