
/* Base Styles */
:root {
    --primary: #4a6741;
    --secondary: #8ba888;
    --accent: #d4b483;
    --light: #f8f7f3;
    --dark: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Styles */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

.logo h1 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

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

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--dark);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 0 20px;
    margin-top: 70px;
    position: relative;
    background-repeat: no-repeat;
}
html{
    overflow-x: hidden;
}
.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn:hover {
    background-color: transparent;
    color: white;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Om Oss Section */
.om-oss {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.om-oss::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(74, 103, 65, 0.1);
    top: -100px;
    left: -100px;
    z-index: -1;
}

.om-oss-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.om-oss-image {
    flex: 1;
    position: relative;
}

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

.om-oss-content {
    flex: 1;
}

.section-title {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 60px;
    background-color: var(--accent);
    bottom: -5px;
    left: 0;
}

.om-oss-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.om-oss-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.om-oss-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.om-oss-icon {
    background-color: rgba(74, 103, 65, 0.1);
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--primary);
}

.om-oss-point-content h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

/* Tilbud Section */
.tilbud {
    padding: 100px 0;
    background-color: #f0f5ee;
    position: relative;
}

.tilbud::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(212, 180, 131, 0.2);
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

.tilbud-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.tilbud-intro .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.tilbud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.tilbud-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.tilbud-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tilbud-img {
    height: 200px;
    overflow: hidden;
}

.tilbud-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tilbud-card:hover .tilbud-img img {
    transform: scale(1.1);
}

.tilbud-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.tilbud-content {
    padding: 25px;
}

.tilbud-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.tilbud-content p {
    margin-bottom: 20px;
    color: #666;
}

.tilbud-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.tilbud-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.tilbud-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.tilbud-link:hover {
    gap: 10px;
}

/* Urter Section */
.urter {
    padding: 100px 0;
    background-color: white;
}

.urter-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.urter-intro .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.urter-slider {
    width: 100%;
    position: relative;
}

.urter-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 30px;
    padding: 20px 0;
}

.urter-slider-container::-webkit-scrollbar {
    display: none;
}

.urter-slide {
    min-width: 300px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    border: 1px solid #eee;
    flex-shrink: 0;
    transition: var(--transition);
}

.urter-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.urter-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(74, 103, 65, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.urter-icon img {
    width: 30px;
    height: 30px;
}

.urter-slide h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.urter-slide p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.urter-properties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.urter-property {
    background-color: rgba(212, 180, 131, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--dark);
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Rensing Section */
.rensing {
    padding: 100px 0;
    background-color: #f0f5ee;
    position: relative;
}

.rensing-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.rensing-intro .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.rensing-container {
    position: relative;
}

.rensing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.rensing-tab {
    padding: 10px 25px;
    background-color: white;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.rensing-tab.active {
    background-color: var(--primary);
    color: white;
}

.rensing-tab:hover:not(.active) {
    border-color: var(--primary);
}

.rensing-content {
    display: none;
}

.rensing-content.active {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rensing-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rensing-step-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.rensing-step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.rensing-step-content p {
    color: #666;
    margin-bottom: 15px;
}

.rensing-tips {
    padding: 15px;
    background-color: rgba(212, 180, 131, 0.2);
    border-radius: 10px;
    font-style: italic;
}

/* Forebygging Section */
.forebygging {
    padding: 100px 0;
    position: relative;
    background-color: white;
}

.forebygging-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.forebygging-content {
    flex: 1;
}

.forebygging-content .section-title {
    margin-bottom: 30px;
}

.forebygging-accordion {
    flex: 1;
}

.accordion-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(74, 103, 65, 0.1);
}

.accordion-header h3 {
    font-size: 18px;
    color: var(--primary);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: var(--transition);
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-icon::after {
    transform: translateY(-50%) rotate(90deg);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon::after {
    transform: translateY(-50%) rotate(0);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 20px 20px;
    color: #666;
}

.accordion-body p:not(:last-child) {
    margin-bottom: 15px;
}

/* Galleri Section */
.galleri {
    padding: 100px 0;
    background-color: #f0f5ee;
}

.galleri-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.galleri-intro .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.galleri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.galleri-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 0;
    padding-bottom: 100%;
    cursor: pointer;
}

.galleri-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galleri-item:hover img {
    transform: scale(1.1);
}

.galleri-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 103, 65, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.galleri-item:hover .galleri-overlay {
    opacity: 1;
}

/* Kontakt Section */
.kontakt {
    padding: 100px 0;
    background-color: white;
    position: relative;
}



.kontakt-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.kontakt-info {
    flex: 1;
}

.kontakt-form {
    flex: 1;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.kontakt-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.kontakt-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(74, 103, 65, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 20px;
}

.kontakt-info-content h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.kontakt-info-content p {
    color: #666;
}

.kontakt-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--accent);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 50px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50px;
    background-color: var(--accent);
}

.footer-col p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    height: 50px;
    margin-top: 20px;
}

.newsletter-input {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 14px;
    border-radius: 5px 0 0 5px;
}

.newsletter-btn {
    background-color: var(--accent);
    color: var(--dark);
    border: none;
    padding: 0 15px;
    font-weight: 600;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: #c9a870;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 80%;
    max-width: 800px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transform: translateY(-50px);
    transition: var(--transition);
    font-size: 0;
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--dark);
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-image {
    width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .om-oss-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .om-oss-image {
        margin-bottom: 30px;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .om-oss-points {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 30px auto 0;
    }
    
    .om-oss-point {
        justify-content: center;
        text-align: left;
    }
    
    .forebygging-container {
        flex-direction: column;
    }
    
    .forebygging-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .kontakt-container {
        flex-direction: column;
    }
    
    .kontakt-info {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .rensing-step {
        flex-direction: column;
    }
    
    .rensing-step-number {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .om-oss-points {
        grid-template-columns: 1fr;
    }
    
    .rensing-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .rensing-tab {
        width: 100%;
        text-align: center;
    }
}

/* Mobile Menu Responsive */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 999;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-close {
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-list {
    list-style: none;
}

.mobile-menu-list li {
    margin-bottom: 20px;
}

.mobile-menu-list a {
    text-decoration: none;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.open-menu .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.open-menu .bar:nth-child(2) {
    opacity: 0;
}

.open-menu .bar:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -8px);
}



.text-wrapper h2, .text-wrapper h3{
    margin-top: 20px;
    margin-bottom: 10px;
}

.text-wrapper h1{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}
.text-wrapper h2{
    font-size: 1.5rem;
}

.text-wrapper{
    margin: 30px auto;
    max-width: 1200px;
}

.text-wrapper p{
    margin-bottom: 10px;
}