/* ========================================
   SYDMASSAGE & FRISKVÅRD
   Website Design
======================================== */

:root {
    --green: #253f35;
    --green-dark: #193028;
    --green-soft: #39594c;

    --cream: #f5f0e7;
    --cream-light: #fbf8f2;
    --cream-dark: #e8dfd1;

    --gold: #b39768;
    --gold-light: #cbb68f;

    --text: #28342f;
    --text-soft: #6e756f;

    --white: #ffffff;

    --border: rgba(37, 63, 53, 0.14);

    --max-width: 1300px;
}


/* ========================================
   RESET
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background-color: var(--cream-light);

    color: var(--text);

    line-height: 1.7;

    overflow-x: hidden;
}

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

button {
    font: inherit;
}


/* ========================================
   TYPOGRAPHY
======================================== */

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-weight: 400;

    color: var(--green-dark);

    line-height: 1.08;
}

h1 {
    font-size: clamp(3.7rem, 7vw, 7rem);

    letter-spacing: -4px;
}

h2 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);

    letter-spacing: -2.5px;
}

h3 {
    font-size: 1.7rem;
}

p {
    font-size: 1rem;
}

.eyebrow {
    margin-bottom: 20px;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 3px;

    color: var(--gold);
}


/* ========================================
   HEADER
======================================== */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;
}

.navbar {
    width: min(90%, var(--max-width));

    min-height: 95px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* Logo */

.logo {
    display: flex;

    flex-direction: column;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.35rem;

    line-height: 1.05;

    color: var(--green-dark);
}

.logo span {
    margin-top: 5px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 0.58rem;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: var(--gold);
}


/* Navigation */

.nav-menu {
    display: flex;

    align-items: center;

    gap: 32px;
}

.nav-menu > a:not(.nav-booking) {
    position: relative;

    font-size: 0.86rem;

    font-weight: 600;

    color: var(--green-dark);
}

.nav-menu > a:not(.nav-booking)::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 1px;

    background-color: var(--gold);

    transition: width 0.25s ease;
}

.nav-menu > a:not(.nav-booking):hover::after {
    width: 100%;
}


/* Booking button in navigation */

.nav-booking {
    padding: 12px 21px;

    background-color: var(--green);

    color: var(--white);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.6px;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.nav-booking:hover {
    background-color: var(--green-soft);

    transform: translateY(-2px);
}


/* ========================================
   MOBILE MENU BUTTON
======================================== */

.menu-toggle {
    display: none;

    border: none;

    background: transparent;

    cursor: pointer;

    padding: 8px;
}

.menu-toggle span {
    display: block;

    width: 25px;

    height: 2px;

    margin: 5px 0;

    background-color: var(--green-dark);

    transition: 0.3s ease;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;

    min-height: 92vh;

    padding:
        180px max(5%, calc((100% - var(--max-width)) / 2))
        110px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
    linear-gradient(
        90deg,
        rgba(251, 248, 242, 0.99) 0%,
        rgba(251, 248, 242, 0.96) 38%,
        rgba(251, 248, 242, 0.72) 53%,
        rgba(251, 248, 242, 0.12) 72%,
        rgba(251, 248, 242, 0.02) 100%
    ),
    url("images/hero.png");

background-size: cover;
background-position: 58% center;
background-repeat: no-repeat;
}

/* Large decorative botanical circle */



.hero-content {
    position: relative;

    max-width: 850px;

    z-index: 2;
}

.hero h1 {
    max-width: 850px;

    margin-bottom: 30px;
}

.hero-text {
    max-width: 610px;

    color: var(--text-soft);

    font-size: 1.1rem;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 38px;
}


/* ========================================
   BUTTONS
======================================== */

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding: 14px 26px;

    font-size: 0.82rem;

    font-weight: 700;

    letter-spacing: 0.7px;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background-color: var(--green);

    color: var(--white);

    border: 1px solid var(--green);
}

.button.primary:hover {
    background-color: var(--green-soft);

    border-color: var(--green-soft);
}

.button.secondary {
    border: 1px solid rgba(37, 63, 53, 0.32);

    color: var(--green-dark);
}

.button.secondary:hover {
    background-color: var(--green);

    border-color: var(--green);

    color: var(--white);
}


/* ========================================
   INTRODUCTION
======================================== */

.intro {
    width: min(90%, var(--max-width));

    margin: auto;

    padding: 110px 0 90px;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 100px;

    align-items: start;
}

.intro-heading h2 {
    max-width: 680px;
}

    .intro-text {
    padding-top: 35px;
}
}

.intro-text p {
    max-width: 500px;

    margin-bottom: 25px;

    color: var(--text-soft);

    font-size: 1.05rem;
}


/* ========================================
   BENEFITS
======================================== */

.benefits {
    width: min(90%, var(--max-width));

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}

.benefit {
    min-height: 330px;

    padding: 55px 45px;

    border-right: 1px solid var(--border);
}

.benefit:last-child {
    border-right: none;
}

.benefit-number {
    display: block;

    margin-bottom: 55px;

    color: var(--gold);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 2px;
}

.benefit h3 {
    margin-bottom: 18px;
}

.benefit p {
    color: var(--text-soft);

    font-size: 0.94rem;
}


/* ========================================
   TREATMENTS
======================================== */

.treatments {
    margin-top: 140px;

    padding: 140px 5%;

    background-color: var(--green-dark);

    color: var(--cream);
}

.section-heading {
    max-width: var(--max-width);

    margin: 0 auto 80px;
}

.treatments .section-heading {
    text-align: center;
}

.treatments .section-heading h2 {
    max-width: 800px;

    margin: 0 auto 25px;

    color: var(--cream-light);
}

.treatments .section-heading > p:last-child {
    max-width: 570px;

    margin: auto;

    color: #bfc7c1;
}

.treatment-grid {
    max-width: var(--max-width);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.treatment-card {
    min-height: 360px;

    padding: 45px 38px;

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

    background-color: rgba(255,255,255,0.035);

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-7px);

    background-color: rgba(255,255,255,0.065);

    border-color: rgba(203,182,143,0.45);
}

.treatment-number {
    display: block;

    margin-bottom: 70px;

    color: var(--gold-light);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 2px;
}

.treatment-card h3 {
    margin-bottom: 20px;

    color: var(--cream-light);
}

.treatment-card p {
    color: #bfc7c1;

    font-size: 0.94rem;
}

.treatments-booking {
    margin-top: 55px;

    text-align: center;
}

.treatments .button.primary {
    background-color: var(--gold);

    border-color: var(--gold);

    color: var(--green-dark);
}

.treatments .button.primary:hover {
    background-color: var(--gold-light);

    border-color: var(--gold-light);
}


/* ========================================
   ABOUT
======================================== */

.about {
    min-height: 750px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    background-color: var(--cream);
}


/* Placeholder until we insert the real photo */

.about-image {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    background-image: url("images/treatment-room.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}

/* Decorative circle in image area */


.about-content {
    padding: 120px 10%;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.about-content h2 {
    max-width: 650px;

    margin-bottom: 35px;
}

.about-content > p:not(.eyebrow) {
    max-width: 580px;

    margin-bottom: 22px;

    color: var(--text-soft);
}

.text-link {
    width: fit-content;

    margin-top: 15px;

    padding-bottom: 4px;

    border-bottom: 1px solid var(--gold);

    color: var(--green-dark);

    font-size: 0.9rem;

    font-weight: 700;
}


/* ========================================
   BOOKING CTA
======================================== */

.booking {
    position: relative;

    padding: 150px 5%;

    overflow: hidden;

    text-align: center;

    background-color: var(--green);

    color: var(--white);
}

.booking::before {
    content: "";

    position: absolute;

    width: 600px;

    height: 600px;

    left: -250px;

    top: -300px;

    border: 1px solid rgba(203,182,143,0.15);

    border-radius: 50%;
}

.booking::after {
    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    right: -200px;

    bottom: -300px;

    border: 1px solid rgba(203,182,143,0.13);

    border-radius: 50%;
}

.booking-content {
    position: relative;

    max-width: 850px;

    margin: auto;

    z-index: 2;
}

.booking h2 {
    margin-bottom: 25px;

    color: var(--cream-light);
}

.booking-content > p:not(.eyebrow) {
    margin-bottom: 35px;

    color: #d4d9d5;
}

.booking .button.primary {
    background-color: var(--cream);

    border-color: var(--cream);

    color: var(--green-dark);
}

.booking .button.primary:hover {
    background-color: var(--gold-light);

    border-color: var(--gold-light);
}


/* ========================================
   CONTACT
======================================== */

.contact {
    width: min(90%, var(--max-width));

    margin: auto;

    padding: 140px 0;
}

.contact-heading {
    max-width: 800px;

    margin-bottom: 80px;
}

.contact-details {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}

.contact-item {
    min-height: 190px;

    padding: 38px 28px;

    border-right: 1px solid var(--border);
}

.contact-item:last-child {
    border-right: none;
}

.contact-label {
    margin-bottom: 20px;

    color: var(--gold);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 2px;
}

.contact-item > p:not(.contact-label),
.contact-item a {
    color: var(--text-soft);

    font-size: 0.92rem;
}

.contact-item a {
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--green);
}


/* ========================================
   FOOTER
======================================== */

.footer {
    padding: 75px max(5%, calc((100% - var(--max-width)) / 2)) 30px;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 70px;

    background-color: #14271f;

    color: var(--cream);
}

.footer-logo {
    margin-bottom: 18px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.4rem;

    color: var(--cream-light);
}

.footer-logo span {
    color: var(--gold-light);
}

.footer-brand > p {
    max-width: 330px;

    color: #9ca9a2;

    font-size: 0.85rem;
}

.footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 11px;
}

.footer-links a,
.footer-booking a {
    color: #c2cbc5;

    font-size: 0.85rem;

    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-booking a:hover {
    color: var(--gold-light);
}

.footer-booking a {
    padding-bottom: 4px;

    border-bottom: 1px solid var(--gold);
}

.footer-bottom {
    grid-column: 1 / -1;

    margin-top: 30px;

    padding-top: 25px;

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

.footer-bottom p {
    color: #718078;

    font-size: 0.72rem;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    .nav-menu {
        gap: 18px;
    }

    .intro {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 100px 0;
    }

    .intro-text {
        padding-top: 20px;
    }

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

    .benefit {
        min-height: auto;

        border-right: none;

        border-bottom: 1px solid var(--border);
    }

    .benefit:last-child {
        border-bottom: none;
    }

    .benefit-number {
        margin-bottom: 30px;
    }

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

    .treatment-card {
        min-height: auto;
    }

    .treatment-number {
        margin-bottom: 35px;
    }

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

    .about-image {
        min-height: 500px;
    }

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

    .contact-item:nth-child(2) {
        border-right: none;
    }

    .contact-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

}


/* ========================================
   MOBILE NAVIGATION
======================================== */

@media (max-width: 760px) {

    .navbar {
        position: relative;

        width: 100%;

        min-height: 78px;

        padding: 0 22px;
    }

    .menu-toggle {
        display: block;

        position: relative;

        z-index: 1001;
    }

    .nav-menu {
        position: absolute;

        top: 78px;

        left: 0;

        width: 100%;

        padding: 15px 22px 25px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        background-color: rgba(251,248,242,0.98);

        border-bottom: 1px solid var(--border);

        box-shadow: 0 20px 40px rgba(30,45,38,0.08);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .nav-menu.active {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

    .nav-menu > a {
        width: 100%;

        padding: 14px 0;
    }

    .nav-menu > a:not(.nav-booking) {
        border-bottom: 1px solid var(--border);
    }

    .nav-booking {
        margin-top: 15px;

        text-align: center;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* HERO */

    .hero {
        min-height: 88vh;

        padding:
            135px 22px
            80px;
    }

    

    .hero h1 {
        font-size: 3.7rem;

        letter-spacing: -2.5px;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    /* TYPOGRAPHY */

    h2 {
        font-size: 2.8rem;

        letter-spacing: -1.5px;
    }


    /* INTRO */

    .intro {
        width: calc(100% - 44px);

        padding: 85px 0;
    }


    /* BENEFITS */

    .benefits {
        width: calc(100% - 44px);
    }

    .benefit {
        padding: 42px 5px;
    }


    /* TREATMENTS */

    .treatments {
        margin-top: 85px;

        padding: 90px 22px;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .treatment-card {
        padding: 35px 28px;
    }


    /* ABOUT */

    .about-image {
        min-height: 390px;
    }

    .about-image::before {
        width: 250px;

        height: 250px;
    }

    .about-content {
        padding: 85px 22px;
    }


    /* BOOKING */

    .booking {
        padding: 100px 22px;
    }


    /* CONTACT */

    .contact {
        width: calc(100% - 44px);

        padding: 90px 0;
    }

    .contact-heading {
        margin-bottom: 50px;
    }

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

    .contact-item {
        min-height: auto;

        padding: 30px 0;

        border-right: none;

        border-bottom: 1px solid var(--border);
    }

    .contact-item:nth-child(2) {
        border-right: none;
    }

    .contact-item:last-child {
        border-bottom: none;
    }


    /* FOOTER */

    .footer {
        padding: 60px 22px 25px;

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        margin-top: 10px;
    }

}


/* ========================================
   REDUCED MOTION
======================================== */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }

}