/* Activity 5 Specific Styles */

/* Banner styles */
.banner-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-links {
    margin-bottom: 2rem;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-right: 1.5rem;
    font-weight: 300;
}

.nav-links a:hover {
    color: white;
}

.activity-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.activity-date {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Timer */
.timer {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    font-weight: bold;
    z-index: 1000;
}

/* Progress bar */
.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Navigation tabs */
.nav-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
}

.nav-tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    background: none;
    border: none;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.nav-tab.active {
    background: white;
    color: #8b5cf6;
    border-bottom: 3px solid #8b5cf6;
}

.nav-tab:hover:not(.active) {
    background: #f3f4f6;
    color: #333;
}

/* Tab content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Step cards */
.step-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid #8b5cf6;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    background: #8b5cf6;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
}

/* AI prompt and sample question boxes */
.ai-prompt {
    background: #e3f2fd;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #2196F3;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    line-height: 1.6;
    white-space: pre-wrap;
}

.sample-question {
    background: #fff3e0;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #ff9800;
}

/* Form inputs */
.question-input {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.question-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 10px 5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* AI platform links */
.ai-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ai-link {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.ai-link:hover {
    border-color: #8b5cf6;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.ai-link h3 {
    color: #8b5cf6;
    margin-bottom: 10px;
}

/* Study guide and reflection forms */
.study-guide {
    background: #f1f8e9;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.study-guide h3 {
    color: #2e7d32;
    margin-bottom: 20px;
}

.reflection-form {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }
    
    .ai-links {
        grid-template-columns: 1fr;
    }
    
    .banner-overlay {
        padding: 1rem;
    }
    
    .activity-title {
        font-size: 2em;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .timer {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 20px;
        text-align: center;
    }
}

/* Authentication styles */
#auth-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Hidden class for main content */
.hidden {
    display: none !important;
}
