/* Nulstil standard margin/padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F9DC98;
    font-family: 'JetBrains Mono', monospace;
    color: #141414;
}
/* Navigation */
.navbar {
    background-color: #141414;
    /* Make navbar sticky at top of viewport (except index) */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}
.navbar b {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: underline;
}
.site-logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: auto;
}

/* Hero sektion */
.hero {
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-family: 'Jacques Francois', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #141414; /* Ændret fra hvid til sort for læsbarhed på gul baggrund */
}

/* Spørgsmål */
.addiction-test {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.question-block {
    margin-bottom: 80px;
}

.question-block h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.8rem;
}

/* Styling af de firkantede "tjekbokse" (radio buttons) */
.option {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 28px;
    cursor: pointer;
}

.option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 40px;
    height: 40px;
    border: 3px solid black;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.option input[type="radio"]:checked::after {
    content: "X";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 24px;
}

/* Resultat boks */
.result-container {
    background-color: #780001;
    color: white;
    padding: 60px;
    margin: 100px 0;
    border-radius: 8px;
}

.result-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.result-content p {
    font-size: 2rem;
}

.result-content ul {
    list-style: none;
    font-size: 1.8rem;
    margin-top: 20px;
}
.btn-cta {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FFFFFF;
    color: #780001;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, ease;
}
.btn-cta:hover {
    background-color: #350000;
    color: #ffffff;
}

/* Footer */
.main-footer {
    background-color: #780001;
    color: #FFFFFF;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    margin-top: 100px;
}

.footer-info p, .footer-info address {
    font-size: 20px;
    line-height: 1.5;
    font-style: normal;
}

.footer-socials {
    position: absolute;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Mobil-tilpasning */
@media (max-width: 768px) {
    .nav-links { gap: 20px; }
    .test-header h1 { font-size: 32px; }
    .question-block h2 { font-size: 24px; }
    .option { font-size: 20px; }
    .footer-socials { position: static; margin-top: 20px; flex-direction: row; }
}