
/* =========================================================
   ABC KITCHEN – DESIGNINNSTILLINGER
   Her kan du enkelt endre farger, størrelser og uttrykk.
   ========================================================= */

:root {
    /* Farger */
    --bg: #000000;
    --panel: #111111;
    --cream: #eee9df;
    --white: #ffffff;
    --muted: #ffffff;
    --accent: #bd8966;
    --accent-light: #d0a080;

    /* Skriftstørrelser */
    --title: clamp(3.2rem, 7vw, 6.3rem);

    /* Andre innstillinger */
    --round: 2px;
}


/* =========================================================
   1. GRUNNINNSTILLINGER
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--cream);
    font-family: 'DM Sans', Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.045em;
}

h1 em,
h2 em {
    font-weight: 500;
    color: var(--accent-light);
}


/* =========================================================
   2. HEADER / MENY
   ========================================================= */

.header {
    height: 84px;
    padding: 0 7vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
    border-bottom: 1px solid #292a25;
    position: relative;
    z-index: 3;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.25em;
}

.logo img {
    height:80px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Menylenker */

.header nav {
    display: flex;
    gap: 34px;
    color: var(--white);
    font-size: 18px;
}

.header nav a:hover,
footer a:hover {
    color: var(--accent-light);
}

/* Bestill-knapp i header */

.top-button {
    border: 1px solid #66645b;
    padding: 12px 16px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}


/* =========================================================
   3. HERO / HOVEDBILDE
   ========================================================= */

.hero {
    height: min(78vw, 800px);
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Bakgrunnsbilde */

.hero-image {
    position: absolute;
    inset: 0;
    background:
        url(images/hero.png)
        
        center / cover;
    filter: brightness(0.40) saturate(0.72);
}

/* Mørkt lag over bildet */

.shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 9, 8, 0.93),
            rgba(8, 9, 8, 0.68) 45%,
            rgba(8, 9, 8, 0.12)
        ),
        linear-gradient(
            0deg,
            rgba(8, 9, 8, 0.38),
            transparent 50%
        );
}

/* Tekst i hero */

.hero-copy {
    position: relative;
    margin-left: 12vw;
    max-width: 650px;
    padding: 70px 0;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 0.24em;
    font-weight: 700;
    color: var(--accent-light);
}

h1 {
    font-size: var(--title);
    line-height: 0.99;
    margin: 28px 0;
}

.lead {
    max-width: 410px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 32px;
}

/* Knapp i hero */

.light-button {
    display: inline-block;
    background: var(--cream);
    color: #151611;
    padding: 16px 22px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.light-button span {
    margin-left: 20px;
}

/* Liten tekst nederst i hero */

.hero-caption {
    position: absolute;
    bottom: 30px;
    right: 7vw;
    color: #d3d0c6;
    font-size: 8px;
    letter-spacing: 0.22em;
}


/* =========================================================
   4. OM ABC KITCHEN
   ========================================================= */

.section {
    padding: 108px 12vw;
    background: var(--bg);
    color: var(--white);
}

.eyebrow.dark {
    color: var(--accent-light);
}

/* To kolonner med overskrift og tekst */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9vw;
    margin-top: 24px;
}

h2 {
    font-size: clamp(2.8rem, 5.2vw, 4.7rem);
    line-height: 1.06;
    margin: 25px 0;
}

.about h2 em,
.contact h2 em {
    color: var(--accent-light);
}

/* Brødtekst */

.body-copy {
    max-width: 440px;
    padding-top: 8px;
}

.body-copy p {
    font-size: 13px;
    line-height: 1.95;
    color: var(--white);
}

/* Tekstlenke */

.text-link {
    display: inline-block;
    margin-top: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--white);
}


/* =========================================================
   5. MATBILDER / MATKONSEPT
   ========================================================= */

.food-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 270px;
}

.food-card {
    position: relative;
    min-height: 270px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    overflow: hidden;
}

/* Mørk overgang nederst på bildene */

.food-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.7),
        transparent 70%
    );
}

.food-card span {
    position: relative;
    font-size: 10px;
    letter-spacing: 0.2em;
    font-weight: 700;
}

/* Bildene */

.sushi {
    background-image:
        url('https://images.unsplash.com/photo-1579871494447-9811cf80d66c?auto=format&fit=crop&w=900&q=80');
}

.asian {
    background-image:
        url('https://images.unsplash.com/photo-1512058564366-18510be2db19?auto=format&fit=crop&w=900&q=80');
}

.dining {
    background-image:
        url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=900&q=80');
}


/* =========================================================
   6. BESTILLING
   ========================================================= */

.order {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg);
    min-height: 590px;
}

/* Bilde */

.order-photo {
    background:
        url('https://images.unsplash.com/photo-1547573854-74d2a71d0826?auto=format&fit=crop&w=1400&q=85')
        center / cover;
    filter: brightness(0.67) saturate(0.75);
}

/* Tekstfelt */

.order-copy {
    align-self: center;
    padding: 78px clamp(38px, 7vw, 100px);
}

.order-copy h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    margin: 22px 0;
}

.order-copy > p {
    color: var(--accent-light);
    font-size: 13px;
    line-height: 1.95;
    max-width: 390px;
}

/* Bestillingsknapper */

.buttons {
    display: grid;
    gap: 11px;
    max-width: 390px;
    margin-top: 28px;
}

.order-button {
    padding: 17px 18px;
    border: 1px solid #55574f;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
}

.order-button b {
    color: var(--accent-light);
}

.order-button:hover {
    border-color: var(--accent-light);
    background: #22241f;
}

/* Hovedknapp */

.main-button {
    background: var(--accent);
    border-color: var(--accent);
    color: #151611;
}

.main-button b {
    color: #151611;
}

/* Informasjon under knappene */

.order-copy small {
    display: block;
    margin-top: 15px;
    color: #8d9086;
    font-size: 12px;
}


/* =========================================================
   7. KONTAKTINFORMASJON
   ========================================================= */

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9vw;
}

/* Kontaktpunkter */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 30px;
    padding-top: 12px;
}

.contact-grid label {
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--accent-light);
    font-weight: 700;
}

.contact-grid p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--white);
}

.contact-grid .text-link {
    grid-column: 1 / -1;
    justify-self: start;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 18px;
}

.social-links a {
    color: #fff;
    font-size: 21px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* =========================================================
   8. FOOTER / BUNNTEKST
   ========================================================= */

footer {
    min-height: 88px;
    padding: 24px 7vw;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    font-size: 12px;
}

footer .logo img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

footer small {
    color: #92938a;
}


/* =========================================================
   9. MOBILVERSJON
   Gjelder skjermer på 760px eller mindre.
   ========================================================= */

@media (max-width: 760px) {

    /* Header */

    .header {
        height: 70px;
        padding: 0 6vw;
    }

    .logo img {
        height: 40px;
    }

    .header nav {
        display: none;
    }

    .top-button {
        padding: 10px 11px;
        font-size: 9px;
    }

    /* Hero */

    .hero {
        height: 700px;
        min-height: 0;
    }

    .hero-image {
        background-position: 58% center;
    }

    .shade {
        background:
            linear-gradient(
                90deg,
                rgba(8, 9, 8, 0.87),
                rgba(8, 9, 8, 0.32)
            ),
            linear-gradient(
                0deg,
                rgba(8, 9, 8, 0.48),
                transparent 55%
            );
    }

    .hero-copy {
        margin: 0 7vw;
        padding: 50px 0;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 12vw, 4.8rem);
    }

    .lead {
        font-size: 13px;
        max-width: 330px;
    }

    /* Seksjoner */

    .section {
        padding: 75px 7vw;
    }

    .two-col,
    .contact {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about h2,
    .contact h2 {
        font-size: 3.15rem;
    }

    .body-copy {
        padding: 0;
    }

    /* Matbilder */

    .food-strip {
        grid-template-columns: 1fr;
    }

    .food-card {
        min-height: 210px;
    }

    /* Bestilling */

    .order {
        grid-template-columns: 1fr;
    }

    .order-photo {
        min-height: 260px;
    }

    .order-copy {
        padding: 62px 7vw 70px;
    }

    .order-copy h2 {
        font-size: 3.15rem;
    }

    /* Kontakt */

    .contact-grid {
        padding: 0;
        gap: 18px 20px;
    }

    /* Footer */

    footer {
        padding: 22px 6vw;
        gap: 15px;
        flex-wrap: wrap;
    }

    footer .logo img {
        height: 34px;
    }

    footer small {
        order: 3;
        width: 100%;
    }
}


/* =========================================================
   10. SMÅ MOBILSKJERMER
   Gjelder skjermer på 380px eller mindre.
   ========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 2.9rem;
    }

    .top-button {
        padding: 9px;
    }
}


/* =========================================================
   11. TILGJENGELIGHET
   Reduserer jevn scrolling hvis brukeren har valgt dette.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }
}
