/* CSS för individuella sidor - Minimalist Black & White Theme */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: white;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    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;
}

.container {
    max-width: 900px;
}

/* Kompensera för fast navigation */
.container.mt-5 {
    margin-top: 6rem !important;
}

/* Huvudkort styling */
.card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-body {
    padding: 2.5rem;
}

/* Typografi */
h1.display-4 {
    color: #000;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
}

.lead {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

h3 {
    color: #000;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.5rem;
}

h3:first-of-type {
    margin-top: 0;
}

/* Listor */
ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

ul li {
    list-style: none;
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    color: #333;
    line-height: 1.7;
}

ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* Paragrafer */
p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Knappar */
.btn-primary {
    background: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
    color: white;
}

.btn-primary:hover {
    background: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Animationer */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: slideInUp 0.5s ease-out;
}

/* Responsiv design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    h1.display-4 {
        font-size: 2rem;
    }

    .nav-dropdown {
        min-width: 200px;
        right: -10px;
    }

    .top-nav {
        padding: 1rem;
    }

    .nav-spacer {
        width: 80px;
    }
}

/* Specialstyling för olika sidtyper */
body.development {
    background: none;
}

body.business {
    background: none;
}

body.education {
    background: none;
}

body.international {
    background: none;
}
