/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f0f0f0;
}
/*/Reset */

/* BODY */
body {
    line-height: 1.6;
    background-color: #000;
    color: #fff;
    background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

::-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, 0.89);
    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);
    transition: all 0.3s ease;
    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*/

/*Navigácia*/
nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav ul li a:hover {
    color: #a565d6;
    transform: translateY(-2px);
    transform: translateY(-3px) scale(1.05);
    transition: all 0.3s ease;
}

nav ul li .nav-kontakt {
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #5e2a7c, #8c4db7);
    color: #fff;
    transition: all 0.35s ease;
    box-shadow: 0 0 12px rgba(140, 77, 183, 0.35);
}

nav ul li .nav-kontakt:hover {
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px) scale(1.05);
    color: #8c4db7;
    transition: all 0.35s ease;
}

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;
}
/*/Navigácia*/

/*Sekcie*/
section {
    padding: 100px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

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;
}

#movingCarIcon {
    position: absolute;
    width: 80px;
    top: 0;
    left: 0;
    transition: transform 0.1s linear;
    transform: translate(100%, 100%);
    filter: invert(100%) brightness(1000%);
    background: transparent;
}

#movingCarIcon {
    width: 80px;
    fill: white;
}

#movingCarIcon {
    filter: invert(1);
    mix-blend-mode: lighten;
    background: transparent;
}
/*/Sekcie*/

/*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 {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#vozidla .vozidlo:hover .vozidlo-image img {
    transform: scale(1.05);
}

#vozidla .vozidlo:hover h3 {
    color: #8c4db7;
    text-shadow: 0 0 10px rgba(140, 77, 183, 0.7);
    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: #8c4db7;
    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: space-between;
    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*/

/* 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;
}
/* Mobile fallback */
@media (max-width: 600px) {
    .admin-existing-cars {
        grid-template-columns: 1fr; /* stĺpcovo na mobile */
    }
}
/*/ADMIN PANEL*/

/*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);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    section {
        padding: 80px 15px 40px;
    }
}
/*/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*/

/*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: 18px;
    max-width: 1100px;
    width: 95%;
    max-height: 95%;
    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;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 34px;
    cursor: pointer;
    color: #fff;
    transition: color 0.2s ease;
}

.popup-close:hover {
    color: #3c03d8;
}

.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;
}
/*/POPUP*/