﻿:root {
    --header-height: 96px;
    
    /* PŘÍRODNÍ PALETA */
    --color-header-bg: #2D3A2D;       /* Tmavá lesní zelená */
    --color-header-text: #F1F3F0;     /* Světlá mlžná šedá */
    --color-header-hover: #A3B18A;    /* Šalvějová zelená */
    
    --color-page-bg: #F9F7F2;         /* Velmi světlá písková/krémová */
    --color-text: #342A21;            /* Tmavě hnědá (místo černé) */
    
    --color-surface: #FFFFFF;
    --color-surface-strong: rgba(45, 58, 45, 0.85); /* Průhledná lesní zelená */
    
    --color-footer-bg: #1F291F;       /* Velmi tmavá zelená */
    --color-footer-text: #E9EDC9;     /* Jemná žlutozelená */
    
    /* Akcentní barva pro detaily (hnědá jako dřevo) */
    --color-accent-brown: #8B5E3C; 

    --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.12);
    --radius-md: 14px;
    --radius-lg: 18px;
    --site-width: 1200px;

    /* Zunix integrace v přírodních barvách */
    --zunix-bg: color-mix(in srgb, #1F291F 80%, #000000 20%);
    --zunix-badge-bg: #3A473A;
    --zunix-badge-border: #151D15;
    --zunix-badge-hover: #4A5D4A;
    --zunix-text: rgba(233, 237, 201, 0.7);
    --zunix-accent: #E9EDC9;
    --zunix-accent-hover: #FAEDCD;
    --zunix-glow: rgba(233, 237, 201, 0.3);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#home,
#o-mne,
#masaze,
#kontakt {
    scroll-margin-top: calc(var(--header-height) + 8px);
}

body {
    margin: 0;
    background: var(--color-page-bg);
    color: var(--color-text);
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    background: var(--color-header-bg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: var(--site-width);
    min-height: var(--header-height);
    margin: 0 auto;
    padding: 0.75rem 1rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-brand-logo {
    display: block;
    width: 128px;
    height: 128px;
    object-fit: contain;
    object-position: left center;
}

.main-nav ul {
    display: flex;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    padding: 0.55rem 0.2rem;
    border-bottom: 2px solid transparent;
    color: var(--color-header-text);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--color-header-hover);
    border-color: var(--color-header-hover);
    outline: none;
}

/* Hero */
.hero-home {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 70vh;
    padding: 4rem 1rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url("img/bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay-card {
    width: min(500px, 100%);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: var(--color-surface-strong);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
    color: #FFFFFF;
    text-align: center;
}

.hero-top-text {
    margin: 0;
    color: inherit;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-card-image {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 1.5rem auto;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-text {
    margin: 1.2rem 0 0.5rem;
    color: var(--color-header-hover);
    font-size: 1.25rem;
    font-weight: 700;
}

.hero-bottom-text {
    margin: 1rem 0 0;
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Shared section layout */
.content-section {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 5rem 1rem;
}

.content-section h2 {
    margin: 0 0 1.5rem;
    padding-left: 15px;
    border-left: 5px solid var(--color-accent-brown); /* Hnědý pruh místo vínového */
    color: var(--color-header-bg); /* Lesní zelená */
    font-size: 2.2rem;
}

/* Footer */
.site-footer {
    margin-top: 0;
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Text blocks and lists */
.lead-text {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.7;
}

.mobility-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid var(--color-header-hover);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: 4px 4px 0 var(--color-header-hover); /* Šalvějový stín */
}

.mobility-box h3 {
    margin-top: 0;
    color: var(--color-header-bg);
}

.location-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
    font-weight: 700;
}

.location-list li::before {
    content: "✓ ";
    color: var(--color-accent-brown);
}

.quote {
    margin-top: 2rem;
    padding-left: 20px;
    border-left: 4px solid var(--color-accent-brown);
    color: var(--color-text);
    font-size: 1.1rem;
    font-style: italic;
}

.did-you-know {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--color-header-hover); /* Použije vaši vínovou barvu */
    margin-bottom: 1rem;
    font-weight: 700;
}

.did-you-know i {
    font-size: 1.5rem;
    color: var(--color-accent-brown); /* Zvýrazní ikonu vaší barvou pro hover */
}

.history-context {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0.9;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(68, 14, 20, 0.1);
}

/* Price section */
.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.price-overview {
    display: inline-flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 1.5rem 3rem;
    border-radius: var(--radius-lg);
    background: var(--color-header-bg);
    color: var(--color-header-text);
    box-shadow: var(--shadow-soft);
}

.price-item {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
}

.price-item strong {
    color: var(--color-header-hover);
    font-size: 1.6rem;
}

/* Service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    overflow: hidden;
    border: 1px solid rgba(68, 14, 20, 0.1);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(68, 14, 20, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    background: #DDD;
}

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

.service-info {
    padding: 1.5rem;
}

.service-info h3 {
    margin: 0 0 0.75rem;
    color: var(--color-header-bg);
}

.additional-services {
    padding: 2.5rem;
    border-left: 6px solid var(--color-header-bg);
    border-radius: var(--radius-lg);
    background: rgba(68, 14, 20, 0.05);
}

.other-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
}

.other-list li::before {
    content: "◈";
    margin-right: 10px;
    color: var(--color-header-bg);
    font-size: 0.9rem;
}

/* Background section with blur */
.services-section-bg {
    position: relative;
    width: 100%;
    padding: 4rem 0;
    background-image: url("img/bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services-section-bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: rgba(43, 26, 21, 0.4);
    backdrop-filter: blur(10px);
}

.services-section-bg .content-section {
    position: relative;
    z-index: 2;
}

.section-title {
    margin-bottom: 3rem;
    color: #FFF;
    font-size: 2.5rem;
    text-align: center;
}

/* Massage section: fixed background + scrolling cards */
.services-wrapper {
    position: relative;
    isolation: isolate;
    padding: 5rem 1rem;
    overflow: clip;
}

.fixed-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(180deg, rgba(45, 58, 45, 0.5), rgba(45, 58, 45, 0.7)), url("img/bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.fixed-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 11, 9, 0.24);
    backdrop-filter: blur(7px);
}

.content-container {
    position: relative;
    z-index: 1;
    width: min(var(--site-width), 100%);
    margin: 0 auto;
}

.services-wrapper .section-title {
    margin-bottom: 2.4rem;
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.services-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    max-width: 980px;
    margin: 0 auto;
}

.glass-card {
    display: grid;
    grid-template-columns: 48% 1fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) contrast(1.03);
}

.card-content {
    padding: 1.7rem 1.5rem;
    color: #444;
}

.card-content h3 {
    margin: 0;
    color: #222;
    font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.card-content h4 {
    margin: 0.45rem 0 1rem;
    color: #666;
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-weight: 400;
}

.card-content p {
    margin: 0;
    color: #3f3f3f;
    font-size: 1rem;
    line-height: 1.55;
}

.contact-glass-box {
    margin-top: 0;
    padding: 3.5rem 2rem;
    background: var(--color-surface-strong); /* Vaše tmavě vínová se 82% průhledností */
    backdrop-filter: blur(12px);
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--color-header-hover);
}

.contact-phone {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    margin: 1.5rem 0;
    transition: transform 0.2s ease;
}

.contact-phone:hover {
    transform: scale(1.05);
    color: var(--color-header-hover);
    cursor: default;
}

.contact-note {
    font-style: italic;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
    .site-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-home {
        justify-content: center;
        min-height: auto;
        padding: 3rem 1rem;
    }

    .hero-overlay-card {
        padding: 1.5rem;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 850px) {
    .glass-card {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 230px;
    }

    .card-content {
        padding: 1.2rem;
    }

    .fixed-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 600px) {
    .price-overview {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 1.5rem;
    }
}
