/* Home page specific styles */

/* Homepage header layout - logo in top-left, nav wrapping */
.home-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 1.5rem;
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: visible;
    z-index: 100000;
}

.logo-home {
    margin-bottom: 0.75rem;
    text-align: left;
    align-self: flex-start;
}

.home-nav {
    width: 100%;
    padding: 0;
    border-bottom: none;
}

.app-title-home {
    font-size: 3rem;
    font-weight: 700;
    color: var(--title-color);
    margin: 0;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #f0f0f0 0%, #d8d8d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

/* Hero section - Modern, sleek and professional */
.hero-section {
    text-align: center;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Modern dark theme with sleek design */
.hero-section.dark-theme {
    background: rgba(35, 35, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* Subtle accent line on top */
.hero-section.dark-theme::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
    pointer-events: none;
}

.hero-section h2 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
}

.hero-section p {
    font-size: 0.95rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Module sections */
.module-section {
    margin-bottom: 3rem;
}

.module-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.module-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: #c98442; /* Updated to specified faint orange accent */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.module-header p {
    color: #c98442; /* Same color as h2 for consistency */
    font-size: 1rem;
    font-weight: 500;
}

.module-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.module-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #3a3a3a;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    border-color: #505050;
    background: #333333;
}

.card-icon {
    background: linear-gradient(135deg, #2d4059 0%, #354f6d 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.module-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}

.card-content p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Module card variations */
.module-card-coming-soon {
    opacity: 0.7;
    filter: grayscale(0.5);
    cursor: default;
}

.module-card-coming-soon .card-icon {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
}

.module-card-coming-soon:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

/* Info sections */
.info-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-section {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #3a3a3a;
}

.info-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section h3 i {
    color: #b0b0b0;
}

.info-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #b0b0b0;
}

#contact-email {
    color: #10b981; /* Using the accent color for better visibility */
    font-weight: 500;
}

/* Feedback form */
#feedbackForm {
    margin-top: 1rem;
}

#feedbackForm .form-group {
    margin-bottom: 1rem;
}

#feedbackForm label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #d0d0d0;
}

#feedbackForm input,
#feedbackForm textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    background: #333333;
    color: #f0f0f0;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#feedbackForm input:focus,
#feedbackForm textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    outline: none;
}

#feedbackForm textarea {
    resize: vertical;
    min-height: 100px;
}

#feedbackForm button {
    margin-top: 0.5rem;
}

/* Navigation links */
.nav-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
    color: #2d4059;
    background-color: rgba(45, 64, 89, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-actions {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 1rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .info-sections {
        grid-template-columns: 1fr;
    }
}