/* Developer Page - Minimalist Black & White Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: #ffffff;
    min-height: 100vh;
    color: #111;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #000;
    z-index: 1000;
}

.back-btn {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.back-btn:hover {
    background: #000000;
    color: white;
}

.top-nav h1 {
    flex: 1;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.nav-spacer {
    width: 120px;
}

/* Kompensera för fast navigation */
.container-fluid {
    margin-top: 80px;
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #000;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Timeline Dot Marker */
.timeline-marker {
    flex-shrink: 0;
    width: 40px;
    padding-top: 1rem;
    display: flex;
    justify-content: center;
}

.timeline-marker::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
}

/* Topic styling - no dot, no card */
.timeline-topic {
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.timeline-topic:first-child {
    margin-top: 0;
}

.timeline-topic .timeline-marker::before {
    display: none;
}

.timeline-topic h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 0;
}

/* Projects under topics have smaller spacing */
.timeline-topic + .timeline-item {
    margin-top: 1rem;
}

/* Timeline Content */
.timeline-content {
    flex: 1;
}

/* Timeline Cards */
.timeline-card {
    background: white;
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
    border: 1px solid #e5e5e5;
}

.timeline-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-card h4 {
    color: #000;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #666;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-card p {
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Tech Stack Tags - Black & White */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #000;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.tech-tag:hover {
    background: #fff;
    color: #000;
    outline: 1px solid #000;
}

/* Download Buttons */
.app-download {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 500;
}

.download-btn:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.download-btn.google-play,
.download-btn.app-store {
    background: transparent;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn.google-play:hover,
.download-btn.app-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.download-btn.google-play img,
.download-btn.app-store img {
    display: block;
    height: 60px;
    width: auto;
}

.download-btn.website {
    background: #000;
}

.download-btn i {
    font-size: 1.5rem;
}

.download-btn div small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.download-btn div div {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Technical Skills Section */
.technical-section {
    background: #fafafa;
    padding: 4rem 2rem;
    border-radius: 8px;
    margin: 4rem 0;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 100%;
    border: 1px solid #e5e5e5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.skill-card h5 {
    color: #000;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-card h5 i {
    color: #000;
    font-size: 1.2rem;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card ul li {
    padding: 0.5rem 0;
    color: #444;
    position: relative;
    padding-left: 1.5rem;
}

.skill-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* Profile Stats */
.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    display: block;
    line-height: 1;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button Styling */
.btn-primary {
    background: #000;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-item {
        gap: 1rem;
    }

    .timeline-marker {
        width: 30px;
        padding-top: 0.75rem;
    }

    .timeline-marker::before {
        width: 10px;
        height: 10px;
    }

    .current-project .timeline-marker::before {
        width: 12px;
        height: 12px;
    }

    .timeline-card {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .technical-section {
        padding: 2rem 1rem;
    }

    .profile-stats {
        flex-direction: row;
        justify-content: space-around;
        margin-top: 2rem;
    }

    .download-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .timeline-card {
        padding: 1rem;
    }

    .tech-stack {
        gap: 0.3rem;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

