/* =========================================================
   RESPONZIVNÍ STYLY
   Web VITTU
========================================================= */


/* =========================================================
   MENŠÍ NOTEBOOKY A TABLETY NA ŠÍŘKU
========================================================= */

@media (max-width: 1200px) {

    :root {
        --container-width: 1080px;
    }

    .navbar__menu {
        gap: 22px;
    }

    .navbar__link {
        font-size: 0.7rem;
    }

    .about {
        gap: 60px;
    }

    .about__image {
        height: 560px;
    }

    .event-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .event-card:nth-child(4),
    .event-card:nth-child(5) {
        grid-column: span 1;
    }

    .reservation {
        gap: 45px;
    }

}


/* =========================================================
   TABLETY NA ŠÍŘKU
========================================================= */

@media (max-width: 1050px) {

    :root {
        --header-height: 84px;
    }

    .section {
        padding: 100px 0;
    }

    .navbar__logo img {
        width: 145px;
        height: 62px;
    }

    .header.is-scrolled .navbar__logo img {
        width: 125px;
        height: 54px;
    }

    .navbar__menu {
        gap: 18px;
    }

    .navbar__link {
        font-size: 0.66rem;
        letter-spacing: 0.08em;
    }

    .hero__title {
        font-size: clamp(5rem, 12vw, 8rem);
    }

    .about {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 50px;
    }

    .about__image {
        height: 510px;
    }

    .about__badge {
        right: -10px;
    }

    .about__statistics {
        gap: 12px;
    }

    .concert-card {
        grid-template-columns: 120px minmax(0, 1fr) 110px;
    }

    .concert-card__content {
        padding: 25px 28px;
    }

    .gallery {
        grid-auto-rows: 210px;
    }

    .reservation {
        grid-template-columns: 1fr;
        padding: 50px;
    }

    .reservation__contacts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact {
        gap: 50px;
    }


    /* CENÍK */

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 780px;
        width: 100%;
        margin-inline: auto;
    }

    .pricing-info__grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   TABLETY A MOBILNÍ MENU
========================================================= */

@media (max-width: 900px) {

    :root {
        --header-height: 78px;
    }

    .container {
        width: min(calc(100% - 32px), var(--container-width));
    }

    .section {
        padding: 85px 0;
    }

    .section-heading {
        margin-bottom: 42px;
    }

    .section-heading--center {
        margin-bottom: 50px;
    }

    .section-heading__title {
        font-size: clamp(2.25rem, 7vw, 3.5rem);
    }


    /* NAVIGACE */

    .navbar {
        min-height: var(--header-height);
    }

    .navbar__logo img {
        width: 130px;
        height: 56px;
    }

    .header.is-scrolled .navbar__logo img {
        width: 118px;
        height: 50px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1003;
        opacity: 1;
        pointer-events: auto;
        touch-action: manipulation;
    }

    .navbar__menu {
        position: fixed;
        z-index: 1001;
        top: 0;
        right: 0;
        width: min(390px, 88vw);
        height: 100svh;
        padding: 120px 38px 45px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        background:
            linear-gradient(
                180deg,
                rgba(15, 15, 15, 0.99),
                rgba(5, 5, 5, 0.99)
            );
        box-shadow: -25px 0 70px rgba(0, 0, 0, 0.48);

        transform: translateX(110%);
        visibility: hidden;
        pointer-events: none;

        transition:
            transform 0.38s ease,
            visibility 0.38s ease;

        backdrop-filter: blur(18px);
    }

    .navbar__menu::before {
        content: "";
        position: absolute;
        top: 94px;
        right: 38px;
        left: 38px;
        height: 1px;
        background: rgba(255, 255, 255, 0.08);
    }

    .navbar__menu.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__link {
        width: 100%;
        padding: 14px 0;
        font-size: 0.93rem;
        letter-spacing: 0.12em;
    }

    .navbar__link::after {
        right: auto;
        bottom: 7px;
        width: 42px;
    }


    /* HERO */

    .hero {
        min-height: 92svh;
    }

    .hero__content {
        padding-top: 105px;
    }

    .hero__title {
        font-size: clamp(4.5rem, 17vw, 7rem);
    }

    .hero__subtitle {
        font-size: 1.08rem;
    }

    .hero__buttons {
        margin-top: 34px;
    }


    /* O KAPELE */

    .about {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .about__image-wrapper {
        max-width: 700px;
        margin-inline: auto;
    }

    .about__image {
        height: 540px;
    }

    .about__content {
        max-width: 760px;
    }


    /* KONCERTY */

    .concert-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .concert-card__button {
        min-height: 68px;
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 0;
    }


    /* AKCE */

    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-card {
        min-height: 270px;
    }

    .event-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 9px);
        width: 100%;
        justify-self: center;
    }


    /* GALERIE */

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }

    .gallery__item--large {
        grid-column: span 2;
    }

    .gallery__item--wide {
        grid-column: span 2;
    }


    /* REZERVACE */

    .reservation-section {
        min-height: auto;
    }

    .reservation {
        grid-template-columns: 1fr;
        padding: 46px;
    }

    .reservation__contacts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* KONTAKT */

    .contact {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact__content {
        max-width: 720px;
    }

    .contact__image-wrapper {
        min-height: 520px;
    }


    /* FOOTER */

    .footer__container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer__logo,
    .footer__email {
        justify-self: center;
    }

}


/* =========================================================
   MOBILY NA ŠÍŘKU A MENŠÍ TABLETY
========================================================= */

@media (max-width: 700px) {

    .section {
        padding: 75px 0;
    }

    .section-heading__eyebrow {
        font-size: 0.7rem;
    }

    .section-heading__title {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }


    /* HERO */

    .hero {
        min-height: 88svh;
    }

    .hero__content {
        padding-top: 90px;
    }

    .hero__eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.24em;
    }

    .hero__title {
        font-size: clamp(4rem, 19vw, 6rem);
    }

    .hero__subtitle {
        margin-top: 22px;
        font-size: 1rem;
    }

    .hero__buttons {
        width: 100%;
        flex-direction: column;
    }

    .hero__buttons .button {
        width: min(100%, 330px);
    }

    .hero__scroll {
        bottom: 18px;
    }


    /* O KAPELE */

    .about__image {
        height: 460px;
    }

    .about__image-border {
        top: 15px;
        left: 15px;
    }

    .about__badge {
        right: 12px;
        bottom: 20px;
    }

    .about__statistics {
        grid-template-columns: 1fr;
    }

    .statistic {
        padding: 14px 0 14px 18px;
    }


    /* KONCERTY */

    .concert-card {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .concert-card__date {
        padding: 14px 10px;
    }

    .concert-card__date strong {
        font-size: 2.45rem;
    }

    .concert-card__content {
        padding: 22px 18px;
    }

    .concert-card__title {
        font-size: 1.25rem;
    }

    .concert-card__details {
        flex-direction: column;
        gap: 6px;
    }


    /* AKCE */

    .event-grid {
        grid-template-columns: 1fr;
    }

    .event-card,
    .event-card:last-child {
        max-width: none;
        min-height: 245px;
        grid-column: auto;
    }


    /* CENÍK */

    .pricing__intro {
        font-size: 0.93rem;
    }

    .pricing-card {
        padding: 30px 24px;
    }

    .pricing-card__badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 16px;
    }

    .pricing-card__eyebrow,
    .pricing-card--featured .pricing-card__eyebrow {
        min-height: 0;
        padding-right: 0;
    }

    .pricing-info {
        padding: 30px 24px;
    }

    .pricing__action .button {
        width: 100%;
    }


    /* GALERIE */

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .gallery__item--large,
    .gallery__item--wide,
    .gallery__item--tall {
        grid-column: auto;
        grid-row: auto;
    }


    /* REZERVACE */

    .reservation {
        padding: 34px 24px;
    }

    .reservation__title {
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    .reservation__actions {
        flex-direction: column;
    }

    .reservation__actions .button {
        width: 100%;
    }

    .reservation__contacts {
        grid-template-columns: 1fr;
    }

    .contact-item:hover {
        transform: translateY(-4px);
    }


    /* KONTAKT */

    .contact__image-wrapper {
        min-height: 430px;
    }

    .contact__image-content {
        right: 26px;
        bottom: 26px;
        left: 26px;
    }


    /* POPTÁVKOVÝ FORMULÁŘ */

    .inquiry-modal {
        padding: 12px;
    }

    .inquiry-modal__dialog {
        max-height: calc(100svh - 24px);
        padding: 28px 18px;
        border-radius: 18px;
    }

    .inquiry-modal__close {
        margin: -10px -8px 0 12px;
    }

    .inquiry-form__grid {
        grid-template-columns: 1fr;
    }

    .inquiry-field--full {
        grid-column: auto;
    }

    .inquiry-form__section {
        padding: 18px 14px;
    }

    .inquiry-form__submit {
        width: 100%;
    }

}


/* =========================================================
   MENŠÍ MOBILY
========================================================= */

@media (max-width: 480px) {

    .container {
        width: min(calc(100% - 24px), var(--container-width));
    }

    .section {
        padding: 65px 0;
    }

    .navbar__logo img {
        width: 112px;
        height: 48px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .menu-toggle__line {
        left: 11px;
    }

    .navbar__menu {
        width: min(390px, 88vw);
        padding-right: 26px;
        padding-left: 26px;
    }

    .navbar__menu::before {
        right: 26px;
        left: 26px;
    }


    /* HERO */

    .hero__content {
        padding-top: 78px;
    }

    .hero__eyebrow {
        letter-spacing: 0.18em;
    }

    .hero__title {
        font-size: clamp(3.6rem, 21vw, 5rem);
    }

    .hero__subtitle {
        max-width: 280px;
        margin-right: auto;
        margin-left: auto;
        line-height: 1.5;
    }

    .button {
        min-height: 50px;
        padding: 13px 22px;
        font-size: 0.72rem;
    }


    /* O KAPELE */

    .about__image {
        height: 390px;
    }

    .about__badge {
        min-width: 150px;
        padding: 18px 20px;
    }

    .about__badge strong {
        font-size: 1.45rem;
    }

    .about__title {
        font-size: 1.65rem;
    }

    .about__content p {
        font-size: 0.93rem;
    }


    /* KONCERTY */

    .concert-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .concert-card__date strong {
        font-size: 2rem;
    }

    .concert-card__date span {
        font-size: 0.68rem;
    }

    .concert-card__content {
        padding: 20px 14px;
    }

    .concert-card__title {
        font-size: 1.08rem;
    }

    .concert-card__details {
        font-size: 0.78rem;
    }

    .concert-card__button {
        min-height: 60px;
    }


    /* CENÍK */

    .pricing-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .pricing-card__title {
        font-size: 1.35rem;
    }

    .pricing-info {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .pricing-info__item {
        gap: 13px;
    }

    .pricing-info__icon {
        width: 44px;
        height: 44px;
    }


    /* GALERIE */

    .gallery {
        grid-auto-rows: 230px;
    }


    /* REZERVACE */

    .reservation {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .reservation__text {
        font-size: 0.92rem;
    }

    .contact-item {
        padding: 18px;
    }

    .contact-item__icon {
        width: 48px;
        height: 48px;
    }

    .contact-item__content strong {
        font-size: 0.82rem;
    }


    /* KONTAKT */

    .contact__image-wrapper {
        min-height: 360px;
    }

    .contact__image-content img {
        width: 145px;
    }

    .contact__image-content p {
        font-size: 1rem;
    }


    /* FOOTER */

    .footer {
        padding: 28px 0;
    }

    .footer__content {
        flex-direction: column;
        gap: 3px;
    }

    .footer__separator {
        display: none;
    }

    .footer__email {
        font-size: 0.7rem;
    }


    /* LIGHTBOX */

    .lightbox {
        padding: 72px 14px 95px;
    }

    .lightbox__content {
        height: 68vh;
    }

    .lightbox__close {
        top: 14px;
        right: 14px;
        width: 46px;
        height: 46px;
    }

    .lightbox__navigation {
        top: auto;
        bottom: 20px;
        width: 52px;
        height: 52px;
        transform: none;
    }

    .lightbox__navigation:hover {
        transform: scale(1.05);
    }

    .lightbox__navigation--previous {
        left: calc(50% - 68px);
    }

    .lightbox__navigation--next {
        right: calc(50% - 68px);
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

}


/* =========================================================
   MOBILY S NÍZKOU VÝŠKOU
========================================================= */

@media (max-height: 650px) and (max-width: 900px) {

    .navbar__menu {
        padding-top: 90px;
        overflow-y: auto;
    }

    .navbar__link {
        padding: 9px 0;
    }

    .hero {
        min-height: 720px;
    }

}


/* =========================================================
   UŽIVATEL MÁ VYPNUTÉ ANIMACE
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
/* =========================================================
   OPRAVA CENÍKU PRO MOBIL
========================================================= */

@media (max-width: 900px) {

    .pricing-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        gap: 22px !important;
    }

    .pricing-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 30px 24px !important;
    }

    .pricing-card__eyebrow {
        min-height: 0 !important;
        padding-right: 0 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .pricing-card__title {
        width: 100% !important;
        font-size: 1.65rem !important;
        line-height: 1.2 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .pricing-card__price,
    .pricing-card__price--text {
        width: 100% !important;
        font-size: 2.2rem !important;
        line-height: 1.05 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .pricing-card__detail {
        width: 100% !important;
    }

    .pricing-card__detail p {
        font-size: 0.92rem !important;
        line-height: 1.7 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .pricing-info {
        width: 100% !important;
        padding: 28px 22px !important;
    }

    .pricing-info__grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 26px !important;
    }

    .pricing-info__item {
        width: 100% !important;
        min-width: 0 !important;
    }

    .pricing__action {
        width: 100%;
    }

    .pricing__action .button {
        width: 100%;
        max-width: 100%;
    }
}


@media (max-width: 480px) {

    .pricing-card {
        padding: 26px 20px !important;
        border-radius: 18px !important;
    }

    .pricing-card__title {
        font-size: 1.5rem !important;
    }

    .pricing-card__price,
    .pricing-card__price--text {
        font-size: 2rem !important;
    }

    .pricing-info {
        padding: 25px 19px !important;
    }

}

/* VITTU – sjednocená galerie 2026 */
.gallery-page { padding: calc(var(--header-height) + 72px) 0 100px; min-height: 100vh; }
.gallery-page__heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.gallery-page__heading .section-heading__line { margin-inline: auto; }
.gallery-page__title { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.12; }
.gallery-page__description { margin-top: 22px; color: var(--color-text-muted); }
.gallery-page__grid, .gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; grid-auto-rows: auto; }
.gallery-page__item, .gallery__item { position: relative; display: block; min-width: 0; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 1px solid rgba(212,175,55,.24); border-radius: 16px; background: #141414; cursor: pointer; grid-column: auto !important; grid-row: auto !important; }
.gallery-page__item img, .gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-page__item:hover img, .gallery__item:hover img { transform: scale(1.05); }
.gallery-page__item:focus-visible, .gallery__item:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
.gallery-page__item .gallery__overlay, .gallery__item .gallery__overlay { pointer-events: none; }
.gallery-page__item:hover .gallery__overlay, .gallery-page__item:focus-visible .gallery__overlay, .gallery__item:hover .gallery__overlay, .gallery__item:focus-visible .gallery__overlay { opacity: 1; }
.gallery__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); font-size: 22px; }
.gallery__label { font-size: .8rem; font-weight: 600; }
@media (max-width: 900px) { .gallery-page__grid, .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } }
@media (max-width: 600px) { .gallery-page { padding: calc(var(--header-height) + 35px) 0 65px; } .gallery-page__grid, .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; } .gallery-page__item, .gallery__item { aspect-ratio: 3 / 4; border-radius: 10px; } .gallery__overlay { padding: 10px; } .gallery__label { display: none; } }
@media (max-width: 360px) { .gallery-page__grid, .gallery { grid-template-columns: minmax(0,1fr); } .gallery-page__item, .gallery__item { aspect-ratio: 4 / 3; } }
