/* ==========================================================================
   PhotoGM – rekonstrukce (photogm.cz)
   Věrná replika YOOtheme Luna (Joomla + UIkit) jako čistý statický web.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Proměnné
   -------------------------------------------------------------------------- */
:root {
    /* Barvy */
    --c-accent:        #e43d3c;   /* akcentní červená */
    --c-accent-hover:  #ea6a69;   /* světlejší červená (hover) */
    --c-accent-2:      #e75352;
    --c-dark:          #1a1a1a;   /* tmavé sekce / patička */
    --c-heading:       #1f1e20;   /* nadpisy a odkazy */
    --c-text:          #a2a2a2;   /* běžný text / šedá */
    --c-text-light:    #c4c5c6;
    --c-white:         #ffffff;
    --c-muted:         #f8f9fa;   /* tlumené pozadí */
    --c-on-dark-link:  #f4acac;   /* odkazy na tmavém pozadí */
    --c-border:        rgba(150, 150, 150, 0.15);

    /* Typografie */
    --font-body:    'Open Sans', Helvetica, Arial, sans-serif;
    --font-heading: 'Raleway', Helvetica, Arial, sans-serif;
    --font-alt:     'Montserrat', Helvetica, Arial, sans-serif;

    /* Layout */
    --container:    1200px;
    --gutter:       25px;

    /* Přechody */
    --ease:         0.25s ease;
}

/* --------------------------------------------------------------------------
   2. Reset / základ
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    font: 300 14px/24px var(--font-body);
    background: var(--c-white);
    color: var(--c-text);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body { margin: 0; }

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

p { margin: 0 0 15px; }

a {
    color: var(--c-heading);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--ease);
}
a:hover { color: var(--c-text); }

em { color: var(--c-accent); font-style: italic; }

button { font-family: inherit; }

/* --------------------------------------------------------------------------
   3. Nadpisy
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--c-heading);
    text-transform: uppercase;
    letter-spacing: 0;
}
* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 { margin-top: 25px; }

h1 { font-size: 45px; line-height: 58px; }
h2 { font-size: 38px; line-height: 53px; }
h3 { font-size: 20px; line-height: 29px; }

/* h4–h6 a .h6 – Montserrat, bez verzálek */
h4, h5, h6, .h6 {
    font-family: var(--font-alt);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 1px;
}
h4 { font-size: 18px; line-height: 26px; }
h5 { font-size: 16px; line-height: 24px; }
h6, .h6 { font-size: 14px; line-height: 22px; }

/* --------------------------------------------------------------------------
   4. Utility
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
}

.text-center { text-align: center; }
.text-large  { font-size: 18px; line-height: 26px; }

.text-lead {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mt-large { margin-top: 30px; }

.heading-line { position: relative; margin-bottom: 20px; }
.heading-line::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -20px;
    width: 40px;
    height: 2px;
    background: var(--c-accent);
}

.hide-mobile { display: none; }

/* --------------------------------------------------------------------------
   5. Bloky (sekce) – barvy a odsazení
   -------------------------------------------------------------------------- */
.block { position: relative; }
.block--default   { background: var(--c-white); }
.block--secondary { background: var(--c-dark); color: var(--c-white); }

.block--small  { padding: 40px 0; }
.block--large  { padding: 40px 0; }
.block--xlarge { padding: 40px 0; }

/* Patička navazuje na stejně barevný blok → horní padding se slévá na 0
   + jemná dělicí linka nahoře (dle .tm-footer > .uk-container:before) */
#tm-footer { padding-top: 0; }
#tm-footer .container { position: relative; }
#tm-footer .container::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--c-border);
}

/* Sléváním horního paddingu u sousedních stejně barevných bloků (jako originál) */
.block--default + .block--default:not(#tm-footer) { padding-top: 0; }

/* Tmavé sekce – odkazy a nadpisy */
.block--secondary h1, .block--secondary h2, .block--secondary h3,
.block--secondary h4, .block--secondary h5, .block--secondary h6 { color: var(--c-white); }
.block--secondary a:not([class]) { color: var(--c-on-dark-link); }
.block--secondary a:not([class]):hover { color: var(--c-white); }

/* --------------------------------------------------------------------------
   6. Grid
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 25px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--info { grid-template-columns: 1fr; }

/* --------------------------------------------------------------------------
   7. Navigace
   -------------------------------------------------------------------------- */
.navbar-container { background: var(--c-white); }
.navbar { position: relative; padding: 20px 0; }

.navbar__grid { display: none; } /* desktop skryto pod 1222px */

.navbar__mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar__logo-small img { width: 100px; height: 54px; }

/* Hamburger */
.navbar__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 0;
    cursor: pointer;
}
.navbar__toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--c-heading);
    transition: transform var(--ease), opacity var(--ease);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktopové menu (věrně dle uk-navbar-nav) */
.navbar__nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.navbar__nav--right { justify-content: flex-end; }
.navbar__nav > li { position: relative; }
.navbar__nav > li + li { margin-left: 20px; }
.navbar__nav > li > a {
    position: relative;
    display: block;
    height: 40px;
    padding: 0;
    line-height: 40px;
    font-family: var(--font-body);   /* Open Sans */
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-text);            /* výchozí šedá */
}
/* Animovaná červená linka pod položkou */
.navbar__nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--c-accent);
    transition: height 0.15s ease;
}
.navbar__nav > li:hover > a,
.navbar__nav > li:focus-within > a,
.navbar__nav > li.is-active > a { color: var(--c-heading); }
.navbar__nav > li:hover > a::after,
.navbar__nav > li:focus-within > a::after,
.navbar__nav > li.is-active > a::after { height: 2px; }

.navbar__logo { text-align: center; }
.navbar__logo img { width: 200px; height: 108px; }

/* Dropdown */
.dropdown {
    position: absolute;
    top: 40px;
    left: 0;
    min-width: 200px;
    background: var(--c-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
    z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a {
    display: block;
    padding: 6px 20px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--c-text);
}
.dropdown a:hover { color: var(--c-heading); }

/* --------------------------------------------------------------------------
   8. Offcanvas (mobilní menu)
   -------------------------------------------------------------------------- */
.offcanvas {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}
.offcanvas.is-open { visibility: visible; pointer-events: auto; }
.offcanvas__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity var(--ease);
}
.offcanvas.is-open .offcanvas__overlay { opacity: 1; }
.offcanvas__bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 270px;
    max-width: 85vw;
    background: var(--c-dark);
    color: var(--c-white);
    padding: 30px 25px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--ease);
}
.offcanvas.is-open .offcanvas__bar { transform: translateX(0); }
.offcanvas__close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: 0;
    color: var(--c-white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.offcanvas__search input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--c-white);
    padding: 8px 0;
    margin-bottom: 20px;
    font-family: var(--font-body);
}
.offcanvas__search input::placeholder { color: rgba(255, 255, 255, 0.5); }
.offcanvas__nav, .offcanvas__nav ul { list-style: none; margin: 0; padding: 0; }
.offcanvas__nav > li > a {
    display: block;
    padding: 10px 0;
    color: var(--c-white);
    font-family: var(--font-alt);
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.offcanvas__nav ul a {
    display: block;
    padding: 6px 0 6px 15px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}
.offcanvas__nav a:hover { color: var(--c-accent-hover); }

/* --------------------------------------------------------------------------
   9. Hero slideshow
   -------------------------------------------------------------------------- */
.block--slideshow { padding: 0; }
.slideshow { position: relative; overflow: hidden; }
.slideshow__list { list-style: none; margin: 0; padding: 0; position: relative; }
.slideshow__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
/* První snímek zůstává v toku a udává výšku celého slideru.
   Aktivní snímek musí zůstat absolutní (inset:0), aby se překryl přesně přes něj —
   kdyby dostal position:relative, byly by v toku dva prvky a snímek by se vykreslil
   POD prvním místo přes něj. */
.slideshow__item:first-child { position: relative; }
.slideshow__item.is-active { opacity: 1; z-index: 1; }
.slideshow__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Ovládací šipky – věrně dle uk-slidenav uk-slidenav-contrast:
   bílé poloprůhledné, bez pozadí, vlevo nahoře vedle sebe */
.slideshow__nav {
    position: absolute;
    top: 25px;
    left: 25px;
    display: flex;
    gap: 10px;
    z-index: 5;
}
.slidenav {
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    line-height: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    position: relative;
    transition: color var(--ease);
}
.slidenav:hover,
.slidenav:focus { color: rgba(255, 255, 255, 0.7); outline: none; }
.slidenav:active { color: rgba(255, 255, 255, 0.9); }
.slidenav::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 15px; height: 15px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
}
.slidenav--prev::before { transform: translate(-25%, -50%) rotate(-135deg); }
.slidenav--next::before { transform: translate(-75%, -50%) rotate(45deg); }

/* --------------------------------------------------------------------------
   10. Sekce O mně – ikony sociálních sítí
   -------------------------------------------------------------------------- */
.social { display: flex; gap: 18px; align-items: center; }
.social__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--c-text);
    transition: color var(--ease);
}
.social__icon:hover { color: rgba(162, 162, 162, 0.6); }
.block--secondary .social__icon { color: rgba(255, 255, 255, 0.7); }
.block--secondary .social__icon:hover { color: var(--c-white); }

/* --------------------------------------------------------------------------
   11. Galerie
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: 1fr; gap: 25px; }
.gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}
.gallery__item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity var(--ease);
}
.gallery__item:hover img { transform: scale(1.1); }
.gallery__item:hover::after { opacity: 1; }
.gallery__link { position: absolute; inset: 0; z-index: 2; }

/* Scroll reveal */
.reveal { opacity: 0; transition: opacity 0.6s ease; }
.reveal.is-visible { opacity: 1; }

/* --------------------------------------------------------------------------
   12. Všeobecné informace
   -------------------------------------------------------------------------- */
.columns-2 { column-gap: 30px; }
.col--info-text h3 { margin-top: 25px; }
.col--info-text h3:first-child { margin-top: 0; }

.panel-box {
    background: var(--c-muted);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--c-border);
}
.panel-box__title { margin-bottom: 25px; }
.btn-link {
    display: inline-block;
    color: var(--c-text);
    font-family: var(--font-alt);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 55px;
}
.btn-link:hover { color: var(--c-heading); }

/* --------------------------------------------------------------------------
   13. Reference (červený panel)
   -------------------------------------------------------------------------- */
.testimonials__panel {
    background: var(--c-accent);
    background-image: linear-gradient(180deg, var(--c-accent-2), var(--c-accent));
    color: var(--c-white);
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
}
.testimonials__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #d8d8d8 center/cover no-repeat;
    margin: -110px auto 20px;
    border: 4px solid var(--c-accent);
    position: relative;
}
.testimonials__list { list-style: none; margin: 0; padding: 0; position: relative; }
.testimonials__item {
    display: none;
    max-width: 60%;
    margin: 0 auto;
}
.testimonials__item.is-active { display: block; animation: fadein 0.5s ease; }
.testimonials__item h3 { color: var(--c-white); }
.testimonials__item p { color: rgba(255, 255, 255, 0.95); }

@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* Dot navigace */
.dotnav { list-style: none; margin: 20px 0 0; padding: 0; display: flex; justify-content: center; gap: 10px; }
.dotnav button {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background var(--ease);
}
.dotnav button.is-active { background: var(--c-white); }

/* --------------------------------------------------------------------------
   14. CTA blok + patička (tmavé)
   -------------------------------------------------------------------------- */
.cta__logo { filter: brightness(0) invert(1); opacity: 0.9; }
.subnav-bullet {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 25px;
    font-size: 12px;
    letter-spacing: 1px;
}
.subnav-bullet li { position: relative; }
.subnav-bullet li + li::before {
    content: '';
    position: absolute;
    left: -13px; top: 50%;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%);
}
.subnav-bullet a { color: var(--c-on-dark-link); text-transform: uppercase; }
.subnav-bullet a:hover { color: var(--c-white); }

.footer__row {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}
.subnav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 15px; }
.subnav a {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 20px;
}
.subnav li.is-active a, .subnav a:hover { color: var(--c-white); }

/* Sociální ikony v patičce – rozestup 15px (uk-margin-right) */
.footer__right.social { gap: 15px; }

/* Tlačítko nahoru – glyf šipky (věrně dle tm-totop-scroller).
   Absolutní vůči kontejneru patičky, vpravo, svisle na střed. */
.footer__totop {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 20px;
    height: 25px;
    margin-top: -13px;
    color: var(--c-text);            /* #a2a2a2 dle .uk-block-secondary .tm-totop-scroller */
    z-index: 1000;
    transition: color var(--ease);
}
.footer__totop::before {
    content: '';
    position: absolute;
    top: 55%; left: 50%;
    width: 8px; height: 8px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}
.footer__totop:hover,
.footer__totop:focus { color: var(--c-white); outline: none; }

/* --------------------------------------------------------------------------
   15. Boční tečková navigace (jen desktop)
   -------------------------------------------------------------------------- */
.scrollspy-nav { display: none; }


/* --------------------------------------------------------------------------
   17. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 85vh; box-shadow: 0 0 40px rgba(0, 0, 0, 0.5); }
.lightbox button {
    position: absolute;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity var(--ease);
}
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 20px; right: 25px; font-size: 40px; line-height: 1; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); font-size: 40px; padding: 10px; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* ==========================================================================
   18. RESPONZIVITA – jediný breakpoint 1222px (jako originál)
   ========================================================================== */
@media (min-width: 1222px) {

    .hide-mobile { display: inline; }

    /* Bloky – velké vertikální odsazení desktopu (originál: 240px) */
    .block--xlarge { padding: 240px 0; }
    .block--large  { padding: 100px 0; }
    .block--small  { padding: 40px 0; }
    .block--default + .block--default:not(#tm-footer) { padding-top: 0; }

    /* Navigace */
    .navbar__grid {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    .navbar__nav--right { justify-content: flex-end; }
    .navbar__mobile { display: none; }

    /* Grid O mně / info */
    .grid--2 { grid-template-columns: 1fr 1fr; gap: 40px; }
    .grid--info { grid-template-columns: 2fr 1fr; gap: 60px; }
    .columns-2 { column-count: 2; }
    .col--info-text h3 { margin-top: 0; }

    /* Galerie 3 sloupce */
    .gallery { grid-template-columns: repeat(3, 1fr); }

    /* Boční tečková navigace */
    .scrollspy-nav {
        display: block;
        position: fixed;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 500;
    }
    .scrollspy-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
    .scrollspy-nav a {
        display: block;
        width: 10px; height: 10px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
        transition: background var(--ease);
    }
    .scrollspy-nav a.is-active,
    .scrollspy-nav a:hover { background: var(--c-accent); }

    /* Patička – rozložení do řádku */
    .footer__row { flex-direction: row; justify-content: space-between; text-align: left; }
    .subnav { justify-content: flex-start; }
    .footer__right { padding-right: 50px; }   /* místo pro šipku nahoru */
    .footer__totop { right: 35px; }

    /* Reference – užší avatar posun */
    .testimonials__item { max-width: 55%; }
}

/* Tablet – 2 sloupce galerie */
@media (min-width: 768px) and (max-width: 1221px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .grid--2 { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ==========================================================================
   19. PODSTRÁNKY
   ========================================================================== */

/* Kontejner obsahu podstránek (uk-block-smallwidth ≈ 905px) */
.block--smallwidth .container { max-width: 935px; }

/* Titulek stránky (uk-article-title) */
.page-title {
    font-size: 38px;
    line-height: 53px;
    text-align: center;
    margin: 30px 0 45px;
}

/* Tlačítka (uk-button / uk-button-primary) */
.btn {
    display: inline-block;
    box-sizing: border-box;
    min-height: 40px;
    padding: 0 30px;
    line-height: 38px;
    border: 1px solid transparent;
    background: none;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn-primary {
    color: var(--c-heading);
    border-color: var(--c-accent);
}
.btn-primary:hover,
.btn-primary:focus { background: var(--c-accent); color: var(--c-white); border-color: transparent; }
.btn-large { min-height: 55px; line-height: 53px; padding: 0 35px; }
/* Na tmavém pozadí je tlačítko rovnou plné červené */
.block--secondary .btn-primary { background: var(--c-accent-hover); color: rgba(255,255,255,.85); border-color: transparent; }
.block--secondary .btn-primary:hover { background: var(--c-accent); color: var(--c-white); }

/* --- Ceník (uk-list-line) --- */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list > li { padding: 20px 0; }
.price-list > li + li { border-top: 1px solid var(--c-border); }
.price-list__row { display: grid; grid-template-columns: 1fr; gap: 5px 25px; align-items: start; }
.price-list__title { margin: 0; }
.price-list__price {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-text);
    margin-top: 5px;
}
.price-list__desc { margin: 0; }
.price-list__desc p { margin: 0; }

/* --- Doporučení před focením (obrázek + nadpis + text) --- */
.tip-list { list-style: none; margin: 0; padding: 0; }
.tip-list > li { padding: 25px 0; }
.tip-list > li + li { border-top: 1px solid var(--c-border); }
.tip-list__row { display: grid; grid-template-columns: 1fr; gap: 15px 25px; align-items: start; }
.tip-list__img img { width: 100%; border-radius: 3px; }
.tip-list__title { margin: 0; }
.tip-list__lead {
    display: block;
    font-family: var(--font-alt);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--c-text);
    margin-top: 5px;
}
.tip-list__text p { margin: 0 0 12px; }
.tip-list__text p:last-child { margin-bottom: 0; }

/* --- Fotogalerie: přehled alb --- */
.albums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.album-card { position: relative; display: block; overflow: hidden; border-radius: 3px; }
.album-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform 0.4s ease; }
.album-card:hover img { transform: scale(1.08); }
.album-card__info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    color: var(--c-white);
    background: rgba(26, 26, 26, 0.35);
    transition: background var(--ease);
}
.album-card:hover .album-card__info { background: rgba(26, 26, 26, 0.5); }
.album-card__title {
    color: var(--c-white);
    margin: 0;
    font-family: var(--font-heading);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.album-card__count {
    font-family: var(--font-alt);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

/* --- Fotogalerie: detail alba (mřížka fotek) --- */
.photo-grid {
    columns: 3;
    column-gap: 15px;
}
@media (max-width: 767px) { .photo-grid { columns: 2; } }
@media (max-width: 479px) { .photo-grid { columns: 1; } }
.photo-grid__item {
    display: block;
    width: 100%;
    margin: 0 0 15px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}
.photo-grid__item img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;            /* výchozí: čtverec */
    transition: transform 0.4s ease;
}
/* Formát dle konkrétní fotky jako v původní galerii: čtverec, nebo na výšku */
.photo-grid__item--tall img { aspect-ratio: 2 / 3; }  /* snímek na výšku */
.photo-grid__item:hover img { transform: scale(1.06); }

/* --- Kontakt: mapa --- */
.map-embed { width: 100%; height: 400px; border: 0; display: block; }
.contact-lead { text-align: center; }
.contact-lead .btn { margin-top: 15px; }

/* --- Obchodní podmínky: accordion --- */
.terms-head { text-align: center; margin-bottom: 40px; }
.terms-head h1 { margin-bottom: 10px; }
.terms-head__sub { font-family: var(--font-alt); font-size: 14px; color: var(--c-text); }
.accordion { max-width: 830px; margin: 0 auto; }
.accordion__item + .accordion__item { margin-top: 8px; }
.accordion__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: var(--c-muted);
    border: 1px solid var(--c-border);
    cursor: pointer;
    font-family: var(--font-alt);
    font-size: 15px;
    color: var(--c-heading);
}
.accordion__head:hover { color: var(--c-accent); }
.accordion__icon { transition: transform var(--ease); color: var(--c-accent); flex: none; }
.accordion__item.is-open .accordion__icon { transform: rotate(90deg); }
.accordion__body {
    display: none;
    padding: 18px 20px;
    border: 1px solid var(--c-border);
    border-top: 0;
}
.accordion__item.is-open .accordion__body { display: block; }
.accordion__body p { margin: 0 0 12px; }
.accordion__body p:last-child { margin-bottom: 0; }
.terms-note { text-align: center; margin: 40px 0 25px; font-family: var(--font-alt); }
.terms-actions { text-align: center; }

@media (min-width: 1222px) {
    .price-list__row { grid-template-columns: 2fr 3fr; }
    .tip-list__row { grid-template-columns: 1fr 1fr 2fr; }
    .albums { grid-template-columns: repeat(4, 1fr); }
    .photo-grid { columns: 3; }
    .page-title { margin: 45px 0 60px; }
}

@media (min-width: 768px) and (max-width: 1221px) {
    .albums { grid-template-columns: repeat(3, 1fr); }
    .price-list__row { grid-template-columns: 2fr 3fr; }
    .tip-list__row { grid-template-columns: 1fr 1fr 2fr; }
}

/* Vizuálně skrytý nadpis (dostupný pro čtečky a vyhledávače) */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Nadpisy povýšené na <h1> kvůli SEO (jeden h1 na stránku).
   Velikost zůstává původní, aby se vzhled nezměnil oproti originálu.
   ========================================================================== */
h1.heading-line,
.terms-head h1 { font-size: 38px; line-height: 53px; }   /* původně h2 */
h1.tip-list__title { font-size: 20px; line-height: 29px; } /* původně h3 */
