/* ============================================
   CSS VARIABLER - Premium Kaffepalett
   ============================================ */
:root {
    --color-primary: #2C1810;       /* Mørk brun - nav, footer */
    --color-accent: #C9A227;        /* Gull - CTA, hover, aksent */
    --color-background: #FDF8F3;    /* Kremhvit - bakgrunn for tekst */
    --color-text: #4A4A4A;          /* Varm grå - brødtekst */
    --color-section: #F5EDE4;       /* Lys beige - seksjoner */
    --color-white: #ffffff;
    --color-gold-light: #fbc40f;    /* Lys gull (eksisterende) */
}

body {
    font-family: 'Lato', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--color-background);
    color: var(--color-text);
}

/* Smooth scroll for hele siden */
html {
    scroll-behavior: smooth;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 60px; /* Plass for fixed nav */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 24, 16, 0.3) 0%,
        rgba(44, 24, 16, 0.5) 50%,
        rgba(44, 24, 16, 0.7) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 10;
    padding: 20px;
    max-width: 800px;
    width: 90%;
}

.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.hero-tagline {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-white);
    margin: 0 0 30px 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

/* CTA Button */
.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 15px 40px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    background-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

/* Content Sections */
.content-section {
    padding: 60px 20px;
}

.content-section.alt-bg {
    background-color: var(--color-section);
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

/* Typografi - Overskrifter med Playfair Display */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
}

header, footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    text-align: center;
}

main {
    padding: 0;
    padding-top: 70px; /* Plass for fixed navbar */
}

/* ============================================
   NAVBAR - Premium Design (Forslag 11)
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(44, 24, 16, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 115px;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    height: 55px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.nav-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: var(--color-white);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    color: var(--color-white);
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

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

/* Hamburger Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   NAVBAR RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    main {
        padding-top: 60px;
    }

    .nav-container {
        padding: 0 20px;
        height: 60px;
    }

    .nav-logo {
        height: 40px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 0;
        background-color: var(--color-primary);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.show {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        padding: 20px;
        font-size: 1.1rem;
    }

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

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(201, 162, 39, 0.1);
    }

    .img .img-item {
        flex: 1 1 100%;
        max-width: 100%;
        height: auto;
    } 

    .tekst-boks {
        max-width: 90%;
        font-size: 1.2em;
        padding: 15px;
    }

    .overlay-text {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1em;
        width: 80%;
        padding: 10px;
    }

    section .img1 .img-item1,
    section .img1 .img-item2,
    section .img1 .img-item3 {
        flex: 1 1 100%;
        max-width: 100%; /* Ensure items do not exceed full width */
        height: auto; /* Adjust height to auto for better responsiveness */
        margin: 10px 0; /* Add vertical margin to separate items */
    }
}

/* Sett body og html til å fylle hele høyden på skjermen */
html, body {
    height: 100%;  /* Gjør at body tar hele høyden av skjermen */
    margin: 0;     /* Fjern standard margin */
}

/* Bruk Flexbox på page-wrapper for å organisere layouten */
.page-wrapper {
    display: flex;
    flex-direction: column;  /* Setter layouten til kolonne */
    min-height: 100vh;  /* Sørger for at siden alltid tar minst 100vh (full høyde på skjermen) */
}

/* Sørg for at hovedinnholdet fyller tilgjengelig plass */
main {
    flex: 1;  /* Hovedinnholdet fyller den gjenværende plassen */
}

.hero {
    margin-top: 25px; 
}

/* ============================================
   FOOTER STYLING - Professional Layout
   ============================================ */
footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h4 {
    color: var(--color-accent);
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

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

/* Footer Brand Section */
.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    /* filter: brightness(0) invert(1); */
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.6;
}

/* Footer Contact Section */
.footer-contact ul,
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 12px;
}

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

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--color-accent);
}

.footer-icon {
    margin-right: 10px;
    color: var(--color-accent);
}

/* Footer Company Section */
.footer-company p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-org {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Footer Bottom - Copyright */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-logo {
        margin: 0 auto 15px;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

/* ============================================
   END FOOTER STYLING
   ============================================ */

/* Konteiner for slideren */    .tekst-boks {
        max-width: 90%; /* Reduce max-width for better readability on mobile */
        font-size: 1.2em; /* Adjust font size for mobile */
        padding: 15px; /* Adjust padding for mobile */
    }

    /* .overlay-text { */
        /* top: 70%; Sentraliser vertikalt */
        /* left: 50%; Sentraliser horisontalt */
        /* transform: translate(-50%, -50%); Juster for nøyaktig sentrering */
        /* font-size: 5px; Juster fontstørrelsen for mindre skjermer */
        /* width: 60%; Reduser bredde for å unngå at teksten flyter utenfor skjermen */
        /* padding: 15px; Juster padding for mindre skjermer */
        /* text-align: center; Sentraliser teksten */
    /* } */
/* } */

/* Konteiner for slideren */
/* .slider {
    position: relative;
    width: 80%; /* Juster bredden */
    /* max-width: 100%; */
    /* margin: 0 auto; */
    /* margin-top: 50px; Legg til litt plass over slideren */
    /* overflow: hidden; Skjuler innhold som er utenfor sliderområdet */
    /* border-radius: 10px; */
    /* height: 750px; */
    /* display: flex; */
    /* align-items: center; Vertikalt midtstiller slideren */
    /* justify-content: center; Horisontalt midtstiller slideren */
  /* } */ 
  
  
  /* Navigasjonsknapper */
  /* button.prev,
  button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
  }
  
  button.prev {
    left: 10px;
  }
  
  button.next {
    right: 10px;
  }
  
  button:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  .overskrift {
    color: #ffffff;
    text-align: center;
    font-size: 2em;
    margin-top: 20px;
    background-color: #472714;
  } */

section .img1 {
    display: flex; /* Change to flex to align items side by side */
    justify-content: center; /* Center align the items */
    flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
}

section .img1 .img-item {
    margin: 10px; /* Add some space between items */
    flex: 1 1 300px; /* Allow items to grow and shrink, with a base width of 300px */
    max-width: 300px; /* Set a maximum width for each item */
    display: flex; /* Use flexbox to center the image inside the item */
    align-items: center; /* Center the image vertically */
    justify-content: center; /* Center the image horizontally */
    height: 600px; /* Increased height for img1 items */
}

section .img1 .img-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    /* transition: transform 0.4s ease, box-shadow 0.4s ease; */
}

/* section .img1 .img-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
} */

section .img1 img {
    width: 100%;
    max-width: 800px;
    height: auto;
    /* border-radius: 10px; */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}
section .img1 .img-item1 {
    flex: 1 1 200px; /* Adjust the base width to 200px */
    max-width: 210px; /* Set a maximum width of 200px */
    height: 400px; /* Adjust the height to 400px */
}

section .img1 .img-item2 {
    flex: 1 1 200px; /* Adjust the base width to 200px */
    max-width: 210px; /* Set a maximum width of 200px */
    height: 400px; /* Adjust the height to 400px */
}

section .img1 .img-item3 {
    flex: 1 1 200px; /* Adjust the base width to 200px */
    max-width: 335px; /* Set a maximum width of 200px */
    height: 400px; /* Adjust the height to 400px */
}

section .img1 .img-item1,
section .img1 .img-item2,
section .img1 .img-item3 {
    margin: 50px; /* Increase the margin to 30px */
}

section .img2 {
    display: flex; /* Change to flex to align items side by side */
    justify-content: center; /* Center align the items */
    flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
}

section .img2 .img-item {
    margin: 30px; /* Add some space between items */
    flex: 1 1 300px; /* Allow items to grow and shrink, with a base width of 300px */
    max-width: 300px; /* Set a maximum width for each item */
    display: flex; /* Use flexbox to center the image inside the item */
    align-items: center; /* Center the image vertically */
    justify-content: center; /* Center the image horizontally */
    height: 300px; /* Set a fixed height for each item */
}

section .img2 .img-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    /* transition: transform 0.4s ease, box-shadow 0.4s ease; */
}

section .img2 .img-item:hover img {
    transform: scale(1.05);
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); */
}

section .img2 img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}
.forsidebilde {
    position: relative; /* Sørger for at .overlay-text er posisjonert relativt til dette elementet */
    display: flex; /* Add flexbox to center the image */
    justify-content: center; /* Center the image horizontally */
}

.hjemBilde {
    margin-top: 50px;
    width: 80%;
    height: auto;
    max-height: 900px; /* Juster høyden etter behov */
    object-fit: cover;
    border-radius: 5px; /* Valgfritt: runde hjørner */
    opacity: 0.9; /* Gjør bildet litt transparent */
    display: block; /* Ensure the image is a block element */
    margin-left: auto; /* Center the image horizontally */
    margin-right: auto; /* Center the image horizontally */
}

.overlay-text {
    position: absolute; /* Plasser teksten absolutt inne i .images-container */
    bottom: 70px; /* Plasser teksten nederst */
    left: 40%; /* Sentraliser horisontalt */
    transform: translateX(-30%); /* Juster for nøyaktig sentrering */
    color: rgb(47, 41, 37); /* Tekstfarge */
    background-color: rgba(248, 245, 206, 0.406); /* Semi-transparent bakgrunn */
    padding: 20px; /* Avstand rundt teksten */
    border-radius: 5px; /* Runde hjørner */
    text-align: center; /* Sentraliser tekst */
    font-size: 40px;
    font-family: 'PT Sans', sans-serif; /* Font */
    font-weight: bold; /* Gjør teksten fet */
    display: flex; /* Bruk flexbox for innholdsalignering */
    flex-direction: column; /* Stable barna vertikalt */
    align-items: center; /* Sentraliser barna horisontalt */
    font-style: italic; 
}

@media (max-width: 768px) {
    .overlay-text {
        bottom: 10px; /* Plasser teksten nærmere bunnen */
        left: 50%; /* Sentraliser horisontalt */
        transform: translateX(-50%); /* Juster for nøyaktig sentrering */
        font-size: 1em; /* Juster fontstørrelsen for mindre skjermer */
        width: 70%; /* Reduser bredde for å unngå at teksten flyter utenfor skjermen */
        padding: 10px; /* Juster padding for mindre skjermer */
    }
}

.tekst-boks {
    background-color: var(--color-section);
    color: var(--color-text);
    padding: 40px 50px;
    border-radius: 12px;
    margin: 80px auto;
    max-width: 60%;
    text-align: left;
    font-size: 1.3em;
    font-family: 'Lato', sans-serif;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    line-height: 1.8;
}

@media (max-width: 768px) {
    .tekst-boks {
        max-width: 90%; /* Increase max-width for better readability on mobile */
        font-size: 1.2em; /* Adjust font size for mobile */
        padding: 15px; /* Adjust padding for mobile */
    }
}

.tekst-boks h2 {
    color: var(--color-primary);
    font-size: 2em;
    margin-bottom: 20px;
    position: relative;
}

.tekst-boks h2::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 4px;
    background-color: var(--color-accent);
    bottom: -5px;
    left: 0;
}

/* Litt om kaffen side */
.litt-om {
    background-color: var(--color-section);
    color: var(--color-text);
    padding: 20px;
    border-radius: 10px;
    margin: 50px auto;
    max-width: 50%;
    text-align: left;
    font-size: 1.5em;
    font-family: 'Lato', sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .litt-om {
        max-width: 90%; /* Increase max-width for better readability on mobile */
        font-size: 1.2em; /* Adjust font size for mobile */
        padding: 15px; /* Adjust padding for mobile */
    }
}

.litt-om h2 {
    color: var(--color-primary);
    font-size: 2em;
    margin-bottom: 20px;
    position: relative;
}

.litt-om h2::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 4px;
    background-color: var(--color-accent);
    bottom: -5px;
    left: 0;
}

/* ============================================
   FADE-IN ANIMASJONER (Forslag 8)
   Bruker .js-loaded klasse for å sikre at innhold vises uten JavaScript
   ============================================ */
.js-loaded .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .fade-in.visible,
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in fra venstre */
.js-loaded .fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .fade-in-left.visible,
.fade-in-left {
    opacity: 1;
    transform: translateX(0);
}

/* Fade-in fra høyre */
.js-loaded .fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .fade-in-right.visible,
.fade-in-right {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   BACK-TO-TOP KNAPP (Forslag 10)
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive back-to-top */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* ============================================
   PAGE CONTENT - Generelle sider (omkaffen, etc.)
   ============================================ */
.page-content {
    margin-top: 60px;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 300px;
    max-height: 450px;
    height: 50vh;
    min-height: 300px;
    max-height: 450px;
    overflow: hidden;
}

/* Mindre hero for midtseksjonen */
.arara-hero-mid {
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
}

.arara-hero-mid .arara-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(44, 24, 16, 0.1) 0%,
        rgba(44, 24, 16, 0.3) 100%
    );
}

/* Mindre hero for midtseksjonen */
.arara-hero-mid {
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
}

.arara-hero-mid .arara-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(44, 24, 16, 0.1) 0%,
        rgba(44, 24, 16, 0.3) 100%
    );
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 24, 16, 0.3) 0%,
        rgba(44, 24, 16, 0.6) 100%
    );
}

.page-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 10;
}

.page-hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-tagline {
    font-size: 1.2rem;
    font-style: italic;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Content Sections */
.content-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Arara Institute Logo */
.arara-logo-block {
    text-align: center;
    margin-bottom: 40px;
}

.arara-institute-logo {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

/* Arara CTA Solid (uten bakgrunnsbilde) */
.arara-cta-solid {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a0f0a 100%);
}

.arara-cta-solid::before {
    display: none;
}

/* ============================================
   ARARA PAGE - Komplett styling
   ============================================ */
.arara-page {
    margin-top: 60px;
}

/* Arara Hero */
.arara-hero {
    position: relative;
    height: 50vh;
    min-height: 300px;
    max-height: 450px;
    overflow: hidden;
}

.arara-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.arara-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 24, 16, 0.3) 0%,
        rgba(44, 24, 16, 0.6) 100%
    );
}

.arara-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 10;
}

.arara-hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.arara-tagline {
    font-size: 1.2rem;
    font-style: italic;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Arara Sections */
.arara-intro,
.arara-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.arara-section.alt-bg {
    background-color: var(--color-section);
    max-width: 100%;
    padding: 80px 20px;
}

.arara-section.alt-bg > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Arara Text Block */
.arara-text-block {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.arara-text-block h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.arara-text-block h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.arara-text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-top: 30px;
}

/* Arara Image Grid */
.arara-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.arara-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.arara-image-card {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Arara CTA Content styling */
.arara-cta-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.arara-cta-content p {
    font-size: 1.1rem;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Responsive Arara */
@media (max-width: 768px) {
    .arara-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .arara-hero-content h1 {
        font-size: 2rem;
    }
    
    .arara-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .arara-grid.three-col {
        grid-template-columns: 1fr;
    }
    
    .arara-text-block h2 {
        font-size: 1.8rem;
    }
    
    .arara-cta-content h2 {
        font-size: 2rem;
    }
}

.content-section.alt-bg {
    background-color: var(--color-section);
    max-width: 100%;
}

.content-section.alt-bg > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Text Block */
.text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.text-block h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.text-block h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-top: 30px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.arara-image-card img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.arara-image-card:hover img {
    transform: scale(1.05);
}

/* Arara Feature Image */
.arara-feature {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.arara-feature img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Arara CTA Section */
.arara-cta {
    position: relative;
    min-height: 300px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.arara-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    image-rendering: -webkit-optimize-contrast;
}

.arara-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 24, 16, 0.7);
    z-index: 2;
}

.arara-cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.arara-cta-image {
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.arara-cta-image {
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Responsive - Page Content */
@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .text-block h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* ============================================
   PAGE CONTENT - Generelle sider (omkaffen, etc.)
   ============================================ */
.page-content {
    margin-top: 60px;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 300px;
    max-height: 450px;
    overflow: hidden;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 24, 16, 0.3) 0%,
        rgba(44, 24, 16, 0.6) 100%
    );
}

.page-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 10;
}

.page-hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-tagline {
    font-size: 1.2rem;
    font-style: italic;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Content Sections */
.content-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section.alt-bg {
    background-color: var(--color-section);
    max-width: 100%;
}

.content-section.alt-bg > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Text Block */
.text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.text-block h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.text-block h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-top: 30px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Page CTA */
.page-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a0f0a 100%);
    padding: 80px 20px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Responsive - Page Content */
@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .text-block h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}