/* --- CINZEL --- */
@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/cinzel-v26-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/cinzel-v26-latin-600.woff2') format('woff2');
}


/* --- MONTSERRAT --- */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/montserrat-v31-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/montserrat-v31-latin-600.woff2') format('woff2');
}


/* --- GREAT VIBES --- */
@font-face {
    font-family: 'Great Vibes';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/great-vibes-v21-latin-regular.woff2') format('woff2');
}

*{
    margin: 0;
    border: 0;
    box-sizing: border-box;
}
body{
    background-color: #f7f5f2;
    font-family: 'Montserrat', sans-serif;
    padding-top: 100px;
}

.header-element{
    position: fixed;
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
    height: 100px;
    width: 100%;
    padding: 0 40px;
    background-color: rgba(26, 26, 26, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-element.scrolled {
    height: 70px; /* Shrinks the header height slightly for a compact look */
    background-color: rgba(15, 15, 15, 0.95); /* Hardens to an almost solid, darker black */
    
    /* Frosted glass effect (very popular in professional premium web design) */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    
    /* Sharp drop shadow to separate it from the content moving underneath */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); 
}

/* Shrink the logo size slightly on scroll to match the tighter header */
.header-element.scrolled .logo img {
    height: 45px;
}

.logo{
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo img{
    height: 90px; /* Give the image an exact height smaller than the 90px header */
    width: auto; /* Keeps the logo aspect ratio intact */
    border-radius: 50px;
    margin-right: 15px;
    object-fit: contain;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo h2 {
    font-size: 26px;
    font-family: 'Cinzel', serif;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.9px;
    white-space: nowrap; /* Prevents text from breaking into two lines */
}

.navigation{
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;

}

.navigation nav ul {
    display: flex; /* Flexbox replaces outdated float: left */
    list-style-type: none;
    gap: 40px; /* Easily control spacing between links */
}
.navigation nav ul li a {
    display: block;
    background: linear-gradient(90deg,rgb(142, 107, 14) 0%, rgba(235, 209, 151, 1) 48%, rgb(158, 122, 31) 100%);;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ff416c; 
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease; /* Smooth hover transition */
    white-space: nowrap;
    letter-spacing: 0.9px;
    transition: transform 0.3s ease, filter 0.3s ease; 
    will-change: transform;
}

.navigation nav ul li a:hover{
background: linear-gradient(180deg,rgba(180, 136, 17, 1) 0%, rgba(235, 209, 151, 1) 48%, rgba(187, 155, 73, 1) 100%);;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: #ff416c; 
transform: translateY(-4px); 
    filter: brightness(1.4) drop-shadow(0px 4px 8px rgba(235, 209, 151, 0.4));
}

.hero-banner {
    position: relative; /* Nødvendig for å plassere overlayen på toppen */
    width: 100%;
    height: 480px; /* Gitt litt mer høyde på PC for et mer eksklusivt "magasin"-inntrykk */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background-color: #151515; /* Fallback-farge mens bildet laster */
}

/* Det mørke sløret som smelter bildet sammen med headeren */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lager en svak skygge øverst (mot headeren) og nederst for dybde */
    background: linear-gradient(to bottom, 
        rgba(15, 15, 15, 0.6) 0%, 
        rgba(0, 0, 0, 0) 25%, 
        rgba(0, 0, 0, 0) 80%, 
        rgba(21, 21, 21, 0.4) 100%
    );
    z-index: 2;
    pointer-events: none; /* Gjør at man kan "klikke igjennom" sløret om nødvendig */
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Siden biffene ligger perfekt på en horisontal linje i midten */
    display: block;
    z-index: 1;
}

/* --- HOVEDCONTAINER --- */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

/* --- INTRO-SEKSJON --- */
.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto; /* Skaper solid avstand ned til kortene */
}

#kursiv {
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
    color: #4a4439; 
    letter-spacing: 1px; 
    margin-bottom: 10px;
    display: block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-heading {
    font-family: 'Cinzel', serif;
    font-size: 38px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-paragraph {
    font-size: 18px;
    color: #555555;
    line-height: 1.7;
    font-weight: 400;
}

/* --- TJENESTE-KORT (GRID) --- */
.services-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.service-card {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 40px 30px;
    flex: 1;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Elegant sveveeffekt på kortene */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(235, 209, 151, 0.4); /* Subtil gullkant ved hover */
}

.card-icon {
    font-size: 32px;
    color: #ebd197; /* Gull på ikonene */
    background-color: #151515; /* Svart sirkel rundt ikonene for kontrast */
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; /* Sørger for at knappene alltid flukter perfekt på bunnen */
}

/* --- KNAPPER (CTA) --- */
.main-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #151515;
    color: #ebd197;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 2px solid #151515;
    transition: all 0.3s ease;
}

.main-cta-btn:hover {
    background-color: #ebd197;
    color: #151515;
    border-color: #ebd197;
}

/* Stil for knapp nummer to (Outline-versjon for visuelt hierarki) */
.main-cta-btn.outline {
    background-color: transparent;
    color: #151515;
    border: 2px solid #151515;
}

.main-cta-btn.outline:hover {
    background-color: #151515;
    color: #ebd197;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -150px; /* Starts hidden off-screen for a smooth slide-up effect */
    left: 0;
    width: 100%;
    background-color: rgba(21, 21, 21, 0.98); /* Matches your deep black footer */
    border-top: 2px solid #ebd197; /* Elegant gold top border */
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    z-index: 99999; /* Ensures it stays on top of headers, footers, and maps */
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Premium feeling slide-in */
    padding: 20px 0;
}

/* Becomes active via JavaScript */
.cookie-banner.show {
    bottom: 0;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: #ebd197;
    text-decoration: none;
    border-bottom: 1px dashed rgba(235, 209, 151, 0.5);
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: white;
    border-bottom-color: white;
}

/* Adjusting your existing CTA button styles slightly for the cookie banner context */
.cookie-btn {
    padding: 10px 25px;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0; /* Prevents button text from wrapping on smaller desktops */
}


/* --- MOBILSTYLING --- */
@media (max-width: 768px) {
    .main-heading {
        font-size: 28px;
    }
    
    .services-grid {
        flex-direction: column; /* Stabler kortene vertikalt på mobil */
        align-items: center;
        gap: 30px;
    }
    
    .service-card {
        width: 100%;
    }
    .cookie-banner {
        padding: 20px;
    }
    
    .cookie-container {
        flex-direction: column; /* Stack text and button vertically on mobile */
        text-align: center;
        gap: 15px;
        padding: 0;
    }
    
    .cookie-btn {
        width: 100%; /* Full-width button on mobile for easier thumb tapping */
    }
}

/* --- Produktside --- */

.product-menu {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.menu-note {
    font-size: 14px;
    color: #888888; /* A subtle grey that doesn't distract */
    font-style: italic;
    margin-top: 10px;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}
.menu-note-badge{
    color: #c5a049; /* Dark gold color for high contrast against light background */
    font-size: 15px;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 0;
    border-top: 1px solid rgba(235, 209, 151, 0.4);
    border-bottom: 1px solid rgba(235, 209, 151, 0.4);
    display: inline-block;
}

.intro-paragraph {
    font-size: 18px;
    color: #555555;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 20px; /* This handles the spacing automatically */
}

.store-notice {
    background-color: rgba(235, 209, 151, 0.1); /* Very subtle gold tint */
    border-left: 3px solid #ebd197;
    padding: 15px 20px;
    margin: 25px 0;
    font-family: 'Cinzel', serif;
    color: #1a1a1a;
    font-style: italic;
}

.location-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: 1px solid #ebd197;
    color: #ebd197;
    padding: 10px 25px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: #ebd197;
    color: #151515;
}

.category-header {
    margin-top: 40px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ebd197; /* This replaces the hr tag */
    display: flex;
    justify-content: center;
}

.category-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: #ebd197; /* Matching your gold theme */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-type h3{
    font-family: 'Cinzel', serif;
    font-size: 25px;
    color: #1a1a1a;
    font-weight: 600;
    text-align: center;

}


.product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(235, 209, 151, 0.2);
    padding: 20px 0;
}

.product-row h4 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 600;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Made it bolder for better readability */
    color: #c5a049; /* Slightly darker gold for better contrast against #f7f5f2 */
    font-size: 18px;
    text-shadow: 0 0 1px rgba(0,0,0,0.1); /* Added subtle shadow for crispness */
}

/* New class to style the "/kg" part specifically */
.price-unit {
    font-size: 13px; /* Slightly smaller to create visual hierarchy */
    font-weight: 500;
    color: #666666; /* Grey color to differentiate from the price digits */
    margin-left: 2px;
}

/* --- Avansert Produkt-rad (for pakker/størrelser) --- */

.advanced-row {
    align-items: flex-start; /* Aligns items to the top instead of center */
}

/* crucial: forces the details container to take up full width so prices snap to the right */
.advanced-row .product-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-ingredients {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #777777;
    margin: 2px 0 6px 0;
}

/* Container for all the pack rows */
.pack-options-wrapper {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* The magic row that aligns the specific size (left) and specific price (right) perfectly */
.pack-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.pack-size {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #444444;
    font-weight: 500;
}

/* Modifies your existing price design slightly for the smaller pack options */
.small-price {
    font-size: 15px;
    font-weight: 600;
}

/* --- KONTAKTSIDE CONTAINERE --- */
.contact-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

.contact-hero {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.contact-head {
    font-family: 'Cinzel', serif;
    font-size: 34px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-sub {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

/* To-kolonners oppsett for innholdet */
.contact-container {
    display: flex;
    gap: 30px;
    width: 100%;
}

/* Venstre side: pakker inn begge kortene */
.contact-cards-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Tettere avstand mellom de to boksene */
}

/* Felles stil for informasjonskortene */
.contact-info-card {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 25px; /* Ned fra 35px for å gjøre boksene mindre */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.contact-info-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 2px solid #ebd197; /* Elegant gullstrek under kort-tittelen */
    padding-bottom: 10px;
    width: fit-content;
}

/* Rader med ikon + tekst */
.info-row {
    display: flex;
    align-items: center; /* Sentrerer ikonet vertikalt med teksten for et renere uttrykk */
    gap: 15px;
    margin-bottom: 15px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row i {
    font-size: 16px; /* Ned fra 20px */
    color: #ebd197;
    background-color: #1a1a1a;
    width: 38px;  /* Krympet sirkelstørrelse */
    height: 38px; /* Krympet sirkelstørrelse */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-row strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #777777;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-row p, .info-row a {
    font-size: 16px;
    color: #1a1a1a;
    text-decoration: none;
}

.contact-link {
    font-weight: 500;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #ebd197;
    border-bottom-color: #ebd197;
}

/* ÅPNINGSTIDER STYLING */
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 16px;
    color: #333333;
}

.hours-row:last-of-type {
    border-bottom: none;
}

.hours-row .closed {
    color: #c94c4c;
    font-weight: 600;
}

.hours-note {
    font-size: 13px;
    color: #666666;
    font-style: italic;
    margin-top: 15px;
    line-height: 1.4;
}

/* --- HØYRE SIDE: KART CONTAINER --- */
.map-container {
    flex: 1.2;
    min-height: 380px; /* Ned fra 450px så kartet matcher den nye, lavere høyden til tekstboksene */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a; /* Mørk, lekker bakgrunn som matcher temaet */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    text-align: center;
    z-index: 10;
    transition: opacity 0.4s ease;
}

.map-overlay i {
    font-size: 40px;
    color: #ebd197;
}

.map-overlay p {
    color: #ffffff;
    font-size: 15px;
    max-width: 280px;
    line-height: 1.5;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- MOBILSTYLING (RESPONSIVITET) --- */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column; /* Stabler kartet under infoen på mindre skjermer */
        gap: 25px;
    }
    
    .map-container {
        height: 320px; /* Setter en fast, fin høyde på mobilkartet */
        min-height: auto;
    }
    
    .contact-head {
        font-size: 28px;
    }
}

/* --- PERSONVERN/GDPR-SIDE STYLING --- */
.privacy-page {
    max-width: 800px; /* Gjør tekstlinjene kortere og mer behagelige å lese */
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

.privacy-container {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 50px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.privacy-heading {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 5px;
}

.privacy-date {
    font-size: 13px;
    color: #888888;
    font-style: italic;
    margin-bottom: 25px;
}

.privacy-lead {
    font-size: 16px;
    color: #4a4439;
    line-height: 1.7;
    font-weight: 500;
}

.privacy-divider {
    border: 0;
    height: 1px;
    background-color: #ebd197; /* Subtil gull-linje som skillevegg */
    margin: 30px 0;
    opacity: 0.5;
}

.privacy-section {
    margin-bottom: 35px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.privacy-section p {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.privacy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-section li {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.privacy-section a {
    color: #1a1a1a;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed #ebd197;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #ebd197;
}

/* --- MOBILRESPONSIVITET FOR PERSONVERN --- */
@media (max-width: 768px) {
    .privacy-page {
        padding: 30px 15px;
    }
    
    .privacy-container {
        padding: 30px 20px;
    }
    
    .privacy-heading {
        font-size: 28px;
    }
}


/* --- OVERORDNET FOOTER-STIL --- */
footer {
    background-color: #151515; /* Lekker, mørk bunnfarge */
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 60px; /* Gir luft mellom innholdet på siden og footeren */
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px; /* Holder innholdet sentrert og samlet på store PC-skjermer */
    margin: 0 auto;
    width: 100%;
    padding: 60px 40px;
}

/* Felles stil for alle de tre overskriftene i footeren */
.footer-column h3 {
    color: #ebd197; /* Merkevare-gull */
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* STYLING FOR HVER ENKELT KOLONNE */

/* Kolonne 1: Om bedriften */
.footer-about {
    flex: 1.2; /* Gir denne kolonnen bittelitt mer plass til tekst */
}
.footer-about p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 16px;
}

/* Kolonne 2: Kontakt */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.contact-row {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #cccccc;
}
.contact-label {
    font-weight: 600;
    color: #ebd197;
    width: 75px; /* Magisk usynlig kolonnejustering */
    flex-shrink: 0;
}
.footer-contact a {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}
.footer-contact a[href^="tel:"] {
    font-weight: 500;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
}
.footer-contact a:hover {
    color: #ebd197;
    border-bottom-color: #ebd197;
    transform: translateX(3px);
}

/* Kolonne 3: Sosiale Medier */
.footer-social {
    flex: 1;
}
.social-media {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.social-media p {
    color: #cccccc;
    font-size: 16px;
}
.social-media a {
    text-decoration: none;
    color: #ebd197;
    font-size: 36px;
    width: fit-content;
    transition: transform 0.3s ease, filter 0.3s ease;
    will-change: transform;
}
.social-media a:hover {
    transform: translateY(-3px);
    filter: brightness(1.3) drop-shadow(0px 4px 8px rgba(235, 209, 151, 0.3));
}

/* --- SIGNATURLINJEN HELT PÅ BUNNEN --- */
.footer-signature {
    width: 100%;
    background-color: #0d0d0d; /* Enda litt mørkere for skikkelig kontrast */
    padding: 20px 40px;
    text-align: center;
    font-size: 14px;
    color: #777777;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-signature a {
    color: #ebd197;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-signature a:hover {
    color: white;
}

/* --- MOBILSTYLING (RESPONSIVITET) --- */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column; /* Stabler kolonnene vertikalt på mobil */
        text-align: center;     /* Sentrerer teksten for et ryddig mobilutseende */
        gap: 40px;
        padding: 40px 20px;
    }

    /* Sentrerer kontaktradene på mobil */
    .contact-row {
        justify-content: center;
    }

    /* Sentrerer Facebook-ikonet på mobil */
    .social-media {
        align-items: center;
    }
}


/* Mobile screen*/
.menu-btn { display: none; }

@media (max-width: 768px) {

    body {
        padding-top: 70px; 
    }

    .header-element {
        height: 70px;       
        padding: 0 20px;    
    }
    
    .header-element.scrolled {
        height: 70px; 
    }

    /* ... resten av mobil-CSS-en din fortsetter uendret herfra ... */
    .logo img {
        height: 45px; 
        margin-right: 10px;
    }


.logo h2 {
    letter-spacing: 0.5px; 
    font-size: 16px;
}

    .menu-btn {
        display: block;
        background: none;
        color: #ebd197; /* Matches your gold theme */
        font-size: 32px;
        cursor: pointer;
    }

    /* Transform the horizontal list into a hidden vertical dropdown stack */
    .navigation nav ul {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%; 
        right: 0;
        width: max-content;
        min-width: 240px;        
        max-width: 90vw;
        background-color: rgba(15, 15, 15, 0.98); /* Litt mer ugjennomsiktig på mobil */
        gap: 0;
        padding: 10px 0;
        box-shadow: -5px 10px 15px rgba(0,0,0,0.3);
        align-items: flex-end;
    }

    /* Show the menu when the .open class is triggered */
    .navigation nav ul.open {
        display: flex;
        
    }

    /* Expand hitting areas for links on mobile screens */
    .navigation ul li a {
        padding: 15px 30px;
        width: 100%;
        text-align: right;
        padding: 15px 40px 15px 20px; 
        width: 100%;
        
    }
    .hero-banner {
        height: 300px; /* Krymper høyden på mobil så bildet ikke tar hele skjermen */
    }
}

/* --- TJENESTER / SERVICES GRID --- */
.services-section, 
.process-section, 
.portfolio-section {
    max-width: 900px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    /* This automatically creates columns that fit the screen, down to 250px wide */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background: rgba(255, 255, 255, 0.02); /* Very subtle transparent grey/white box */
    border: 1px solid rgba(235, 209, 151, 0.1); /* Faint gold border */
    padding: 40px 30px;
    border-radius: 6px;
    text-align: center;
    transition: all 0.4s ease;
}

.service-box:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(235, 209, 151, 0.5); /* Border glows gold on hover */
    transform: translateY(-5px); /* Floating effect */
}

.service-box i {
    color: #ebd197; /* Gold icons */
    font-size: 36px;
    margin-bottom: 20px;
}

.service-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #aaaaaa;
}

/* --- PROSESSEN / PROCESS STEPS --- */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    text-align: left; /* Left align looks more like a structured process */
}

.step {
    flex: 1;
    position: relative;
    background: rgba(20, 20, 20, 0.6);
    padding: 35px 30px;
    border-top: 2px solid #ebd197; /* Gold line on top representing the timeline */
}

.step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    color: rgba(235, 209, 151, 0.15); /* Large, faded gold number in the background */
    position: absolute;
    top: 10px;
    right: 20px;
    font-weight: 600;
    line-height: 1;
}

.step h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2; /* Keeps text above the faded number */
}

.step p {
    font-size: 15px;
    line-height: 1.7;
    color: #aaaaaa;
    position: relative;
    z-index: 2;
}

/* --- PORTFOLIO / PREVIOUS WORK --- */
.portfolio-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 100%);
    border-left: 3px solid #ebd197;
    padding: 40px;
    text-align: left;
    margin-top: 30px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateX(5px); /* Slides slightly to the right on hover */
}

.portfolio-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.portfolio-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #cccccc;
    margin: 0;
}

/* --- MOBILSTYLING (OPPDATERING FOR NYE ELEMENTER) --- */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column; /* Stacks the process steps on mobile */
        gap: 20px;
    }
    
    .step {
        border-top: none;
        border-left: 2px solid #ebd197; /* Changes timeline line to the left side on mobile */
        padding: 25px 20px;
    }
    
    .portfolio-item {
        padding: 25px 20px;
    }
}