/* Kjøkkenbedrift styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    background-color: #f3eee7;
    color: #383838;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    color: #1a1a1a;
}

/* Top Navigation */
.top-nav {
    background-color: #e8e4dd;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #1a1a1a;
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #383838;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1a1a1a;
}

.nav-cta {
    background-color: transparent;
    color: #1a1a1a;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #1a1a1a;
    color: #f3eee7;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #383838;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
}

.hero-cta {
    display: inline-block;
    background-color: #1a1a1a;
    color: #f3eee7;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    border-radius: 0;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.hero-cta:hover {
    background-color: #383838;
}

.hero-social-proof {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #383838;
    letter-spacing: 0.05em;
}

.hero-image {
    height: calc(100vh - 92px);
    overflow: hidden;
    transform: translateX(-10px);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px 0 0 3px;
}

/* Showcase Section */
.showcase {
    padding: 6rem 4rem;
    min-height: 100vh;
}

.showcase-header {
    margin-bottom: 3rem;
}

.showcase-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.showcase-subtitle {
    font-size: 0.95rem;
    color: #383838;
}

.showcase-content {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

/* Left Pills (completed transitions) */
.left-pills {
    display: flex;
    gap: 0.5rem;
}

.left-pills:empty {
    display: none;
}

.left-pill {
    width: 80px;
    background-color: #e8e4dd;
    border-radius: 3px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.showcase-card {
    flex: 1.5;
    background-color: #e8e4dd;
    border-radius: 3px;
    padding: 1.5rem;
}

.showcase-card-image {
    width: 100%;
    height: 500px;
    background-color: #d5d0c9;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.showcase-card-text {
    font-size: 0.9rem;
    color: #383838;
    line-height: 1.6;
}

.showcase-pills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.showcase-pills {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.pill {
    width: 80px;
    background-color: #e8e4dd;
    border-radius: 3px;
}

.showcase-lines {
    display: flex;
    gap: 0.5rem;
}

.line {
    width: 80px;
    height: 4px;
    background-color: #e8e4dd;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.line-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: width 0.05s linear;
}

.line.complete .line-progress {
    width: 100%;
}

.line.hidden {
    display: none;
}

.pill.hidden {
    display: none;
}


/* Gallery Section */
.gallery-section {
    padding: 4rem;
    min-height: 100vh;
}

.gallery-header {
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #383838;
    margin-bottom: 2rem;
}

.gallery-content {
    display: grid;
    grid-template-columns: 250px 1fr 120px;
    gap: 1rem;
    height: 70vh;
}

.gallery-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-text {
    padding: 1rem 0;
}

.gallery-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #383838;
}

.gallery-info-box {
    background-color: #e8e4dd;
    padding: 1.5rem;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.gallery-info-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #383838;
    text-transform: uppercase;
}

.gallery-info-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a1a;
}

.gallery-info-color {
    font-size: 0.85rem;
    color: #383838;
}

.gallery-main-image {
    background-color: #e8e4dd;
    border-radius: 3px;
    overflow: hidden;
}

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

.gallery-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.gallery-preview-image {
    flex: 1;
    width: 100%;
    background-color: #e8e4dd;
    border-radius: 3px;
    overflow: hidden;
    opacity: 0.6;
}

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

.gallery-next {
    width: 40px;
    height: 40px;
    border: 1px solid #1a1a1a;
    background: transparent;
    border-radius: 0;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-next:hover {
    background-color: #1a1a1a;
    color: #f3eee7;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d5d0c9;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #1a1a1a;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 0.75rem 1.25rem 2rem 0.75rem;
        order: 2;
        display: flex;
        flex-direction: column;
    }

    /* Trust signal - dokumentasjon, ikke markedsføring */
    .hero-social-proof {
        order: 1;
        margin-top: 0;
        margin-bottom: 1.5rem;
        font-size: 0.8rem;
        color: #737373;
        font-weight: 400;
        letter-spacing: 0;
        text-transform: none;
    }

    /* Eyebrow/kategori - luksusmagasin-etikett */
    .hero-subtitle {
        order: 2;
        margin-bottom: 0.5rem;
        font-size: 0.7rem;
        color: #8a8a8a;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    /* H1 - heroens anker, 70-80% visuell vekt */
    .hero-title {
        order: 3;
        font-size: 2.6rem;
        line-height: 1.05;
        margin-top: 0;
        margin-bottom: 1.25rem;
        color: #1a1a1a;
        font-weight: 300;
    }

    /* CTA - handling på H1, interiør ikke software */
    .hero-cta {
        order: 4;
        background-color: #3d3632;
        color: #f3eee7;
        padding: 0.65rem 2rem;
        font-size: 0.85rem;
        border-radius: 4px;
        letter-spacing: 0.03em;
    }

    .hero-image {
        height: 50vh;
        order: 1;
        transform: none;
        margin: 0;
        width: 100%;
    }

    .hero-image img {
        border-radius: 0;
    }

    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .nav-cta {
        border-radius: 3px;
    }

    .showcase {
        padding: 4rem 2rem;
    }

    .showcase-content {
        flex-direction: column;
    }

    .left-pills {
        display: none;
    }

    .showcase-pills {
        justify-content: center;
    }

    .pill {
        height: 200px;
        max-width: 60px;
    }

    .gallery-section {
        padding: 2rem;
    }

    .gallery-content {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-left {
        order: 2;
    }

    .gallery-main-image {
        order: 1;
        height: 50vh;
    }

    .gallery-preview {
        display: none;
    }
}
