/* ==========================================================================
   1. GLOBÁLNE ŠTÝLY A RESET
   ========================================================================== */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Urbanist', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Odsadenie kotevných sekcií kvôli fixnému menu */
.section-scroll-margin {
    scroll-margin-top: 90px;
}

.text-decoration-none {
    text-decoration: none !important;
}

/* ==========================================================================
   2. HLAVIČKA WEBU (HEADER & NAVIGÁCIA)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0c0c0c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.header-container {
    width: 100%;
    padding: 15px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* Navigačné menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #76BA1B;
}

/* Tlačidlo v menu (Zjednotené pre Dopyt aj Kontakt) */
.nav-btn {
    background-color: #76BA1B;
    color: #0c0c0c !important;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 700;
    border: 2px solid #121212;
    box-shadow: 4px 4px 0px #121212;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #ffffff;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #121212;
}

/* Hamburger menu pre mobil */
.menu-toggle {
    display: none;
}

.hamburger-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger-label span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hlavička - Responzivita (Tablety a mobily) */
@media (max-width: 991px) {
    .header-container {
        padding: 15px 24px;
    }

    .hamburger-label {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0c0c0c;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid #1a1a1a;
    }

    .nav-btn {
        border-radius: 0;
        padding: 20px 0;
        box-shadow: none;
        border: none;
    }
    
    .nav-btn:hover {
        transform: none;
        box-shadow: none;
        background-color: #76BA1B;
    }

    .menu-toggle:checked ~ .nav-menu {
        max-height: 450px;
    }

    .menu-toggle:checked ~ .hamburger-label span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle:checked ~ .hamburger-label span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .hamburger-label span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ==========================================================================
   3. HERO SEKCIA (HLAVNÁ STRÁNKA)
   ========================================================================== */
.hero-section-full {
    width: 100%;
    min-height: calc(100vh - 80px);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.hero-container-full {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    width: 100%;
    min-height: calc(100vh - 80px);
    margin: 0;
    padding: 0;
}

.hero-content-full {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6% 8% 6% 12%;
    background-color: #ffffff;
}

.hero-title-full {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 900;
    color: #121212;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-text-full {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.2rem;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 45px;
    max-width: 580px;
}

.hero-buttons-full {
    display: flex;
    gap: 20px;
}

.btn-full {
    display: inline-block;
    padding: 16px 36px;
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary-full {
    background-color: #76BA1B;
    color: #ffffff;
}

.btn-primary-full:hover {
    background-color: #629b14;
    transform: translateY(-2px);
}

.btn-secondary-full {
    border: 3px solid #121212;
    color: #121212;
    background-color: transparent;
}

.btn-secondary-full:hover {
    background-color: #121212;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-image-full-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero sekcia - Responzivita */
@media (max-width: 991px) {
    .hero-container-full {
        grid-template-columns: 1fr;
    }

    .hero-content-full {
        padding: 60px 24px;
        align-items: center;
        text-align: center;
    }

    .hero-image-full-container {
        height: 40vh;
    }

    .hero-text-full {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons-full {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .btn-full {
        width: 100%;
    }
}

/* ==========================================================================
   4. SEKCIA SLUŽBY / HODNOTY (LIQUID GLASS S TMAVÝM ŠTÝLOM)
   ========================================================================== */
.services-section-dark {
    width: 100%;
    background-color: #0c0c0c;
    padding: 120px 4%;
    position: relative;
}

.services-container-dark {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.service-card-dark, 
.service-card-clean-link {
    background: rgba(25, 25, 25, 0.55); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 20px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 12px 12px 0px rgba(118, 186, 27, 0.15); 
    text-decoration: none;
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-header-line {
    width: 60px;
    height: 4px;
    background-color: #76BA1B;
    margin-bottom: 30px;
    transition: background-color 0.4s ease, width 0.4s ease;
}

.service-card-title-dark {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    transition: color 0.4s ease;
}

.service-card-title-dark i {
    font-size: 1.4rem;
    color: #76BA1B;
    margin-right: 12px;
    vertical-align: middle;
    transition: color 0.4s ease;
}

.service-card-text-dark {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.1rem;
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
    transition: color 0.4s ease;
}

.sluzby-list {
    list-style: none;
    margin: 0 0 35px 0;
    padding: 0;
    width: 100%;
}

.sluzby-list li {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.05rem;
    color: black; /* Zmena zo sivej na čistú bielu pre maximálny kontrast */
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.4s ease;
}

.sluzby-list li i {
    color: #8be320; /* O niečo svetlejšia, žiarivejšia zelená, aby fajka „svietila“ */
    font-size: 1.1rem;
    transition: color 0.4s ease;
}

.list-light li {
    color: #cccccc !important;
}

.service-card-arrow {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.4s ease, transform 0.4s ease;
}

/* Hover efekty pre sklenené karty */
.service-card-dark:hover,
.service-card-clean-link:hover {
    background-color: #76BA1B;
    border-color: #76BA1B;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translate(4px, 4px); 
    box-shadow: 4px 4px 0px #040700; 
}

.service-card-dark:hover .service-card-title-dark,
.service-card-clean-link:hover .service-card-title-dark {
    color: #0c0c0c;
}

.service-card-dark:hover .service-card-title-dark i,
.service-card-clean-link:hover .service-card-title-dark i {
    color: #0c0c0c;
}

.service-card-dark:hover .service-card-text-dark,
.service-card-clean-link:hover .service-card-text-dark {
    color: #121d03;
}

.service-card-dark:hover .sluzby-list li,
.service-card-clean-link:hover .sluzby-list li {
    color: #121d03;
}

.service-card-dark:hover .sluzby-list li i,
.service-card-clean-link:hover .sluzby-list li i {
    color: #0c0c0c;
}

.service-card-dark:hover .service-card-arrow,
.service-card-clean-link:hover .service-card-arrow {
    color: #0c0c0c;
    transform: translateX(6px);
}

.service-card-dark:hover .card-header-line,
.service-card-clean-link:hover .card-header-line {
    background-color: #0c0c0c;
    width: 100px;
}

/* Služby - Responzivita */
@media (max-width: 1024px) {
    .services-container-dark {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 767px) {
    .services-container-dark {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .service-card-dark,
    .service-card-clean-link {
        padding: 40px 30px;
        box-shadow: 8px 8px 0px rgba(118, 186, 27, 0.15);
    }
    
    .service-card-dark:hover,
    .service-card-clean-link:hover {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0px #040700;
    }

    .services-section-dark {
        padding: 80px 24px;
    }
}

/* ==========================================================================
   5. ŠTATISTICKÝ PÁS
   ========================================================================== */
.stats-bar {
    width: 100%;
    background-color: #76BA1B;
    padding: 40px 4%;
    position: relative;
    z-index: 10;
}

.stats-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-bar-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #0c0c0c;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-bar-label {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0c0c0c;
    letter-spacing: 1.5px;
}

@media (max-width: 991px) {
    .stats-bar-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* ==========================================================================
   6. ČISTÁ SEKCIA O NÁS A DETAILY SLUŽIEB
   ========================================================================== */
.about-section-clean {
    width: 100%;
    background-color: #ffffff;
    padding: 120px 4%;
}

.about-container-clean {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper-clean {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.about-image-card-clean {
    width: 100%;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #121212;
    box-shadow: 16px 16px 0px #121212; 
}

.about-img-clean {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content-clean {
    display: flex;
    flex-direction: column;
}

.about-subtitle-clean {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #76BA1B;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-title-clean {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #121212;
    line-height: 1.1;
    margin-bottom: 30px;
}

.about-text-clean {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.1rem;
    color: #444444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.spec-sluzba-btn {
    align-self: flex-start;
    cursor: pointer;
    border: 3px solid #121212 !important;
}

@media (max-width: 991px) {
    .about-container-clean {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image-wrapper-clean {
        padding-right: 12px;
        padding-bottom: 12px;
        order: 2;
    }

    .about-image-card-clean {
        height: 380px;
        box-shadow: 12px 12px 0px #121212;
    }

    .about-content-clean {
        order: 1;
    }
}

@media (max-width: 767px) {
    .about-section-clean {
        padding: 80px 24px;
    }
}

/* ==========================================================================
   7. PORTFÓLIO / REALIZÁCIE (TMAVÁ ASYMETRICKÁ GALÉRIA)
   ========================================================================== */
.home-portfolio-section {
    width: 100%;
    background-color: #0c0c0c;
    padding: 120px 4%;
}

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

.portfolio-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.portfolio-subtitle {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #76BA1B;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.portfolio-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.portfolio-text {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.1rem;
    color: #999999;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, 280px);
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.item-large {
    grid-row: span 2; 
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Predvolené nastavenie textu vnútri fotky */
.portfolio-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-info p {
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    color: #76BA1B;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.05s;
}

/* Predvolené nastavenie tmavého pozadia (na mobile je priehľadné) */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; 
    opacity: 0;              
    transition: all 0.3s ease;
}

/* Tlačidlo pod galériou */
.portfolio-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* ==========================================================================
   EFEKTY LEN PRE POČÍTAČE S MYŠOU (Zamedzuje zasekávaniu tmavej obrazovky na mobile)
   ========================================================================== */
@media (hover: hover) {
    /* Na počítači pripravíme pozadie na stmavenie */
    .portfolio-overlay {
        background: rgba(12, 12, 12, 0.85); 
        opacity: 0; 
    }

    /* Efekt stmavenia pri prejdení myšou */
    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }

    /* Jemné zväčšenie obrázka pri prejdení myšou */
    .portfolio-item:hover .portfolio-img {
        transform: scale(1.05);
    }

    /* Vysunutie textu zdola nahor pri prejdení myšou */
    .portfolio-item:hover .portfolio-info h3,
    .portfolio-item:hover .portfolio-info p {
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONZIVITA PRE MOBILY A TABLETY
   ========================================================================== */
@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .item-large {
        grid-row: auto;
    }

    .portfolio-item {
        height: 350px;
    }
    
    /* Na mobilných zariadeniach je overlay stále čitateľný na spodku bez prekrývania fotky */
    .portfolio-overlay {
        position: absolute;
        bottom: 0;
        top: auto;
        height: auto;
        padding: 24px;
        opacity: 1;
        background: linear-gradient(transparent, rgba(0,0,0,0.85)); /* Jemný prechod pod textom */
    }
    
    .portfolio-info h3,
    .portfolio-info p {
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .home-portfolio-section {
        padding: 80px 24px;
    }
    
    .portfolio-item {
        height: 280px;
    }
}




/* ==========================================================================
   8. ZÁVEREČNÁ CTA VÝZVA
   ========================================================================== */
.cta-section-clean {
    width: 100%;
    background-color: #ffffff;
    padding: 100px 4%;
    text-align: center;
}

.cta-container-clean {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-subtitle-clean {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #76BA1B;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.cta-title-clean {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #121212;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.cta-phone-link {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #121212;
    text-decoration: none;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.cta-phone-link:hover {
    color: #76BA1B;
}

.cta-text-clean {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 35px;
}

.btn-cta-solid {
    display: inline-block;
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0c0c0c;
    background-color: #76BA1B;
    padding: 18px 40px;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 20px;
    border: 3px solid #121212;
    box-shadow: 8px 8px 0px #121212;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-cta-solid:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0px #121212;
}

@media (max-width: 767px) {
    .cta-section-clean {
        padding: 80px 24px;
    }
    
    .btn-cta-solid {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   9. KONTAKTNÝ FORMULÁR - ČISTÝ BIELY ŠTÝL S OSTRÝM TIEŇOM
   ========================================================================== */
.form-section-clean {
    width: 100%;
    background-color: #ffffff; /* Zmena na čisto biele pozadie */
    padding: 120px 4%;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.form-section-container {
    max-width: 750px;
    margin: 0 auto;
}

/* Formulárový box pretransformovaný do čistého svetlého vizuálu s masívnym tieňom */
.sluzby-dopyt-form {
    background: #ffffff;
    border: 3px solid #121212;
    padding: 55px 45px;
    border-radius: 20px;
    box-shadow: 16px 16px 0px #121212; /* Brutalistický ostrý tmavý tieň */
    text-align: left;
}

/* Zmena textov nadpisov a popiskov sekcie na kontrastnú tmavú */
.form-section-clean .cta-title-clean {
    color: #121212;
}

.form-section-clean .cta-text-clean {
    color: #444444;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.form-field label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #121212; /* Čierne popisy polí */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Svetlé kontrastné polia pre vstupy */
.form-field input,
.form-field select,
.form-field textarea {
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    padding: 16px 18px;
    border: 2px solid #121212;
    border-radius: 10px;
    color: #121212;
    background-color: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #76BA1B;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(118, 186, 27, 0.25);
}

/* Custom šípka pre select na svetlom pozadí */
.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 45px;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* Mobilné tlačidlo pre rýchle volanie preformátované na svetlý podklad */
.btn-call-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
    padding: 16px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #121212;
    background-color: #ffffff;
    border: 3px solid #121212;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 6px 6px 0px #76BA1B;
    transition: all 0.2s ease;
    text-align: center;
    box-sizing: border-box;
}

.btn-call-secondary:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px #76BA1B;
    background-color: #fafafa;
}

@media (max-width: 767px) {
    .form-section-clean {
        padding: 80px 24px;
    }

    .sluzby-dopyt-form {
        padding: 40px 24px;
        box-shadow: 10px 10px 0px #121212;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   10. PÄTKA WEBU (FOOTER)
   ========================================================================== */
.site-footer {
    width: 100%;
    background-color: #0c0c0c;
    padding: 70px 4% 30px 4%;
    border-top: 1px solid #222222;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #222222;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    align-self: flex-start;
}

.footer-brand-text {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.95rem;
    color: #777777;
    line-height: 1.5;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-page-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.footer-page-link:hover {
    color: #76BA1B;
}

.footer-socials-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.socials-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-socials-wrapper {
    display: flex;
    gap: 15px;
}

.social-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: #76BA1B;
    color: #0c0c0c;
    text-decoration: none;
    font-size: 1.3rem;
    border-radius: 12px;
    border: 2px solid #121212;
    box-shadow: 4px 4px 0px #121212;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.2s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.2s ease;
}

.social-box:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #121212;
    background-color: #ffffff;
}

.footer-bottom-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom-bar p {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.85rem;
    color: #555555;
}

@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-logo-img {
        align-self: center;
    }

    .footer-socials-col {
        align-items: center;
    }
}

/* ==========================================================================
   11. STRÁNKA O NÁS A SLUŽBY - DOPLNKOVÉ ÚPRAVY A DETAILE
   ========================================================================== */
.about-hero-bg {
    width: 100%;
    min-height: auto !important;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%) !important;
    padding-top: 150px !important;
    padding-bottom: 70px !important;
}

.about-hero-bg .hero-container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    min-height: auto !important;
    align-items: center;
}

.about-hero-bg .hero-content-full {
    background-color: transparent !important;
    padding: 0 !important;
}

.about-hero-bg .hero-title-full {
    color: #ffffff !important;
    margin-top: 15px;
}

.about-hero-bg .hero-text-full {
    color: #cccccc !important;
    margin-bottom: 0 !important;
}

.about-hero-bg .hero-image-full-container {
    width: 100%;
    height: 380px; 
    border-radius: 20px;
    border: 3px solid #121212;
    box-shadow: 12px 12px 0px rgba(118, 186, 27, 0.2);
    overflow: hidden;
}

.about-hero-bg .hero-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-content-padding {
    padding-top: 0 !important;
}

.main-content-padding .about-section-clean {
    padding: 100px 4% !important;
}

.service-card-dark h3 i {
    font-size: 1.3rem;
    color: #76BA1B;
    margin-right: 12px;
    vertical-align: middle;
}

.about-section-clean[style*="background-color: #0c0c0c"] {
    padding: 100px 4% !important;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
}

@media (max-width: 991px) {
    .about-hero-bg {
        padding-top: 130px !important;
        padding-bottom: 50px !important;
    }

    .about-hero-bg .hero-container-full {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .about-hero-bg .hero-content-full {
        align-items: center;
    }

    .about-hero-bg .hero-image-full-container {
        height: 320px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .about-hero-bg {
        padding-top: 115px !important;
        padding-bottom: 40px !important;
    }

    .about-hero-bg .hero-title-full {
        font-size: 2.2rem !important;
    }

    .main-content-padding .about-section-clean,
    .about-section-clean[style*="background-color: #0c0c0c"] {
        padding: 60px 24px !important;
    }
}





/* ==========================================================================
   GALÉRIA REALIZÁCIÍ (BRUTALIST GRID)
   ========================================================================== */
.gallery-section-clean {
    padding: 60px 4% 100px 4%;
    background-color: #ffffff;
}

.gallery-wrapper-clean {
    max-width: 1400px;
    margin: 0 auto;
}

/* Filtračné menu */
.gallery-filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #ffffff;
    color: #0c0c0c;
    border: 2px solid #0c0c0c;
    padding: 12px 28px;
    cursor: pointer;
    box-shadow: 4px 4px 0px #0c0c0c;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.2s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.2s ease, 
                color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #76BA1B;
    color: #0c0c0c;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #0c0c0c;
}

/* Asymetrická mriežka cez CSS Grid */
.gallery-grid-brutal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-auto-rows: 280px;
    grid-auto-flow: dense;
    gap: 25px;
}

/* Základná karta fotky */
.gallery-item {
    position: relative;
    overflow: hidden;
    border: 3px solid #0c0c0c;
    box-shadow: 8px 8px 0px #0c0c0c;
    background-color: #0c0c0c;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 0.3s ease, 
                transform 0.3s ease;
}

.gallery-item:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #76BA1B;
}

/* Definovanie asymetrie pre väčšie obrazovky */
@media (min-width: 768px) {
    .item-tall {
        grid-row: span 2; /* Cez 2 riadky */
    }
    .item-wide {
        grid-column: span 2; /* Cez 2 stĺpce */
    }
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) brightness(90%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    filter: grayscale(0%) brightness(100%);
    transform: scale(1.03);
}

/* Brutalistický vysúvací štítok zospodu */
.gallery-item-badge {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: #0c0c0c;
    border-top: 3px solid #76BA1B;
    padding: 15px 20px;
    transition: bottom 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.gallery-item:hover .gallery-item-badge {
    bottom: 0;
}

.gallery-item-badge h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.gallery-item-badge p {
    font-family: 'Urbanist', sans-serif;
    color: #76BA1B;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

.gallery-item-badge p i {
    margin-right: 5px;
}

/* Responzivita pre mobilné zariadenia */
@media (max-width: 767px) {
    .gallery-grid-brutal {
        grid-auto-rows: 240px;
        gap: 20px;
    }
    
    /* Na mobile zrušíme asymetriu, všetko bude rovnako veľké pre čisté ukladanie */
    .item-tall, .item-wide {
        grid-row: auto;
        grid-column: auto;
    }
    
    /* Na mobile sa štítok zobrazuje rovno, bez hoveru */
    .gallery-item-badge {
        bottom: 0;
        background-color: rgba(12, 12, 12, 0.9);
        padding: 10px 15px;
    }
    
    .gallery-img {
        filter: grayscale(0%) brightness(90%);
    }
}



/* Responzivita pre podstránku Kontakt */
@media (max-width: 991px) {
    .contact-split-wrapper {
        display: block !important;
    }
    .contact-info-column, 
    .contact-form-column {
        display: block !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .contact-form-column {
        margin-top: 40px;
    }
}

/* ==========================================================================
   KONTAKTNÝ FORMULÁR & PLÁVAJÚCE ŠTÍTKY (FLOATING LABELS)
   ========================================================================== */

.contact-form-column {
    flex: 1; 
    min-width: 300px;
}

.form-section-container {
    background-color: #0c0c0c; 
    padding: 40px; 
    border: 3px solid #0c0c0c; 
    box-shadow: 12px 12px 0px #76BA1B;
}

.form-section-container .cta-subtitle-clean {
    color: #76BA1B; 
    font-weight: 700; 
    display: block; 
    margin-bottom: 5px;
}

.form-section-container .cta-title-clean {
    color: #ffffff; 
    margin-top: 0; 
    margin-bottom: 10px; 
    font-size: 2rem;
}

.form-section-container .cta-text-clean {
    color: #cccccc; 
    margin-bottom: 30px; 
    font-size: 0.95rem;
}

.form-group-row {
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap;
}

/* Obal pre plávajúce elementy */
.floating-group {
    position: relative;
    margin-bottom: 20px;
    flex: 1;
    min-width: 200px;
}

/* Štýlovanie samotných inputov */
.floating-input {
    width: 100%;
    padding: 20px 14px 8px 14px !important;
    border: 2px solid #0c0c0c !important;
    background-color: #ffffff !important;
    color: #0c0c0c !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 1rem !important;
    height: 56px !important;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

/* Textarea špecifické úpravy */
.floating-textarea {
    width: 100%;
    padding: 24px 14px 10px 14px !important;
    border: 2px solid #0c0c0c !important;
    background-color: #ffffff !important;
    color: #0c0c0c !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 1rem !important;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
}

.textarea-group {
    margin-bottom: 25px;
}

/* Pozícia štítku vo vnútri poľa pred kliknutím */
.floating-label {
    position: absolute;
    left: 16px;
    top: 18px;
    color: #777777;
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease;
}

/* Plynulý posun štítku nahor pri zameraní (focus) alebo ak pole nie je prázdne */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label,
.floating-textarea:focus ~ .floating-label,
.floating-textarea:not(:placeholder-shown) ~ .floating-label {
    top: 6px;
    font-size: 0.75rem;
    color: #76BA1B;
}

/* Štýl pre výberové pole (Select) */
.select-group {
    margin-bottom: 20px; 
    position: relative;
}

.select-label {
    color: #76BA1B; 
    display: block; 
    margin-bottom: 6px; 
    font-family: 'Urbanist', sans-serif; 
    font-weight: 600; 
    font-size: 0.75rem;
}

.brutal-select {
    width: 100%; 
    padding: 14px 40px 14px 14px; 
    border: 2px solid #0c0c0c; 
    background-color: #ffffff; 
    color: #0c0c0c; 
    font-family: 'Urbanist', sans-serif; 
    font-size: 1rem; 
    height: 56px; 
    cursor: pointer; 
    display: block; 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none; 
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2376BA1B%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><polyline points=%226 9 12 15 18 9%22></polyline></svg>'); 
    background-repeat: no-repeat; 
    background-position: right 15px center; 
    background-size: 18px;
}

/* Odosielacie tlačidlo */
.form-submit-btn {
    width: 100%; 
    padding: 18px; 
    background-color: #76BA1B; 
    color: #0c0c0c; 
    font-weight: 700; 
    text-transform: uppercase; 
    border: 2px solid #76BA1B; 
    font-family: 'Urbanist', sans-serif; 
    cursor: pointer; 
    font-size: 1rem; 
    transition: all 0.2s ease; 
    box-shadow: 4px 4px 0px #ffffff;
}

.form-submit-btn:hover {
    background-color: #ffffff;
    color: #0c0c0c;
    border-color: #ffffff;
    box-shadow: 4px 4px 0px #76BA1B;
}

/* ==========================================================================
   RESPONZÍVNE PRISPÔSOBENIE PRE MOBILNÉ TELEFÓNY (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Uvoľnenie stiesnenosti vo vnútri boxu formulára */
    .form-section-container {
        padding: 25px 20px; /* Zníženie paddingu, aby ostalo viac šírky na displeji */
        border-width: 2px;  /* Mierne zjemnenie brutalistického rámu pre menšie displeje */
        box-shadow: 8px 8px 0px #76BA1B; /* Prispôsobený tieň */
    }

    /* Nadpisy na mobile */
    .form-section-container .cta-title-clean {
        font-size: 1.6rem; /* Mierne menšie písmo, aby sa dlhšie slová nelámali škaredo */
    }

    /* Zaistí, že riadky s viacerými poliami (Meno / Telefón) pôjdu striktne pod seba */
    .form-group-row {
        flex-direction: column;
        gap: 0; /* Odstránenie horizontálneho gapu v prospech spodného okraju skupín */
    }

    .floating-group {
        width: 100%;
        margin-bottom: 18px; /* Jasný rozstup medzi poliami idúcimi pod seba */
    }

    /* Polia a textové oblasti dostanú vzdušnejší rozmer */
    .floating-input {
        height: 52px !important;
        padding: 18px 12px 6px 12px !important;
        font-size: 0.95rem !important;
    }

    .floating-textarea {
        padding: 22px 12px 8px 12px !important;
        font-size: 0.95rem !important;
    }

    /* Korekcia pozície plávajúcich štítkov pre menšie polia na mobile */
    .floating-label {
        left: 14px;
        top: 16px;
        font-size: 0.95rem;
    }

    .floating-input:focus ~ .floating-label,
    .floating-input:not(:placeholder-shown) ~ .floating-label,
    .floating-textarea:focus ~ .floating-label,
    .floating-textarea:not(:placeholder-shown) ~ .floating-label {
        top: 4px;
        font-size: 0.7rem;
    }

    /* Select na mobile */
    .brutal-select {
        height: 52px;
        font-size: 0.95rem;
        padding: 12px 35px 12px 12px;
    }

    /* Tlačidlo na odoslanie na mobile */
    .form-submit-btn {
        padding: 15px;
        font-size: 0.95rem;
    }
}

/* --- CHYBOVÉ STAVY PRE FORMULÁR --- */

/* Červený rámček pre neplatné/nevyplnené pole */
.floating-input.input-error,
.floating-textarea.input-error {
    border-color: #ff3333 !important;
    background-color: #fff8f8 !important; /* Jemný červený nádych pozadia */
}

/* Červená farba pre plávajúci štítok pri chybe */
.floating-input.input-error ~ .floating-label,
.floating-textarea.input-error ~ .floating-label {
    color: #ff3333 !important;
}

/* Samotný text chybovej správy pod políčkom */
.error-message {
    color: #ff3333;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: -15px; /* Pritiahnutie chybovej správy bližšie k políčku */
    margin-bottom: 15px;
    display: block;
    text-align: left;
}


/* LIGHTBOX ZÁKLAD */
.lightbox {
    display: none; /* Predvolene skryté */
    position: fixed;
    z-index: 9999; /* Musí byť nad všetkým, aj nad menu */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 12, 12, 0.95); /* Tmavé brutálne pozadie */
    backdrop-filter: blur(8px); /* Moderné rozmazanie pozadia */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Keď je lightbox aktívny */
.lightbox.active {
    display: flex;
    opacity: 1;
}

/* ŠTÝLOVANIE OBRÁZKA */
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border: 4px solid #ffffff; /* Čisté biele orámovanie */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* POPISOK POD OBRÁZKOM */
.lightbox-caption {
    margin-top: 20px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
}

/* TLAČIDLO ZATVORENIA (KRÍŽIK) */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.lightbox-close:hover {
    color: #76BA1B; /* Limetková zelená z tvojho webu */
    transform: scale(1.1);
}

/* --- OPTIMALIZÁCIA PRE MOBILY A TABLETY --- */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
        border: 3px solid #ffffff;
    }

    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 40px;
    }

    .lightbox-caption {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

/* ZABEZPEČENIE, ABY BOL GALLERY-ITEM KLIKATEĽNÝ (UKAZOVATEĽ MYŠI) */
.gallery-item {
    cursor: pointer;
}

/* Oprava tlačidla KONTAKT: Pri prechode a kliknutí čierne pozadie a biely text */
.btn-secondary-full:hover,
.btn-secondary-full:active,
.btn-secondary-full:focus {
    background-color: #0c0c0c !important;
    color: #ffffff !important;
    border-color: #0c0c0c !important;
}



/* ============================================================
   NOVÁ BRUTÁLNA ASYMETRICKÁ MRIEŽKA (Naskladnenie)
   ============================================================ */

/* Základný kontajner mriežky */
.gallery-grid-brutal {
    display: grid;
    /* Vytvoríme 4 rovnako široké stĺpce */
    grid-template-columns: repeat(4, 1fr);
    /* Automatické riadky s fixnou výškou pre presné tvary */
    grid-auto-rows: 250px; 
    gap: 15px; /* Medzera medzi fotkami */
}

/* Základný štýl pre každú fotku (Položku) */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid #0c0c0c; /* Čierny rámik pre brutálny štýl */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Predvolene zaberá 1x1 políčko */
    grid-column: span 1;
    grid-row: span 1;
}

/* --- DEFINÍCIA NOVÝCH TVAROV (Naskladnenie) --- */

/* 1. fotka: Normálna malá (vľavo hore) */
.gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
}

/* 2. fotka: Veľká horizontálna (vedľa prvej) */
.gallery-item:nth-child(2) {
    grid-column: span 2;
    grid-row: span 1;
}

/* 3. fotka: Normálna malá (úplne vpravo hore) */
.gallery-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

/* 4. fotka: Normálna malá (druhý riadok vľavo) */
.gallery-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
}

/* 5. fotka: Veľká vertikálna (stred) */
.gallery-item:nth-child(5) {
    grid-column: span 2;
    grid-row: span 2; /* Zaberá 2 riadky na výšku */
}

/* 6. fotka: Normálna malá (druhý riadok vpravo) */
.gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
}

/* 7. fotka: Normálna malá (tretí riadok vľavo) */
.gallery-item:nth-child(7) {
    grid-column: span 1;
    grid-row: span 1;
}

/* 8. fotka: Normálna malá (tretí riadok vpravo) */
.gallery-item:nth-child(8) {
    grid-column: span 1;
    grid-row: span 1;
}

/* 9. fotka: Veľká horizontálna (štvrtý riadok) */
.gallery-item:nth-child(9) {
    grid-column: span 2;
    grid-row: span 1;
}

/* 10. fotka: Normálna malá */
.gallery-item:nth-child(10) {
    grid-column: span 1;
    grid-row: span 1;
}

/* 11. fotka: Veľká vertikálna (na konci) */
.gallery-item:nth-child(11) {
    grid-column: span 1;
    grid-row: span 2; /* Zaberá 2 riadky na výšku */
}

/* Ostatné fotky sa automaticky naskladajú do zvyšných 1x1 políčok */


/* --- OSTATNÉ ŠTÝLY PRE GALÉRIU (Nemeniť) --- */

/* Samotný obrázok vo vnútri */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Oreže obrázok, aby vyplnil celý priestor */
    transition: transform 0.5s ease;
}

/* Hover efekt na fotke */
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 0px #0c0c0c;
    z-index: 2; /* Aby bol hover navrchu */
}

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

/* Popisok (Badge) na fotke */
.gallery-item-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(12, 12, 12, 0.9), transparent);
    color: #ffffff;
    padding: 20px;
    font-family: 'Urbanist', sans-serif;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-badge {
    transform: translateY(0);
}

.gallery-item-badge h4 {
    margin: 0 0 5px 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.gallery-item-badge p {
    margin: 0;
    font-size: 0.9rem;
    color: #cccccc;
}

/* --- RESPONSIVITA PRE MOBILY --- */
@media (max-width: 992px) {
    .gallery-grid-brutal {
        grid-template-columns: repeat(2, 1fr); /* Na tablete 2 stĺpce */
        grid-auto-rows: 200px;
    }
    
    /* Vypneme špeciálne tvary na tablete, nech je to čistejšie */
    .gallery-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    /* Necháme len pár fotiek double, nech je to zaujímavejšie */
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(6) {
        grid-column: span 2 !important;
    }
}

@media (max-width: 576px) {
    .gallery-grid-brutal {
        grid-template-columns: 1fr; /* Na mobile len 1 stĺpec */
        grid-auto-rows: 250px;
    }
    
    .gallery-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}


