/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f0f0f0;
    -webkit-tap-highlight-color: transparent;
}
/*/Reset */

/* BODY */
body {
    line-height: 1.6;
    background-color: #000;
    color: #fff;
    background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: #b0b0b0;
    border-radius: 5px;
    border: 2px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #888;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

h1,
h2,
h3,
header .logo,
.section-title,
.hero-text {
    font-family: Georgia, "Times New Roman", serif;    
    letter-spacing: 1px;
}

nav ul li a,
button,
.cta-button,
.sluzby-button button,.admin-panel,
.admin-login,
.admin-form input,
.admin-form button {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}




/*/BODY*/

/*HEADER*/
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(18, 18, 18);
    backdrop-filter: blur(8px);
    color: whitesmoke;
    z-index: 1000;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 15px 15px;
    transition: top 0.6s ease, opacity 0.6s ease;
}


header.hide {
    top: -120px;
    opacity: 0;
}

header .cta-button:hover {
    background: linear-gradient(90deg, #ffecb3, #ffd700);
    transform: scale(1.08);
}

header .logo:hover {
    transform: scale(1.08);
    color: #ffda55;
}

/*/HEADER*/

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav ul li a:hover {
    color: #a565d6;
    transform: translateY(-3px) scale(1.05);
}


nav ul li a {
    font-family: Georgia, "Times New Roman", serif;
    color: #fff8e7;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1em;
    padding: 5px 0;
    transition: color 0.3s, transform 0.3s;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    padding: 15px 20px;
    z-index: 1001;
}

.nav-menu ul {
    flex-direction: column;
    gap: 15px;
    display: flex;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-icon {
    width: 35px;
    height: 30px;
    filter: invert(1);
}

.nav-menu.show {
    display: flex;
}














.btn-kontakt:hover {
    background-color: #3b144b;
    transform: scale(1.08);
    box-shadow: 0 10px 20px rgba(75, 31, 96, 0.5);
}




/* HEADER RIGHT (kontakt + hamburger) */
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Kontakt button v headeri */
.header-kontakt {
     padding: 7px 12px;     /* −15 % */
    font-size: 0.78em;     /* −15 % */
    border-radius: 8px;    /* jemne dole */
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #5e2a7c, #8c4db7);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(140, 77, 183, 0.35);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-kontakt:hover {
    background: transparent;
    color: #8c4db7;
    transform: translateY(-2px) scale(1.05);
    box-shadow: none;
}
/*/Navigácia*/

/*Sekcie*/
section {
    padding: 100px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 150px;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #f2f2f2;
    text-align: center;
    position: relative;
}

section p {
    font-size: 1.1em;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.sluzby {
    background-color: #0d0d0d;
    padding: 80px 20px;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    color: #fff;
    max-width: 1000px;
    width: 90%;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transform: translateY(30px);
    transition: all 0.5s ease;
}


.sluzby.show {
    opacity: 1;
    transform: translateY(0);
}

.sluzby:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px #4b1f60;
}

.sluzby h2 {
    font-size: 2.3em;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #5e2a7c, #8c4db7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    margin-bottom: 25px;
}

.sluzby p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #ccc;
    font-size: 1.1em;
}

.sluzby ul {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.sluzby ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 1.05em;
    position: relative;
}

.sluzby ul li::before {
    content: "✔";
    color: #8c4db7;
    font-weight: bold;
    position: static;
    margin-right: 8px;
}

.sluzby-button {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: all 0.4s ease;
}

.sluzby:hover .sluzby-button {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sluzby-button button {
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(90deg, #5e2a7c, #8c4db7);
    color: #fff;
    box-shadow: 0 4px 15px rgba(140, 77, 183, 0.4);
    transition: all 0.35s ease;
}

.sluzby-button button:hover {
    background: linear-gradient(90deg, #8c4db7, #5e2a7c);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(140, 77, 183, 0.5);
}

#o-nas {
    background: #0b0b0b;
    padding: 100px 20px;
    margin: 60px auto;
    max-width: 1100px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.5s ease;
}

#o-nas:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 55px #4b1f60;
}

#o-nas h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #5e2a7c, #8c4db7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

#o-nas p {
    color: #ccc;
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto 25px;
    line-height: 1.75;
}

#o-nas p:last-child {
    margin-bottom: 0;
}
/*/Sekcie*/



/*==========================
  Responzívne úpravy
==========================*/

/* Notebooky a menšie desktopy */
@media (max-width: 1200px) {
    header {
        padding: 12px 40px;
    }

    nav ul {
        gap: 25px;
    }

    section {
        padding: 80px 20px 50px;
    }

    .sluzby, #o-nas {
        padding: 60px 15px;
    }

    section h2 {
        font-size: 2.2em;
    }

    section p {
        font-size: 1em;
    }

    .sluzby-button button {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

/* Tablety */
@media (max-width: 992px) {
    header {
        padding: 10px 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }

    section {
        padding: 70px 15px 40px;
    }

    section h2 {
        font-size: 2em;
    }

    section p {
        font-size: 0.95em;
    }

    .sluzby, #o-nas {
        padding: 50px 10px;
    }

    .sluzby-button button {
        padding: 9px 20px;
        font-size: 0.9rem;
    }
}

/* Väčšie mobily / menšie tablety */
@media (max-width: 768px) {

    
        header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 80px;
        padding-bottom: 80px;
        height: auto;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(8px);
        z-index: 1000;
    }



    .logo {
        max-height: 50px;
    }

    .dropdown-btn {
        z-index: 1001;
    }

    nav {
        position: absolute;
        left: 0;
        width: 100%;
        background-color: #121212;
        border-radius: 0 0 8px 8px;
        display: none;
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        z-index: 999;

         top: calc(30px + 50px);
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    nav ul li a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s;
    }

    nav ul li a:hover {
        color: #8c4db7;
    }

    section {
        padding: 60px 10px 30px;
    }

    section h2 {
        font-size: 1.8em;
    }

    section p {
        font-size: 0.9em;
    }

    .sluzby ul li {
        font-size: 0.95em;
    }

    .sluzby-button button {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

/* Malé mobily */
@media (max-width: 480px) {
     header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        height: auto;
    }

    .logo img {
        max-height: 35px;
        width: auto;
        display: block;
    }

    .dropdown-btn {
        position: relative;
        top: 0;
        transform: none;
        margin-left: 0;
    }

    nav.nav-menu {
        top: calc(10px + 45px + 10px);
    }

    nav ul {
        gap: 8px;
        width: 100%;
    }

    nav ul li a {
        font-size: 0.85rem;
    }

    section {
        padding: 50px 10px 25px;
    }

    section h2 {
        font-size: 1.6em;
    }

    section p {
        font-size: 0.85em;
    }

    .sluzby, #o-nas {
        padding: 40px 8px;
    }

    .header-kontakt {
        padding: 6px 10px;
        font-size: 0.72em;
        border-radius: 7px;
        box-shadow: 0 0 8px rgba(140, 77, 183, 0.3);
    }

    .header-right {
        gap: 8px;
    }

    .sluzby h2 {
        font-size: 1.4em;
    }

    .sluzby p {
        font-size: 0.8em;
    }

    .sluzby ul li {
        font-size: 0.8em;
        gap: 6px;
    }

    .sluzby-button button {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    #o-nas h2 {
        font-size: 1.5em;
    }

    #o-nas p {
        font-size: 0.8em;
        line-height: 1.5;
    }
}






/*Predaj aut*/
#vozidla .vozidlo {
    display: flex;
    flex-direction: column;
    background: none;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#vozidla .vozidlo-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

#vozidla .vozidlo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}


#vozidla .vozidlo:hover .vozidlo-image img {
    transform: scale(1.05);
}

#vozidla .vozidlo:hover h3 {
    color: rgb(255, 254, 254);
        text-shadow: 0 0 10px rgba(235, 235, 235, 0.2);

    transition: color 0.3s, text-shadow 0.3s;
}

.vozidlo-overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    margin-bottom: -2px;
    margin-left: 5px;
    display: flex;
    flex-direction: column;
}

.vozidlo-overlay .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.vozidlo-overlay h3 {
    font-size: 1.6rem;
    margin: 0;
    color: #6c3483;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

.vozidlo-overlay .info-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.vozidlo-overlay .cena {
    color: #ff4d4d;
    font-weight: bold;
}

.vozidlo-overlay .vlastnosti {
    color: #ffffff;
    font-size: 1rem;
}

.vozidlo-overlay .odkaz {
    text-decoration: none;
    font-weight: 600;
}

#vozidla .vozidla-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    align-items: start;
}

#vozidla .vozidlo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

#vozidla .vozidlo-info {
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(18, 18, 18, 0.8);
    border-radius: 0 0 20px 20px;
    color: #fff;
    border-top: none;
    border-left: 0.5px solid rgba(255, 255, 255, 0.15);
    border-right: 0.5px solid rgba(255, 255, 255, 0.15);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#vozidla .vozidlo-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: rgb(221, 219, 219);
    text-align: center;
}

#vozidla .vlastnosti {
    font-size: 1rem;
    color: #111111;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
    text-align: center;
}

#vozidla .vlastnosti .dot-sep {
    margin: 0 5px;
    font-size: 0.7rem;
    color: #999;
}

#vozidla .info-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#vozidla .cena {
    font-size: 1.3rem;
    font-weight: bold;
    color: whitesmoke;
}

#vozidla .vozidlo-info .vlastnosti {
    font-size: 1rem;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

#vozidla .vozidlo-info .info-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

#vozidla .vozidlo-info .cena {
    font-size: 1.3rem;
    font-weight: bold;
    color: whitesmoke;
}

#vozidla .vozidlo-info .odkaz {
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

#vozidla .vozidlo-info .odkaz .arrow {
    transition: transform 0.3s;
}

#vozidla .vozidlo-info .odkaz:hover .arrow {
    transform: translate(4px, -4px);
}

#vozidla .odkaz {
    text-decoration: none;
    font-size: 0.95rem;
    color: #0018f1;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

#vozidla .odkaz .arrow {
    display: inline-block;
    transition: transform 0.3s;
}

#vozidla .odkaz:hover {
    color: #0111a0;
}

#vozidla .odkaz:hover .arrow {
    transform: translate(4px, -4px);
}

/* Responzívne pre tablety */
@media (max-width: 992px) {
    #vozidla .vozidla-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responzívne pre mobily */
@media (max-width: 600px) {
    #vozidla .vozidla-container {
        grid-template-columns: 1fr;
    }
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow .slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.slideshow .slide.active {
    display: block;
}

.slideshow .prev,
.slideshow .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}

.slideshow .prev:hover,
.slideshow .next:hover {
    background-color: purple;
}

.slideshow .prev {
    left: 10px;
}

.slideshow .next {
    right: 10px;
}

.slideshow .dots {
    text-align: center;
    position: absolute;
    bottom: 3px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.slideshow .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(173, 172, 172, 0.6);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.slideshow .dot:hover {
    transform: scale(1.3);
    background-color: #fbf2ff;
}

.slideshow .dot.active {
    background-color: #f7f7f7;
    box-shadow: 0 0 4px rgba(14, 13, 13, 0.8);
    transform: scale(1.2);
}


.vozidla-toggle {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.vozidla-toggle .toggle-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.vozidla-toggle .toggle-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #8c4db7;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.vozidla-toggle .toggle-btn:hover::after,
.vozidla-toggle .toggle-btn.active::after {
    transform: scaleX(1);
}

.vozidla-toggle .toggle-btn:hover {
    color: #fff;
}


.typ-ponuky {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    font-weight: bold;
}

.typ-ponuky input[type="radio"] {
    display: none;
}

.typ-ponuky label {
    padding: 8px 16px;
    border: 1px solid #1d3557;
    border-radius: 5px;
    cursor: pointer;
    background: #f1f1f1;
    color: #000;
    transition: all 0.2s ease;
}
.typ-ponuky label:hover {
    background: #e0e0e0;
}

.typ-ponuky input[type="radio"]:checked+label {
    background: #1d3557;
    color: #000;
    border-color: #1d3557;
}

.typ-ponuky label:hover {
    background: #e0e0e0;
}

.typ-ponuky input[type="radio"]:checked+label {
    background: #1d3557;
    color: #000;
    border-color: #1d3557;
}

.cena,
.popup-cena {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}
/*/Predajaut*/


/*==========================
  Responzívne - Predaj aut
==========================*/

/* Notebooky a menšie desktopy */
@media (max-width: 1200px) {
    #vozidla .vozidla-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    #vozidla .vozidlo-image {
        height: 200px;
    }

    #vozidla .vozidlo-info h3 {
        font-size: 1.4rem;
    }

    #vozidla .vozidlo-info .vlastnosti,
    #vozidla .vozidlo-info .cena {
        font-size: 1rem;
    }

    .vozidla-toggle {
        gap: 30px;
        font-size: 1.2rem;
    }
}

/* Tablety */
@media (max-width: 992px) {
    #vozidla .vozidla-container {
        grid-template-columns: 1fr 1fr; /* 2 stĺpce stále, ale možno zmenšiť gap */
        gap: 15px;
    }

    #vozidla .vozidlo-image {
        height: 180px;
    }

    #vozidla .vozidlo-info h3 {
        font-size: 1.3rem;
    }

    #vozidla .vozidlo-info .vlastnosti,
    #vozidla .vozidlo-info .cena {
        font-size: 0.95rem;
    }

    .vozidla-toggle {
        gap: 20px;
        font-size: 1.1rem;
    }

    .typ-ponuky {
        flex-wrap: wrap;
        gap: 15px;
    }

    .typ-ponuky label {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Väčšie mobily / menšie tablety */
@media (max-width: 768px) {
    #vozidla .vozidla-container {
        grid-template-columns: 1fr; /* jeden stĺpec */
        gap: 15px;
    }

    #vozidla .vozidlo-image {
        height: 160px;
    }

    #vozidla .vozidlo-info h3 {
        font-size: 1.2rem;
    }

    #vozidla .vozidlo-info .vlastnosti,
    #vozidla .vozidlo-info .cena {
        font-size: 0.9rem;
    }

    .vozidla-toggle {
        flex-direction: column;
        gap: 15px;
        font-size: 1rem;
    }

    .typ-ponuky {
        flex-direction: column;
        gap: 10px;
    }

    .typ-ponuky label {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}

/* Malé mobily */
@media (max-width: 480px) {
    #vozidla .vozidla-container {
        grid-template-columns: 1fr; /* stále jeden stĺpec */
        gap: 12px;
    }

    #vozidla .vozidlo-image {
        height: 140px;
    }

    #vozidla .vozidlo-info h3 {
        font-size: 1.1rem;
    }

    #vozidla .vozidlo-info .vlastnosti,
    #vozidla .vozidlo-info .cena {
        font-size: 0.85rem;
    }

    .vozidla-toggle {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        font-size: 1rem;
    }

    .typ-ponuky label {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

































/* Kontakt */
#kontakt p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 10px;
}

#kontakt {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

#kontakt h2 {
    text-align: center;
    font-size: 2em;

    color: #e5e5e5;
}

.kontakt-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.kontakt-form {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontakt-form input,
.kontakt-form textarea {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
    transition: 0.3s;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
    border-color: #e63946;
    outline: none;
}

.kontakt-form button {
    background-color: #4b1f60;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(75, 31, 96, 0.4);
}

.kontakt-form button:hover {
    background-color: #3b144b;
    transform: scale(1.08);
    box-shadow: 0 10px 20px rgba(75, 31, 96, 0.5);
}

.kontakt-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.kontakt-info {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: flex-start;
}

.kontakt-info .info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05em;
    color: #f2f2f2;
    margin-bottom: -15px;
}

.kontakt-info .info-icon {
    width: 32px;
    height: 32px;
    fill: #fff;
    filter: invert(100%);
}

.kontakt-info .info-text {
    display: inline-block;
    word-break: break-word;
}
/*/Kontakt*/

/*ADMIN PANEL*/
.admin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f4f4f4;
    padding: 20px;
}

.admin-panel,
.admin-login {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.admin-title {
    margin-bottom: 20px;
    color: #121212;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.admin-input:focus {
    border-color: #e63946;
    outline: none;
}

.admin-button {
    background-color: #e63946;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

.admin-button:hover {
    background-color: #c72f3c;
}

.admin-error {
    color: red;
    margin-bottom: 10px;
}

.admin-success {
    color: green;
    margin-bottom: 10px;
}

.admin-logout {
    display: inline-block;
    margin-bottom: 15px;
    color: #e63946;
    text-decoration: none;
    font-size: 0.9em;
}

.admin-logout:hover {
    text-decoration: underline;
}

.admin-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background: #000;
    padding: 40px 20px;
}

.admin-login,
.admin-panel {
    background: #1c1c1c;
    color: #f2f2f2;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 600px;
}

.admin-form input,
.admin-form select,
.admin-form button {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #555;
    background: #2a2a2a;
    color: #fff;
}

.admin-button {
    background: #e63946;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.admin-button:hover {
    background: #c72f3c;
}

.admin-error {
    color: #ff4d4d;
    margin-bottom: 10px;
}

.admin-success {
    color: #4ad97a;
    margin-bottom: 10px;
}

.admin-logout {
    color: #ffd700;
    text-decoration: underline;
}

.admin-existing-cars {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 25px;
}

.admin-existing-cars .car-item {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
}

.admin-existing-cars .car-item p {
    margin: 5px 0;
}

.admin-existing-cars .car-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 5px;
}

.admin-existing-cars .car-item button {
    margin-top: 10px;
    background: #e63946;
    border: none;
    padding: 6px 12px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.admin-existing-cars .car-item button:hover {
    background: #f77f00;
}

.selected-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.selected-photos-grid .photo-preview {
    background: #2a2a2a;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
}

.selected-photos-grid .photo-preview p {
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffd700;
    font-size: 0.9rem;
}

.selected-photos-grid .photo-preview img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}


.selected-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
    position: relative;
}

.selected-photos-grid .photo-preview {
    background: #2a2a2a;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.selected-photos-grid .photo-preview p {
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffd700;
    font-size: 0.9rem;
}

.selected-photos-grid .photo-preview img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.selected-photos-grid .photo-preview .remove-photo {
    position: absolute;
    top: 2px;
    right: 5px;
    color: #ff4d4d;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    z-index: 10;
    transition: 0.2s;
}

.selected-photos-grid .photo-preview .remove-photo:hover {
    background: rgba(255, 0, 0, 0.8);
}

.photo-preview.dragging {
    opacity: 0.6;
    border: 2px dashed #ffd700;
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .admin-existing-cars {
        grid-template-columns: 1fr; 
    }
}
/*/ADMIN PANEL*/



/*==========================
  Responzívne - Kontakt & Admin
==========================*/

/* Notebooky / menšie desktopy */
@media (max-width: 1200px) {
    #kontakt {
        padding: 60px 20px;
    }

    #kontakt h2 {
        font-size: 1.8rem;
    }

    #kontakt p {
        font-size: 1em;
    }

    .kontakt-container {
        gap: 35px;
    }

    .kontakt-form, .kontakt-info {
        min-width: 250px;
        max-width: 400px;
    }
}

/* Tablety */
@media (max-width: 992px) {
    #kontakt {
        padding: 50px 15px;
    }

    #kontakt h2 {
        font-size: 1.6rem;
    }

    #kontakt p {
        font-size: 0.95rem;
    }

    .kontakt-container {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .kontakt-form, .kontakt-info {
        width: 90%;
        max-width: 100%;
    }

    .kontakt-info .info-item {
        font-size: 0.95rem;
        gap: 12px;
    }

    .kontakt-info .info-icon {
        width: 28px;
        height: 28px;
    }
}

/* Malé mobily */
@media (max-width: 600px) {
    #kontakt {
        padding: 40px 10px;
    }

    #kontakt h2 {
        font-size: 1.4rem;
    }

    #kontakt p {
        font-size: 0.9rem;
    }

    .kontakt-form, .kontakt-info {
        width: 100%;
    }

    .kontakt-form input,
    .kontakt-form textarea,
    .kontakt-form button {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .kontakt-info .info-item {
        font-size: 0.9rem;
        gap: 10px;
    }

    .kontakt-info .info-icon {
        width: 24px;
        height: 24px;
    }
}

/* Admin panel - tablety */
@media (max-width: 992px) {
    .admin-container {
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .admin-login, .admin-panel {
        max-width: 90%;
        padding: 20px;
    }

    .admin-form input,
    .admin-form select,
    .admin-form button {
        padding: 8px 10px;
        font-size: 0.95rem;
    }

    .selected-photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Admin panel - mobily */
@media (max-width: 600px) {
    .admin-login, .admin-panel {
        width: 100%;
        padding: 15px;
    }

    .admin-form input,
    .admin-form select,
    .admin-form button {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .admin-existing-cars {
        gap: 20px;
    }

    .selected-photos-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .selected-photos-grid .photo-preview img {
        height: 60px;
    }

    .admin-existing-cars .car-item button {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
}



































/*footer*/
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #121212;
    color: #fff;
    margin-top: 40px;
}

footer.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #121212;
    color: #fff;
}

footer .footer-left p {
    margin: 0;
    font-size: 0.9rem;
}

footer .footer-right a {
    display: inline-block;
    margin-left: 12px;
}

footer .footer-right img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

footer .footer-right img:hover {
    transform: scale(1.2);
}

footer .footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footerButtons {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

.footerButtons:hover {
    color: #e0e0e0;
    transform: scale(1.05);
}
/*/footer*/

/*HERO*/
.hero {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 94%);
    background: linear-gradient(to bottom, transparent, #000);
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-text span {
    opacity: 0;
    display: inline-block;
    transform: translateX(-10px);
    animation: fadeSlide 0.5s forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.65)
    );
    z-index: 2;
}

.hero-text {
    bottom: 15%;
    left: 10%;
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 8%;
    padding-bottom: 50px;
    max-width: 700px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFade 1.4s ease forwards;
    animation-delay: 1.2s;
}

.hero-text h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text h1 span {
    color: #b68cff;
}

.hero-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    margin-bottom: 25px;
}

.hero-btn {
    width: fit-content;
    font-size: 20px;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #7f4cff, #b68cff);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(127,76,255,0.35);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(127,76,255,0.55);
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBIL */
@media (max-width: 768px) {
    .hero-text {
        padding: 0 20px;
        align-items: center;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-btn {
        padding: 10px 24px;
    }
}

@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/*/HERO*/



/*==========================
  Responzívne - Footer & Hero
==========================*/

/* Notebooky / menšie desktopy */
@media (max-width: 1200px) {
    footer.footer {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }

    footer .footer-left p {
        font-size: 0.85rem;
    }

    footer .footer-right a {
        margin-left: 10px;
    }

    footer .footer-right img {
        width: 22px;
        height: 22px;
    }

    .hero-text {
        max-width: 600px;
        padding-left: 6%;
        padding-bottom: 40px;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-btn {
        font-size: 18px;
        padding: 10px 24px;
    }
}

/* Tablety */
@media (max-width: 992px) {
    footer.footer {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    footer .footer-left, 
    footer .footer-right {
        justify-content: center;
        gap: 10px;
    }

    .hero-text {
        padding-left: 5%;
        padding-bottom: 35px;
        max-width: 90%;
        align-items: center;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .hero-btn {
        font-size: 16px;
        padding: 8px 20px;
    }
}

/* Malé mobily */
@media (max-width: 600px) {
    footer.footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 10px 15px;
    }

    footer .footer-left p {
        font-size: 0.8rem;
    }

    footer .footer-right a {
        margin-left: 8px;
    }

    footer .footer-right img {
        width: 20px;
        height: 20px;
    }

    .hero {
        height: auto;
        padding-top: 100px; /* odsadenie od headera */
        box-sizing: border-box;
    }

    .hero video {
        width: 100%;
        height: auto;
        min-width: auto;
        min-height: auto;
        top: 0;
        left: 0;
        transform: none;
        object-fit: contain;
    }

    .hero-text {
        bottom: auto;            /* zruší aktuálne bottom */
        top: 0px;               /* posunie text viac hore */
        left: 10%;               /* môžeš upraviť podľa potreby */
        transform: none;         /* zruší transform */
        padding-left: 8px;       /* menší padding, ak treba */
        max-width: 90%;
        align-items: flex-start; 

        text-align: left;        /* alebo center, podľa potreby */
    }

    .hero-text h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .hero-btn {
        font-size: 14px;
        padding: 6px 18px;
    }



}














/*POPUP*/
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    overflow-y: auto;

}

.popup-content {
    background: #121212;
    color: #fff;
    padding: 60px 80px;
    border-radius: 10px;

    max-width: 1100px;
    width: 95%;
    max-height: 90vh; 
    overflow-y: auto;
    position: relative;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 20px;

}

.popup-overlay.show .popup-content {
    transform: scale(1);
    opacity: 1;
}

#popup-close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 48px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.2s ease, background 0.2s ease;
}

#popup-close:hover {
    transform: scale(1.1);
    color: #8c4db7;
}


.popup-content h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 35px;
    font-weight: 700;
    letter-spacing: 1px;
}

.popup-images {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 10px;
}

.popup-images img {
    max-height: 350px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.popup-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25);
}



.popup-vlastnost {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    color: #ddd;
    font-weight: 500;
}

.popup-vlastnost img {
    width: 36px;
    height: 36px;
}

.popup-cena,
.popup-cena-bez-dph {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 500;
}



.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: #111;
    color: #fff;
    padding: 20px;
    max-width: 1200px;
    width: 90%;
    border-radius: 12px;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}
.popup-top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.popup-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex: 1;
}

.popup-images img {
    max-width: 380px;
    width: 100%;
    border-radius: 8px;
}

.popup-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-vlastnosti {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.popup-vlastnost {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #222;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.popup-vlastnost img {
    filter: invert(1);
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: #111;
    color: #fff;
    padding: 20px;
    max-width: 1200px;
    width: 90%;
    border-radius: 12px;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

.popup-detail {
    display: flex;
    flex-wrap: wrap;       
    gap: 20px;             
    margin-top: 20px;
}

.popup-section {
    flex: 1 1 calc(50% - 20px); 
    background-color: #222;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    min-width: 250px;      
}

.popup-section-title {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
}

.popup-row {
    margin-bottom: 5px;
    font-size: 14px;
}

.popup-content ul li {
    margin-bottom: 12px;
}

.popup-content ul li a {
    color: #8c4db7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
}

.popup-content ul li a:hover {
    color: #ffd700;
    transform: translateX(3px);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: whitesmoke;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.modal-text {
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
    color: #000000;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #000000;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal .close:hover {
    color: #000;
}

.modal-close-btn {
    align-self: center;
    padding: 10px 20px;
    border: none;
    background-color: #4908b3;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close-btn:hover {
    background-color: #290564;
}

.modal-text::-webkit-scrollbar {
    width: 8px;
}

.modal-text::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.modal-text::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}

.modal-text::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

.lightbox-overlay img.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.95);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    font-size: 80px;          /* VEĽKOSŤ ŠÍPKY */
    color: white;

    background: rgba(0,0,0,0.3);  /* jemné pozadie */
    border: none;

    cursor: pointer;

    padding: 30px 20px;       /* väčšia klikacia plocha */

    user-select: none;

    border-radius: 10px;

    transition: all 0.2s ease;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0,0,0,0.6);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;

    font-size: 50px;
    color: white;

    cursor: pointer;

    background: rgba(0,0,0,0.4);
    border-radius: 8px;

    padding: 5px 15px;

    transition: all 0.2s ease;

    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}


/*/POPUP*/

/*==========================
  Responzívne - POPUP
==========================*/

/* Notebooky / menšie desktopy */
@media (max-width: 1200px) {
    .popup-content {
        padding: 40px 60px;
        max-width: 900px;
    }

    .popup-content h2 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .popup-images img {
        max-height: 300px;
    }

    .popup-vlastnost {
        font-size: 18px;
    }

    .popup-cena,
    .popup-cena-bez-dph {
        font-size: 22px;
    }

    #popup-close {
        width: 50px;
        height: 50px;
        font-size: 42px;
    }
}

/* Tablety */
@media (max-width: 992px) {
    .popup-content {
        padding: 30px 40px;
        max-width: 720px;
    }

    .popup-top {
        flex-direction: column;
        gap: 15px;
    }

    .popup-images {
        justify-content: center;
        gap: 15px;
    }

    .popup-images img {
        max-width: 100%;
        max-height: 250px;
    }

    .popup-info {
        width: 100%;
    }

    .popup-vlastnosti {
        gap: 20px;
    }

    .popup-vlastnost {
        font-size: 16px;
        padding: 4px 8px;
    }

    .popup-cena,
    .popup-cena-bez-dph {
        font-size: 20px;
    }

    #popup-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 36px;
    }
}

/* Mobily / malé obrazovky */
@media (max-width: 600px) {
    .popup-content {
        padding: 20px;
        max-width: 95%;
        width: 95%;
    }

    .popup-top {
        flex-direction: column;
        gap: 10px;
    }

    .popup-images {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .popup-images img {
        max-height: 250px;
    }

    .popup-info {
        width: 100%;
    }

    .popup-vlastnosti {
        flex-direction: column;
        gap: 10px;
    }

    .popup-vlastnost {
        font-size: 14px;
        padding: 3px 6px;
        gap: 4px;
    }

    .popup-cena,
    .popup-cena-bez-dph {
        font-size: 18px;
    }

    .popup-content h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    #popup-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 32px;
    }

    .popup-section {
        flex: 1 1 100%;
        padding: 10px;
    }
}


/* NOTEBOOKY */
@media (max-width: 1200px) {

    .lightbox-img {
        max-width: 92%;
        max-height: 85%;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 65px;
        padding: 25px 18px;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }

    .lightbox-close {
        font-size: 45px;
        top: 15px;
        right: 20px;
    }
}


/* TABLETY */
@media (max-width: 992px) {

    .lightbox-img {
        max-width: 95%;
        max-height: 80%;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 55px;
        padding: 20px 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        font-size: 40px;
        top: 10px;
        right: 15px;
        padding: 5px 12px;
    }
}


/* MOBILY */
@media (max-width: 600px) {

    .lightbox-img {
        max-width: 98%;
        max-height: 75%;
        border-radius: 6px;
    }

    .lightbox-prev,
    .lightbox-next {

        font-size: 45px;
        padding: 15px 10px;

        background: rgba(0,0,0,0.5);

        top: 50%;
        transform: translateY(-50%);
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-close {

        font-size: 36px;

        top: 8px;
        right: 10px;

        padding: 4px 10px;

        background: rgba(0,0,0,0.6);
    }

}
