* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-cream: #FAF8F5;
    --bg-wood: #F5EDE4;
    --bg-dark: #2C2418;
    --text-dark: #2C2418;
    --text-body: #5C5142;
    --text-light: #8C8274;
    --accent: #A67C52;
    --accent-dark: #8B6842;
    --accent-light: #C9A87C;
    --border: #E5DDD3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--bg-cream);
    color: var(--text-body);
    line-height: 1.7;
}

/* Wood grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: white;
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: url('../assets/images/asset-10.webp') center/cover;
}

.hero-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg-cream) 0%, rgba(250,248,245,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-wood);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    letter-spacing: 0.05em;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-warm {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-warm:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-feature {
    text-align: center;
}

.hero-feature strong {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
    display: block;
}

.hero-feature span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Section styling */
section {
    padding: 6rem 5rem;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-tag::before,
.section-tag::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent-light);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-body);
    font-size: 1.1rem;
}

/* Tjenester */
#tjenester {
    background: var(--bg-wood);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(44, 36, 24, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Produkter */
#produkter {
    background: var(--bg-cream);
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(44, 36, 24, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.product-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Offshore */
#offshore {
    background: var(--bg-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.offshore-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.offshore-content .section-tag {
    color: var(--accent-light);
}

.offshore-content .section-tag::before,
.offshore-content .section-tag::after {
    background: var(--accent-light);
}

.offshore-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.offshore-content h2 em {
    font-style: italic;
    color: var(--accent-light);
}

.offshore-content > p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.offshore-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.offshore-highlight {
    flex: 1;
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.offshore-highlight strong {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--accent-light);
    display: block;
    margin-bottom: 0.25rem;
}

.offshore-highlight span {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.offshore-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.offshore-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.offshore-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Isolaft */
#isolaft {
    background: linear-gradient(135deg, var(--bg-wood) 0%, var(--bg-cream) 100%);
}

.isolaft-banner {
    background: white;
    border-radius: 30px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 20px 60px rgba(44, 36, 24, 0.08);
}

.isolaft-content .section-tag {
    justify-content: flex-start;
}

.isolaft-content .section-tag::before {
    display: none;
}

.isolaft-logo {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.isolaft-content p {
    color: var(--text-body);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.isolaft-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.isolaft-link:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.isolaft-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.isolaft-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-wood) 0%, var(--border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.isolaft-circle-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent);
    text-align: center;
    padding: 1rem;
}

/* Om oss */
#om-oss {
    background: var(--bg-cream);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

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

.about-gallery img {
    width: 100%;
    border-radius: 15px;
}

.about-gallery img:first-child {
    grid-column: span 2;
    height: 300px;
    object-fit: cover;
}

.about-gallery img:not(:first-child) {
    height: 200px;
    object-fit: cover;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content > p {
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.about-fact {
    background: var(--bg-wood);
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-fact-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-fact-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.about-fact span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Kontakt */
#kontakt {
    background: var(--bg-wood);
}

.contact-wrapper {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 20px 60px rgba(44, 36, 24, 0.08);
}

.contact-info {
    padding: 4rem;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-method h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-method p,
.contact-method a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-method a:hover {
    color: var(--accent);
}

.contact-image {
    position: relative;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-image-badge strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: block;
}

.contact-image-badge span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo svg {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

footer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-light);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
    nav, section, footer {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .hero {
        padding: 8rem 3rem 4rem;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 10rem;
        padding-bottom: 4rem;
    }

    .hero-bg-image {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 3rem;
    }

    .hero-bg-image::before {
        background: linear-gradient(0deg, var(--bg-cream) 0%, transparent 50%);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .offshore-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .isolaft-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .isolaft-content .section-tag {
        justify-content: center;
    }

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

    .contact-image {
        height: 300px;
    }
}

@media (max-width: 640px) {
    nav, section, footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

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

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .offshore-highlights {
        flex-direction: column;
        gap: 1rem;
    }

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

    .about-gallery img:first-child {
        grid-column: 1;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .isolaft-banner {
        padding: 2rem;
    }

    .isolaft-circle {
        width: 200px;
        height: 200px;
    }

    .isolaft-circle-inner {
        width: 140px;
        height: 140px;
        font-size: 1rem;
    }

    .contact-info {
        padding: 2rem;
    }
}

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: var(--bg-dark);
    padding: 1.5rem 5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

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

.cookie-content p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--accent);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--accent-dark);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-decline:hover {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
