
/* ==================================================
   GENERELLE INDSTILLINGER
   ================================================== */

/* Fjerner browserens standardafstande */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ==================================================
   BODY – GRUNDLÆGGENDE DESIGN
   ================================================== */

body {
    background: #F5F1E8;
    color: #242d3a;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}


/* ==================================================
   NAVIGATION
   ================================================== */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 3%;
    background-color: #F5F1E8;
    border-bottom: 3px solid #B7C5B0;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #242d3a;
    line-height: 1;
}

.logoTitel {
    font-size: 30px;
    font-weight: 700;
}

.logoTekst {
    font-size: 25px;
    font-weight: 400;
}

/* Navigationens links */
.navLinks {
    display: flex;
    gap: 50px;
}

.navLinks a {
    text-decoration: none;
    color: #242d3a;
    font-size: 24px;
    transition: color 0.3s ease;
}

.navLinks a:hover {
    color: #B7C5B0;
}

/* Kontaktknap */
.kontaktKnap {
    display: inline-block;
    background-color: #242d3a;
    color: white;
    text-decoration: none;
    padding: 12px 40px;
    border-radius: 10px;
    font-size: 22px;
    transition: background-color 0.3s ease;
}

.kontaktKnap:hover {
    background-color: #B7C5B0;
}


/* ==================================================
   SMÅ OVERSKRIFTER
   ================================================== */

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: #242d3a;
    display: block;
}


/* ==================================================
   FORSIDE / HERO
   ================================================== */

.forside {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 55px;
    align-items: center;
    padding: 70px 8%;
    background: #F5F1E8;
}

.forside-tekst {
    max-width: 510px;
}

.indledning {
    margin-bottom: 12px;
    font-size: .78rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.forside h1 {
    font-size: 3.2rem;
    margin-bottom: 18px;
}

.forside-beskrivelse {
    max-width: 430px;
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.5;
}

.forside-billede {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 5px;
}


/* ==================================================
   GALLERI
   ================================================== */

.galleri {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 60px 8%;
    background-color: #F5F1E8;
}

/* Tekstområdet følger samme opbygning som
   introduktionssektionerne på de andre sider */
.galleri .intro-text {
    max-width: 650px;
    margin-bottom: 35px;
}

/* Lille overtekst */
.galleri .indledning {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: #242d3a;
}

/* Galleriets overskrift */
.galleri h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin: 8px 0 16px;
    color: #242d3a;
}

/* Introduktionstekst */
.galleri .intro-text p:last-child {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #242d3a;
    max-width: 600px;
}

/* Galleriets billedgitter */
.galleri-billeder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Billeder */
.galleri-billeder img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

/* Lille zoom ved hover */
.galleri-billeder img:hover {
    transform: scale(1.02);
}


/* ==================================================
   FOOTER
   ================================================== */

.footer {
    background-color: #252D3A;
    color: #F5F1E8;
    padding: 80px 8% 120px;
}

.footerTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

/* Footer-logo */
.footerLogo {
    text-decoration: none;
    color: #F5F1E8;
}

.footerLogoTitel {
    font-size: 32px;
    font-weight: 700;
    color: #F5F1E8;
}

.footerLogoTekst {
    font-size: 26px;
    font-weight: 400;
    color: #B7C5B0;
}

/* Footer-links */
.footerLinks {
    display: flex;
    gap: 80px;
}

.footerLinks a {
    text-decoration: none;
    color: #F5F1E8;
    font-size: 24px;
    transition: color 0.3s ease;
}

.footerLinks a:hover {
    color: #B7C5B0;
}

/* Nederste del af footeren */
.footerBottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    position: relative;
}

/* Vandret streg i footeren */
.footerBottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 40%,
        #536477 100%
    );
}

.footerBottom > p {
    color: #B7C5B0;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1.5;
}

/* Sociale medier */
.footerSocial {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footerSocial p {
    font-size: 14px;
}

.footerSocial img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.footerSocial a {
    color: #F5F1E8;
    text-decoration: none;
}


/* ==================================================
   RESPONSIVT DESIGN – MINDRE COMPUTERSKÆRME
   ================================================== */

@media screen and (max-width: 1100px) {

    /* Navigation */
    .navbar {
        padding: 20px 4%;
    }

    .navLinks {
        gap: 25px;
    }

    .navLinks a {
        font-size: 19px;
    }

    .kontaktKnap {
        font-size: 18px;
        padding: 10px 25px;
    }

    /* Forside */
    .forside {
        gap: 30px;
        padding: 40px 5%;
    }

    .forside h1 {
        font-size: 2.8rem;
    }

    .forside-billede {
        height: 400px;
    }

    /* Galleri */
    .galleri {
        padding: 55px 5%;
    }

    .galleri-billeder {
        gap: 16px;
    }

    .galleri-billeder img {
        height: 250px;
    }

    /* Footer */
    .footer {
        padding: 65px 5% 80px;
    }

    .footerLinks {
        gap: 35px;
    }

    .footerLinks a {
        font-size: 20px;
    }
}


/* ==================================================
   RESPONSIVT DESIGN – TABLET
   ================================================== */

@media screen and (max-width: 768px) {

    /* Navigation */
    .navbar {
        flex-direction: column;
        gap: 25px;
        padding: 25px 4%;
    }

    .logo {
        align-items: center;
    }

    .logoTitel {
        font-size: 28px;
    }

    .logoTekst {
        font-size: 21px;
    }

    .navLinks {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px 30px;
    }

    .navLinks a {
        font-size: 18px;
    }

    .kontaktKnap {
        font-size: 17px;
        padding: 10px 25px;
    }

    /* Forside */
    .forside {
        grid-template-columns: 1fr;
        padding: 35px 6%;
        gap: 30px;
    }

    .forside-tekst {
        max-width: 100%;
    }

    .forside h1 {
        font-size: 2.5rem;
    }

    .forside-beskrivelse {
        font-size: 15px;
    }

    .forside-billede {
        height: 350px;
    }

    /* Galleri */
    .galleri {
        padding: 45px 6%;
    }

    .galleri h2 {
        font-size: 28px;
    }

    .galleri-billeder {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .galleri-billeder img {
        height: 230px;
    }

    /* Footer */
    .footer {
        padding: 50px 6% 60px;
    }

    .footerTop {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footerLinks {
        flex-wrap: wrap;
        gap: 20px 35px;
    }

    .footerLinks a {
        font-size: 18px;
    }

    .footerBottom {
        gap: 20px;
        flex-wrap: wrap;
    }

    .footerSocial {
        gap: 15px;
    }

    .footerSocial img {
        width: 32px;
        height: 32px;
    }
}


/* ==================================================
   RESPONSIVT DESIGN – MOBIL
   ================================================== */

@media screen and (max-width: 480px) {

    /* Navigation */
    .navbar {
        padding: 20px 5%;
        gap: 20px;
    }

    .logoTitel {
        font-size: 25px;
    }

    .logoTekst {
        font-size: 19px;
    }

    .navLinks {
        gap: 15px 20px;
    }

    .navLinks a {
        font-size: 15px;
    }

    .kontaktKnap {
        font-size: 15px;
        padding: 9px 22px;
    }

    /* Forside */
    .forside {
        padding: 25px 5%;
        gap: 25px;
    }

    .forside h1 {
        font-size: 2rem;
    }

    .forside-beskrivelse {
        font-size: 14px;
    }

    .forside-billede {
        height: 260px;
    }

    /* Galleri */
    .galleri {
        padding: 35px 5%;
    }

    .galleri h2 {
        font-size: 25px;
    }

    .galleri-billeder {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .galleri-billeder img {
        height: 250px;
    }

    /* Footer */
    .footer {
        padding: 40px 5% 45px;
    }

    .footerLogoTitel {
        font-size: 28px;
    }

    .footerLogoTekst {
        font-size: 22px;
    }

    .footerLinks {
        flex-direction: column;
        gap: 15px;
    }

    .footerLinks a {
        font-size: 17px;
    }

    .footerBottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footerBottom > p {
        font-size: 12px;
    }

    .footerSocial img {
        width: 28px;
        height: 28px;
    }
}
