/* Qolbun Salim - Islamic Theme CSS */
/* assets/css/qs.css */

:root {
    --primary-green: #2E8B57;
    --secondary-green: #3CB371;
    --accent-gold: #D4AF37;
    --light-beige: #F5F5DC;
    --dark-green: #228B22;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-dark: #2C3E50;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--light-beige) 0%, #E8F5E8 100%);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-bottom: 80px; /* Space for bottom nav */
}

/* Navigation Styles */
nav {
    background: var(--primary-green) !important;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    color: var(--white) !important;
    font-weight: bold;
    font-size: 1.5em;
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    display: block;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.desktop-nav {
    display: none;
}

.desktop-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.desktop-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Bottom Navigation for Mobile */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-green);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    transition: all 0.3s ease;
    flex: 1;
    padding: 0.5rem;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.bottom-nav-icon {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-green);
    z-index: 2000;
    flex-direction: column;
    padding: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* Rest of your existing CSS remains the same */
.project-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    border-radius: 0 0 60px 60px;
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '🕌';
    font-size: 8em;
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.1;
    transform: rotate(15deg);
}

.project-hero::after {
    content: '🌟';
    font-size: 6em;
    position: absolute;
    bottom: 20px;
    left: 20px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.project-badge {
    background: rgba(212, 175, 55, 0.9);
    color: var(--text-dark);
    padding: 12px 25px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 25px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-gold);
}

.project-main-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.project-tagline {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Section Titles */
.section-title {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5em;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 50px 0;
}

.feature-category {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 25px;
    border-right: 5px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
}

.category-title {
    color: var(--primary-green);
    margin-bottom: 25px;
    font-size: 1.5em;
    text-align: center;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    font-size: 2.5em;
    margin-right: 20px;
    min-width: 70px;
    text-align: center;
}

.feature-content h4 {
    color: var(--primary-green);
    margin-bottom: 8px;
    font-size: 1.2em;
}

/* Level System */
.level-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 50px 0;
}

.level-category {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.1);
    border-top: 5px solid var(--primary-green);
}

.level-category h3 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.4em;
}

.level-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.level-item:hover {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.2);
}

.level-badge {
    font-size: 3em;
    margin-right: 20px;
    min-width: 80px;
    text-align: center;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.level-info h4 {
    color: var(--primary-green);
    margin-bottom: 5px;
    font-size: 1.3em;
}

.level-info p {
    color: var(--text-dark);
    opacity: 0.8;
}

/* Tech Stack */
.tech-stack-box {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.15);
    border: 2px solid var(--accent-gold);
}

.tech-category {
    margin-bottom: 30px;
}

.tech-category h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3em;
    border-left: 4px solid var(--accent-gold);
    padding-left: 15px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tech-tag:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

/* Status Cards */
.status-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 50px 0;
}

.status-card {
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
}

.status-card.completed {
    background: linear-gradient(135deg, #E8F5E8, #F0FFF0);
    border: 2px solid #2E8B57;
}

.status-card.completed::before {
    background: linear-gradient(90deg, #2E8B57, #3CB371);
}

.status-card.in-progress {
    background: linear-gradient(135deg, #FFF9E6, #FFFBEB);
    border: 2px solid #D4AF37;
}

.status-card.in-progress::before {
    background: linear-gradient(90deg, #D4AF37, #FFD700);
}

.status-card.planned {
    background: linear-gradient(135deg, #E6F3FF, #F0F8FF);
    border: 2px solid #4169E1;
}

.status-card.planned::before {
    background: linear-gradient(90deg, #4169E1, #6495ED);
}

.status-card h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4em;
}

.status-card ul {
    list-style: none;
    padding: 0;
}

.status-card li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: 25px;
}

.status-card li::before {
    content: '🕌';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Impact Section */
.impact-card {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    margin: 50px 0;
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.3);
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '🌙';
    font-size: 10em;
    position: absolute;
    top: -30px;
    right: -30px;
    opacity: 0.1;
    transform: rotate(25deg);
}

.impact-card h3 {
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}

.generation-impact h4 {
    font-size: 1.4em;
    margin-bottom: 20px;
    text-align: center;
}

.generation-impact ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.generation-impact li {
    padding: 15px 0;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.philosophy-quote {
    background: rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 20px;
    margin: 30px 0;
    font-style: italic;
    text-align: center;
    font-size: 1.2em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.4);
    border-color: var(--accent-gold);
}

.btn-secondary {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

/* Footer */
footer {
    background: var(--primary-green) !important;
    color: var(--white);
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold);
    transform: translateY(-3px) rotate(10deg);
}

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

/* Live Version Section */
#live-version {
    margin-top: 60px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light-beige) 0%, #E8F5E8 100%);
}

.live-info {
    display: flex;
    justify-content: center;
}

.live-card {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.15);
    border: 2px solid var(--accent-gold);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.live-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* CTA Section */
#cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    text-align: center;
}

#cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

#cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Layout Improvements */
.section-order {
    margin-top: 40px;
}

.mobile-section {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.1);
    margin-bottom: 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-grid,
    .level-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .project-main-title {
        font-size: 2.2em;
    }
    
    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .feature-item, .level-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .feature-icon, .level-badge {
        font-size: 2em;
        min-width: 50px;
    }
    
    .tech-tags {
        justify-content: center;
    }
    
    .tech-tag {
        font-size: 0.85em;
        padding: 8px 15px;
    }
    
    .impact-card {
        padding: 30px 20px;
    }
    
    .impact-card h3 {
        font-size: 1.6em;
    }
    
    .project-hero {
        padding: 80px 0 60px;
        border-radius: 0 0 40px 40px;
    }
    
    .project-hero::before, .project-hero::after {
        font-size: 4em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: center;
    }

    .desktop-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}

@media (min-width: 769px) {
    .desktop-order {
        display: grid;
        grid-template-areas: 
            "overview impact"
            "levels features"
            "tech status"
            "challenges challenges";
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .overview-section { grid-area: overview; }
    .impact-section { grid-area: impact; }
    .levels-section { grid-area: levels; }
    .features-section { grid-area: features; }
    .tech-section { grid-area: tech; }
    .status-section { grid-area: status; }
    .challenges-section { grid-area: challenges; }
    
    .level-comparison, .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .status-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .project-hero {
        padding: 120px 0 100px;
    }
    
    .project-main-title {
        font-size: 3.5em;
    }
    
    .section-title {
        font-size: 2.5em;
    }
    
    .feature-item, .level-item {
        padding: 25px;
    }
    
    .impact-card {
        padding: 50px 40px;
    }

    .desktop-nav {
        display: flex;
        gap: 1rem;
    }

    .nav-toggle {
        display: none;
    }

    .bottom-nav {
        display: none;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.feature-icon, .level-badge {
    animation: float 3s ease-in-out infinite;
}

.feature-icon:nth-child(2n), .level-badge:nth-child(2n) {
    animation-delay: 0.5s;
}

.feature-icon:nth-child(3n), .level-badge:nth-child(3n) {
    animation-delay: 1s;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Islamic Pattern Overlay */
.islamic-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232e8b57' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}