/* ==========================================
   DEVITO – GLOBALT DESIGN
========================================== */

:root {

    /* TYPOGRAFI */

    --font-primary: 'Roboto', Arial, sans-serif;
    --font-heading: 'Oswald', Arial, sans-serif;
    --font-navigation: 'Roboto', Arial, sans-serif;

    /* FARVER */

    --color-primary: #b71920;
    --color-primary-hover: #d3262d;
    --color-accent: #d3262d;

    --color-background: #f6f2eb;
    --color-surface: #fffdf9;
    --color-surface-alt: #eee8df;

    --color-dark: #151515;
    --color-dark-alt: #202020;

    --color-header: #ffffff;

    --color-text: #222222;
    --color-text-muted: #62605e;
    --color-border: #ddd7ce;

    /* AFRUNDINGER */

    --radius-small: 6px;
    --radius-medium: 10px;
    --radius-large: 14px;

    /* SKYGGER */

    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.10);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);

    /* LAYOUT */

    --site-width: 1400px;
    --container-width: 1200px;
    --subpage-header-height: 170px;
}


/* ==========================================
   RESET
========================================== */

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

html {
    scroll-behavior: smooth;
    background-color: #e9e5e3;
    background-image: url('../assets/fotos/bg.png');
    background-repeat: repeat;
    background-position: center top;
    background-attachment: fixed;
}

body {
    position: relative;
    width: 100%;
    max-width: var(--site-width);
    margin: 0 auto;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.18);
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.container {
    width: min(var(--container-width), calc(100% - 60px));
    margin: 0 auto;
}

main {
    display: block;
    min-height: 50vh;
}


/* ==========================================
   TYPOGRAFI
========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 18px;
}


/* ==========================================
   HEADER – FÆLLES
========================================== */

.site-header {
    width: 100%;
    z-index: 100;
    color: #ffffff;
}

.header-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    width: min(var(--container-width), calc(100% - 60px));
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-top: 5px;
}

.site-logo img {
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 125px;
    object-fit: contain;
}


/* ==========================================
   HEADER – FORSIDE
========================================== */

.site-header--hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 25px 0;
    background: transparent;
}


/* ==========================================
   HEADER – UNDERSIDER
========================================== */

.site-header--standard {
    position: relative;
    height: var(--subpage-header-height);
    padding: 25px 0;
    overflow: visible;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.35)
        ),
        url('../assets/fotos/hero-foto.jpg');

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}


/* ==========================================
   NAVIGATION
========================================== */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 22px;
    padding-top: 18px;
}

.main-navigation a {
    position: relative;
    font-family: var(--font-navigation);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.75);
}

.main-navigation a.active {
    color: #ffffff;
    font-weight: 700;
}

.main-navigation a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}


/* ==========================================
   BOOKING I NAVIGATION
========================================== */

.main-navigation .nav-booking {
    padding: 11px 18px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: var(--radius-small);
}

.main-navigation .nav-booking:hover {
    background: var(--color-primary-hover);
    color: #ffffff;
}


/* ==========================================
   ADMINISTRATOR
========================================== */

.main-navigation a.adm_menu {
    color: #f0b75e;
    font-weight: 700;
    border-bottom: 2px solid #f0b75e;
}

.main-navigation a.adm_menu:hover {
    color: #ffffff;
}

.main-navigation a.adm_menu.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.main-navigation a.adm_menu.active::after {
    display: none;
}


/* ==========================================
   MOBILMENU
========================================== */

.menu-toggle {
    display: none;
}


/* ==========================================
   SEKTIONER
========================================== */

.section {
    padding: 85px 0;
}

.section-label {
    display: block;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2 {
    margin-bottom: 18px;
}

.section-heading p {
    color: var(--color-text-muted);
}


/* ==========================================
   KNAPPER
========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 25px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    border-radius: var(--radius-small);
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-light {
    background: #ffffff;
    color: var(--color-primary);
}

.btn-light:hover {
    background: #eee8e2;
}


/* ==========================================
   MUSIKALSKE BULLETS
========================================== */

.music-list {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.music-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.music-list li::before {
    content: "♪";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 700;
}


/* ==========================================
   FOOTER
========================================== */

.site-footer {
    margin-top: 0;
    padding: 65px 0 25px;
    background: var(--color-dark);
    color: #ffffff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.footer-brand strong {
    font-size: 32px;
    letter-spacing: -1px;
}

.footer-brand strong span {
    color: var(--color-primary);
}

.footer-brand p {
    color: #c9c9c9;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    color: #dddddd;
    font-size: 13px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copyright {
    width: 100%;
    padding-top: 25px;
    color: #aaaaaa;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}


/* ==========================================
   RESPONSIVT – TABLET
========================================== */

@media (max-width: 1100px) {

    .site-logo img {
        max-width: 200px;
    }

    .main-navigation {
        gap: 14px;
    }

    .main-navigation a {
        font-size: 0.7rem;
    }
}


/* ==========================================
   RESPONSIVT – MOBILMENU
========================================== */

@media (max-width: 900px) {

    :root {
        --subpage-header-height: 135px;
    }

    .site-header--hero,
    .site-header--standard {
        padding: 15px 0;
    }

    .header-container {
        width: calc(100% - 30px);
        align-items: center;
    }

    .site-logo img {
        max-width: 180px;
        max-height: 100px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        margin-left: auto;
        padding: 12px;
        background: rgba(0, 0, 0, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 6px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px;
        background: #191919;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        box-shadow: var(--shadow-hover);
        z-index: 200;
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation a {
        display: block;
        padding: 13px 10px;
        color: #ffffff;
    }

    .main-navigation a.active {
        background: rgba(255, 255, 255, 0.12);
        border-radius: 4px;
    }

    .main-navigation a.active::after {
        display: none;
    }

    .main-navigation a.adm_menu {
        border-bottom: 1px solid rgba(240, 183, 94, 0.35);
    }

    .main-navigation .nav-booking {
        margin-top: 10px;
        text-align: center;
    }

    .section {
        padding: 65px 0;
    }
}


/* ==========================================
   RESPONSIVT – SMÅ SKÆRME
========================================== */

@media (max-width: 480px) {

    :root {
        --subpage-header-height: 115px;
    }

    .container {
        width: calc(100% - 30px);
    }

    .site-logo img {
        max-width: 160px;
        max-height: 90px;
    }

    .section {
        padding: 50px 0;
    }

    .btn {
        width: 100%;
    }
}