/*
Theme Name: Lisbeth Rishøj Custom Theme
Description: Nyt hero design med logo, om mig billede-baggrund og koordinat-justering
Author: Jakob
Version: 10.5
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Lato:ital,wght@0,300;0,400;0,700;1,300&display=swap');

:root {
    --bg-color: #646464;
    --dark-bg: #303030;
    --gold: #cdaa57;
    --text-light: #ffffff;
    --bg-form-btn: #595959;
    --box-bg: #808080;
    --max-content-width: 930px;
    --sidebar-width: 180px;
}

html { scroll-behavior: smooth; scroll-padding-top: 60px; overflow-x: hidden; }
body { font-family: 'Lato', sans-serif; font-weight: 300; line-height: 1.8; color: var(--text-light); background-color: var(--bg-color); font-size: 18px; overflow-x: hidden; }
* { box-sizing: border-box; margin: 0; padding: 0; }
p { margin-bottom: 1.5em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }

button, input, select, textarea {
    font-family: 'Lato', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .hero-title, .section-title, .accordion-title { font-family: 'Cormorant Garamond', serif; font-weight: 400; color: var(--text-light); }
.hero-title { color: var(--gold); }
.section-title { text-align: center; font-size: 46px; margin-bottom: 30px; letter-spacing: 1px; }

.container { width: 100%; max-width: var(--max-content-width); margin: 0 auto; padding: 60px 20px; }

/* ==========================================================================
   HEADER & NAVIGATION (DESKTOP: Venstre Sidebar)
   ========================================================================== */
@media (min-width: 769px) {
    body { margin-left: var(--sidebar-width); }
    
    .site-header { 
        position: fixed; 
        top: 0; 
        left: 0;
        width: var(--sidebar-width);
        height: 100vh;
        background-color: var(--dark-bg);
        border-right: 1px solid var(--gold); 
        z-index: 1000; 
    }
    
    .nav-wrapper { 
        display: flex; 
        flex-direction: column;
        align-items: center; 
        height: 100%; 
        padding: 50px 0 40px 0; 
    }
    
    .logo-link { display: block; margin-bottom: 50px; }
    .logo-img { width: 100px; height: auto; display: block; }
    
    .burger-menu, .mobile-menu-logo { display: none; }
    
    .main-nav { 
        display: flex; 
        flex-direction: column;
        width: 100%;
        flex-grow: 1; 
    }
    
    .menu-list { 
        display: flex; 
        flex-direction: column;
        list-style: none; 
        gap: 30px; 
        text-align: center;
        padding: 0;
    }
    
    .menu-list a { 
        color: var(--text-light); 
        text-decoration: none; 
        font-size: 14px; 
        text-transform: uppercase; 
        letter-spacing: 2px; 
        font-weight: 700; 
        transition: color 0.3s; 
    }
    .menu-list a:hover { color: var(--gold); }
    
    .ig-link { 
        margin-top: auto; 
        color: var(--text-light); 
        transition: color 0.3s; 
        display: flex; 
        justify-content: center; 
    }
    .ig-link:hover { color: var(--gold); }
}

/* ==========================================================================
   HEADER & NAVIGATION (MOBIL: Topbar + Slide-in)
   ========================================================================== */
@media (max-width: 768px) {
    body { margin-left: 0; padding-top: 60px; }
    
    .site-header { 
        height: 60px; 
        padding: 0; 
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        z-index: 1000; 
        background-color: var(--dark-bg); 
        border-bottom: 1px solid var(--gold); 
    }
    
    .nav-wrapper { 
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%; 
        padding: 0 20px; 
    }
    
    .logo-link { display: flex; align-items: center; z-index: 101; }
    .logo-img { height: 40px; width: auto; }
    
    .burger-menu { 
        display: flex; 
        background: transparent; 
        border: none; 
        cursor: pointer; 
        flex-direction: column; 
        justify-content: space-between; 
        width: 30px; 
        height: 20px; 
        z-index: 1002; 
    }
    .burger-menu span { display: block; width: 100%; height: 2px; background-color: var(--text-light); transition: all 0.3s ease; }
    .burger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .main-nav { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: var(--sidebar-width); 
        height: 100vh; 
        background-color: var(--dark-bg); 
        border-left: 1px solid var(--gold); 
        transition: right 0.3s ease; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        padding-top: 50px; 
        z-index: 1001; 
    }
    .main-nav.active { right: 0; }

    .mobile-menu-logo { display: block; margin-bottom: 50px; }
    .mobile-logo-img { width: 90px; height: auto; padding-top: 30px;}

    .menu-list { 
        display: flex;
        flex-direction: column;
        gap: 30px; 
        text-align: center; 
        list-style: none;
        padding: 0;
    }
    .menu-list a { 
        color: var(--text-light); 
        text-decoration: none; 
        font-size: 16px; 
        text-transform: uppercase; 
        letter-spacing: 2px; 
        font-weight: 700; 
    }
    
    .ig-link { display: flex; margin-top: 50px; color: var(--text-light); }
}

/* ==========================================================================
   HERO SEKTION (Nyt design med logo og #303030 baggrund)
   ========================================================================== */
.hero-section {
    width: 100%;
    min-height: 500px;
    background-color: var(--dark-bg);
    display: flex;
    align-items: center; 
    justify-content: center;
    border-bottom: 1px solid var(--gold); 
}
.hero-container-centered {
    width: 100%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}
.hero-large-logo {
    max-width: 220px;
    width: 80%;
    height: auto;
    margin-bottom: 5px;
}
.hero-subtitle { 
    font-size: 26px; 
    font-weight: 300; 
    margin: 0; 
    color: var(--gold); 
}

/* ==========================================================================
   YDELSER (ACCORDION)
   ========================================================================== */
.services-section { padding-bottom: 50px; }
.accordion-item { background-color: var(--box-bg); margin-bottom: 25px; border: 1px solid var(--gold); }
.accordion-header { width: 100%; background: transparent; border: none; color: var(--text-light); padding: 30px; font-size: 32px; text-align: left; cursor: pointer; display: flex; align-items: center; }
.accordion-icon { margin-right: 30px; display: flex; align-items: center; }
.accordion-title { flex-grow: 1; }
.accordion-arrow { transition: transform 0.3s ease; display: flex; align-items: center; }
.accordion-header.active .accordion-arrow { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.accordion-content-inner { padding: 0 30px 30px 105px; color: #f0f0f0; font-size: 18px; }
.conditions-wrapper { margin: 30px auto 0; padding-left: 0; }
.conditions-toggle { background: transparent; border: none; color: var(--text-light); font-weight: 700; font-size: 16px; cursor: pointer; font-family: 'Lato', sans-serif !important; }
.conditions-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; margin-top: 15px; font-size: 15px; color: #ddd; max-width: 600px; }

/* ==========================================================================
   BOOKING FORMULAR
   ========================================================================== */
#booking-wrapper { background-color: var(--dark-bg); }
.booking-section { padding: 60px 20px 80px; }
.clean-form { width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 50px; }
.form-field { position: relative; }
.form-field.full-width { grid-column: 1 / -1; }

.form-field input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gold);
    padding: 12px 0;
    color: var(--text-light);
    font-family: 'Lato', sans-serif !important;
    font-size: 18px;
    outline: none;
}
.form-field input:focus { border-bottom: 2px solid var(--gold); }
.form-field input::placeholder { color: #cccccc; font-weight: 300; }

.custom-dropdown-container { position: relative; }
.dropdown-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gold);
    padding: 12px 0;
    color: var(--text-light);
    font-family: 'Lato', sans-serif !important;
    font-size: 18px;
    cursor: pointer;
    outline: none;
}
.dropdown-arrow { transition: transform 0.3s ease; }
.dropdown-trigger.active .dropdown-arrow { transform: rotate(180deg); }

.dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-form-btn);
    border: 1px solid var(--gold);
    border-top: none;
    z-index: 100;
}
.dropdown-list.show { display: block; }
.dropdown-option {
    padding: 15px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
    font-family: 'Lato', sans-serif !important;
}
.dropdown-option:last-child { border-bottom: none; }
.dropdown-option:hover { background-color: var(--gold); }

.form-submit-box { text-align: center; margin-top: 60px; }
.submit-btn { background-color: var(--bg-form-btn); color: var(--text-light); border: 1px solid var(--gold); padding: 12px 60px; font-size: 16px; cursor: pointer; transition: all 0.3s ease; font-family: 'Lato', sans-serif !important; }
.submit-btn:hover { background-color: var(--gold); color: #fff; }
.success-message { text-align: center; color: var(--gold); margin-top: 20px; font-family: 'Lato', sans-serif !important; }

/* ==========================================================================
   OM MIG (Baggrundsbillede integreret)
   ========================================================================== */
.about-section { 
    position: relative;
    background-image: url('http://lisbeth-rishoj.dk/wp-content/uploads/2026/07/header.jpg');
    background-size: cover;
    
    /* JUSTER DESKTOP BILLEDE HER: Første procent er X (Vandret), andet er Y (Lodret) */
    background-position: 40% 60%;
    
    background-repeat: no-repeat;
    /* Sikrer at billedet ikke forsvinder hvis der er lidt tekst */
    min-height: 600px; 
}

/* Det mobile billede er skjult på desktop */
.about-mobile-img {
    display: none;
}

.about-section .about-container { 
    padding-top: 60px; 
    padding-bottom: 70px;
}
.about-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; font-size: 18px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { 
    background-color: var(--dark-bg); 
    padding: 30px 0; 
    position: relative; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}

.footer-content { 
    max-width: var(--max-content-width); 
    margin: 0 auto; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 0 20px; 
    position: relative;
    text-align: center;
}

.footer-contact { font-size: 15px; line-height: 2; }
.footer-contact a { color: var(--text-light); text-decoration: none; transition: color 0.3s; border: none; }
.footer-contact a:hover { color: var(--gold); }

.footer-social { 
    position: absolute; 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%);
}
.footer-social a { color: var(--text-light); text-decoration: none; font-size: 15px; display: flex; align-items: center; gap: 10px; transition: color 0.3s; }
.footer-social a:hover { color: var(--gold); }

/* ==========================================================================
   RESPONSIVT MOBIL
   ========================================================================== */
@media (max-width: 768px) {
    .container { width: 100%; max-width: var(--max-content-width); margin: 0 auto; padding: 40px 30px; }
    .section-title { font-size: 32px; margin-bottom: 30px; }

    /* Opdateret til det nye Hero */
    .hero-section { min-height: 350px; }
    .hero-large-logo { max-width: 140px; }
    .hero-subtitle { font-size: 20px; line-height: 1.4; }

    .accordion-item { margin-bottom: 15px; }
    .accordion-header { flex-direction: column; align-items: center; position: relative; padding: 20px; }
    .accordion-icon { margin: 0 0 10px 0; }
    .accordion-title { text-align: center; font-size: 26px; width: 100%; padding: 0 20px; }
    .accordion-arrow { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
    .accordion-header.active .accordion-arrow { transform: translateY(-50%) rotate(180deg); }
    .accordion-content-inner { text-align: left; padding: 0 20px 20px 20px; font-size: 16px; }

    .booking-section { padding: 40px 30px; }
    .form-grid { grid-template-columns: 1fr; gap: 20px; }
    .form-submit-box { margin-top: 40px; }

    /* Om Mig: Mobil Logik for billedet over teksten */
    .about-section {
        background-image: none; /* Slukker for desktop-baggrunden */
        background-color: var(--bg-color); /* Får den normale mørkegrå farve tilbage bag teksten */
        min-height: auto;
    }
    
    .about-mobile-img {
        display: block; /* Viser billedet som en blok i toppen på mobil */
        width: 100%;
        height: 380px; 
        background-size: cover;
        
        /* JUSTER MOBIL BILLEDE HER: Første procent er X (Vandret), andet er Y (Lodret) */
        background-position: 15% 85%;
        
        background-repeat: no-repeat;
    }
    
    .about-section .about-container {
        padding-top: 40px; /* Sikrer pæn afstand fra billedet ned til overskriften */
        padding-bottom: 60px;
    }

    .about-content-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .footer-content { 
        flex-direction: column; 
        gap: 20px; 
    }
    .footer-social { 
        position: relative; 
        right: auto; 
        top: auto; 
        transform: none; 
    }
}

/* --- Håndtering af adresse-linjeskift i footer --- */
.mobile-break { display: none; }

@media (max-width: 768px) {
    .desktop-pipe { display: none; }
    .mobile-break { display: block; content: ""; }
}