/* ══════════════════════════════════════════
   MIVA – masaze.css
   Styly výhradně pro masaze.html
══════════════════════════════════════════ */

/* ══ HLAVIČKA PODSTRÁNKY ══ */

.page-hero {
    background: url('images/studiohezu.jpeg') center 40% / cover no-repeat;
    padding: 140px var(--pad-x) 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(170deg,
        rgba(5, 12, 30, .82) 0%,
        rgba(8, 20, 50, .65) 50%,
        rgba(5, 12, 30, .88) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(3, 8, 24, .45) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-hero-bg-shape { display: none; }

.page-hero-inner {
    position: relative; z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

/* Barvy textu v hlavičce */
.page-hero .eyebrow           { justify-content: center; color: #f0c97a; }
.page-hero .eyebrow::before,
.page-hero .eyebrow::after    { color: #d4a43a; }
.page-hero .hero-title        { margin-bottom: 20px; color: #fff; text-shadow: 0 2px 32px rgba(5, 12, 30, .5); }
.page-hero .hero-title em     { color: #f0c97a; }
.page-hero .section-sub       { font-size: 1.05rem; color: rgba(220, 238, 255, .85); line-height: 1.8; max-width: 560px; margin: 0 auto; }

/* ══ ZPĚT NA HLAVNÍ STRÁNKU ══ */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #f0c97a;
    text-decoration: none;
    margin-bottom: 32px;
    transition: gap .25s ease, color .25s ease;
    position: relative; z-index: 2;
}

.back-link:hover  { gap: 12px; color: #fff; }
.back-link svg    { flex-shrink: 0; }

/* Tmavé mobilní menu (tmavá hero fotka) */
@media (max-width: 768px) {
    #navbar .nav-links,
    #navbar.scrolled .nav-links {
        background: rgba(5, 12, 30, .97);
        border-bottom-color: rgba(255, 255, 255, .07);
        border-radius: 0;
    }

    #navbar .nav-links a,
    #navbar.scrolled .nav-links a {
        border-bottom-color: rgba(255, 255, 255, .08);
        color: rgba(255, 255, 255, .90);
    }
}

/* ══ SEKCE MASÁŽÍ ══ */

.section-masaze {
    padding: var(--pad-y) var(--pad-x);
    background: #fdf6ee;
}

.cards-list {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* ══ KARTA MASÁŽE ══ */

.mcard {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(140, 90, 20, .08);
    border: 1px solid #e8d8c4;
    border-top: 3px solid #c89040;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
}

.mcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(140, 90, 20, .13);
    border-color: #dfc09a;
}

.mcard:nth-child(even) { flex-direction: row-reverse; }

/* Zlatý vnitřní border při hoveru */
.mcard::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--r);
    box-shadow: inset 0 0 0 2px #c89040;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.mcard:hover::after { opacity: .22; }

/* ══ OBRÁZEK ══ */

.mcard-img {
    flex: 0 0 35%;
    position: relative;
    background: #f5e8d4;
    min-height: 320px;
    overflow: hidden;
}

.mcard-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute; inset: 0;
    transition: transform .5s ease;
}

/* Menší obrázek s paddingem (lymfatická masáž) */
.mcard-img--sm img {
    object-fit: contain;
}

.mcard:hover .mcard-img img { transform: scale(1.05); }

/* ══ TĚLO KARTY ══ */

.mcard-body {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mcard-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 8px;
}

.mcard-meta {
    font-size: .85rem;
    color: #b07a30;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.mcard-short {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-lt);
    margin-bottom: 8px;
}

/* ══ TOGGLE TLAČÍTKO ══ */

.mcard-toggle {
    width: 100%;
    margin-top: 24px;
    padding: 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    border-top: 1px solid #eddfc8;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #b07a30;
    transition: color .2s;
}

.mcard-toggle:hover { color: var(--navy); }

.toggle-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px solid #dfc09a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), background .3s, border-color .3s;
    flex-shrink: 0;
    color: #b07a30;
}

.mcard-toggle:hover .toggle-icon {
    border-color: #b07a30;
    background: rgba(176, 122, 48, .08);
}

.mcard.open .toggle-icon {
    transform: rotate(45deg);
    background: #c89040;
    border-color: #c89040;
    color: #fff;
}

/* ══ ROZBALOVACÍ OBSAH ══ */

.mcard-expand {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s ease-out;
}

.mcard.open .mcard-expand { grid-template-rows: 1fr; }

.mcard-expand-inner {
    overflow: hidden;
    padding-top: 0;
    opacity: 0;
    transition: padding .4s ease-out, opacity .3s ease-out;
}

.mcard.open .mcard-expand-inner { padding-top: 24px; opacity: 1; }

/* ══ OBSAH ROZBALENÍ – DVOU/TŘÍSLOUPCOVÝ LAYOUT ══ */

.exp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.exp-three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.exp-col-block h4 {
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    color: #b07a30;
}

.exp-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exp-list li {
    font-size: .85rem;
    line-height: 1.55;
    color: var(--text-lt);
    padding-left: 18px;
    position: relative;
    transition: color .2s ease, padding-left .2s ease;
}

.exp-list li::before {
    content: '–';
    position: absolute; left: 0;
    color: #c89040;
    font-weight: 700;
}

.exp-list li:hover      { color: var(--navy); padding-left: 22px; }

.exp-list--warn li::before { color: #C07A3A; }
.exp-list--warn li:hover   { color: #8A5020; }

.exp-row { margin-bottom: 18px; }

.exp-row h4 {
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #b07a30;
    margin-bottom: 8px;
    font-weight: 700;
}

.exp-row p {
    font-size: .88rem;
    line-height: 1.75;
    color: var(--text-lt);
}

.exp-row--freq h4 { color: var(--navy); }

.exp-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.exp-tags span {
    background: #f5e8d4;
    color: #b07a30;
    border: 1px solid #dfc09a;
    font-size: .73rem;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 50px;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
    cursor: default;
}

.exp-tags span:hover {
    background: #e8d8c4;
    color: var(--navy);
    border-color: #b07a30;
    transform: translateY(-2px);
}

.exp-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: #c89040;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: 14px;
    transition: background .3s, transform .2s, box-shadow .3s;
}

.exp-btn:hover {
    background: #a06820;
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(140, 90, 20, .45);
}

/* ══ FREKVENČNÍ TABULKA ══ */

.freq-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e8d8c4;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 4px;
}

.freq-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    font-size: .83rem;
    gap: 16px;
}

.freq-row:nth-child(odd) { background: rgba(176, 122, 48, .05); }
.freq-row span           { color: var(--text-lt); flex: 1; }
.freq-row strong         { color: var(--navy); font-weight: 700; white-space: nowrap; font-size: .8rem; }

.freq-note {
    font-size: .78rem;
    color: var(--text-lt);
    font-style: italic;
    margin-top: 6px;
}

/* ══ RESPONZIVITA – masaze.html ══ */

@media (max-width: 1000px) {
    .mcard-title { font-size: 1.5rem; }
}

@media (max-width: 900px) {
    .mcard,
    .mcard:nth-child(even) { flex-direction: column; }

    .mcard-img { min-height: 200px; flex: 0 0 auto; width: 100%; }
    .mcard-body { padding: clamp(24px, 5vw, 48px); }

    .exp-two-col   { grid-template-columns: 1fr; gap: 24px; }
    .exp-three-col { grid-template-columns: 1fr; gap: 24px; }

    .freq-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 768px) {
    .page-hero { padding-top: 100px; padding-bottom: 70px; }
    .page-hero .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

    .back-link   { position: static; display: inline-flex; margin-bottom: 20px; }

    .cards-list  { gap: 40px; }
    .mcard-body  { padding: 24px; }
    .mcard-title { font-size: 1.35rem; }

    /* Hover efekty vypnout na touch */
    .mcard:hover            { transform: none; }
    .mcard:hover .mcard-img img { transform: none; }
    .mcard:hover::after     { opacity: 0; }
}

@media (max-width: 560px) {
    .page-hero { padding-top: 110px; padding-bottom: 56px; }
}

@media (max-width: 480px) {
    .page-hero          { padding-top: 100px; padding-bottom: 48px; }
    .page-hero .hero-title { font-size: 1.9rem; }
    .mcard-body         { padding: 20px 18px; }
    .mcard-title        { font-size: 1.25rem; }
    .mcard-short        { font-size: .92rem; }
    .mcard-img          { min-height: 180px; }
    .exp-two-col        { gap: 16px; }
}
