/* Generelle Stilarter & Nulstilling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    transition: all 0.3s ease;
}

html {
    scroll-padding-top: 70px; /* Højde på sticky header */
}

/* Farvepalet */
:root {
    --primary-color: #AFEEEE;
    --secondary-color: #FFFACD;
    --accent-color: #98FB98;
    --text-color: #4A4A4A;
    --light-bg: #F8F8F8;
    --white-color: #FFFFFF;
    --heading-color: #307D7E;
    --footer-bg: #EAEAEA;
    --light-border: #ddd;
    /* Holistic touches */
    --lotus-pink: #FFB6C1;
    --sage-green: #B2D3BE;
    --warm-sand: #F5E6D3;
    /* Shadow variables */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --glow-soft: 0 0 20px rgba(255, 182, 193, 0.2);
    --aura-glow: 0 0 30px rgba(175, 238, 238, 0.15);
}

a {
    text-decoration: none;
    color: var(--primary-color); /* CHANGED to new primary */
}

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

.content-section {
    padding: 60px 20px;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--heading-color);
    font-family: 'Merriweather', serif;
    font-weight: 300;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Subtle decorative elements for section headings */
.content-section h2::before,
.content-section h2::after {
    content: '❀';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--lotus-pink);
    opacity: 0.4;
    animation: gentlePulse 4s ease-in-out infinite;
}

.content-section h2::before {
    left: 10%;
    animation-delay: 0s;
}

.content-section h2::after {
    right: 10%;
    animation-delay: 2s;
}

@keyframes gentlePulse {
    0%, 100% { opacity: 0.4; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.6; transform: translateY(-50%) scale(1.1); }
}

@media (max-width: 768px) {
    .content-section h2::before,
    .content-section h2::after {
        display: none;
    }
}

.content-section .section-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #666; /* Slightly darker for intro on light bg */
}

.content-section .section-outro {
    font-size: 1.05rem;
    margin-top: 35px;
    color: var(--text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-style: italic;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Hjælpeklasser */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* Knapper */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    margin: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Subtle ripple effect */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color); /* Ensure good contrast on pale green */
}

.btn-primary:hover {
    background-color: #82E082;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color); /* Changed from var(--accent-color) */
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.2rem;
}

/* Header & Navigation */
#header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

#header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--heading-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.nav-link.primary-cta-nav {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-color);
    padding: 8px 18px;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.nav-link.primary-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #82E082, var(--primary-color));
}

.nav-link.primary-cta-nav::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-color);
}

/* Hero Sektion */
@keyframes subtleGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-lotus-image {
    max-width: 550px;
    height: auto;
    display: block;
    margin: 0 auto 35px auto;
    cursor: pointer;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 25px rgba(175, 238, 238, 0.25))
            drop-shadow(0 0 40px rgba(255, 182, 193, 0.15));
    transition: all 0.4s ease;
    animation: gentleFloat 8s ease-in-out infinite;
}


@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-lotus-image:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 15px 35px rgba(175, 238, 238, 0.4))
            drop-shadow(0 0 50px rgba(255, 182, 193, 0.25))
            brightness(1.05);
    animation-play-state: paused;
}

.hero-lotus-image.playing {
    animation: gentleFloat 6s ease-in-out infinite, musicPulse 3s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { 
        filter: drop-shadow(0 8px 20px rgba(175, 238, 238, 0.4)) 
                drop-shadow(0 0 30px rgba(152, 251, 152, 0.3));
    }
    50% { 
        filter: drop-shadow(0 12px 30px rgba(175, 238, 238, 0.6)) 
                drop-shadow(0 0 40px rgba(152, 251, 152, 0.5));
    }
}

.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-color);
    position: relative;
    /* background: linear-gradient(-45deg, #E6E6FA, #F0F8FF, #F5FFFA, #FFF0F5);
    background-size: 400% 400%;
    animation: subtleGradient 20s ease infinite; */
    overflow: hidden;
}

/* Video background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.15; /* Very subtle opacity */
    filter: blur(1px); /* Slight blur for subtlety */
}

/* Add subtle mandala pattern with sacred geometry */
/* .hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    transform: translate(-50%, -50%);
    background: 
        radial-gradient(circle at center,
            transparent 0%,
            transparent 30%,
            rgba(175, 238, 238, 0.03) 30.5%,
            transparent 31%,
            transparent 50%,
            rgba(255, 182, 193, 0.03) 50.5%,
            transparent 51%,
            transparent 70%,
            rgba(178, 211, 190, 0.03) 70.5%,
            transparent 71%,
            transparent 90%,
            rgba(245, 230, 211, 0.03) 90.5%,
            transparent 91%),
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(175, 238, 238, 0.01) 30deg,
            transparent 60deg
        );
    animation: slowSpin 120s linear infinite;
    pointer-events: none;
    opacity: 0.6;
} */

@keyframes slowSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Overlay for better text readability on hero background, if needed */
/* .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 1;
} */

.hero-section h1 {
    font-size: 6rem;
    margin-bottom: 25px;
    color: var(--heading-color);
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    line-height: 1.3;
    font-weight: 400;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
    max-width: 900px;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative; /* To sit above overlay */
    z-index: 2;
}

/* Om Line Sektion */
.om-line-section {
    background-color: var(--white-color);
}

.om-line-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.om-line-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(175, 238, 238, 0.3), var(--aura-glow);
    transition: all 0.4s ease;
    position: relative;
}

.om-line-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(175, 238, 238, 0.5);
    border-color: var(--accent-color);
}

.om-line-text {
    text-align: left;
    max-width: 600px;
}

.om-line-text p {
    margin-bottom: 15px;
}

.om-line-text ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.om-line-text ul li {
    margin-bottom: 5px;
}

/* Behandlinger Sektion (New) */
.behandlinger-section {
    /* Uses .content-section styles, can add specifics if needed */
    padding-top: 50px; /* Add some top padding */
    padding-bottom: 50px;
}

.behandlinger-grid { /* New grid container */
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile by default */
    gap: 30px; /* Spacing between cards */
    max-width: 1100px; /* Adjust as needed, similar to other wide containers */
    margin: 0 auto; /* Center the grid */
}

.behandling-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.behandling-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--lotus-pink), var(--sage-green), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Breathing effect for cards */
.behandling-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--lotus-pink), var(--sage-green), var(--warm-sand), var(--primary-color));
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.behandling-item:hover::after {
    opacity: 0.2;
    animation: breathingGlow 3s ease-in-out infinite;
}

@keyframes breathingGlow {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.behandling-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.behandling-item:hover::before {
    transform: scaleX(1);
}

.behandling-item h3 {
    font-size: 1.8rem; /* Slightly larger than pris-item h3 */
    color: var(--heading-color);
    margin-bottom: 15px;
}

.behandling-item p {
    line-height: 1.7;
    margin-bottom: 10px;
    color: var(--text-color);
}

.behandling-item p:last-of-type {
    margin-bottom: 0;
}

.behandling-item em {
    font-style: italic;
    color: #555; /* Slightly darker for emphasis */
    display: block; /* Make em take its own line if desired */
    margin-top: 10px;
}

/* Bullet list styling in treatment cards */
.behandling-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.behandling-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.behandling-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--lotus-pink);
    font-size: 1.2rem;
}

.behandling-list li strong {
    color: var(--heading-color);
}

/* Responsive adjustments for Behandlinger Grid */
@media (min-width: 768px) {
    .behandlinger-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets and desktops */
    }
}

/* Priser Sektion (New) */
/* Priser Sektion (New) - Uses .content-section and .bg-light styles */

.priser-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

@media (max-width: 768px) {
    .priser-container {
        grid-template-columns: 1fr;
    }
}

.pris-item {
    background-color: var(--white-color);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--secondary-color), var(--primary-color)) border-box;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pris-item.pris-featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pris-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.pris-item h3 {
    font-size: 1.6rem;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.pris-item .pris-varighed {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 10px;
}

.pris-item .pris-pris {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--heading-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.pris-item .pris-beskrivelse {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-top: 10px;
}

/* Fordele Sektion */
/* Fordele Sektion - Uses .content-section and .bg-light or similar default */

.fordele-grid {
    display: grid;
    /* Explicitly set to 2 columns for desktop, allow wrapping for smaller */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    max-width: 700px; /* Adjusted max-width for a 2x2 layout. Items will be larger */
    margin: 0 auto;
}

@media (min-width: 768px) {
    .fordele-grid {
        grid-template-columns: repeat(2, 1fr); /* Enforce 2 columns on medium screens and up */
    }
}

.fordel-item {
    background-color: var(--white-color);
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.fordel-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(175, 238, 238, 0.05), rgba(152, 251, 152, 0.05));
}

.fa-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(152, 251, 152, 0.3));
    transition: all 0.3s ease;
}

.fordel-item:hover .fa-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(152, 251, 152, 0.5));
}

.fordel-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--heading-color); /* New heading color */
}

/* Hvordan Sektion */
.hvordan-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.step {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step-number {
    background-color: var(--primary-color); /* New primary color */
    color: var(--text-color); /* Ensure contrast */
    font-size: 1.5rem;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--heading-color); /* New heading color */
}

.hvordan-fokus {
    font-style: italic;
    color: var(--text-color); /* Updated text color */
    max-width: 700px;
    margin: 20px auto 0 auto;
}

/* Udtalelser Sektion */
/* Udtalelser Sektion - Uses .content-section styles */

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: 'Merriweather', serif;
}

.testimonial:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-width: 6px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-color); /* Updated text color */
}

.testimonial footer {
    font-weight: bold;
    color: var(--accent-color); /* New accent color */
    text-align: right;
}

/* Booking Sektion */
/* Booking Sektion - Uses .content-section styles */

.kontakt-info {
    margin-bottom: 30px;
    text-align: center; /* Center contact info */
}

.kontakt-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.kontakt-info .fas {
    margin-right: 10px;
    color: var(--primary-color);
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.booking-form textarea {
    resize: vertical;
}

.booking-form button {
    /* Uses .btn and .btn-primary styles */
    align-self: center; /* Center button if form is narrower */
}

.booking-note {
    text-align: center;
    margin-top: 20px;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
}

.volume-slider-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-50%) translateY(-10px) !important; /* Combined transform for centering and hiding */
    /* display: none !important; */ /* Could uncomment this for ultimate hiding if needed for debug */
    pointer-events: none !important; /* Prevent interaction when hidden */
}

.volume-icon {
    font-size: 1.2rem; /* Adjust size as needed */
    color: var(--accent-color); /* Make the icon green */
    user-select: none; /* Prevent text selection on click */
}

/* Volume Slider Styles in Header */
.nav-volume-slider-container {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(175, 238, 238, 0.1));
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease-out;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

#volumeSlider {
    width: 120px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    outline: none;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    vertical-align: middle;
}

#volumeSlider:hover {
    opacity: 1;
}

/* Webkit (Chrome, Safari, Edge) - Thumb */
#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(152, 251, 152, 0.4);
    transition: all 0.3s ease;
    margin-top: -5px; /* Center the thumb on the track */
}

#volumeSlider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(152, 251, 152, 0.6);
}

/* Firefox - Thumb */
#volumeSlider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(152, 251, 152, 0.4);
    transition: all 0.3s ease;
}

/* Webkit (Chrome, Safari, Edge) - Track */
#volumeSlider::-webkit-slider-runnable-track {
    height: 8px;
    background: #ddd;
    border-radius: 5px;
}

/* Firefox - Track */
#volumeSlider::-moz-range-track {
    height: 8px;
    background: #ddd;
    border-radius: 5px;
}


/* Booking Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Changed from auto to hidden, as .modal-content will scroll */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    /* display: flex; Will be set by JS */
    /* align-items: center; Will be set by JS */
    /* justify-content: center; Will be set by JS */
}

.modal-content {
    background-color: transparent;
    margin: 10px;
    padding: 0;
    border: none;
    width: 95%;
    max-width: 1200px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 95vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--heading-color);
    text-align: center;
}

.close-button {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    cursor: pointer;
    transition: background 0.3s;
}

.close-button:hover,
.close-button:focus {
    background: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    cursor: pointer;
    transform: rotate(90deg);
}

#bookingModal iframe {
    border-radius: 20px;
    width: 100%;
    height: 95vh;
}

#planwayBookingIframeModal { /* Correct ID for this site's iframe */
    border: none; /* Remove default iframe border */
    width: 100%;
    flex-grow: 1; /* Allow iframe to take available space */
    /* height: 1100px; is set inline, but modal-content will scroll if it exceeds max-height */
}

/* Footer with zen pattern */
.footer-section {
    background: 
        linear-gradient(135deg, rgba(175, 238, 238, 0.1), rgba(255, 250, 205, 0.1)),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(178, 211, 190, 0.02) 10px,
            rgba(178, 211, 190, 0.02) 20px
        );
    color: var(--text-color);
    padding: 25px 20px;
    text-align: center;
    border-top: 2px solid var(--light-border);
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--lotus-pink), var(--sage-green), var(--accent-color));
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--heading-color); /* Heading color for footer logo */
}

.footer-nav {
    margin-top: 10px;
}

.footer-nav a {
    color: var(--text-color); /* Text color for footer links */
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color); /* New accent color for hover */
}

/* Responsivitet - Mobil-først */

/* Tablet */
@media (min-width: 768px) {
    .content-section h2 {
        font-size: 2.8rem;
    }

    .hero-section h1 {
        font-size: 3.2rem;
    }

    .om-line-container {
        flex-direction: row;
        gap: 50px;
    }

    .om-line-img {
        width: 300px;
        height: 300px;
    }

    .hvordan-steps {
        flex-direction: row;
        justify-content: space-around;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 250px; /* For at de ikke bliver for brede */
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .content-section h2 {
        font-size: 3rem;
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }
}

/* Mobil Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Højde på header */
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .nav-link.primary-cta-nav {
        display: inline-block; /* Gør den til blok for at fylde bredden i mobilmenu */
        margin-top: 10px;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-volume-controls {
    list-style: none;
    display: flex;
    align-items: center;
    margin-left: auto; /* Fallback or additional push to the right */
}

.nav-volume-controls .nav-item {
    margin-left: 0.5rem; /* Spacing between volume buttons */
}

.volume-control-link {
    color: var(--text-color);
    padding: 0.5rem 0.75rem;
    display: block;
    transition: color 0.3s ease;
}

.volume-control-link:hover {
    color: var(--accent-color);
}

.volume-control-link i {
    font-size: 1.1rem; /* Adjust icon size as needed */
}

.hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section h1 {
        font-size: 2.2rem; /* Mobile size */
    }

    .hero-section p {
        font-size: 1.1rem; /* Adjust for smaller screens */
    }

    .hero-buttons {
        flex-direction: column; /* Stack buttons on mobile */
        align-items: center;
    }

    .om-line-container {
        flex-direction: column;
    }
}
