/* ====================
   Global Stylesssh -T git@github.com
==================== */

:root {

    /* Primary light backgrounds */
    --clr-primary-600: #DDCCB7;
    /* Secondary background (header, cards, sections) */
    --clr-primary-700: #EDE7DB;

    /* Green accents */
    --clr-accent: #6A6A53;
    --clr-accent-600: #9B9879;

    /* txt */
    --clr-text-primary: #222222;

    /* cta */
    --clr-contrast-400: #4d342d;


    --ff-primary: 'Poppins', sans-serif;
    --ff-display: 'Playfair Display', serif;

    --fs-300: clamp(1rem, 0.9565rem + 0.2174vw, 1.125rem);
    --fs-400: clamp(1.2rem, 1.0959rem + 0.5207vw, 1.4994rem);
    --fs-500: clamp(1.44rem, 1.2457rem + 0.9717vw, 1.9988rem);
    --fs-600: clamp(1.7281rem, 1.4025rem + 1.6283vw, 2.6644rem);
    --fs-700: clamp(2.0738rem, 1.5596rem + 2.5707vw, 3.5519rem);
    --fs-800: clamp(2.4881rem, 1.7066rem + 3.9076vw, 4.735rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

::selection {
    background: var(--clr-contrast-400);
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-primary);
    font-weight: 200;
    font-size: var(--fs-300);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--clr-primary-700);
    color: var(--clr-text-primary);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


body,
h1,
h2,
h3,
p,
ul {
    margin: 0;
    padding: 0;
}

.secondary-bg {
    background-color: var(--clr-accent-600);
}

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

a.txt-link {
    text-decoration: underline;
}

a.txt-link:hover {
    color: #2C72F6;
}

button,
.btn {
    border-radius: 10px;
    letter-spacing: 0.02em;
}


/* ====================
   Typography
==================== */

h1 {
    margin-top: 2.5rem;
    font-family: var(--ff-display);
    font-size: var(--fs-700);
    font-weight: 500;
    line-height: 1.05;
}


h2 {
    font-size: var(--fs-600);
    font-weight: 500;
}

h3 {
    font-size: var(--fs-300);
    font-weight: 400;
}

p {
    margin-bottom: 1em;
}

.section-title {
    margin-bottom: 2.5rem;
}

.section-content {
    text-align: center;
    max-width: 60ch;
    margin-inline: auto;
    line-height: 1.7;
}

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

/* ====================
   Layout
==================== */

section {
    padding: 5rem 0;
}

section.lowtop {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

section.lowbottom {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.container {
    margin-inline: auto;
    width: min(90%, 70.5rem);
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}


@media (min-width: 50em) {

    section {
        padding: 8rem 0;
    }

    section.lowtop {
        padding-top: 3rem;
        padding-bottom: 7rem;
    }

    section.lowbottom {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

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

}

/* ====================
   Header
==================== */

header {
    width: 100%;
    color: var(--clr-primary-700);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: var(--fs-400);
    font-weight: 500;
    margin: 0;
    color: var(--clr-text-primary);
}


/* ====================
   Navigation
   ==================== */


nav ul {
    display: flex;
    gap: 1.5em;
    list-style: none;
}

nav a {
    font-weight: 200;
    transition: 200ms ease;
    color: var(--clr-text-primary);
}

nav a:hover {
    color: var(--clr-contrast-400);
}

.sr-only {
    display: none;
}

.mobile-nav-toggle {
    display: none;
}

.primary-navigation {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* ============================
   Mobile Navigation — Dark
   ============================ */

@media (max-width: 35em) {

    /* Page backdrop */
    body:has(.primary-navigation[data-visible="true"])::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 999;

        background: rgba(0, 0, 0, 0.55);
    }


    /* Mobile menu */
    .primary-navigation {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;

        width: min(82vw, 360px);

        padding: 6rem 1.5rem 2rem;

        display: flex;
        flex-direction: column;
        gap: 0.25rem;

        margin: 0;
        list-style: none;

        background: #171514;

        border-left: 1px solid rgba(255, 255, 255, 0.08);

        box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);

        transform: translateX(100%);
        transition: transform 350ms ease;

        z-index: 1000;
        overflow-y: auto;
    }


    /* Open state */
    .primary-navigation[data-visible="true"] {
        transform: translateX(0);
    }


    /* Navigation links */
    .primary-navigation a {
        display: flex;
        align-items: center;

        min-height: 54px;
        padding: 0 1rem;

        color: rgba(255, 255, 255, 0.85);

        font-family: var(--ff-display);
        font-size: 1.35rem;
        font-weight: 400;

        border-radius: 8px;

        transition:
            color 180ms ease,
            background-color 180ms ease;
    }


    /* Hover / focus */
    .primary-navigation a:hover,
    .primary-navigation a:focus-visible {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
        outline: none;
    }


    /* Active/current link */
    .primary-navigation a[aria-current="page"] {
        color: var(--clr-primary-600);
    }


    /* ============================
       Menu item animation
       ============================ */

    .primary-navigation[data-visible="true"] li {
        animation: mobileMenuItem 350ms ease both;
    }

    .primary-navigation[data-visible="true"] li:nth-child(1) {
        animation-delay: 50ms;
    }

    .primary-navigation[data-visible="true"] li:nth-child(2) {
        animation-delay: 90ms;
    }

    .primary-navigation[data-visible="true"] li:nth-child(3) {
        animation-delay: 130ms;
    }

    .primary-navigation[data-visible="true"] li:nth-child(4) {
        animation-delay: 170ms;
    }

    .primary-navigation[data-visible="true"] li:nth-child(5) {
        animation-delay: 210ms;
    }


    /* ============================
       Menu toggle
       ============================ */

    .mobile-nav-toggle {
        position: absolute;
        top: 1rem;
        right: 1rem;

        width: 35px;
        height: 35px;

        display: grid;
        place-items: center;

        padding: 0;
        z-index: 9999;

        cursor: pointer;

        background-color: transparent;
        background-image: url(../images/burger-menu.svg);
        background-repeat: no-repeat;
        background-position: center;

        border: 0;

        transition: transform 200ms ease;
    }


    /* Close state */
    .mobile-nav-toggle[aria-expanded="true"] {
        background-image: url(../images/close-circle.svg);

        transform: rotate(90deg);
    }


    /* ============================
       Animations
       ============================ */

    @keyframes mobileMenuItem {
        from {
            opacity: 0;
            transform: translateX(15px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}


/* ============================
   Reduced Motion
   ============================ */

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

    .primary-navigation,
    .primary-navigation li,
    .mobile-nav-toggle {
        animation: none;
        transition: none;
    }
}


/* ============================
   Hero
============================ */

.hero {
    background: var(--clr-primary-700);
}

.carousel {
    position: relative;
    height: calc(80vh - 2rem);
    min-height: 600px;
    overflow: hidden;
    background: #222;
}


/* Background slides */

.slide {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;
    transform: scale(1.04);

    transition:
        opacity 1s ease,
        transform 6s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}


/* Image overlay */

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(90deg,
            rgba(34, 26, 22, 0.68) 0%,
            rgba(34, 26, 22, 0.38) 38%,
            rgba(34, 26, 22, 0.08) 75%);
}


/* Hero content */

.hero-content {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    align-items: center;

    color: #fff;
}

.hero-card {
    width: min(540px, 100%);

    padding: 2.5rem;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;

    background: rgba(34, 26, 22, 0.22);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15);
}


/* Small label */

.hero-eyebrow {
    display: block;

    margin-bottom: 1.25rem;

    font-size: 0.7rem;
    font-weight: 500;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.72);
}

.hero-eyebrow::before {
    content: "";

    display: inline-block;

    width: 24px;
    height: 1px;

    margin-right: 0.7rem;

    vertical-align: middle;

    background: var(--clr-primary-600);
}


/* Heading */

.hero-card h1 {
    margin: 0 0 1.5rem;

    font-family: var(--ff-display);
    font-size: var(--fs-700);
    font-weight: 500;
    line-height: 1.05;

    letter-spacing: -0.02em;
}


/* Description */

.hero-description {
    max-width: 40ch;

    margin-bottom: 2rem;

    color: rgba(255, 255, 255, 0.78);

    font-size: var(--fs-300);
    line-height: 1.6;
}

/* Mobile */

@media (max-width: 35em) {

    .carousel {
        height: calc(45svh - 1rem);
        min-height: 500px;
    }

    .hero-shade {
        background:
            rgba(0, 0, 0, 0.65);
    }


    .hero-card {

        width: 100%;


        background: rgba(34, 26, 22, 0.0);

        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: none;
        border: none;
    }

    .hero-card h1 {
        font-size: var(--fs-700);
    }

    .hero-description {
        max-width: 32ch;
    }
}

/* ====================
   Images
==================== */

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

/* ====================
   Buttons
==================== */

button,
.btn {
    padding: 0.6em 2em;
    font-size: var(--fs-300);
    font-weight: 300;
    background: var(--clr-contrast-400);
    border: none;
    color: #fff;
    border-radius: 6px;
    transition: 300ms ease;
    cursor: pointer;
    display: inline-block;
    margin-top: 1rem;
}

.hero-btn {
    background: var(--clr-accent);
}

button:hover,
.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}


/* ============================
   Home Page Styling
============================ */
.about-overview .split {
    justify-content: reverse;
}



/* ============================
   Contact Page Styling
============================ */

.contact-form {
    max-width: 650px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 400;
    font-size: var(--fs-300);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.contact-form input,
.contact-form textarea {
    padding: 0.9rem 1rem;
    font-family: var(--ff-primary);
    font-size: var(--fs-300);
    font-weight: 300;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    transition: 250ms ease;
    backdrop-filter: blur(6px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--clr-contrast-400);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    outline: none;
    transform: translateY(-1px);
}

.contact-form button.btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

@media (max-width: 480px) {
    .contact-form {
        width: 90%;
    }
}

/* ============================
   Footer
============================ */

.footer {
    background: var(--clr-contrast-400);
    color: #fff;
    padding: 6rem 0 2rem;
}


/* Top section */

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
}

.footer-intro {
    max-width: 650px;
}

.footer-eyebrow {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.65;
}

.footer h2 {
    margin-bottom: 1.5rem;
    font-size: var(--fs-600);
    line-height: 1.1;
    font-weight: 400;
}

.footer-description {
    max-width: 48ch;
    margin-bottom: 0;
    font-size: var(--fs-300);
    line-height: 1.7;
    opacity: 0.75;
}


/* CTA */

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;

    padding: 1rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.25);

    font-size: var(--fs-300);
    font-weight: 400;

    transition:
        background 250ms ease,
        color 250ms ease,
        transform 250ms ease;
}

.footer-cta-arrow {
    font-size: 1.3rem;
    transition: transform 250ms ease;
}

.footer-cta:hover {
    background: #fff;
    color: var(--clr-contrast-400);
    transform: translateY(-3px);
}

.footer-cta:hover .footer-cta-arrow {
    transform: translate(3px, -3px);
}


/* Divider */

.footer-divider {
    width: 100%;
    height: 1px;
    margin: 4rem 0 2rem;
    background: rgba(255, 255, 255, 0.18);
}


/* Contact links */

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;

    padding: 1.25rem;

    border: 1px solid rgba(255, 255, 255, 0.12);

    transition:
        background 250ms ease,
        border-color 250ms ease,
        transform 250ms ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}


/* Icons */

.contact-icon {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    flex-shrink: 0;
}

.contact-icon i {
    font-size: 0.95rem;
}


/* Contact text */

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.contact-text small {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.5;
}

.contact-text span {
    font-size: var(--fs-300);
}


/* Bottom */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;

    margin-top: 4rem;
    padding-top: 1.5rem;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 0.75rem;
    opacity: 0.45;
}

.footer-bottom p {
    margin: 0;
}


/* ============================
   Footer Responsive
============================ */

@media (max-width: 800px) {

    .footer {
        padding: 5rem 0 2rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-cta {
        margin-top: 0.5rem;
    }

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

}


@media (max-width: 500px) {

    .footer h2 {
        font-size: var(--fs-600);
    }

    .footer-divider {
        margin: 3rem 0 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.4rem;
        margin-top: 3rem;
    }

}

/* ============================
   Menyside 
============================ */

.menu-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 1.5rem;
    transition: transform 250ms ease, box-shadow 250ms ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    transition: transform 400ms ease;
}

.menu-card h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.menu-card p {
    padding: 0 1.2rem;
    font-size: var(--fs-300);
    opacity: 0.8;
}

.menu-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.menu-card:hover img {
    transform: scale(1.02);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Large screens */
@media (min-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   Pakker Page Styling
============================ */


.packages-grid {
    gap: 2rem;
    align-items: stretch;
}

.package-card {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.package-label {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1.2rem;
    padding: 0.35rem 0.8rem;
    background: rgba(106, 106, 83, 0.12);
    color: var(--clr-accent);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.package-card h3 {
    margin-bottom: 0.8rem;
    font-size: var(--fs-400);
    font-weight: 500;
    color: var(--clr-contrast-400);
}

.package-description {
    margin-bottom: 1.8rem;
    max-width: 45ch;
    opacity: 0.8;
}

.package-card ul {
    list-style: none;
    display: grid;
    gap: 0.9rem;
    margin-top: auto;
}

.package-card li {
    position: relative;
    padding-left: 1.6rem;
}

.package-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--clr-accent);
    font-weight: 500;
}

.package-card--premium {
    background: var(--clr-primary-700);
}

.package-card--premium .package-label {
    background: var(--clr-accent);
    color: white;
}

/* Mobile */
@media (max-width: 600px) {

    .package-card {
        padding: 2rem 1.5rem;
    }
}


/* ============================
   Animations 
============================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}


@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
    display: inline-block;
}

.fade-in-up,
.slide-in-left {
    opacity: 0;

}