/* =========================================================
   FURSUND MUSIKFORENING
   ========================================================= */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background: #fff;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ---------- GENEREL LAYOUT ---------- */

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

main {
    min-height: 60vh;
}

section {
    padding: 70px 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
}


/* ---------- HEADER ---------- */

.site-header {
    width: 100%;
    background: #111;
    color: #fff;
}

.header-inner {
    width: min(1400px, 92%);
    min-height: 90px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: auto;
    height: 85px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.logo-text strong {
    font-size: 1.15rem;
    font-weight: 700;
}

.logo-text span {
    margin-top: 4px;
    font-size: 0.8rem;
    opacity: 0.7;
}


/* ---------- NAVIGATION ---------- */

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;

    list-style: none;
}

.main-nav a {
    display: block;
    padding: 10px 0;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.65;
}


/* ---------- HERO ---------- */

.hero {
    min-height: 550px;

    display: flex;
    align-items: center;

    background-image: url("../grafik/layout/forsidebanner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
}

.hero-content {
    width: min(1200px, 90%);
    margin: 0 auto;
	text-align: center;
}


/* ---------- FESTIVAL ---------- */

.festival {
    background: #f5f3ef;
}

.festival > .container > h2 {
    margin-bottom: 55px;

    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}


/* ---------- FESTIVALDAGE ---------- */

.festival-day {
    margin-bottom: 90px;
}

.festival-day:last-child {
    margin-bottom: 0;
}

.festival-day-title {
    margin-bottom: 30px;
    padding-bottom: 14px;

    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 700;

    border-bottom: 1px solid #222;
}


/* ---------- BAND GRID ---------- */

.bands {
    display: grid;
    grid-template-columns: repeat(var(--band-columns, 3), 1fr);
    gap: 24px;
    align-items: stretch;
}


/* ---------- BANDKORT ---------- */

.band-card {
    display: flex;
    flex-direction: column;

    background: #fff;
    overflow: hidden;
}

.band-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.band-card:hover img {
    transform: scale(1.025);
}


/* ---------- BANDKORT INDHOLD ---------- */

.band-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 24px;
}


/* ---------- SPILLETID ---------- */

.band-time {
    margin-bottom: 12px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    opacity: 0.65;
}


/* ---------- BANDNAVN ---------- */

.band-card h3 {
    margin-bottom: 8px;

    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 800;
    line-height: 1.05;
}


/* ---------- BAND OVERSKRIFT ---------- */

.band-card h4 {
    margin-bottom: 18px;

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}


/* ---------- BAND BESKRIVELSE ---------- */

.band-card p {
    margin-bottom: 25px;

    font-size: 0.95rem;
    line-height: 1.65;
}


/* ---------- KNAPPER ---------- */

.btn {
    display: inline-block;

    padding: 14px 28px;

    background: #111;
    color: #fff;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.band-card .btn {
    margin-top: auto;
    align-self: flex-start;

    padding: 11px 20px;

    font-size: 0.9rem;
}


/* ---------- BILLETTER ---------- */

.billetter {
    text-align: center;
    background: #fff;
}


/* ---------- FOOTER ---------- */

.site-footer {
    padding: 50px 0;

    background: #111;
    color: #fff;
}

.footer-inner {
    width: min(1200px, 90%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-info p {
    margin-top: 10px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: right;
    opacity: 0.7;
}



/* BILLETPRISER */

.billetpriser {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    margin: 35px 0;
}

.billetpris {
    position: relative;

    padding: 28px;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 16px;
}

.billetpris h3 {
    margin: 0 0 12px;

    font-size: 1.15rem;
}

.billetpris p {
    margin: 0 0 18px;

    font-size: 0.95rem;
    line-height: 1.5;
}

.billetpris .pris {
    margin-top: 15px;

    font-size: 1.8rem;
    font-weight: 800;
}

.billetpris .gebyr {
    display: block;

    margin-top: 2px;

    font-size: 0.8rem;
    opacity: 0.65;
}


/* FØRST TIL MØLLE */

.billetpris-forsalg {
    border: 2px solid #111;
}

.billet-badge {
    display: inline-block;

    margin-bottom: 15px;
    padding: 6px 10px;

    background: #111;
    color: #fff;

    border-radius: 6px;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.06em;
}


/* PERSONALFORENING */

.billetpris-personale {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.billet-kontakt {
    display: inline-block;

    align-self: flex-start;

    margin-top: 10px;
    padding: 10px 17px;

    background: #111;
    color: #fff;

    border-radius: 7px;

    font-size: 0.85rem;
    font-weight: 700;

    text-decoration: none;
}

.billet-kontakt:hover {
    opacity: 0.8;
}

.skygge {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.85);
}

/* TABLET */

@media (max-width: 900px) {

    .billetpriser {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBIL */

@media (max-width: 600px) {

    .billetpriser {
        grid-template-columns: 1fr;
    }

}




/* ---------- TABLET ---------- */

@media (max-width: 900px) {

    .header-inner {
        flex-direction: column;
        align-items: flex-start;

        padding: 20px 0;
    }

    .main-nav ul {
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .bands {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-copyright {
        text-align: left;
    }

}


/* ---------- MOBIL ---------- */

@media (max-width: 600px) {

    section {
        padding: 50px 0;
    }

    .hero {
        min-height: 400px;
    }

    .festival > .container > h2 {
        margin-bottom: 40px;
    }

    .festival-day {
        margin-bottom: 65px;
    }

    .bands {
        grid-template-columns: 1fr;
    }

    .band-card-content {
        padding: 22px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

}




/* ==========================================
   RESPONSIV HEADER OG MOBILMENU
   ========================================== */

/* Skjult på desktop */

.menu-toggle {
    display: none;
}


/* TABLET OG MOBIL */

@media (max-width: 900px) {

    .site-header {
        position: relative;
        z-index: 100;
    }

    .header-inner {
        min-height: 76px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 10px 0;
    }

    .logo {
        gap: 12px;
        min-width: 0;
    }

    .logo img {
        height: 58px;
        width: auto;
    }

    .logo-text strong {
        font-size: 0.95rem;
    }

    .logo-text span {
        font-size: 0.7rem;
        margin-top: 2px;
    }

    /* Hamburgerknap */

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;

        width: 46px;
        height: 46px;

        flex-shrink: 0;
        padding: 0;

        border: 1px solid #555;
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    /* Hamburger bliver til kryds */

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Dropdown menu */

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: #171717;
        box-shadow: 0 12px 22px rgba(0,0,0,0.2);
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0;

        width: min(1400px, 92%);
        margin: 0 auto;
        padding: 10px 0 18px;
    }

    .main-nav li {
        border-bottom: 1px solid #333;
    }

    .main-nav li:last-child {
        border-bottom: 0;
    }

    .main-nav a {
        display: block;
        padding: 14px 8px;
        font-size: 1rem;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        opacity: 1;
        background: #292929;
    }

    .menu-toggle:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
    }
}


/* ==========================================
   RESPONSIVT FORSIDEBANNER
   ========================================== */

/* Tablet */

@media (min-width: 601px) and (max-width: 900px) {

    .hero {
        min-height: 280px;
        background-position: center;
    }
}


/* Mobil */

@media (max-width: 600px) {

    .hero {
        min-height: 0;
        height: 175px;

        background-image: url("../grafik/layout/forsidebanner-mobil.jpg");
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        width: 92%;
    }

    .hero h1 {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .logo img {
        height: 48px;
    }

    .logo-text strong {
        font-size: 0.85rem;
    }

    .logo-text span {
        font-size: 0.65rem;
    }
	
    .footer-logo {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-footer {
        padding: 30px 0;
    }

}
