/* --- Generel Styling & Ny Farvepalette --- */
:root {
    --dark-teal: #2A5F62;
    --light-beige: #F4F2ED;
    --accent-orange: #D49A6A;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --grey: #8d8d8d;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lora', serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-teal);
    margin-top: 0;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; color: var(--text-light); }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    max-width: 65ch; /* Gør tekst mere læsbar */
}

a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* --- Knapper --- */
.cta-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--text-light);
    font-family: var(--font-heading);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #c58d5c;
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- Header --- */
.main-header {
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 1rem 0;
}
.main-header .logo {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- Hero Sektion --- */
.hero {
    background: linear-gradient(rgba(42, 95, 98, 0.7), rgba(42, 95, 98, 0.7)), url('https://hundemassage.dk/hundemassage.webp') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}
.hero-content {
    max-width: 800px;
}
.hero-intro {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 1.5rem auto 2.5rem;
    max-width: 60ch;
}

/* --- Generelle Sektions-styles --- */
section {
    padding: 5rem 0;
}
.intro-text {
    text-align: center;
    margin-bottom: 3rem;
}
.intro-text p {
    margin-left: auto;
    margin-right: auto;
}

/* --- Fordele Sektion --- */
.benefits-section { background-color: var(--text-light); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.benefit-card {
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--text-light);
}

/* --- Grid & Billeder --- */
.grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* --- Specifikke Sektioner --- */
.how-to-start-section { background-color: var(--light-beige); }
.steps-list { padding-left: 20px; }
.steps-list li { margin-bottom: 1rem; }

.location-section { background-color: var(--text-light); }
.location-options { margin-top: 2rem; }
.location { margin-bottom: 1.5rem; }

.science-section { background-color: var(--light-beige); }
.science-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}
.text-link {
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-heading);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-teal);
    color: var(--text-light);
    text-align: center;
    padding: 4rem 1.5rem 2rem;
}
.main-footer h3 { font-size: 2rem; color: var(--text-light); }
.main-footer p {
    color: var(--text-light);
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
}
.main-footer .cta-button { margin: 1.5rem 0; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    opacity: 0.7;
}

/* --- Responsivt Design --- */
@media (max-width: 900px) {
    .grid-two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .grid-two-columns.reverse-on-desktop {
        grid-template-areas: "text" "image";
    }
    .grid-two-columns .image-content {
        order: -1; /* Placerer billedet øverst */
    }
    .grid-two-columns.reverse-on-desktop .image-content {
        order: -1; /* Sørger for at billedet altid er øverst på mobil */
    }
}
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    .hero { height: auto; padding: 6rem 1.5rem 4rem; }
}