/* Reset og grunnleggende styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f7e;
    --secondary-color: #4a90a4;
    --accent-color: #89c4d1;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header og navigasjon */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero seksjon */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Knapper */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Seksjoner */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

/* Henvisning info */
.henvisning-info {
    background-color: var(--bg-light);
    padding: 2rem 0;
}

.info-box-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.info-box-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-box-highlight p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* Tjenester */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Behandlingsmetoder */
.treatments {
    background-color: var(--bg-light);
}

.treatment-list {
    max-width: 900px;
    margin: 0 auto;
}

.treatment-item {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.treatment-item:last-child {
    margin-bottom: 0;
}

.treatment-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.treatment-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Om oss */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content-single {
    max-width: 900px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text h3:first-of-type {
    margin-top: 1.5rem;
}

/* Kontakt */
.contact {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-single {
    max-width: 800px;
    margin: 0 auto;
}

.contact-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.contact-section:last-child {
    border-bottom: none;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.info-note {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Skjema */
.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Prisliste */
.prisliste-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.prisliste-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.prisliste-hero .lead {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.prisliste-hero .info-note {
    font-size: 1rem;
    opacity: 0.9;
}

.prisliste-content {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.prisliste-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.prisliste-section h2 {
    color: #c8102e;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-dark);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table td.price {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.price-table td.indent {
    padding-left: 2rem;
}

.info-box {
    background-color: var(--accent-color);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.info-box p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin: 0;
}

/* Responsivt design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .prisliste-hero h1 {
        font-size: 1.8rem;
    }

    .prisliste-section {
        padding: 1rem;
    }

    .price-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .price-table td.indent {
        padding-left: 1rem;
    }
}
