/* 
===============================================
MUBARAK JOURNEY - SUPER SIMPLE & RELIABLE CSS
This CSS is designed to work perfectly with the simple HTML and JavaScript
===============================================
*/

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #ffffff;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.brand-title {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.brand-subtitle {
    color: #cccccc;
    font-size: 0.9rem;
    direction: rtl;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    background: #FFD700;
    color: #000000;
    transform: translateY(-2px);
}

/* Page System */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}

.page.active {
    display: block;
}

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

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search */
.hero-search {
    margin: 2rem 0;
}

.search-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.search-container:focus-within {
    border-color: #FFD700;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 16px;
}

.search-input::placeholder {
    color: #cccccc;
}

.search-input:focus {
    outline: none;
}

.search-btn {
    background: #FFD700;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #FFA500;
}

.search-results {
    max-width: 600px;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #FFD700;
}

.search-header-simple {
    color: #FFD700;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.search-result-simple {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-result-simple:hover {
    background: rgba(255, 215, 0, 0.2);
}

.search-result-simple h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stage-info-simple {
    color: #FFD700;
    font-size: 0.9rem;
}

.no-results-simple {
    text-align: center;
    color: #cccccc;
    padding: 2rem;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #FFA500, #FF8C00);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.btn-secondary:hover {
    background: #FFD700;
    color: #000000;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    transition: all 0.3s ease;
    padding: 10px 20px;
    font-size: 14px;
}

.btn-outline:hover {
    background: #FFD700;
    color: #000000;
}

.btn-back-simple {
    background: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.btn-back-simple:hover {
    background: #FFD700;
    color: #000000;
}

/* Stages Overview */
.stages-overview,
.stages-content {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Enhanced Stage Cards */
.stage-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stage-card:hover::before {
    opacity: 1;
}

.stage-card:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border-color: #FFD700;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.stage-number {
    font-size: 4rem;
    color: #FFD700;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

.stage-title {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.stage-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.question-count {
    color: #FFD700;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.total-count {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border: 1px solid #FFD700;
}

.total-questions {
    font-size: 1.5rem;
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.complete-journey {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Stage Items in Stages Page */
.stages-list {
    margin-bottom: 3rem;
}

.stage-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stage-item:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.stage-info h2 {
    color: #FFD700;
    margin: 0;
    font-size: 1.5rem;
}

.stage-info p {
    color: #cccccc;
    margin: 0.5rem 0 0 0;
}

.stage-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.stage-preview p {
    color: #cccccc;
    line-height: 1.6;
}

/* Questions Display - ENHANCED STYLES */
.questions-container-main {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
    border: 2px solid #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.stage-questions-header-simple {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #FFD700;
}

.stage-questions-header-simple h2 {
    color: #FFD700;
    font-size: 2rem;
    margin: 1rem 0 0.5rem 0;
}

.stage-questions-header-simple p {
    color: #cccccc;
    margin: 0;
    font-size: 1.1rem;
}

.questions-list-simple {
    max-width: 900px;
    margin: 0 auto;
}

/* Enhanced Question Cards - SIMPLE VERSION */
.question-card-simple {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.question-card-simple:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.12));
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.question-card-simple.expanded {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border-color: #FFD700;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.question-header-simple {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.question-title-simple {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
    text-align: left;
    font-weight: 600;
    line-height: 1.4;
}

.question-meta-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.consultation-badge-simple {
    background: linear-gradient(45deg, #FF6B6B, #FF5252);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.expand-icon-simple {
    color: #FFD700;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    font-weight: bold;
}

.question-card-simple.expanded .expand-icon-simple {
    transform: rotate(180deg);
    color: #FFA500;
}

.question-content-simple {
    display: none;
    padding: 0 1.5rem 1.5rem;
    border-top: 2px solid rgba(255, 215, 0, 0.4);
    animation: slideDown 0.3s ease-out;
}

.question-answer-simple {
    color: #e8e8e8;
    margin: 1rem 0;
    line-height: 1.8;
    font-size: 1rem;
    text-align: left;
}

.consultation-cta-simple {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.25), rgba(255, 82, 82, 0.15));
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid rgba(255, 107, 107, 0.4);
    margin-top: 1rem;
}

.consultation-cta-simple p {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 500;
}

.whatsapp-btn-simple {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-simple:hover {
    background: linear-gradient(45deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

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

.feature-card h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.5;
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    margin-bottom: 2rem;
}

.page-title {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-description {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* About & Contact Pages */
.about-content,
.contact-content {
    padding: 4rem 0;
}

.about-text h2,
.contact-info h2,
.contact-info h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.about-text p,
.contact-info p {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.value-item h3 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.contact-method:hover {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

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

.topic {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.topic h4 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.contact-note {
    background: rgba(255, 215, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #FFD700;
    margin-top: 2rem;
}

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

/* No Questions Message */
.no-questions {
    text-align: center;
    padding: 3rem;
    color: #cccccc;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .question-header-simple {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .question-meta-simple {
        align-self: flex-end;
    }

    .stage-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .container {
        padding: 0 1rem;
    }

    .topics-grid,
    .values-list {
        grid-template-columns: 1fr;
    }

    .stage-meta {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stage-number {
        font-size: 3rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .question-title-simple {
        font-size: 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFA500;
}