﻿/* ===== WELCOME.CSS - WELCOME PAGE SPECIFIC STYLES ===== */

/* ===================================================================
   WELCOME PAGE LAYOUT
   ================================================================ */

.welcome-page {
    min-height: calc(100vh - 140px);
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ===================================================================
   HERO SECTION
   ================================================================ */

.hero {
    padding: 120px var(--space-xl) 80px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(30, 64, 175, 0.05) 100% );
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero .description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--accent-primary);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

    .cta-button:hover {
        background: var(--accent-primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
        color: white;
        text-decoration: none;
    }

.cta-button-secondary {
    background: white;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

    .cta-button-secondary:hover {
        background: var(--accent-primary);
        color: white;
    }

/* ===================================================================
   FEATURES SECTION
   ================================================================ */

.features {
    padding: 80px 0;
    width: 100%;
    background: var(--card-bg);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
}

.card-nav {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: var(--space-xl);
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

    .card-nav:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(30, 64, 175, 0.15);
        border-color: var(--accent-primary-light);
    }

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    transition: all 0.2s ease;
}

.card-nav:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: var(--text-sm);
}

/* ===================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
    .hero {
        padding: 80px var(--space-lg) 60px;
    }

        .hero h1 {
            font-size: 36px;
        }

    .features-grid {
        gap: 24px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

.welcome-page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9)!important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.welcome-header-content {
    max-width: 2560px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent!important;
}

/* Logo */
.welcome-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #111827;
    transition: opacity 0.2s;
}

    .welcome-logo a:hover {
        opacity: 0.8;
    }

.welcome-logo-img {
    width: 32px;
    height: 32px;
}

.welcome-logo-text {
    font-size: 1.125rem;
    font-weight: 600;
}

/* User Menu Button */
.welcome-user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

    .welcome-user-btn:hover {
        background: #f9fafb;
        border-color: #d1d5db;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

/* User Avatar */
.welcome-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    overflow: hidden;
}

    .welcome-user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .welcome-user-avatar span {
        user-select: none;
    }

/* User Info */
.welcome-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.welcome-user-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.welcome-user-role {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.2;
}

/* Chevron Icon */
.welcome-user-btn i {
    color: #9ca3af;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.welcome-user-btn:hover i {
    transform: rotate(180deg);
}


