/*
    Theme Name: Rustzo
    Theme URI: http://rustzo.local
    Author: DS van Walraven
    Description: Custom WordPress theme for Rustzo
    Version: 1.0
*/

:root {
    --color-primary: #AC9A68;
    --color-primary-dark: #8F7D4F;
    --color-background: #FAF8F2;
    --color-background-soft: #F0EDE4;
    --color-white: #FFFFFF;
    --color-text: #3F3D36;
    --color-text-light: #716E64;
    --max-width: 1200px;
    --radius-small: 6px;
    --radius-medium: 12px;
    --shadow-soft: 0 4px 20px rgba(63, 61, 54, 0.08);
}

/* ==================================================
   RESET
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
}

/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3 {
    margin-top: 0;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.4rem;
}

p {
    color: var(--color-text-light);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==================================================
   LAYOUT
================================================== */

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

/* ==================================================
   HEADER
================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--color-primary);
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
}

/* ==================================================
   LOGO
================================================== */

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    display: block;
    width: 110px;
    height: auto;
}

/* ==================================================
   DESKTOP NAVIGATION
================================================== */

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--color-white);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: rgba(255, 255, 255, 0.65);
}

/* ==================================================
   APPOINTMENT BUTTON
================================================== */

.nav-button {
    padding: 0.75rem 1.3rem;
    border-radius: var(--radius-small);
    background: var(--color-white);
    color: var(--color-primary-dark) !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-primary-dark) !important;
    transform: translateY(-1px);
}

/* ==================================================
   MOBILE NAVIGATION - DEFAULT
================================================== */

.mobile-menu-toggle,
.mobile-navigation {
    display: none;
}

/* ==================================================
   MAIN CONTENT
================================================== */

.site-main {
    min-height: 70vh;
}

/* ==================================================
   HERO
================================================== */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background: linear-gradient( 135deg, var(--color-background) 0%, var(--color-background-soft) 100% );
}

.hero-content {
    max-width: 700px;
}

.hero-eyebrow {
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    max-width: 600px;
    font-size: 1.15rem;
}

/* ==================================================
   BUTTONS
================================================== */

.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.9rem 1.6rem;
    border: none;
    border-radius: var(--radius-small);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ==================================================
   SECTIONS
================================================== */

.section {
    padding: 100px 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.section-header p {
    font-size: 1.05rem;
}

/* ==================================================
   WELCOME SECTION
================================================== */

.welcome-section {
    padding: 90px 20px;
    background: var(--color-white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.welcome-content {
    max-width: 550px;
}

.welcome-content h1 {
    margin-bottom: 20px;
}

.welcome-content p:not(.hero-eyebrow) {
    color: var(--color-text-light);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.welcome-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-medium);
}

/* ==================================================
   DISCOUNT SECTION
================================================== */

.discount-section {
    padding: 35px 0;
    background: var(--color-background-soft);
}

.discount-content {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.discount-content h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.discount-content > p:not(.hero-eyebrow) {
    max-width: 540px;
    margin: 0 auto 24px;
    font-size: 1rem;
}

/* ==================================================
   DISCOUNT FORM
================================================== */

.discount-form {
    padding: 24px;
    background: var(--color-white);
    border: 1px solid rgba(172, 154, 104, 0.2);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    text-align: left;
}

/* ==================================================
   FORM FIELDS
================================================== */

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.form-group label {
    margin-bottom: 4px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid rgba(63, 61, 54, 0.2);
    border-radius: var(--radius-small);
    background: var(--color-background);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(172, 154, 104, 0.15);
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

/* ==================================================
   SUBMIT BUTTON
================================================== */

.discount-form .button {
    width: 100%;
    margin-top: 0;
    padding: 0.75rem 1.2rem;
}

/* ==================================================
   MASSAGE CARDS
================================================== */

.massage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.massage-card {
    padding: 32px;
    background: var(--color-white);
    border: 1px solid rgba(172, 154, 104, 0.15);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.massage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(63, 61, 54, 0.12);
}

.massage-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 24px;
    border-radius: var(--radius-small);
}

.massage-card .price {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

.massage-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.massage-details > span:first-child {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ==================================================
   SOFT SECTION
================================================== */

.section-soft {
    background: var(--color-background-soft);
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
    padding: 70px 0 30px;
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.site-footer h3 {
    color: var(--color-white);
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.85rem;
}

/* ==================================================
   ACCOUNT
================================================== */

.account-menu {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.account-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    padding: 7px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease;
}

.account-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

.account-toggle img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

/* ==================================================
   LOGGED OUT ACCOUNT
================================================== */

.account-login {
    flex-direction: column;
    gap: 2px;
    width: auto;
    height: auto;
    padding: 6px 10px;
    border-radius: var(--radius-small);
}

.account-login img {
    width: 32px;
    height: 32px;
}

.account-login span {
    color: var(--color-white);
    font-size: 0.75rem;
    line-height: 1;
}

/* ==================================================
   ACCOUNT DROPDOWN
================================================== */

.account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    background: var(--color-white);
    border: 1px solid rgba(172, 154, 104, 0.2);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 300;
}

.account-menu.is-open .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.account-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-small);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.account-dropdown a:hover {
    background: var(--color-background-soft);
    color: var(--color-primary-dark);
}

/* ==================================================
   MOBILE ACCOUNT - DEFAULT
================================================== */

.mobile-account {
    display: none;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {
    /* --------------------
       Header
    -------------------- */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
    }

    .nav-container {
        min-height: 70px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-logo img {
        width: 90px;
    }

    /* --------------------
       Hide desktop navigation
    -------------------- */
    .main-navigation {
        display: none;
    }

    .account-menu {
        display: none;
    }

    /* --------------------
       Hamburger
    -------------------- */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 8px;
        border: none;
        border-radius: var(--radius-small);
        background: transparent;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--color-white);
        border-radius: 2px;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    /* ==================================================
       FULLSCREEN MOBILE MENU
    ================================================== */
    .mobile-navigation {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        display: flex;
        flex-direction: column;
        padding: 16px;
        background: var(--color-primary);
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s ease, visibility 0s linear 0.35s;
        z-index: 10000;
        /*
         * The mobile navigation itself
         * is the scroll container.
         */
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
    }

    /* --------------------
       Open state
    -------------------- */
    .mobile-navigation.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.35s ease, visibility 0s linear 0s;
    }

    /* --------------------
       Close button
    -------------------- */
    .mobile-menu-close {
        position: relative;
        align-self: flex-end;
        flex-shrink: 0;
        width: 42px;
        height: 42px;
        padding: 0;
        border: none;
        border-radius: var(--radius-small);
        background: transparent;
        cursor: pointer;
    }

    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    /* --------------------
       X icon
    -------------------- */
    .mobile-menu-close span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 28px;
        height: 2px;
        background: var(--color-white);
        border-radius: 2px;
    }

    .mobile-menu-close span:first-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .mobile-menu-close span:last-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    /* ==================================================
       MOBILE MENU CONTENT
    ================================================== */
    .mobile-navigation nav {
        width: 100%;
        flex-shrink: 0;
    }

    .mobile-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.8rem;
        width: 100%;
        margin: 0;
        padding: 25px 0;
        list-style: none;
    }

    /* --------------------
       Mobile menu links
    -------------------- */
    .mobile-navigation a {
        display: inline-block;
        color: var(--color-white);
        font-size: 1.5rem;
        font-weight: 500;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .mobile-navigation a:hover {
        color: rgba(255, 255, 255, 0.65);
        transform: translateX(-2px);
    }

    /* --------------------
       Mobile appointment button
    -------------------- */
    .mobile-navigation .nav-button {
        padding: 0.8rem 1.4rem;
        background: var(--color-white);
        color: var(--color-primary-dark) !important;
    }

    .mobile-navigation .nav-button:hover {
        background: rgba(255, 255, 255, 0.8);
        color: var(--color-primary-dark) !important;
        transform: translateY(-1px);
    }

    /* ==================================================
       MOBILE ACCOUNT
    ================================================== */
    .mobile-account {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        flex-shrink: 0;
        padding-top: 30px;
        padding-bottom: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-account a {
        color: var(--color-white);
        font-size: 1.05rem;
    }

    /* --------------------
       Profile icon + text
    -------------------- */
    .mobile-account a:first-child {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-account a img {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

    /* --------------------
       Mobile login button
    -------------------- */
    .mobile-account .mobile-login {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px 20px;
        background: var(--color-primary-dark);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: var(--radius-small);
        color: var(--color-white);
        font-weight: 500;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .mobile-account .mobile-login:hover {
        background: #7d6d43;
        border-color: var(--color-white);
    }

    .mobile-account .mobile-login img {
        width: 26px;
        height: 26px;
        object-fit: contain;
    }

    /* ==================================================
       HERO
    ================================================== */
    .hero {
        min-height: 550px;
    }

    /* ==================================================
       SECTIONS
    ================================================== */
    .section {
        padding: 70px 0;
    }

    /* ==================================================
       WELCOME
    ================================================== */
    .welcome-section {
        padding: 65px 20px;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .welcome-content {
        max-width: none;
    }

    /* ==================================================
       DISCOUNT
    ================================================== */
    .discount-section {
        padding: 70px 0;
    }

    .discount-form {
        padding: 25px 20px;
    }

    /* ==================================================
       MASSAGE CARDS
    ================================================== */
    .massage-grid {
        grid-template-columns: 1fr;
    }

    /* ==================================================
       FOOTER
    ================================================== */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==================================================
   LOGIN PAGE
================================================== */

.login-page {
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient( 135deg, var(--color-background) 0%, var(--color-background-soft) 100% );
}

.login-page .container {
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 460px;
    padding: 45px;
    background: var(--color-white);
    border: 1px solid rgba(172, 154, 104, 0.35);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
}

.login-header {
    margin-bottom: 35px;
    text-align: center;
}

.login-logo {
    width: 120px;
    height: auto;
    margin-bottom: 25px;
}

.login-header h1 {
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.login-header p {
    margin: 0;
    font-size: 0.95rem;
}

/* --------------------
   Login form
-------------------- */

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(63, 61, 54, 0.2);
    border-radius: var(--radius-small);
    background: var(--color-background);
    color: var(--color-text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(172, 154, 104, 0.15);
}

/* --------------------
   Login options
-------------------- */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 5px 0 25px;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--color-text-light);
}

.login-options a {
    color: var(--color-primary-dark);
    font-weight: 500;
}

.login-options a:hover {
    text-decoration: underline;
}

/* --------------------
   Login button
-------------------- */

.login-button {
    width: 100%;
    margin-top: 0;
    padding: 12px;
    text-align: center;
}

/* --------------------
   Register
-------------------- */

.login-register {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(63, 61, 54, 0.1);
    text-align: center;
}

.login-register p {
    margin: 0;
    font-size: 0.9rem;
}

.login-register a {
    color: var(--color-primary-dark);
    font-weight: 600;
}

.login-register a:hover {
    text-decoration: underline;
}

/* ==================================================
   LOGIN MOBILE
================================================== */

@media (max-width: 768px) {
    .login-page {
        min-height: calc(100vh - 70px);
        padding: 50px 16px;
    }

    .login-card {
        padding: 35px 25px;
    }

    .login-logo {
        width: 100px;
    }

    .login-header h1 {
        font-size: 2rem;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* ==================================================
   GENERAL PAGE HERO
================================================== */

.page-hero {
    padding: 90px 20px 70px;
    background: var(--color-background-soft);
    text-align: center;
}

.page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero h1 {
    margin-bottom: 18px;
}

.page-hero p:not(.hero-eyebrow) {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

/* ==================================================
   MASSAGES
================================================== */

.massage-detail-section {
    padding-top: 80px;
}

.massage-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.massage-detail-reverse .massage-detail-image {
    order: 2;
}

.massage-detail-reverse .massage-detail-content {
    order: 1;
}

.massage-detail-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-medium);
}

.massage-detail-content h2 {
    margin-bottom: 20px;
}

.massage-detail-content p {
    color: var(--color-text-light);
}

.massage-info {
    display: flex;
    gap: 30px;
    margin: 25px 0;
    font-weight: 600;
    color: var(--color-text);
}

.massage-info span:last-child {
    color: var(--color-primary-dark);
}

.massage-disclaimer {
    max-width: 850px;
    margin: 20px auto 0;
    padding: 30px;
    background: var(--color-background-soft);
    border-radius: var(--radius-medium);
}

.massage-disclaimer h3 {
    margin-bottom: 10px;
}

.massage-disclaimer p {
    margin: 0;
    color: var(--color-text-light);
}

/* ==================================================
   PRICING
================================================== */

.pricing-section {
    padding-top: 70px;
}

.pricing-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border: 1px solid rgba(172, 154, 104, 0.25);
    border-radius: var(--radius-medium);
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid rgba(63, 61, 54, 0.08);
}

.pricing-table th {
    background: var(--color-background-soft);
    color: var(--color-text);
    font-weight: 600;
}

.pricing-table td:last-child {
    font-weight: 600;
    color: var(--color-primary-dark);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-information {
    max-width: 750px;
    margin: 60px auto 0;
    text-align: center;
}

.pricing-information p {
    color: var(--color-text-light);
}

.pricing-cta {
    max-width: 750px;
    margin: 70px auto 0;
    padding: 45px;
    background: var(--color-background-soft);
    border-radius: var(--radius-medium);
    text-align: center;
}

.pricing-cta p {
    color: var(--color-text-light);
    margin-bottom: 25px;
}

/* ==================================================
   CONTACT
================================================== */

.contact-section {
    padding-top: 70px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
}

.contact-card {
    padding: 40px;
    background: var(--color-white);
    border: 1px solid rgba(172, 154, 104, 0.25);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
}

.contact-card > p {
    color: var(--color-text-light);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.contact-details strong {
    display: block;
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--color-primary-dark);
}

.contact-details p {
    margin: 0;
    color: var(--color-text-light);
}

/* ==================================================
   ABOUT
================================================== */

.about-section {
    padding-top: 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-medium);
}

.about-content p:not(.hero-eyebrow) {
    color: var(--color-text-light);
}

.about-values-section {
    background: var(--color-background-soft);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.value-card {
    padding: 30px;
    background: var(--color-white);
    border-radius: var(--radius-medium);
    text-align: center;
}

.value-card p {
    color: var(--color-text-light);
}

/* ==================================================
   GENERAL CONTENT MOBILE
================================================== */

@media (max-width: 768px) {
    .page-hero {
        padding: 65px 20px 50px;
    }

    .massage-detail {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 70px;
    }

    .massage-detail-reverse .massage-detail-image,
    .massage-detail-reverse .massage-detail-content {
        order: initial;
    }

    .massage-info {
        gap: 20px;
    }

    .massage-disclaimer {
        padding: 25px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-cta {
        padding: 30px 20px;
    }
}

/* ==================================================
   PROFILE PAGE
================================================== */

.profile-page {
    padding: 80px 20px;
    background: linear-gradient( 135deg, var(--color-background) 0%, var(--color-background-soft) 100% );
}

.profile-header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.profile-header h1 {
    margin-bottom: 15px;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
}

.profile-header p:not(.hero-eyebrow) {
    margin: 0;
}

.profile-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-card {
    padding: 40px;
    background: var(--color-white);
    border: 1px solid rgba(172, 154, 104, 0.25);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
}

.profile-card h2 {
    margin-bottom: 30px;
    font-size: 1.7rem;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.profile-full-width {
    grid-column: 1 / -1;
}

.profile-email-resend {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.profile-secondary-button {
    background: var(--color-background-soft);
    color: var(--color-primary-dark);
}

.profile-secondary-button:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.profile-danger-zone {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(63, 61, 54, 0.12);
}

.profile-danger-zone h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.profile-danger-zone p {
    font-size: 0.9rem;
}

.profile-delete-button {
    margin-top: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(150, 50, 50, 0.3);
    border-radius: var(--radius-small);
    background: transparent;
    color: #8a3d3d;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.profile-delete-button:hover {
    background: #8a3d3d;
    color: var(--color-white);
}

/* ==================================================
   FORM MESSAGES
================================================== */

.form-message {
    max-width: 1000px;
    margin: 0 auto 25px;
    padding: 15px 20px;
    border-radius: var(--radius-small);
}

.form-message p {
    margin: 0;
}

.form-success {
    background: rgba(100, 140, 90, 0.12);
    border: 1px solid rgba(100, 140, 90, 0.2);
}

.form-error {
    background: rgba(150, 70, 70, 0.1);
    border: 1px solid rgba(150, 70, 70, 0.2);
}

/* ==================================================
   PROFILE MOBILE
================================================== */

@media (max-width: 768px) {
    .profile-page {
        padding: 60px 16px;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-card {
        padding: 30px 25px;
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .profile-full-width {
        grid-column: auto;
    }
}

/* ==================================================
   ADMIN USERS
================================================== */

.users-page {
    padding: 80px 20px;
    background: linear-gradient( 135deg, var(--color-background) 0%, var(--color-background-soft) 100% );
    min-height: calc(100vh - 82px);
}

.users-header {
    max-width: 1000px;
    margin: 0 auto 45px;
}

.users-header h1 {
    margin-bottom: 15px;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
}

.users-header p:not(.hero-eyebrow) {
    margin: 0;
}

/* --------------------
   Users card
-------------------- */

.users-card {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-white);
    border: 1px solid rgba(172, 154, 104, 0.25);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.users-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 35px;
    border-bottom: 1px solid rgba(63, 61, 54, 0.1);
}

.users-card-header h2 {
    margin-bottom: 5px;
    font-size: 1.6rem;
}

.users-card-header p {
    margin: 0;
    font-size: 0.9rem;
}

/* ==================================================
   USERS TABLE
================================================== */

.users-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.users-table th,
.users-table td {
    padding: 17px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(63, 61, 54, 0.08);
    vertical-align: middle;
}

.users-table th {
    background: var(--color-background-soft);
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.users-table tbody tr {
    transition: background 0.2s ease;
}

.users-table tbody tr:hover {
    background: rgba(240, 237, 228, 0.45);
}

.users-table tbody tr:last-child td {
    border-bottom: none;
}

/* --------------------
   User name
-------------------- */

.user-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name strong {
    color: var(--color-text);
    font-weight: 600;
}

.user-name small {
    color: var(--color-text-light);
    font-size: 0.75rem;
}

/* --------------------
   Email
-------------------- */

.user-email {
    color: var(--color-primary-dark);
    font-size: 0.9rem;
}

.user-email:hover {
    text-decoration: underline;
}

/* --------------------
   Empty values
-------------------- */

.user-empty-value {
    color: #aaa;
    font-size: 0.9rem;
}

/* --------------------
   Verification
-------------------- */

.user-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.user-status-verified {
    background: rgba(100, 140, 90, 0.12);
    color: #557448;
}

.user-status-unverified {
    background: rgba(172, 154, 104, 0.15);
    color: var(--color-primary-dark);
}

/* --------------------
   Edit button
-------------------- */

.user-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid rgba(172, 154, 104, 0.35);
    border-radius: var(--radius-small);
    background: transparent;
    color: var(--color-primary-dark);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.user-edit-button:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* --------------------
   Empty state
-------------------- */

.users-empty {
    padding: 70px 30px;
    text-align: center;
}

.users-empty h3 {
    margin-bottom: 10px;
}

.users-empty p {
    margin: 0;
}

/* ==================================================
   ADMIN MASSAGES
================================================== */

.massage-edit-card {
    margin-top: 30px;
}

.massage-edit-label {
    margin-bottom: 4px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tijdelijke vlakken zolang er nog geen massagefoto's zijn */
.massage-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-medium);
    background: linear-gradient(135deg, var(--color-background-soft) 0%, rgba(172, 154, 104, 0.25) 100%);
}

.massage-card .massage-image-placeholder {
    height: 220px;
    aspect-ratio: auto;
    margin-bottom: 24px;
    border-radius: var(--radius-small);
}

/* ==================================================
   ADMIN USER EDIT
================================================== */

.user-edit-page {
    padding: 80px 20px;
    background: linear-gradient( 135deg, var(--color-background) 0%, var(--color-background-soft) 100% );
    min-height: calc(100vh - 82px);
}

.user-edit-header {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.user-edit-header h1 {
    margin-bottom: 15px;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
}

.user-edit-header p:not(.hero-eyebrow) {
    margin: 0;
}

/* --------------------
   Edit layout
-------------------- */

.user-edit-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* --------------------
   Account information
-------------------- */

.user-account-information h2 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.user-info-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(63, 61, 54, 0.1);
}

.user-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(63, 61, 54, 0.1);
}

.user-info-item span {
    color: var(--color-text-light);
    font-size: 0.8rem;
}

.user-info-item strong {
    color: var(--color-text);
    font-size: 0.95rem;
    word-break: break-word;
}

/* --------------------
   Admin status
-------------------- */

.admin-status.verified {
    color: #557448;
}

.admin-status.unverified {
    color: var(--color-primary-dark);
}

/* --------------------
   Edit form
-------------------- */

.user-edit-page .profile-card h2 {
    margin-bottom: 30px;
}

.user-edit-page .profile-form-grid {
    margin-bottom: 5px;
}

.user-edit-page .form-group input,
.user-edit-page .form-group textarea {
    background: var(--color-background);
}

/* ==================================================
   ADMIN USERS MOBILE
================================================== */

@media (max-width: 768px) {
    .users-page,
    .user-edit-page {
        padding: 60px 16px;
    }

    .users-header {
        margin-bottom: 30px;
    }

    .users-card-header {
        padding: 25px 20px;
    }

    /* --------------------
       Table becomes cards
    -------------------- */
    .users-table-wrapper {
        overflow-x: visible;
    }

    .users-table {
        min-width: 0;
    }

    .users-table thead {
        display: none;
    }

    .users-table,
    .users-table tbody,
    .users-table tr,
    .users-table td {
        display: block;
        width: 100%;
    }

    .users-table tr {
        padding: 20px;
        border-bottom: 1px solid rgba(63, 61, 54, 0.1);
    }

    .users-table tr:last-child {
        border-bottom: none;
    }

    .users-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 8px 0;
        border: none;
        text-align: right;
    }

    .users-table td::before {
        content: attr(data-label);
        color: var(--color-text-light);
        font-size: 0.75rem;
        font-weight: 500;
        text-align: left;
    }

    .users-table td:first-child {
        padding-top: 0;
    }

    .users-table td:last-child {
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid rgba(63, 61, 54, 0.08);
    }

    .users-table .user-name {
        text-align: right;
    }

    .users-table-action {
        display: block !important;
    }

    .users-table-action::before {
        display: none;
    }

    .user-edit-button {
        width: 100%;
    }

    /* --------------------
       Edit page
    -------------------- */
    .user-edit-layout {
        grid-template-columns: 1fr;
    }

    .user-edit-page .profile-card {
        padding: 30px 25px;
    }
}

/* ==================================================
   APPOINTMENT - MASSAGE SELECTION
================================================== */

.appointment-page {
    padding: 80px 20px;
    min-height: calc(100vh - 82px);
    background: linear-gradient( 135deg, var(--color-background) 0%, var(--color-background-soft) 100% );
}

/* --------------------
   Header
-------------------- */

.appointment-header {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.appointment-header h1 {
    margin-bottom: 15px;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
}

.appointment-header p:not(.hero-eyebrow) {
    margin: 0;
    color: var(--color-text-light);
}

/* --------------------
   Step
-------------------- */

.appointment-step {
    max-width: 1100px;
    margin: 0 auto;
}

.appointment-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.appointment-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
}

.appointment-step-header h2 {
    margin-bottom: 4px;
    font-size: 1.6rem;
}

.appointment-step-header p {
    margin: 0;
    font-size: 0.9rem;
}

/* ==================================================
   MASSAGE GRID
================================================== */

.appointment-massage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* --------------------
   Selection wrapper
-------------------- */

.appointment-massage-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.appointment-massage-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* --------------------
   Massage card
-------------------- */

.appointment-massage-card {
    height: 100%;
    overflow: hidden;
    background: var(--color-white);
    border: 2px solid rgba(172, 154, 104, 0.18);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.appointment-massage-option:hover
.appointment-massage-card {
    transform: translateY(-3px);
    border-color: rgba(172, 154, 104, 0.45);
    box-shadow: 0 10px 30px rgba(63, 61, 54, 0.12);
}

/* --------------------
   Selected state
-------------------- */

.appointment-massage-option.is-selected
.appointment-massage-card {
    border-color: var(--color-primary);
    background: #FDFCFA;
    box-shadow: 0 8px 30px rgba(172, 154, 104, 0.18);
}

.appointment-massage-option.is-selected
.appointment-massage-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-medium);
    pointer-events: none;
}

/* --------------------
   Image
-------------------- */

.appointment-massage-image {
    position: relative;
}

.appointment-massage-image img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

/* --------------------
   Card content
-------------------- */

.appointment-massage-content {
    padding: 25px;
}

.appointment-massage-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.appointment-massage-title h3 {
    margin: 0;
    color: var(--color-text);
    font-size: 1.3rem;
}

/* --------------------
   Check
-------------------- */

.appointment-check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.appointment-massage-option.is-selected
.appointment-check {
    opacity: 1;
    transform: scale(1);
}

/* --------------------
   Description
-------------------- */

.appointment-massage-content p {
    margin: 14px 0 20px;
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --------------------
   Details
-------------------- */

.appointment-massage-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(63, 61, 54, 0.08);
}

.appointment-massage-details span {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.appointment-massage-details strong {
    color: var(--color-primary-dark);
    font-size: 1.15rem;
}

/* --------------------
   Next button
-------------------- */

.appointment-actions {
    max-width: 1100px;
    margin: 40px auto 0;
    display: flex;
    justify-content: flex-end;
}

.appointment-next-button {
    min-width: 210px;
}

.appointment-next-button:disabled {
    background: #C9C5B9;
    color: rgba(255, 255, 255, 0.75);
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

.appointment-next-button:disabled:hover {
    background: #C9C5B9;
    transform: none;
}

/* ==================================================
   APPOINTMENT MOBILE
================================================== */

@media (max-width: 768px) {
    .appointment-page {
        padding: 60px 16px;
    }

    .appointment-step {
        padding: 25px 20px;
    }

    .appointment-step-header {
        align-items: flex-start;
    }

    /* --------------------
       Massage cards
    -------------------- */
    .appointment-massage-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px;
        width: 100%;
    }

    .appointment-massage-option {
        display: block !important;
        width: 100% !important;
        max-width: 340px !important;
    }

    .appointment-massage-card {
        width: 100%;
    }

    .appointment-massage-image img {
        height: 170px;
    }

    .appointment-massage-content {
        padding: 20px;
    }

    .appointment-massage-title h3 {
        font-size: 1.15rem;
    }

    .appointment-massage-content p {
        font-size: 0.85rem;
    }

    /* --------------------
       Next button
    -------------------- */
    .appointment-actions {
        justify-content: stretch;
    }

    .appointment-next-button {
        width: 100%;
    }
}

/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .mobile-navigation {
        transition: none;
    }

    .mobile-navigation a,
    .mobile-menu-toggle span {
        transition: none;
    }
}

/* ==================================================
   JURIDISCHE PAGINA'S (page.php)
================================================== */

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
}

.footer-legal a {
    color: inherit;
    text-decoration: underline;
}

.legal-section {
    padding-top: 40px;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
}

.legal-content .legal-intro {
    margin-bottom: 32px;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.legal-content h2 {
    margin: 40px 0 12px;
    font-size: 1.4rem;
}

.legal-content h3 {
    margin: 24px 0 8px;
    font-size: 1.1rem;
}

.legal-content p {
    margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 16px;
    padding-left: 1.4em;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--color-primary-dark);
}

.legal-todo {
    padding: 1px 6px;
    border-radius: 4px;
    background: #fbf1df;
    color: #8a5a12;
    font-weight: 600;
}
