/* NULSTILLING & GENERELT */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6; /* Lys grå baggrund - behagelig for øjet */
    color: #333;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style-position: inside; margin-left: 10px; }

/* LAYOUT CONTAINER */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* HERO SEKTION (TOPPEN) */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%); /* Moderne gradient */
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.profil-billede {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Gør billedet rundt */
    border: 4px solid white;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero .titel { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; }

.hero-info {
    display: flex;
    justify-content: center;
    gap: 20px;             /* Afstand mellem by og telefon */
    margin-bottom: 15px;   /* Afstand ned til knapperne */
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95); /* Hvid, men en lille smule blødere */
    flex-wrap: wrap;       /* Sikrer at det knækker pænt på meget små skærme */
}

.hero-info span {
    display: flex;
    align-items: center;
    gap: 8px;              /* Afstand mellem ikon og tekst */
}

.hero-info a {
    color: inherit;        /* Arver den hvide farve */
    text-decoration: none; /* Fjerner understregning */
    transition: opacity 0.2s;
}

.hero-info a:hover {
    opacity: 0.8;          /* Lille effekt når man peger på nummeret */
    text-decoration: underline;
}

/* Justering til ikonerne */
.hero-info i {
    color: #aee1e8;        /* En lys turkis nuance der passer til baggrunden */
}

.knapper { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background-color: #fff; color: #2c3e50; }
.btn-secondary { border: 2px solid #fff; color: #fff; }

/* KORT DESIGN (BOKSE) */
.card {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h2 i { margin-right: 10px; color: #4ca1af; }

/* KOMPETENCE TAGS (SKILLS) */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill {
    background-color: #e8f4f8;
    color: #2980b9;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* JOB LISTE */
.job-item { margin-bottom: 20px; }
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}
.job-header h3 { color: #2c3e50; font-size: 1.2rem; }
.date { color: #7f8c8d; font-size: 0.9rem; }
.company { display: block; font-weight: bold; color: #4ca1af; margin-bottom: 10px; }

hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }

/* FOOTER */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
}

.contact-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-links a:hover { color: #4ca1af; }
.copyright { font-size: 0.8rem; opacity: 0.6; margin-top: 20px; }

/* MOBIL TILPASNING */
@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .job-header { flex-direction: column; }
    .knapper { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
}

/* Gør opgavelisten mere kompakt */
.job-tasks {
    margin: 5px 0 10px 20px; /* Mindre afstand */
    font-size: 0.95rem;      /* En anelse mindre tekst */
}

.job-tasks li {
    margin-bottom: 2px;      /* Mindre plads mellem punkterne */
}

/* Design til kompetence-fodnoten */
.job-tags {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dotted #eee; /* En tynd skillelinje */
    font-size: 0.85rem;
    color: #666;
}

.job-tags strong {
    margin-right: 5px;
    color: #333;
}

/* Små "chips" til teknologier/skills */
.tag {
    display: inline-block;
    background-color: #f0f2f5;
    color: #4ca1af;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- DYNAMISK LISTE FUNKTION --- */

/* Klassen der skjuler elementerne */
.hidden {
    display: none;
}

/* Design af "Vis flere" knappen */
.show-more-btn {
    display: block;
    margin: 20px auto; /* Centreret */
    background-color: transparent;
    border: 2px solid #4ca1af; /* Samme turkise farve som resten */
    color: #4ca1af;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background-color: #4ca1af;
    color: white;
}

/* --- TEKNOLOGI DROPDOWN --- */

.tech-container {
    margin-top: 3px;
    position: relative; /* Sikrer at indholdet styres herfra */
    display: inline-block;
}

/* Selve "knappen" / Triggeren */
.tech-trigger {
    display: inline-block;
    color: #666;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.tech-trigger i {
    margin-right: 6px;
    color: #4ca1af; /* Samme turkise farve */
}

.tech-trigger:hover {
    background-color: #e8f4f8;
    color: #333;
}

/* Selve listen med tags - skjult som standard */
.job-tags {
    display: none; /* Skjult! */
    margin-top: 10px;
    padding-left: 10px;
    border-left: 2px solid #4ca1af; /* En pæn streg i siden */
    animation: fadeIn 0.3s ease-in-out;
}

/* CSS Magi: Vis tags når musen holder over containeren (Desktop) */
.tech-container:hover .job-tags {
    display: block;
}

/* Klasse til mobil (aktiveres af JS) */
.tech-container.active .job-tags {
    display: block;
}

/* Lille animation så det ser lækkert ud */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- DISC PROFIL GRAF --- */
.disc-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 180px;
    padding: 20px 10px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
}

.disc-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.disc-track {
    width: 25px;
    height: 130px;
    background: #eee;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.disc-fill {
    width: 100%;
    border-radius: 12px;
    transition: height 1.5s ease-in-out;
}

.disc-label {
    margin-top: 10px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* DISC Farver */
.d-fill { background: #e74c3c; } 
.i-fill { background: #f1c40f; } 
.s-fill { background: #2ecc71; } 
.c-fill { background: #3498db; }