/* Johari Window Course - Complete Stylesheet */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #FF6B35;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Johari Window Colors */
    --open-color: #FFD93D;
    --blind-color: #6BCB77;
    --hidden-color: #4D96FF;
    --unknown-color: #9D4EDD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    animation: fadeInUp 1s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Progress Bar */
.progress-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: width 0.5s ease;
}

/* Content Section */
.content-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.section-icon {
    font-size: 2.5rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Johari Window Visual */
.johari-window-visual {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.window-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.window-pane {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    box-shadow: var(--shadow);
}

.window-pane:hover {
    transform: scale(1.05);
}

.window-pane h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.window-pane p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.window-pane .emoji {
    font-size: 3rem;
    margin-top: 0.5rem;
}

.open-area {
    background: linear-gradient(135deg, #FFD93D 0%, #FFF4A3 100%);
}

.blind-area {
    background: linear-gradient(135deg, #6BCB77 0%, #A8E6A3 100%);
}

.hidden-area {
    background: linear-gradient(135deg, #4D96FF 0%, #8FC1FF 100%);
}

.unknown-area {
    background: linear-gradient(135deg, #9D4EDD 0%, #C77DFF 100%);
    color: white;
}

.unknown-area h4,
.unknown-area p {
    color: white;
}

/* Story Box */
.story-box {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8cc 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.story-box h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.story-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 1rem;
}

.story-content ul {
    margin-left: 1.5rem;
}

.story-content li {
    margin-bottom: 0.5rem;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.module-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.module-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.module-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    margin-top: 1rem;
}

.module-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.module-highlight {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.module-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #ff8c61);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.module-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Key Points */
.key-points {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.key-points h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.point-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.point-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.point-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Example Box */
.example-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--warning-color);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.example-box h3 {
    color: var(--warning-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.example-box p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Preview Grid */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.preview-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.preview-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.preview-card h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.preview-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-secondary {
    background: white;
    color: var(--accent-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Learning Objectives */
.objectives-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.objectives-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.objectives-list {
    list-style: none;
    padding: 0;
}

.objectives-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.objectives-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Epic Story Card */
.epic-story {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border-left: 5px solid #f59e0b;
}

.epic-story h4 {
    color: #d97706;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.epic-story-content {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.story-quote {
    font-style: italic;
    color: var(--text-dark);
    padding: 1rem;
    border-left: 3px solid #f59e0b;
    background: rgba(255, 255, 255, 0.5);
    margin: 1rem 0;
}

/* Analysis Box */
.analysis-box {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid var(--primary-color);
}

.analysis-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.analysis-points {
    list-style: none;
    padding: 0;
}

.analysis-points li {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 8px;
    padding-left: 2.5rem;
    position: relative;
}

.analysis-points li::before {
    content: '→';
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Workplace Application */
.workplace-app {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid var(--success-color);
}

.workplace-app h4 {
    color: var(--success-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Interactive Quiz */
.quiz-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.quiz-question {
    margin-bottom: 2rem;
}

.quiz-question h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option {
    padding: 1rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.quiz-option:hover {
    background: #e0e7ff;
    border-color: var(--primary-color);
}

.quiz-option.correct {
    background: #d1fae5;
    border-color: var(--success-color);
}

.quiz-option.incorrect {
    background: #fee2e2;
    border-color: #ef4444;
}

/* Key Takeaways */
.takeaways-box {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid #ec4899;
}

.takeaways-box h3 {
    color: #ec4899;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.takeaways-list {
    list-style: none;
    padding: 0;
}

.takeaways-list li {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Navigation Buttons */
.module-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 1rem;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-btn.prev {
    background: linear-gradient(135deg, #64748b, #475569);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .window-grid {
        grid-template-columns: 1fr;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .module-navigation {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Print Styles */
@media print {
    .navbar,
    .module-navigation,
    .quiz-container {
        display: none;
    }
    
    .content-section,
    .story-box,
    .epic-story {
        page-break-inside: avoid;
    }
}