/* Guides Page Styles */
.guides-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
}

.guides-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar Styles */
.guides-sidebar {
    position: sticky;
    top: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.guides-sidebar-content {
    padding: 1.5rem;
}

.guides-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.guides-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: transparent;
    border: none;
    border-radius: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.guides-nav-item:hover {
    background: #f1f5f9;
    color: #475569;
}

.guides-nav-item.active {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

.guides-nav-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.guides-nav-text {
    flex: 1;
    font-size: 0.875rem;
}

/* Content Styles */
.guides-content {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.guides-header {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #fafbff 0%, #f8fafc 100%);
}

.guides-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.guides-subtitle {
    color: #64748b;
    font-size: 1.125rem;
}

/* Grid Styles */
.guides-grid {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.guides-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guides-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.guides-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.guides-card:hover::before {
    transform: scaleX(1);
}

.guides-card-content {
    position: relative;
    z-index: 1;
}

.guides-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.guides-card-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.guides-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4f46e5;
    font-weight: 600;
    font-size: 0.875rem;
}

.guides-card-arrow {
    position: relative;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.guides-card:hover .guides-card-arrow {
    transform: translateX(4px);
}

.guides-card-arrow-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
}

.guides-card-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: currentColor;
}

.guides-card-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
}

/* Featured Guide Cards */
.guides-card.featured {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #4f46e5;
    box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.1);
}

.guides-card.featured:hover {
    box-shadow: 0 8px 25px -5px rgba(79, 70, 229, 0.2);
}

.guides-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.guides-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

.guides-card-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guides-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.guides-card-duration,
.guides-card-level {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.guides-card-duration::before {
    content: '⏱️';
}

.guides-card-level::before {
    content: '📊';
}

/* Empty State */
.guides-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.guides-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.guides-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
}

.guides-empty-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .guides-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .guides-sidebar {
        position: static;
        order: 2;
    }
    
    .guides-content {
        order: 1;
    }
    
    .guides-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .guides-nav-item {
        flex-shrink: 0;
        min-width: 120px;
    }
    
    .guides-nav-text {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .guides-container {
        padding: 2rem 0;
    }
    
    .guides-layout {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .guides-header {
        padding: 1.5rem;
    }
    
    .guides-title {
        font-size: 1.5rem;
    }
    
    .guides-subtitle {
        font-size: 1rem;
    }
    
    .guides-nav {
        gap: 0.25rem;
    }
    
    .guides-nav-item {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .guides-nav-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .guides-card {
        padding: 1rem;
    }
    
    .guides-card-title {
        font-size: 1.125rem;
    }
    
    .guides-empty {
        padding: 2rem 1rem;
    }
    
    .guides-empty-title {
        font-size: 1.25rem;
    }
    
    .guides-empty-description {
        font-size: 0.875rem;
    }
} 