/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #4A7C59;
    --dark-green: #3A5F47;
    --light-green: #6B9B7A;
    --grey: #6B7280;
    --light-grey: #E8E8E8;
    --dark-grey: #374151;
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --text-dark: #1F2937;
    --text-light: #6B7280;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Add padding when cookie consent is visible */
body.cookie-visible {
    padding-bottom: 120px;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--off-white);
    border-bottom: 1px solid var(--light-grey);
    padding: 0.5rem 0;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-green);
}

.breadcrumbs span {
    color: var(--primary-green);
    font-weight: 500;
}

@media (prefers-color-scheme: dark) {
    .breadcrumbs {
        background-color: var(--dark-grey);
        border-bottom-color: #4B5563;
    }
    
    .breadcrumbs a {
        color: #D1D5DB;
    }
    
    .breadcrumbs a:hover {
        color: var(--light-green);
    }
    
    .breadcrumbs span {
        color: var(--light-green);
    }
}

@media (max-width: 768px) {
    body.cookie-visible {
        padding-bottom: 180px;
    }
}

@media (max-width: 480px) {
    body.cookie-visible {
        padding-bottom: 200px;
    }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

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

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-image-footer {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

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

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

.nav-menu li {
    position: relative;
}

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown > a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.3rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-menu .dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    margin-top: 0.5rem;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--off-white);
    color: var(--primary-green);
    padding-left: 2rem;
}

.dropdown-menu a::after {
    display: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-green);
    font-weight: 600;
    border: 2px solid var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-menu a.active::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    overflow: visible;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero {
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
    margin: 0 auto;
}

/* Weather Widget in Navigation */
.nav-weather {
    position: relative;
}

.weather-widget-compact {
    position: relative;
}

.weather-content-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.weather-content-compact:hover {
    background: var(--off-white);
}

.weather-icon-compact {
    font-size: 1.5rem;
    line-height: 1;
}

.weather-temp-compact {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.weather-toggle-compact {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.weather-widget-compact.expanded .weather-toggle-compact {
    transform: rotate(180deg);
}

.weather-expanded {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--light-grey);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.weather-widget-compact.expanded .weather-expanded {
    max-height: 800px;
    opacity: 1;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.weather-content {
    color: var(--text-dark);
}

.weather-widget.expanded {
    max-width: 400px;
}

.weather-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.weather-location {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.weather-toggle {
    background: var(--off-white);
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    padding: 0;
}

.weather-toggle:hover {
    background: var(--light-grey);
    transform: scale(1.1);
}

.weather-toggle svg {
    transition: transform 0.3s ease;
}

.weather-widget.expanded .weather-toggle svg {
    transform: rotate(180deg);
}

.weather-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.weather-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.weather-temp {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.weather-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: capitalize;
    margin-top: 0.25rem;
    text-align: center;
}

.weather-details {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--light-grey);
    text-align: center;
}

.weather-extended {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.weather-widget.expanded .weather-extended {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-grey);
}

.weather-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.weather-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background: var(--off-white);
    border-radius: 8px;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.weather-forecast {
    margin-top: 1rem;
}

.forecast-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    text-align: center;
}

.forecast-days {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.forecast-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--off-white);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.forecast-day-name {
    font-weight: 500;
    min-width: 60px;
}

.forecast-day-icon {
    font-size: 1.2rem;
}

.forecast-day-temp {
    font-weight: 600;
    min-width: 50px;
    text-align: right;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-slogan {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
    max-width: 800px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.eiendomslogg-logo {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.eiendomslogg-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--light-grey);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Services Section */
.services {
    background: var(--off-white);
}

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

/* Service Categories Navigation */
.services-nav-section {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--light-grey);
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.service-category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--light-grey);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.service-category-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.service-category-btn.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

/* Service Category Content */
.services-content {
    padding: 4rem 0;
    background: var(--off-white);
}

.service-category-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.service-category-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.tips-section,
.ros-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tips-section h3,
.ros-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tips-section p,
.ros-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.tips-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 600;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--light-grey);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 124, 89, 0.15);
    border-color: var(--primary-green);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card-link:hover .service-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(74, 124, 89, 0.2);
}

.service-link-text {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-green);
    font-weight: 600;
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-link-text {
    transform: translateX(5px);
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: 600px;
}

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

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

.customer-benefits {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--light-grey);
    transform: translateX(5px);
}

.benefit-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Location Section */
.location {
    background: var(--white);
}

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

.location-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-grey);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 124, 89, 0.15);
    border-color: var(--primary-green);
}

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

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


/* Contact Section */
.contact {
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    stroke: var(--white);
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark-grey);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer .logo-text {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
/* Image Gallery Styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--light-grey);
    aspect-ratio: 4/3;
    max-width: 100%;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 124, 89, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-caption {
    opacity: 1;
}

/* Single Image Styles */
.content-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.content-image-left,
.content-image-right {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.image-container-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 2rem 0;
}

.image-container-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 2rem 0;
}

/* Replace placeholder with actual image */
.about-image img,
.image-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-wrapper {
        padding: 0.75rem 0;
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    .nav-weather {
        display: block;
    }
    
    .weather-content-compact {
        padding: 0.4rem 0.6rem;
        gap: 0.4rem;
    }
    
    .weather-icon-compact {
        font-size: 1.2rem;
    }
    
    .weather-temp-compact {
        font-size: 0.9rem;
    }
    
    /* Side-by-side layout becomes stacked on mobile */
    .services > .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Service cards become single column on mobile */
    .services-grid[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-image-left,
    .content-image-right {
        max-width: 100%;
    }
    
    .weather-expanded {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
    }
    
    .weather-widget-compact.expanded .weather-expanded {
        transform: translateX(-50%);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 1.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        align-items: flex-start;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem 0;
        width: 100%;
    }

    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0.5rem;
        margin-left: 0;
        background: var(--off-white);
        border-radius: 4px;
        width: 100%;
    }

    .nav-menu .dropdown > a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero {
        min-height: 45vh;
        padding: 2rem 0;
        margin-top: 70px;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-slogan {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-wrapper {
        padding: 0.6rem 0;
    }
    
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    .hero {
        min-height: 40vh;
        padding: 1.5rem 0;
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 1rem 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-slogan {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

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

    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }

    .service-categories {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .service-category-btn {
        width: 100%;
        text-align: center;
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }

    .tips-ros-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tips-section,
    .ros-section {
        padding: 1.5rem;
    }

    .services-nav-section {
        position: relative;
        top: 0;
        padding: 1.5rem 0;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .contact-item {
        gap: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .weather-expanded {
        min-width: calc(100vw - 1.5rem);
        max-width: calc(100vw - 1.5rem);
        padding: 1.25rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary-green);
    color: var(--white);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1.5rem;
    border-top: 3px solid var(--primary-green);
    animation: slideUp 0.4s ease;
    max-width: 100%;
    box-sizing: border-box;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cookie-consent-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cookie-consent-text a {
    font-size: 0.9rem;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: inherit;
}

.btn-cookie-accept {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-cookie-accept:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.btn-cookie-necessary {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--light-grey);
}

.btn-cookie-necessary:hover {
    background: var(--off-white);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-consent-text {
        min-width: auto;
    }
    
    .cookie-consent-text h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-cookie {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Dark Mode - følger systemets innstillinger */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-green: #5A9B6A;
        --dark-green: #4A8B5A;
        --light-green: #7BAB8A;
        --grey: #9CA3AF;
        --light-grey: #374151;
        --dark-grey: #1F2937;
        --white: #111827;
        --off-white: #1F2937;
        --text-dark: #F9FAFB;
        --text-light: #D1D5DB;
    }

    body {
        background-color: var(--white);
        color: var(--text-dark);
    }

    /* Navigation */
    .navbar {
        background: rgba(17, 24, 39, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-menu a {
        color: var(--text-dark);
    }

    .dropdown-menu {
        background: var(--off-white);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    .dropdown-menu a {
        color: var(--text-dark);
    }

    .dropdown-menu a:hover {
        background: var(--dark-grey);
    }

    /* Weather Widget */
    .weather-content-compact:hover {
        background: var(--off-white);
    }

    .weather-temp-compact {
        color: var(--text-dark);
    }

    .weather-toggle-compact {
        color: var(--text-dark);
    }

    .weather-expanded {
        background: var(--off-white);
        border-color: var(--light-grey);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

    .weather-toggle {
        background: var(--off-white);
        border-color: var(--light-grey);
        color: var(--text-dark);
    }

    .weather-toggle:hover {
        background: var(--light-grey);
    }

    .weather-stat {
        background: var(--dark-grey);
    }

    .forecast-day {
        background: var(--dark-grey);
        color: var(--text-dark);
    }

    /* Sections */
    .services {
        background: var(--off-white);
    }

    .about {
        background: var(--white);
    }

    .location {
        background: var(--white);
    }

    .contact {
        background: var(--off-white);
    }

    /* Service Cards */
    .service-card {
        background: var(--off-white);
        border-color: var(--light-grey);
    }

    .service-card:hover {
        box-shadow: 0 10px 25px rgba(90, 155, 106, 0.2);
        border-color: var(--primary-green);
    }

    /* Service Categories */
    .services-nav-section {
        background: var(--off-white);
        border-bottom-color: var(--light-grey);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .service-category-btn {
        background: var(--white);
        border-color: var(--light-grey);
        color: var(--text-dark);
    }

    .service-category-btn:hover {
        border-color: var(--primary-green);
        color: var(--primary-green);
    }

    .service-category-btn.active {
        background: var(--primary-green);
        color: var(--white);
    }

    /* Tips & Ros */
    .tips-section,
    .ros-section {
        background: var(--off-white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    /* Location Cards */
    .location-card {
        background: var(--off-white);
        border-color: var(--light-grey);
    }

    .location-card:hover {
        box-shadow: 0 10px 25px rgba(90, 155, 106, 0.2);
    }

    /* Contact Form */
    .contact-form {
        background: var(--off-white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .form-group input,
    .form-group textarea {
        background: var(--white);
        border-color: var(--light-grey);
        color: var(--text-dark);
    }

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

    /* Benefit Items */
    .benefit-item {
        background: var(--off-white);
    }

    .benefit-item:hover {
        background: var(--light-grey);
    }

    /* Image Gallery */
    .gallery-item {
        background: var(--dark-grey);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
        border: 1px solid var(--light-grey);
    }

    .gallery-item:hover {
        box-shadow: 0 10px 25px rgba(90, 155, 106, 0.4);
        border-color: var(--primary-green);
    }

    /* Buttons */
    .btn-primary {
        background: var(--off-white);
        color: var(--primary-green);
    }

    .btn-primary:hover {
        background: var(--light-grey);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    /* Cookie Consent */
    .cookie-consent {
        background: var(--off-white);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-cookie-necessary {
        background: var(--white);
        color: var(--text-dark);
        border-color: var(--light-grey);
    }

    .btn-cookie-necessary:hover {
        background: var(--off-white);
        border-color: var(--primary-green);
    }

    /* Mobile Menu */
    .nav-menu {
        background: var(--off-white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .nav-menu .dropdown-menu {
        background: var(--white);
    }

    /* Hero shapes */
    .shape {
        background: rgba(255, 255, 255, 0.03);
    }
}

