/* --- ZÁKLADNÉ NASTAVENIA A PREMENNÉ --- */
:root {
    /* Farby podľa moodboardu (čisté, elegantné) */
    --clr-bg: #FAFAF8; /* Jemná krémová biela */
    --clr-text: #222222; /* Tmavá sivá (nie úplne čierna, pôsobí luxusnejšie) */
    --clr-white: #ffffff;
    --clr-accent: #d4af37; /* Voliteľná zlatistá pre detaily, ak by bolo treba */
    
    /* Písma */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Rozmery */
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- HLAVIČKA (Header) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 100;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

/* Trieda, ktorá sa pridá cez JS po scrollovaní */
.header.scrolled {
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.header__logo img {
    height: 40px; /* Uprav podľa skutočnej veľkosti tvojho loga */
    transition: transform 0.3s ease;
}

/* --- MOBILNÉ MENU --- */
.nav {
    position: fixed;
    top: var(--header-height);
    right: -100%; /* Skryté mimo obrazovku */
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--clr-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav.show-menu {
    right: 0;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.nav__link {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.header.scrolled .nav__link {
    color: var(--clr-text);
}
/* Ak nie je zascrollované a menu je zatvorené, linky (na desktope) by mali byť biele kvôli tmavej fotke */
.header:not(.scrolled) .nav__link {
    color: var(--clr-white);
}

.nav__link:hover {
    opacity: 0.7;
}
/* --- MOBILNÉ MENU (Hamburger & Fullscreen Overlay) --- */

/* Samotné tlačidlo (Hamburger) */
.header__toggle {
    display: none; /* Na počítači ho schováme */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000; /* Musí byť vždy navrchu, aj nad otvoreným menu */
}

/* Čiarky v hamburgeri */
.header__toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--clr-text);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: block;
}

/* 📱 Pravidlá iba pre mobily a tablety */
@media screen and (max-width: 767px) {
    .header__toggle {
        display: flex;
    }

    /* Fullscreen Menu Overlay */
    .nav {
        position: fixed;
        top: 0;
        right: -100%; /* Mimo obrazovky (skryté) */
        width: 100%;
        height: 100vh;
        background-color: var(--clr-bg); /* Použije farbu pozadia webu */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1); /* Luxusné spomalenie pohybu */
        z-index: 999;
    }

    /* Zobrazenie po kliknutí (JS pridá triedu .show-menu) */
    .nav.show-menu {
        right: 0;
    }

    /* Odkazy vnútri mobilného menu */
    .nav__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    /* Krásna obrovská typografia pre mobilné linky */
    .nav__link {
        font-family: var(--font-heading);
        font-size: 2.5rem; /* Obrovský text */
        font-weight: 400;
        font-style: italic;
        color: var(--clr-text) !important;
        background: none !important;
        padding: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    /* Kaskádové zobrazenie linkov (Fade-in up), keď sa menu otvorí */
    .nav.show-menu .nav__link {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Oneskorenie pre jednotlivé linky, aby nabehli postupne (1., 2., 3., 4.) */
    .nav.show-menu .nav__item:nth-child(1) .nav__link { transition-delay: 0.2s; }
    .nav.show-menu .nav__item:nth-child(2) .nav__link { transition-delay: 0.3s; }
    .nav.show-menu .nav__item:nth-child(3) .nav__link { transition-delay: 0.4s; }
    .nav.show-menu .nav__item:nth-child(4) .nav__link { transition-delay: 0.5s; }

    /* --- ANIMÁCIA HAMBURGERU NA "X" --- */
    /* Keď má menu triedu .active (po kliknutí), čiarky sa prekrížia */
    .header__toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__toggle.active span:nth-child(2) {
        opacity: 0; /* Stredná čiarka zmizne */
    }
    .header__toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* --- HERO SEKCIA --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Tmavý filter, aby bol biely text dobre čitateľný */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.525) 0%, rgba(0, 0, 0, 0.526) 100%);
}

.hero__content {
    color: var(--clr-white);
    max-width: 800px;
    z-index: 1;
    margin-top: 50px; /* Kompenzácia hlavičky */
}

.hero__subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem); /* Responzívna veľkosť textu */
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero__text {
    font-size: 1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}
/* --- SPOLOČNÉ TRIEDY PRE SEKCIE --- */
.section {
    padding: 6rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-inline: auto; /* Vycentruje samotný blok textu */
}

.section__subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-text);
    opacity: 0.6;
    display: block;
    margin-bottom: 0.5rem;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.section__text {
    font-weight: 300;
    opacity: 0.8;
}

/* --- GALÉRIA TEASER (Editorial Magazín Layout) --- */
.teaser {
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: #f7f7f5; /* Jemnučký rozdiel oproti iným sekciám */
}

/* Bežiaci text na pozadí (Marquee) */
.marquee-container {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none; /* Aby sa dalo klikať cez text na veci pod ním */
    z-index: 0;
    opacity: 0.05; /* Veľmi nenápadné, tvorí textúru pozadia */
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 12rem);
    text-transform: uppercase;
    font-style: italic;
    color: var(--clr-text);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.teaser__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.teaser__text {
    max-width: 500px;
}

.section__subtitle {
    font-weight: 500;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Koláž fotiek - Mobile First */
.teaser__collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.collage__img-1, .collage__img-2, .collage__img-3 {
    overflow: hidden;
    border-radius: 2px;
}

.collage__img-1 img, .collage__img-2 img, .collage__img-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.teaser__collage:hover img {
    transform: scale(1.05); /* Priblíženie celej koláže pri ukázaní myšou */
}

.collage__img-1 { grid-column: 1 / 3; aspect-ratio: 16 / 9; }
.collage__img-2 { aspect-ratio: 4 / 5; }
.collage__img-3 { aspect-ratio: 4 / 5; margin-top: 2rem; }

.collage__decoration {
    display: none; /* Na mobile tento text skryjeme, nemal by miesto */
}

/* --- RESPONZIVITA (Desktop Overlapping Koláž) --- */
@media screen and (min-width: 900px) {
    .teaser__container {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .teaser__text {
        flex: 1;
        padding-right: 4rem;
    }

    .teaser__collage {
        flex: 1.5;
        display: block; /* Vypneme mriežku pre voľné rozmiestnenie */
        height: 650px;
    }

    /* Fotky sa budú prekrývať ako rozhodené na stole */
    .collage__img-1 {
        position: absolute;
        top: 0;
        right: 5%;
        width: 55%;
        height: 55%;
        z-index: 2;
    }

    .collage__img-2 {
        position: absolute;
        bottom: 0;
        left: 5%;
        width: 45%;
        height: 55%;
        z-index: 3;
    }

    .collage__img-3 {
        position: absolute;
        bottom: 10%;
        right: 0;
        width: 35%;
        height: 40%;
        z-index: 1;
        margin-top: 0;
    }

    /* Text obrysom (Outline) prekrývajúci fotky */
    .collage__decoration {
        display: block;
        position: absolute;
        top: 25%;
        left: -15%;
        z-index: 4;
        font-family: var(--font-heading);
        font-size: clamp(6rem, 8vw, 10rem);
        font-style: italic;
        color: transparent;
        -webkit-text-stroke: 1.5px var(--clr-white); /* Biela čiara okolo textu */
        pointer-events: none;
        text-shadow: 0 4px 20px rgba(0,0,0,0.1); /* Jemný tieň, aby to vystúpilo z fotiek */
    }
}

/* Tlačidlá */
.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
}

.btn--primary {
    background-color: var(--clr-white);
    color: var(--clr-text);
    border: 1px solid var(--clr-white);
}

.btn--primary:hover {
    background-color: transparent;
    color: var(--clr-white);
}

.btn--outline {
    background-color: transparent;
    color: var(--clr-white);
    border: 1px solid var(--clr-white);
}

.btn--outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-text);
}
/* Tmavé tlačidlo na svetlé pozadie */
.btn--dark {
    background-color: transparent;
    color: var(--clr-text);
    border: 1px solid var(--clr-text);
    text-align: center;
    margin-top: 1.5rem; /* Posunie ho kúsok od textu nad ním */
}

.btn--dark:hover {
    background-color: var(--clr-text);
    color: var(--clr-white);
}

/* Uistíme sa, že všetky tlačidlá sú vycentrované vo vnútri */
.btn {
    text-align: center;
}
/* Jednoduchá animácia pre prémiový pocit */
.fade-in {
    animation: fadeInUP 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero__subtitle.fade-in { animation-delay: 0.2s; }
.hero__title.fade-in { animation-delay: 0.4s; }
.hero__text.fade-in { animation-delay: 0.6s; }
.hero__buttons.fade-in { animation-delay: 0.8s; }


/* --- EDITORIAL TYPOGRAFIA A POMOCNÉ TRIEDY --- */
strong {
    font-weight: 500;
    color: var(--clr-text);
}

.section__title strong, .service__title strong {
    font-weight: 600;
    font-style: italic; /* Pridáva ten dizajnérsky "chic" pocit z moodboardu */
}

.text-center { text-align: center; }
.max-w-800 { max-width: 800px; margin-inline: auto; }
.mt-2 { margin-top: 2rem; }

/* --- SEKCIA O NÁS --- */
.about__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about__text p {
    margin-bottom: 1.5rem;
}

.about__img-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
}

/* Dekoratívna čiara pre dizajnérsky efekt */
.about__img-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: rgba(34, 34, 34, 0.2);
}

.about__img, .service__img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- KLASICKÉ SLUŽBY (Editorial Layout) --- */
.service-card {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 6rem;
}

/* Tretí blok s detailmi vycentrujeme */
.service-card--center {
    text-align: center;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(34, 34, 34, 0.1);
}

.service-card__img-wrapper {
    overflow: hidden; /* Dôležité pre efekt priblíženia fotky */
    border-radius: 2px;
    aspect-ratio: 4 / 5;
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Interaktívny hover efekt na fotku */
.service-card:hover .service-card__img {
    transform: scale(1.05);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-card__title strong {
    font-weight: 600;
    font-style: italic;
}

.service-card__subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    margin: 2rem 0 1rem 0;
}

.section__text.max-w-800 {
    max-width: 800px;
    margin-inline: auto;
}

.mt-2 { margin-top: 2rem; }

/* Moderný zoznam (pomlčky namiesto bodiek) */
.service-card__list {
    margin-bottom: 2rem;
}

.service-card__list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(34, 34, 34, 0.1);
    font-weight: 300;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--clr-text);
    opacity: 0.5;
}

.service-card__highlight {
    font-size: 1.05rem;
    border-left: 2px solid var(--clr-text);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

/* --- RESPONZIVITA PRE POČÍTAČE (Zig-Zag layout) --- */
@media screen and (min-width: 900px) {
    .service-card {
        flex-direction: row;
        align-items: center;
        gap: 5rem;
    }

    /* Každá časť (fotka a text) zaberie presne polovicu miesta */
    .service-card__img-wrapper, 
    .service-card__content {
        flex: 1;
    }

    /* Asymetria: Druhý blok bude mať text naľavo a fotku napravo */
    .service-card--reverse {
        flex-direction: row-reverse;
    }

    /* Trochu zmenšíme fotky, aby neboli na PC gigantické */
    .service-card__img-wrapper {
        aspect-ratio: 3 / 4;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* --- RESPONZIVITA PRE VÄČŠIE OBRAZOVKY --- */
@media screen and (min-width: 900px) {
    .about__container {
        grid-template-columns: 1fr 1fr; /* Text naľavo, fotka napravo */
        gap: 5rem;
    }

    .service__block {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }

    /* Vytvorí asymetriu - druhý blok bude mať fotku naľavo a text napravo */
    .service__block--reverse .service__content {
        order: 2;
    }
    .service__block--reverse .service__img-wrapper {
        order: 1;
    }
}

/* --- ANIMÁCIE PRI SCROLLOVANÍ --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

@keyframes fadeInUP {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- DESKTOP VERZIA (nad 768px) --- */
@media screen and (min-width: 768px) {
    .header__toggle {
        display: none; /* Skryjeme hamburger */
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        flex-direction: row;
    }

    .nav__list {
        flex-direction: row;
        gap: 2.5rem;
    }

    .nav__link {
        font-size: 0.85rem;
    }

    .hero__buttons {
        flex-direction: row;
        justify-content: center;
    }

    .btn {
        width: auto;
    }
}


/* --- SEKCIA KONTAKT --- */
.contact {
    background-color: var(--clr-white); /* Čisté biele pozadie pre kontrast s predchádzajúcou sekciou */
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.contact__container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact__details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Veľký dizajnový E-mail */
.contact__email {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--clr-text);
    transition: opacity 0.3s ease;
    border-bottom: 1px solid transparent;
    display: inline-block;
    width: fit-content;
}

.contact__email:hover {
    opacity: 0.7;
}

/* Telefóny a adresy */
.contact__phones {
    font-size: 1.2rem;
    font-weight: 500;
}

.separator {
    margin: 0 10px;
    opacity: 0.3;
}

.contact__socials {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.social-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--clr-text);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--clr-white);
    background-color: var(--clr-text);
}

/* --- MINIMALISTICKÝ FORMULÁR S PLÁVAJÚCIMI ŠTÍTKAMI --- */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.form__group {
    position: relative;
    padding-top: 1.5rem;
}

/* Samotné políčko */
.form__input {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(34, 34, 34, 0.2);
    background: transparent;
    padding: 0.5rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--clr-text);
    outline: none;
    transition: border-color 0.3s ease;
}

.form__input--textarea {
    resize: vertical;
    min-height: 100px;
}

/* Spodná čiara stmavne pri písaní */
.form__input:focus {
    border-bottom-color: var(--clr-text);
}

/* Plávajúci štítok (Label) */
.form__label {
    position: absolute;
    left: 0;
    top: 2rem;
    font-size: 1rem;
    color: rgba(34, 34, 34, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Animácia: Keď je políčko aktívne, alebo v ňom niečo je, štítok vyletí hore a zmenší sa */
.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
    top: 0;
    font-size: 0.8rem;
    color: var(--clr-text);
    font-weight: 500;
    letter-spacing: 1px;
}

/* --- GDPR CHECKBOX --- */
.form__gdpr {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Náš vlastný štvorček */
.checkmark {
    position: relative;
    top: 4px;
    left: 0;
    height: 18px;
    width: 18px;
    min-width: 18px; /* Aby sa nesploštil na mobile */
    background-color: transparent;
    border: 1px solid rgba(34, 34, 34, 0.4);
    margin-right: 15px;
    transition: all 0.3s ease;
}

/* Čo sa stane, keď zaškrtneme */
.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--clr-text);
    border-color: var(--clr-text);
}

/* Vytvorenie "fajočky" */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.gdpr-text {
    font-size: 0.85rem;
    color: rgba(34, 34, 34, 0.7);
    line-height: 1.5;
}

.gdpr-link {
    color: var(--clr-text);
    text-decoration: underline;
    font-weight: 500;
}

.btn--full {
    width: 100%;
    margin-top: 1rem;
}

/* --- RESPONZIVITA (Desktop 1fr 1fr Grid) --- */
@media screen and (min-width: 900px) {
    .contact__container {
        flex-direction: row;
        gap: 6rem;
    }

    .contact__info {
        flex: 1;
    }

    .contact__form-wrapper {
        flex: 1.2;
    }
}

/* --- VYSKAKOVACIE OKNO (Toast Notification) --- */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--clr-text);
    color: var(--clr-white);
    padding: 1.5rem 2rem;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    z-index: 9999;
    
    /* Na začiatku je okno schované dole a neviditeľné */
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Trieda, ktorú pridá JavaScript na zobrazenie */
.toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast__content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.toast__icon {
    font-size: 1.5rem;
}

.toast__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.2rem;
}

.toast__text {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.8;
}

.toast__close {
    background: none;
    border: none;
    color: var(--clr-white);
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    padding-bottom: 5px;
}

.toast__close:hover {
    opacity: 1;
}

/* Responzivita: Na mobile to bude na celú šírku dole */
@media screen and (max-width: 768px) {
    .toast {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
}

/* --- PODSTRÁNKY (Dokumenty, Ochrana údajov) --- */
.page-legal {
    background-color: var(--clr-white); /* Dokumenty vyzerajú najlepšie na čistej bielej */
}

/* Navigačný link v podstránkach (aby bol tmavý na svetlej hlavičke) */
.nav__link--dark {
    color: var(--clr-text) !important;
}

.legal-content {
    padding-top: 120px; /* Kompenzácia hlavičky */
    padding-bottom: 6rem;
}

.text-document {
    max-width: 800px;
    margin: 0 auto;
}

.text-document__header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(34, 34, 34, 0.1);
}

.text-document__body h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.text-document__body p {
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: rgba(34, 34, 34, 0.85);
}

.text-document__body ul {
    margin-bottom: 2rem;
}

.text-document__body li {
    font-weight: 300;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(34, 34, 34, 0.85);
}

.text-document__body li::before {
    content: '✦'; /* Elegantná hviezdička miesto bodky */
    position: absolute;
    left: 0;
    color: var(--clr-text);
    font-size: 0.8rem;
}

.last-update {
    margin-top: 4rem !important;
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.5;
    text-align: center;
}
/* --- PODSTRÁNKA GALÉRIA --- */
.page-sub { background-color: var(--clr-bg); }
.page-top { padding-top: 150px; padding-bottom: 3rem; }
.mx-auto { margin-inline: auto; }

/* --- MASONRY GRID A EDITORIAL MOBIL (Dynamická galéria) --- */

.masonry-grid {
    padding-bottom: 4rem;
}

.masonry-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transform: translateZ(0); 
}

.masonry-img {
    width: 100%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.masonry-item:hover .masonry-img {
    transform: scale(1.04);
    filter: brightness(0.85);
}

/* 📱 MOBILNÁ VERZIA: Hravá mozaika (Editorial Bento Grid) */
@media screen and (max-width: 767px) {
    .masonry-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem; /* Jemnejšia medzera pre mobil */
    }

    /* Nastavíme pevné pomery strán, aby do seba fotky zapadali */
    .masonry-img {
        height: 100%;
        object-fit: cover;
        aspect-ratio: 4 / 5; /* Predvolený elegantný formát na výšku */
    }

    /* Vytvorenie rytmu: každá 1. a 4. fotka v šestici bude obrovská na oba stĺpce */
    .masonry-item:nth-child(6n + 1),
    .masonry-item:nth-child(6n + 4) {
        grid-column: span 2;
    }

    /* 1. fotka bude na výšku a dominantná */
    .masonry-item:nth-child(6n + 1) .masonry-img {
        aspect-ratio: 4 / 3; 
    }

    /* 4. fotka bude panoramatická na oživenie */
    .masonry-item:nth-child(6n + 4) .masonry-img {
        aspect-ratio: 16 / 9; 
    }
}

/* 💻 TABLET A POČÍTAČ: Klasický Pinterest (Masonry) */
@media screen and (min-width: 768px) {
    .masonry-grid {
        column-count: 2; /* Tablet: 2 stĺpce */
        column-gap: 1.5rem;
        display: block; /* Vypneme mobilný grid */
    }
    
    .masonry-item {
        break-inside: avoid;
        margin-bottom: 1.5rem;
    }
}

@media screen and (min-width: 1024px) {
    .masonry-grid {
        column-count: 3; /* Počítač: 3 stĺpce */
    }
}

/* --- VYLEPŠENÝ LIGHTBOX (Zväčšovanie) --- */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 15, 15, 0.98);
    z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active { opacity: 1; pointer-events: auto; }

.lightbox__img {
    max-width: 85%; max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease-in-out; /* Pre plynulé prebliknutie */
}

.lightbox__img.fade-out { opacity: 0; }

.lightbox__close {
    position: absolute; top: 20px; right: 30px;
    color: #fff; font-size: 3rem; cursor: pointer;
    opacity: 0.5; transition: opacity 0.3s;
    z-index: 10;
}
.lightbox__close:hover { opacity: 1; }

.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1); color: #fff;
    border: none; font-size: 2rem; width: 60px; height: 60px;
    border-radius: 50%; cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(5px); z-index: 10;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__nav--prev { left: 3%; }
.lightbox__nav--next { right: 3%; }

/* --- MINIMALISTICKÝ FOOTER (Pre Galériu a podstránky) --- */
.footer-minimal {
    background-color: transparent; /* Zleje sa s farbou podstránky */
    padding: 6rem 5% 2rem 5%;
    color: var(--clr-text);
    border-top: 1px solid rgba(34, 34, 34, 0.1); /* Jemná oddeľovacia čiara */
    margin-top: 4rem;
}

.footer-minimal__container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.footer-minimal__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

/* Obrovská dizajnová typografia namiesto klasického loga */
.footer-minimal__brand {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 10rem); 
    font-weight: 400;
    font-style: italic;
    line-height: 0.8;
    letter-spacing: -2px;
    opacity: 0.9;
}

.footer-minimal__socials {
    display: flex;
    gap: 2.5rem;
}

.footer-minimal__socials a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
}

/* Animácia podčiarknutia pri hoveri na sociálnych sieťach */
.footer-minimal__socials a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--clr-text);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-minimal__socials a:hover::after {
    width: 100%;
}

.footer-minimal__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgba(34, 34, 34, 0.1);
    padding-top: 2rem;
}

.footer-minimal__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 3rem;
}

.footer-minimal__links a {
    font-size: 0.85rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-minimal__links a:hover {
    opacity: 1;
}

.footer-minimal__copy {
    font-size: 0.8rem;
    opacity: 0.4;
}

/* Responzivita pre počítače */
@media screen and (min-width: 768px) {
    .footer-minimal__top, .footer-minimal__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        text-align: left;
    }
    
    .footer-minimal__bottom {
        align-items: center;
    }
}


/* --- KATALÓG PRENÁJMU (Bez orezávania - prirodzené veľkosti) --- */
.catalog-grid {
    column-count: 2; /* Na mobile 2 stĺpce */
    column-gap: 1rem;
    padding-bottom: 2rem;
}

.catalog-item {
    break-inside: avoid; /* Zabezpečí, že produkt nepresekne napoly medzi stĺpcami */
    margin-bottom: 2rem; /* Medzera medzi produktami pod sebou */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.catalog-img-wrapper {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transform: translateZ(0);
    overflow: hidden;
}

.catalog-img {
    width: 100%;
    height: auto; /* TOTO JE KĽÚČOVÉ: Fotka si zachová svoj prirodzený tvar! Nič sa nevyreže. */
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.catalog-item:hover .catalog-img {
    transform: scale(1.05); /* Jemné priblíženie po ukázaní myšou */
}

.catalog-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text);
    opacity: 0.9;
}

/* Responzivita pre Tablet a Počítač */
@media screen and (min-width: 768px) {
    .catalog-grid {
        column-count: 3; /* Tablet: 3 stĺpce */
        column-gap: 2rem;
    }
}

@media screen and (min-width: 1024px) {
    .catalog-grid {
        column-count: 4; /* PC: 4 produkty vedľa seba */
        column-gap: 2.5rem;
    }
}