/* Custom Styles for SQL Developer Roadmap */

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

/* Glowing text effect for headers */
h1, h2 {
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
}

/* Resource list styling */
.resource-list {
    list-style-type: none;
    padding: 0;
}

.resource-list li {
    padding: 8px 0;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(100, 116, 139, 0.3);
    transition: color 0.2s ease;
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-list li:hover {
    color: #93c5fd;
}

/* Skill bars styling */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skill-name {
    font-weight: 500;
    color: #e2e8f0;
}

.skill-bar {
    height: 8px;
    background-color: rgba(71, 85, 105, 0.6);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
    width: 0;
}

.skill-level.expert {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.skill-level.advanced {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.skill-level.intermediate {
    background: linear-gradient(90deg, #93c5fd, #60a5fa);
}

.skill-level.beginner {
    background: linear-gradient(90deg, #bfdbfe, #93c5fd);
}

/* Roadmap Timeline Styling */
.roadmap-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-timeline::after {
    content: '';
    position: absolute;
    width: 8px;
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    top: 0;
    bottom: 0;
    left: 40px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.roadmap-month {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.month-indicator {
    position: relative;
    z-index: 2;
    height: 60px;
    margin: 0 0 20px 70px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.month-number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    color: white;
    margin-right: 10px;
}

.timeline-items {
    position: relative;
    padding: 0 0 0 90px;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    padding: 15px 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    top: 30px;
    left: -28px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
    z-index: 1;
}

.timeline-item-content {
    position: relative;
    background: rgba(31, 41, 55, 0.8);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(71, 85, 105, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.2s ease;
}

.timeline-item-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.week {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Media Queries for Roadmap Timeline on Mobile */
@media screen and (max-width: 768px) {
    .roadmap-timeline::after {
        width: 6px;
        left: 20px;
    }
    
    .month-indicator {
        height: 50px;
        margin: 0 0 20px 40px;
    }
    
    .month-number {
        font-size: 1.8rem;
    }
    
    .timeline-items {
        padding-left: 50px;
        padding-right: 10px;
        margin-left: 0;
    }
    
    .timeline-item::after {
        width: 14px;
        height: 14px;
        left: -17px;
    }
    
    .timeline-item-content {
        padding: 15px;
    }
}

/* Limited animations for better performance */

/* Style for download button hover effect */
#downloadBtn {
    transition: background-color 0.2s ease;
}

#downloadBtn:hover {
    background-color: #f0f4ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Style for decorative element in header */
#header-decoration {
    transition: transform 0.2s ease;
    opacity: .03;
}
