/*RESET*/
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}


/*BASE*/
body {
    font-family: Inter, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #F5F5F5;
}


/*NAVBAR – MOBILE FIRST*/
.navbar {
    background-color: #000;
    color: #FFCC00;
    padding: 0.6rem 1.5rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
}




.logo {
    color: #FFCC00;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    text-decoration: none;
}


/* skjul checkbox */
#menu-toggle {
    display: none;
}


/* burger ikon */
.burger {
    font-size: 1.8rem;
    cursor: pointer;
}


/* menu skjult på mobil */
.nav-links {
    display: none;
    list-style: none;
    flex-direction: column;
    margin-top: 1rem;
}


/* vis menu når burger klikkes */
#menu-toggle:checked + .burger + .nav-links {
    display: flex;
}


.nav-links li {
    margin: 0.75rem 0;
}



.nav-links a {
    color: #FFCC00;
    text-decoration: none;
}



/*hero*/
.btn-primary {
    display: inline-block;
    background-color: #FFCC00;
    color: #000;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}


/*SECTIONS*/
.section {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}


.section-light {
    background-color: #fff;
}


.section h2 {
    font-family: Poppins, sans-serif;
    margin-bottom: 1.5rem;
}



/*CARDS*/
.card-list {
    display: flex;
    flex-direction: column;


    /* mobile first */
    gap: 1.5rem;
}

.card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
}


.card img {
    width: 100%;
    display: block;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}



.card h3 {
    margin-bottom: 0.5rem;
}



.btn-secondary {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
}




/*FOOTER – MOBILE FIRST*/
.footer {
    background-color: #000;
    color: #fff;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


.footer h3 {
    font-family: Poppins, sans-serif;
    margin-bottom: 0.5rem;
}


.footer p {
    font-size: 0.9rem;
}


.footer ul {
    list-style: none;
    padding: 0;          /* Fjerner indrykning, så det står lige */
    margin: 0;           /* Fjerner ekstra afstand */
}


.footer li {
    margin-bottom: 0.5rem;
}


.footer a {
    color: #fff;
    text-decoration: none;
}




.footer li {
    margin-bottom: 0.5rem;
}



/*DESKTOP (min-width)*/
@media (min-width: 768px)
{

    /* navbar */
    .burger {
        display: none;
    }


    .nav-links {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        margin-top: 0;
    }



    /* cards */
    .card-list {
        flex-direction: row;
    }


    .card {
        flex: 1;
    }



    /* footer */
    .footer {
        flex-direction: row;
        justify-content: space-between;
    }


    .footer-section {
        flex: 1;
    }

}
.feature-list {
    list-style: disc;
    padding-left: 1.25rem;
}



.facility-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}



@media (min-width: 768px) {


    .page-hero-text h1 {
        font-size: 2.5rem;
    }



} @media (min-width: 768px)
{

    .page-hero {
        height: 260px;




        /* desktop – ikke for dominerende */
    }


}

@media (min-width: 768px) {
    .facility-list {
        flex-direction: row; }
}



/* UNDERSIDE HERO køge – mobile first */
.page-hero {
    position: relative;
}


.page-hero img {
    width: 100%;
    display: block;
}


.page-hero-text {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem; /*teksten er nu i højre side på cover billedet*/
    color: #fff;
    max-width: 80%;
}



.page-hero-text h1 {
    font-family: Poppins, sans-serif;
    font-size: 1.6rem;
}



/*justere cover billedets størrelse*/
@media (min-width: 768px) {

    .page-hero
    { height: 400px; /*kan gøre billedet højere*/
        overflow: hidden;
    }


    .page-hero img {
        height: 100%;
        object-fit: cover;
    }
}



/* KØGE CAMPUS – mobile first */
.campus-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; }


.campus-image img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

@media (min-width: 768px)
{

    .campus-content {

        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }


    .campus-text
    {
        flex: 1;
    }


    .campus-image {
        flex: 1; }
}



/*aktivitet og workshop listen*/
.activity-list {
    margin: 1rem 0 2rem;
    padding-left: 1.25rem;
}



.activity-list li {
    margin-bottom: 0.5rem;
}


.section h2 {
    text-align: center;
}


.page-hero {
    position: relative;
}


.page-hero::after { /*her kommer der mørkt overlay*/
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}


.page-hero-text {
    position: absolute; z-index: 1; /*her er teksten oven på layout*/
}


/* FACILITETER – mobile first */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 pr række på mobil */
    gap: 2rem;
    margin-top: 2rem;
}



.facility-item {
    text-align: center;
}



.facility-item img {
    width: 64px;
    height: auto;
    margin-bottom: 0.75rem;
}


.facility-item p {
    font-size: 0.95rem;
}


/* DESKTOP */
@media (min-width: 768px) {

    .facilities-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 pr række */
    }


    .facility-item img {
        width: 72px;
    }
}



/* FORSIDE HERO – mobile first */
.hero-home { background-color: #000;
    color: #fff;
    padding: 4rem 1.5rem;
}


.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



.hero-text {
    max-width: 520px;
}


.hero-text h1 {
    font-family: Poppins, sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}



.hero-text p {
    margin-bottom: 1.5rem;
}


.hero-icon {
    display: none; /* pæren vises ikke på mobilversion */
}


.hero-icon img {
    max-width: 280px;
}

/*desktop layout pæren til højre*/
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 4rem;
    }


    .hero-text {
        flex: 1;
    }


    .hero-icon {
        display: block;
        flex: 1;
        text-align: right;
    }


    .hero-icon img {
        max-width: 260px;
    } }






/*underside 3*/
/* WORKSHOPS KØGE – mobile first */

.workshop-hero {
    position: relative;
    height: 320px;   /* billede højde */
    overflow: hidden;
}

.workshop-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover; /*beskære pænt*/
    display: block;
}

.workshop-hero-text {
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;
    color: #fff;
}

.workshop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.workshop-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
}

.workshop-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.teacher-grid,
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.teacher-card img {
    width: 100%;
    border-radius: 8px;
}




.teachers-image img {
    width: 100%;
    height: auto;      /* gør billedet mindre uden beskæring */
    display: block;
}

.teachers-image {    /*billedet blev mindre her*/
    width: 85%;
    margin: 2rem auto;
}

@media (min-width: 768px) {  /*desktop*/
    .teachers-image {
        width: 60%;
    }
}





.why-item img {
    width: 48px;
    margin-bottom: 0.5rem;
}

.faq-list {
    padding-left: 1.25rem;
}

/* DESKTOP */
@media (min-width: 768px) {

    .workshop-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .teacher-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .workshop-hero-text {
        bottom: 3rem;
        left: 3rem;
    }
}


/*til underviser billede*/
/* MØD UNDERVISERNE – fælles billede */

