body{
    background: rgba(255,249,249,0.84);
    font-family: serif;
}


.hero-header {
    position: relative;
    overflow: hidden;
    height: 200px;
    padding: clamp(1rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    color: rgba(255,249,249,0.84);
}

/* Baggrunds-billede */
.hero-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('headerbillede.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

/* Indhold ovenpå billedet: logo venstre, titel i midten */
.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;  /* venstre | midte | højre */
    align-items: center;
    width: 100%;
}

/* Logo til venstre */
.hero-logo {
    height: clamp(50px, 10vw, 120px); /* min, foretrukken, max */
    width: auto;
    justify-self: start;
}

/* Titel midt i gridden */
.hero-title {
    margin-left: clamp(10px, 5vw, 80px);
    font-size: clamp(0.2rem, 5vw, 5rem); /* min 0.2rem, vokser med viewport, max 5rem */
    font-weight: 700;
    color: #3a3939;
    text-align: center;
    white-space: nowrap;
}


/* Navigation */
.custom-navbar {
    background-color: #963635;
    min-height: 80px;
    margin-bottom: 20px;
}

.custom-navbar .navbar-nav {
    flex-wrap: nowrap;     /* Forhindrer linjeskift */
    overflow-x: auto;      /* Tillader scroll horisontalt hvis der bliver for mange */
    white-space: nowrap;
}

.custom-navbar .nav-link {
    color: rgba(255,249,249,0.84);
    font-weight: 500;
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    padding-left: clamp(0.01rem, 1.5vw, 1.5rem) !important;
    padding-right: clamp(0.5rem, 1.5vw, 1.5rem) !important;
}

.custom-navbar .nav-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        gap: 0.5rem;
    }
}

/* burger menu */
.navbar-toggler{
    margin-right: 20px;
}

/* dropdown */
/* Farver på dropdown så den matcher din navbar */
.custom-navbar {
    background-color: #8f2f2f;
}

.custom-navbar .dropdown-menu {
    background-color: #8f2f2f;
    border: none;
}

.custom-navbar .dropdown-item {
    color: #ffffff;
}

.custom-navbar .dropdown-item:hover {
    background-color: #732525;
}

/* Åbn dropdown ved hover på desktop (lg og op) */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
    }
}





/* Om DMJU*/
.row align-items-center g-5{
    margin-top: 100px;
    max-width: 80%;
}

.container h2{
    color: #3a3939;
    font-size: clamp(4rem, 5vw, 5rem); /* min 0.2rem, vokser med viewport, max 5rem */
    white-space: nowrap;
    font-weight: bold;
}



.col-md-6 text-center {
    height: 680px;

}

.container p{
    font-size: clamp(0.2rem, 6vw, 1.5rem);
    line-height: 60px;
}

/* historie om */
.history-section {
    background-color: rgba(247,237,193,0.84);      /* gul boks */
    font-family: serif;
    margin-top: 50px;
}

/* Overskrift */
.history-heading {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #3a3939;
}

/* Brødtekst */
.history-section p {
    font-size: 1.1rem;                /* som du ønskede */
    line-height: 2.5;
    color: #3a3939;
}

/* Logoet øverst til højre */
.history-logo {
    max-width: 200px;
    border-radius: 50%;             /* så det er helt rundt */
    margin-top: 50px;

}

.eubillede{
    margin-left: 90px;
}

/* Modelbane Europa-logoet */
.history-badge {
    max-width: 500px;
}

/* Udstillingsbilledet */
.history-photo {
    width: 100%;
    height: auto;
    display: block;
}

/* Lidt ekstra luft på små skærme */
@media (max-width: 768px) {
    .history-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}



/* sociale links*/
h3{
    font-size: clamp(0.2rem, 7vw, 3.5rem);
    text-align: center;
    margin-top: 150px;
    font-weight: bold;
}

.social-links {
    display: flex;
    justify-content: center;   /* centrer vandret */
    align-items: center;        /* centrer lodret hvis det er nødvendigt */
    gap: 150px;                  /* afstand mellem billederne */
    margin: 20px 0;
}

/* ikonerne */
.social-links .icon {
    width: clamp(100px, 13vw, 200px);  /* responsiv størrelse */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-top: 20px;
    margin-bottom: 150px;
}

/* lille hover-effekt (valgfrit) */
.social-links .icon:hover {
    transform: scale(1.1);
}


/* sponsorer  */
.container4{
    background-color: rgba(247, 237, 193, 0.84);
    color: #3a3939;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 100px;
    display: flex;              /* aktiver flex-layout */
    flex-direction: column;     /* placer elementer lodret */
    justify-content: center;    /* centrer lodret i containeren */
    align-items: center;        /* centrer vandret */
    text-align: center;         /* centrer tekst */
}

.container4 h5{
    font-size: clamp(0.2rem, 7vw, 3.5rem); /* min 0.2rem, vokser med viewport, max 5rem */
    white-space: nowrap;
    font-weight: bold;
    margin-bottom: 20px;
}


/* footer */
.footer-section {
    background-color: #963635;
    color: rgba(255, 249, 249, 0.84);

    /* Responsiv højde/padding – som i headeren */
    min-height: clamp(120px, 20vw, 220px);
    padding-block: clamp(2rem, 4vw, 5rem);

    /* Let skygge for dybde (matcher header/nav-stilen) */
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);

    /* Indtoning ved visning */
    animation: fadeUp 600ms ease-out both;
}

/* Responsiv titel, ingen linjeskift */
.footer-title {
    font-size: clamp(1.2rem, 2.6vw, 2rem);
    letter-spacing: 0.05em;
    white-space: nowrap;
    margin: 0 0 clamp(0.75rem, 2vw, 1rem) 0;
}

/* Brødtekst i footeren */
.footer-section p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    margin-bottom: 0.35rem;
}

/* Links */
.footer-link {
    color: rgba(128, 185, 219, 0.84);
    text-decoration: underline;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    white-space: nowrap; /* e-mail på én linje */
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
.footer-link:hover {
    text-decoration: none;
    color: #f1d6d6;
}

/* Logo responsivt */
.footer-logo {
    height: auto;
    width: clamp(90px, 12vw, 180px);
    margin-right: clamp(8px, 2vw, 24px);
}

/* Holder kolonner på én linje på brede skærme – og scroll hvis nødvendigt */
.footer-section .row {
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: clamp(0.5rem, 2vw, 1.5rem);
}

/* Mobil: lægger dem under hinanden og centrér */
@media (max-width: 768px) {
    .footer-section .row {
        flex-wrap: wrap;
        text-align: center;
    }
    .footer-logo {
        margin-top: 1rem;
    }
}

/* Indtoningsanimation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Respektér brugere der foretrækker mindre bevægelse */
@media (prefers-reduced-motion: reduce) {
    .footer-section {
        animation: none;
    }
}


/* */