/* ---- FARVER & TYPOGRAFI ---- 
   #1e3a2d: Dyb mørkegrøn (overskrifter/primær knap/accent/Header)
   #f7f3ed: Lys creme/baggrund for sektioner
   #ffffff: Hvid (Tekst på mørk baggrund)
*/

/* Grundlæggende Reset */
body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #ffffff; 
    color: #4a4a4a; /* Blød mørkegrå tekst */
}

/* Typografi */
h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffffff; 
    text-align: center;
    margin-bottom: 0.3em;
}

h2 {
    font-family: 'Playfair Display', serif; 
    font-weight: 700;
    color: #1e3a2d; 
    text-align: center;
    margin-bottom: 0.5em;
    font-size: 2.5em;
}

.content-title {
    font-size: 3em; 
    margin-bottom: 40px;
}

p {
    max-width: 800px;
    margin: 0 auto 1.5em auto;
    font-size: 1.1em;
}

/* 1. HEADER & NAVIGATION */
.site-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 15px 50px;
    background-color: #1e3a2d; /* Dyb Grøn Header */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Gruppering af Logo og Titel */
.logo-group {
    display: flex; /* VIGTIGT: Sørger for at logo og tekst sidder side om side */
    align-items: center;
    gap: 15px; /* Afstand mellem logo og tekst */
}

.logo .jv-logo {
    height: 70px; 
}

/* Styling af titlen */
.site-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: #ffffff; /* Sætter farven til hvid */
    text-align: left;
}

.site-title .main-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em; 
    font-weight: 700;
    color: #ffffff; /* Eksplicit hvid */
}

.site-title .sub-title {
    font-family: 'Lora', serif;
    font-size: 0.9em; 
    opacity: 0.8;
    color: #ffffff; /* Eksplicit hvid */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav ul li a {
    color: #ffffff; /* Hvid tekst på mørk baggrund */
    text-decoration: none;
    padding: 10px 18px;
    display: block;
    transition: color 0.3s;
    font-size: 1.1em;
    font-family: 'Lora', serif;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #f7f3ed; /* Lys farve ved hover og aktiv tilstand */
    font-weight: 700;
}

/* 2. HERO SEKTION (GRID) - Forsidens Hero */
.hero {
    background-color: #f7f3ed; /* Lys creme baggrund for hero-sektionen */
    height: auto; 
    padding: 80px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero::before {
    content: none; 
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: 20px;
    text-align: left; 
    max-width: none; 
}

.hero-content h1 {
    color: #1e3a2d; 
    font-size: 3.5em;
    text-shadow: none;
    margin-bottom: 0.5em;
    text-align: left;
}

.hero-content p {
    color: #4a4a4a; 
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 400;
    margin-left: 0; 
    margin-right: 0;
}

.hero-image-container {
    text-align: right;
}

.hero-portrait {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 3. NAVIGATION GALLERI (FULD BREDDE LAYOUT MED KNAPPER) */
.main-content {
    max-width: none; 
    margin: 40px auto; 
    padding: 0; 
}

.navigation-galleri {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    max-width: none; 
    margin: 80px auto; 
    padding: 0 40px; 
}

.nav-box {
    text-decoration: none; 
    color: inherit; 
    position: relative; 
    display: block; 
    
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px; /* Boksen har afrundede hjørner */
    overflow: hidden; /* VIGTIGT: Klipper indholdet, så det overholder radius */
    padding-bottom: 0; 
}

.nav-image {
    width: 100%;
    height: 550px; 
    object-fit: cover; 
    margin-bottom: 0;
    /* PERMANENT VARMT FILTER: */
    filter: sepia(10%) contrast(95%) brightness(105%); 
    transition: filter 0.3s ease-in-out; 
    
    /* NYT: Billedet har også afrundede hjørner for at matche boksen */
    border-radius: 5px; 
}

/* INDIVIDUEL BILLEDJUSTERING: DINE SPECIFIKKE PX-VÆRDIER ER HER */
.tile-min-lyd {
    object-position: 50% -100px; 
}

.tile-om-mig {
    object-position: 50% -100px; 
}

.tile-booking {
    object-position: 50% -75px; 
}

/* NYT: Styling for KNAPPEN der ligger oven på billedet */
.overlay-button {
    position: absolute;
    top: 10px; /* 10px fra toppen */
    left: 50%; 
    transform: translateX(-50%); 
    
    z-index: 2;
    
    /* Knap styling (Standard: Hvid ramme, Transparent baggrund) */
    display: inline-block;
    padding: 12px 25px;
    
    background-color: transparent; 
    border: 1px solid #ffffff; /* Tynd kant */
    color: #ffffff; 
    
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s; 
}

.overlay-button:hover {
    /* Hover: Mørkegrøn baggrund */
    background-color: #1e3a2d; 
    color: #ffffff; 
}

.overlay-button h3 {
    /* Overskriften inde i knappen */
    font-family: 'Playfair Display', serif;
    color: #ffffff; 
    font-size: 1.5em; 
    margin: 0;
    text-align: left; 
    text-shadow: none; 
    display: block;
}

/* FJERN GAMMEL, UNØDVENDIG STYLING */
.overlay-text { 
    display: none;
}
.nav-box p, 
.nav-box .btn { 
    display: none;
}
h3 { 
    font-family: 'Playfair Display', serif;
    color: #1e3a2d;
    font-size: 2em;
    margin: 0 0 10px 0;
    text-align: center;
}


/* 4. DETALJEDE INDHOLDSEKTIONER & UNDERSIDER */
.content-section {
    padding: 80px 0;
    text-align: center;
}

.light-creme-bg {
    background-color: #f7f3ed; 
}

/* NY STYLING TIL OVERSKRIFTER INDE I BIO-GRID */
.bio-title {
    font-family: 'Playfair Display', serif;
    font-size: 3em; 
    color: #1e3a2d; /* Dyb mørkegrøn */
    text-align: left;
    margin-bottom: 0.1em;
    font-weight: 700;
    max-width: none;
}

.bio-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.3em;
    color: #4a4a4a; /* Blød mørkegrå */
    text-align: left;
    margin-bottom: 2em;
    max-width: none;
    font-style: italic;
    margin-top: 0; 
    padding-top: 0;
}


/* OM MIG Sektion Layout */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    max-width: 1000px;
    margin: 40px auto;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* KNAPPER */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    font-family: 'Lora', serif;
}

.primary-btn {
    background-color: #1e3a2d; 
    color: white;
    border: 2px solid #1e3a2d;
    margin-top: 30px;
}

.primary-btn:hover {
    background-color: #2c543e;
    border-color: #2c543e;
}

.secondary-btn {
    background-color: transparent;
    color: #1e3a2d;
    border: 2px solid #1e3a2d;
}

.secondary-btn:hover {
    background-color: #1e3a2d;
    color: white;
}

/* KONTAKTFORMULAR */
.contact-form {
    max-width: 550px;
    margin: 0; /* Fjern generel margin for at passe ind i grid */
    display: grid;
    gap: 20px;
    max-width: none;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #dcdcdc; 
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Lora', serif;
    font-size: 1em;
}
.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 0; 
}


/* FOOTER */
.site-footer {
    background-color: #f7f3ed; 
    color: #1e3a2d; 
    text-align: center;
    padding: 40px 0;
}

.site-footer .social-links {
    margin: 20px 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

.site-footer .social-links a {
    color: #1e3a2d;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
    font-weight: 700;
    font-size: 1.1em;
}

.site-footer .social-links a:hover {
    color: #557d66;
}

.site-footer p {
    max-width: none;
    margin: 8px 0;
    color: #4a4a4a;
}

.site-footer .address {
    font-size: 0.85em;
    opacity: 0.7;
}

/* Mobil-tilpasning (Responsivt Design) */
@media (max-width: 1000px) {
    /* HEADER (Mobil) - Stacker titlen, men holder navigationen separat */
    .site-header {
        flex-direction: column;
        padding: 15px 20px;
    }
    .logo-group {
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }
    .main-nav ul {
        justify-content: center;
    }
    
    /* HERO: Stacker billedet øverst og teksten nederst */
    .hero-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    .hero-content {
        order: 2; 
        text-align: center;
    }
    .hero-image-container {
        order: 1; 
        text-align: center;
    }
    .hero-portrait {
        max-width: 300px;
    }
    .hero-content h1 {
        font-size: 2.5em;
        text-align: center;
    }
    .hero-content p {
        font-size: 1.2em;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* NAVIGATION GALLERI (Mobil) */
    .navigation-galleri {
        grid-template-columns: 1fr; 
        gap: 30px;
        max-width: 100%;
        padding: 0 20px; 
    }
    .main-content {
        padding: 0; 
    }
    .nav-image {
        height: 300px; 
    }
    .overlay-button {
        top: 20px; 
        left: 50%; 
        transform: translateX(-50%);
        padding: 10px 20px;
    }
    .overlay-button h3 {
        font-size: 1.3em;
    }

    /* OM MIG / BOOKING (Mobil) - FIX: Tvinger kolonne-stakning */
    .bio-grid {
        /* FIX: !important overskriver inline styles i booking.html */
        grid-template-columns: 1fr !important; 
        text-align: center;
        gap: 30px;
    }
    .bio-image {
        order: -1; 
    }
    
    .bio-title,
    .bio-subtitle {
        text-align: center; /* Centrerer titlen på mobil */
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 30px 20px;
    }
    .content-title {
        font-size: 2.5em;
    }
    
    .bio-title {
        font-size: 2.2em;
    }
    .bio-subtitle {
        font-size: 1.1em;
        margin-bottom: 1.5em;
    }
}