@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
:root {
    --primary-color: #ff5722;
    /* Orange color for buttons and highlights */
    --text-color: #ffffff;
    --background-color: #1a1a1a;
    --nav-bg-color: rgba(0, 0, 0, 0.7);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}


/* Hero Section */

.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    /* Používam rovnaký obrázok, aby sa zachoval vizuál */
    background: url('exotic/DSC04563.jpeg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    color: var(--text-color);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay na zviditeľnenie textu */
    z-index: 1;
}


/* Navbar */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    /* Zmenené: priehľadné pozadie namiesto tmavého s blur efektom */
    background: transparent;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    margin-right: 0.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown a {
    display: flex;
    align-items: center;
}


/* Nový štýl pre šípku */

.arrow-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    /* Prvá časť šípky */
    border-right: 6px solid transparent;
    /* Druhá časť šípky */
    border-top: 6px solid var(--text-color);
    /* Spodná časť šípky */
    margin-left: 5px;
    transition: transform 0.3s ease;
}


/* Rotácia šípky pri nabehnutí myšou */

.dropdown:hover .arrow-icon {
    transform: rotate(180deg);
}


/* Upravený štýl pre dropdown menu */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    list-style: none;
    min-width: 150px;
    padding: 0.5rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 0.75rem 1rem;
    display: block;
    white-space: nowrap;
    color: #333;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: transparent;
    color: var(--primary-color);
}


/* Upravený štýl tlačidiel - prázdne a hranaté */

.newsletter-button,
.show-all-button,
.rent-button,
.view-fleet-button {
    text-decoration: none;
    padding: 0.75rem 2.5rem;
    font-weight: 550;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    /* Zmenené: Farba textu je pôvodne oranžová */
    color: var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    letter-spacing: 0.15rem;
}


/* Štýl tlačidiel po nabehnutí myšou */

.newsletter-button:hover,
.show-all-button:hover,
.rent-button:hover,
.view-fleet-button:hover {
    background-color: var(--primary-color);
    /* Zmenené: Farba textu sa zmení na bielu */
    color: var(--text-color);
}


/* Hero Content */

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 450px;
}


/* Responsive Design */

@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    .hero-content {
        left: 5%;
        top: 40%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem 2%;
    }
    .logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .nav-links {
        display: none;
        /* Skrytie navigačných odkazov na menších obrazovkách */
    }
    .rent-button {
        width: 100%;
        text-align: center;
    }
    .hero-content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        max-width: 90%;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
}


/* Nové: Štýly pre sekciu so štatistikami */

.stats-section {
    background-color: #ffffff;
    /* Svetlé pozadie */
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.stats-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stats-item {
    flex: 1;
    min-width: 200px;
    color: #333333;
    /* Tmavá farba textu pre svetlé pozadie */
}

.stat-number {
    font-size: 3rem;
    font-weight: 500;
    color: #ff5722;
    /* Oranžová farba */
    display: block;
    margin-bottom: 0;
    /* Odstránenie spodnej medzery */
}

.stat-description {
    font-size: 1rem;
    font-weight: 400;
    /* Zmenené: Záporná horná medzera na priblíženie textu k číslu */
    margin-top: -0.5rem;
    margin-bottom: 0;
}


/* Prispôsobenie pre mobilné zariadenia */

@media (max-width: 768px) {
    .stats-section .container {
        flex-direction: column;
        gap: 1rem;
    }
    .stats-item {
        margin-bottom: 1rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
}


/* Nové: Štýly pre sekciu s vybranými autami */

.featured-cars-section {
    background-color: white;
    /* Svetlé pozadie */
    padding: 2rem 2rem 4rem;
}

.featured-cars-section .container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.car-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 1rem;
    transition: box-shadow 0.3s ease;
    /* Odstránené: display: flex a flex-direction: column */
}

.car-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.car-image-wrapper {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    /* Nové: Pevná výška a šírka pre kontajner obrázka */
    width: 100%;
    height: 200px;
    /* Nastaviteľná výška podľa potreby */
}

.car-image-wrapper img {
    /* Nové: Obrázok vyplní celý kontajner a orezá sa */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.car-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.car-details {
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
}

.car-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.car-price-info {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
}

.currency,
.per-day {
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: black;
    margin: 0 0.25rem;
}

.car-specs-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    /* Upravená medzera, aby bola bližšie k tlačidlu */
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    color: #555;
    text-align: center;
}

.spec-item img {
    height: 20px;
    margin-bottom: 0.25rem;
}

.see-details-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
    padding: 0.5rem;
    border-radius: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    /* Upravená medzera, aby nebolo nalepené na špecifikácie */
    font-size: 0.8rem;
    border: 2px solid var(--primary-color);
}

.see-details-button:hover {
    /* Nové: Vnútro sa vyfarbí na bielo a text sa zmení na oranžový */
    background-color: #ffffff;
    /* Biela výplň */
    color: var(--primary-color);
    /* Oranžový text */
}


/* Responzívne úpravy */

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: center;
    }
    .show-all-button {
        margin-top: 1rem;
    }
}

SS
/* =================================================================== */


/* =================== Sekcia Video & FAQ Štýly ====================== */


/* =================================================================== */

.how-it-works-section {
    background-color: white;
    padding: 4rem 2rem;
}

.how-it-works-card {
    background-color: #1a1a1a;
    border-radius: 1rem;
    display: flex;
    overflow: hidden;
    max-width: 1800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container {
    flex: 3;
    position: relative;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    overflow: hidden;
    height: auto;
    min-height: 600px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-pause-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 5;
}

.play-pause-button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.steps-container {
    flex: 2;
    background-color: #1a1a1a;
    padding: 2.5rem;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.steps-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
}


/* --- Nové štýly pre FAQ v tmavom paneli --- */

.faq-container-inline .faq-item {
    border-bottom: 1px solid #444;
    /* Tmavší oddeľovač */
}

.faq-container-inline .faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-container-inline .faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    /* Biely text otázky */
    transition: color 0.3s ease;
}

.faq-container-inline .faq-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    /* Zabezpečí, že sa ikona nezmenší */
    margin-left: 1rem;
}

.faq-container-inline .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-container-inline .faq-answer p {
    color: #ccc;
    /* Svetlošedá farba pre odpoveď */
    line-height: 1.7;
    padding-bottom: 1.5rem;
}


/* Aktívny stav */

.faq-container-inline .faq-item.active .faq-question span {
    color: var(--primary-color);
    /* Oranžový text aktívnej otázky */
}

.faq-container-inline .faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-container-inline .faq-item.active .faq-answer {
    max-height: 300px;
    transition: max-height 0.4s ease-in;
}


/* Responzívne úpravy */

@media (max-width: 992px) {
    .how-it-works-card {
        flex-direction: column;
    }
    .video-container {
        border-radius: 1rem 1rem 0 0;
        min-height: 250px;
    }
    .steps-container {
        border-radius: 0 0 1rem 1rem;
        padding: 2rem;
    }
    .steps-title {
        font-size: 2rem;
    }
}


/* Štýly pre celú sekciu s recenziami */

.testimonials-section {
    background-color: #ffffff;
    /* Biela farba pozadia, ako na obrázku */
    padding: 6rem 2rem;
    text-align: center;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    /* ZMENA: Pevné 3 stĺpce, každý zaberie 1 "časť" miesta */
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}


/* Pridáme responzívne úpravy, aby sa to na mobiloch nezlomilo */

@media (max-width: 992px) {
    .testimonials-grid {
        /* Na stredných obrazovkách (napr. tablety) 2 stĺpce */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        /* Na malých obrazovkách (napr. mobily) 1 stĺpec */
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Štýly pre jednotlivé karty recenzií */

.testimonial-card {
    background-color: #f7f7f7;
    /* Svetlé pozadie pre karty */
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Posunie obsah na začiatok a koniec */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Jemný tieň */
}

.rating {
    color: var(--primary-color);
    /* Oranžová farba pre hviezdičky */
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.star {
    /* Zabezpečí, že hviezdičky nebudú moc od seba */
    margin-right: -2px;
}

.testimonial-text {
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    /* Zabezpečí, že sa info o klientovi prichytí k spodnej časti karty */
}

.client-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-weight: 600;
    color: #1a1a1a;
}


/* ==================== Footer Section Styles ==================== */

.footer-section {
    background-color: var(--background-color);
    /* Použije tmavú farbu pozadia definovanú v :root */
    color: #cccccc;
    /* Svetlošedá farba pre text pre lepšiu čitateľnosť */
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: grid;
    /* Automaticky prispôsobí počet stĺpcov podľa šírky obrazovky */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    /* Biela farba pre nadpisy */
    margin-bottom: 1.5rem;
    position: relative;
}


/* Oranžová čiara pod nadpismi pre zvýraznenie */

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column .logo {
    margin-bottom: 1rem;
}

.footer-column.about p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1rem;
    margin-right: 0.75rem;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #444;
    border-radius: 50%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-column.links ul {
    list-style: none;
}

.footer-column.links li {
    margin-bottom: 0.75rem;
}

.footer-column.links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column.links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-column.contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-column.contact i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
    /* Zarovnanie ikoniek */
    text-align: center;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    background-color: #2b2b2b;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 0.75rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input::placeholder {
    color: #aaa;
}


/* Tlačidlo v pätičke bude mať mierne upravený štýl oproti hlavným tlačidlám */

.newsletter-form .newsletter-button {
    border-radius: 5px;
    /* Rovnaké zaoblenie ako input pole */
    text-align: center;
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}


/* ==================== Responzívne štýly pre pätičku ==================== */

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 4rem 5% 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-column.contact p {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
    }
    .footer-legal a {
        margin: 0 0.75rem;
    }
}


/* ==================== Animácia pre Hero Section ==================== */


/* 1. KROK: Definícia samotnej animácie */


/* Táto animácia posunie prvok z pozície +30px na 0 a zmení priehľadnosť z 0 na 100% */

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 2. KROK: Aplikovanie animácie na nadpis, text a tlačidlo */


/* Najprv nastavíme spoločné vlastnosti animácie */

.hero-content h1,
.hero-content p,
.hero-content .view-fleet-button {
    /* Počiatočný stav - pred animáciou sú prvky neviditeľné */
    opacity: 0;
    /* Názov animácie, ktorú sme definovali vyššie */
    animation-name: slideUpFadeIn;
    /* Dĺžka trvania animácie */
    animation-duration: 0.7s;
    /* Animácia sa spustí rýchlejšie a na konci spomalí - pôsobí to prirodzene */
    animation-timing-function: ease-out;
    /* Zabezpečí, že prvok zostane vo finálnom stave aj po skončení animácie */
    animation-fill-mode: forwards;
}


/* Teraz nastavíme oneskorenie pre každý prvok, aby sa objavovali postupne */

.hero-content h1 {
    animation-delay: 0.2s;
    /* Nadpis sa objaví ako prvý */
}

.hero-content p {
    animation-delay: 0.4s;
    /* Text sa objaví o 0.2s neskôr */
}

.hero-content .view-fleet-button {
    animation-delay: 0.6s;
    /* Tlačidlo ako posledné */
}


/* ==================== Štýly pre animáciu čísel ==================== */


/* Obalovač pre číslo a znamienko plus */

.stat-number-wrapper {
    display: flex;
    /* Použijeme flexbox pre zarovnanie */
    justify-content: center;
    /* Centrovanie na stred */
    align-items: baseline;
    /* Zarovnanie podľa spodnej linky textu */
    color: var(--primary-color);
    /* Farbu presunieme sem */
    font-weight: 500;
    font-size: 3rem;
    /* Spoločná veľkosť fontu */
}


/* Upravíme pôvodný štýl pre .stat-number, aby nebol v konflikte */

.stat-number {
    font-size: 3rem;
    font-weight: 500;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0;
}


/* ==================== Animácia pre sekciu s autami ==================== */


/* Počiatočný stav kariet - neviditeľné a posunuté nižšie */

.featured-cars-section .car-card {
    opacity: 0;
    transform: translateY(40px);
    /* Posunuté o 40px dole */
    /* Definuje, ako plynule sa má zmena udiať */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


/* Konečný stav - trieda, ktorú pridá JavaScript, keď je sekcia viditeľná */

.featured-cars-section .car-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    /* Vrátené na pôvodnú pozíciu */
}


/* ==================== Animácia pre sekciu s recenziami ==================== */


/* Počiatočný stav pre VŠETKY karty recenzií - neviditeľné a posunuté dole */


/* Tento kód pridaj na koniec CSS súboru */

.testimonial-card {
    opacity: 0;
    transform: translateY(50px);
    /* Začnú o 50px nižšie */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


/* Trieda, ktorú pridá JavaScript, keď sa karta objaví na obrazovke */


/* Tento kód pridaj hneď za predchádzajúci */

.testimonial-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    /* Vrátia sa na svoju pôvodnú pozíciu */
}


/* =================================================================== */


/* ================== ŠTÝLY PRE MOBILNÚ NAVIGÁCIU ================== */


/* =================================================================== */


/* Hamburger Tlačidlo */

.hamburger {
    display: none;
    /* Skryté na desktope */
    position: relative;
    width: 35px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    /* Musí byť navrchu */
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
}


/* Mobilné Menu (Overlay) */

.mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: fixed;
    top: 0;
    left: 100%;
    /* Začne mimo obrazovky vpravo */
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    z-index: 5;
    transition: left 0.4s ease-in-out;
    padding: 2rem;
}

.mobile-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 3;
}

.mobile-nav .rent-button {
    margin-top: 1rem;
    font-size: 1rem;
    /* Trochu menšie tlačidlo v menu */
    width: 80%;
    text-align: center;
}


/* --- ŠTÝLY PRE AKTÍVNY STAV (po kliknutí na hamburger) --- */


/* Animácia hamburgeru na "X" */

.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
    /* Stredná čiarka zmizne */
}

.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    /* Horná sa posunie a otočí */
}

.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    /* Spodná sa posunie a otočí */
}


/* Zobrazenie mobilného menu */

.mobile-nav.is-active {
    left: 0;
    /* Menu sa zasunie do obrazovky */
}


/* Zablokovanie scrollovania stránky, keď je menu otvorené */

body.no-scroll {
    overflow: hidden;
}


/* ============================================================ */


/* ================== RESPONZÍVNE ÚPRAVY ================== */


/* ============================================================ */


/* Použijeme rovnaký breakpoint, ako si mal doteraz */

@media (max-width: 768px) {
    /* Zmena v .navbar pre mobil */
    .navbar {
        padding: 1rem 5%;
        /* Menší padding */
    }
    .logo {
        /* Odstránime centrovanie, aby zostalo vľavo */
        width: auto;
        justify-content: flex-start;
        margin-bottom: 0;
        z-index: 1001;
        /* Aby bolo nad overlayom, ak je menu otvorené */
    }
    .logo span {
        font-size: 1.2rem;
        /* Trochu menšie logo na mobile */
    }
    /* Skryjeme desktopové menu a zobrazíme hamburger */
    .navbar .desktop-only {
        display: none;
    }
    .hamburger {
        display: block;
    }
    /* Vylepšenie Hero Content pre mobil */
    .hero-content {
        top: 55%;
        /* Posunieme ho trochu nižšie */
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        /* Využije 90% šírky */
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        /* Väčší a čitateľnejší nadpis */
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        /* Viac miesta pred tlačidlom */
    }
    .hero-content .view-fleet-button {
        padding: 0.8rem 1.5rem;
        /* Prispôsobenie tlačidla */
        font-size: 0.9rem;
    }
}


/* =================================================================== */


/* ================== ŠTÝLY PRE PODSTRÁNKU DETAILU AUTA ================== */


/* =================================================================== */


/* Jednoduchá hlavička pre podstránky */

.main-header {
    background-color: var(--background-color);
    padding: 0.1rem 0;
    border-bottom: 1px solid #333;
}

.main-header .navbar {
    position: static;
}


/* Hlavný kontajner stránky */

.car-detail-page {
    background-color: #fff;
    color: #1a1a1a;
    padding: 4rem 5%;
}

.detail-grid {
    max-width: 1400px;
    margin: 0 auto;
}


/* --- Galéria --- */

.main-image-container img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.thumbnail-gallery img {
    width: 100%;
    border-radius: 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail-gallery img:hover,
.thumbnail-gallery img.active {
    border-color: var(--primary-color);
}


/* --- Kontaktný box (Máte záujem...) --- */

.enquiry-box {
    background-color: #f7f7f7;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.enquiry-box .price-per-day {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.enquiry-box .price-per-day span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

.enquiry-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.enquiry-box p {
    color: #555;
    margin-bottom: 1.5rem;
}

.phone-number-box {
    background-color: #e9e9e9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    margin: 1.5rem 0 0;
}

.phone-number-box a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
}


/* --- Informácie o aute (Názov, popis, špecifikácie) --- */

.car-title-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.car-title-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.car-tag {
    background-color: #eef2f5;
    color: #555;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.quick-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background-color: #f7f7f7;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec-item-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-weight: 500;
}

.spec-item-detail i {
    color: var(--primary-color);
}

.car-description {
    line-height: 1.7;
    color: #555;
    margin-bottom: 2.5rem;
}


/* --- Spoločný štýl pre tabuľky (Špecifikácie, Cenník, Nájazd) --- */

.specifications h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.spec-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 2rem;
}

.spec-label {
    font-weight: 600;
    color: #1a1a1a;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.spec-value {
    color: #555;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}


/* =================================================================== */


/* ============= FINÁLNE ROZLOŽENIE (MOBIL + DESKTOP) ============= */


/* =================================================================== */


/* --- Mobilné zobrazenie (predvolené) --- */

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* VÝRAZNE ZMENŠENÉ na 1rem */
}


/* Nastavenie presného poradia pre MOBILNÉ zobrazenie */

.gallery-block {
    order: 1;
}

.info-block {
    order: 2;
}

.specifications-block {
    order: 3;
}

.enquiry-block {
    order: 4;
}

.pricing-block {
    order: 5;
}

.mileage-block {
    order: 6;
}


/* --- Desktopové zobrazenie (pre obrazovky širšie ako 960px) --- */

@media (min-width: 960px) {
    .detail-grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        /* Vertikálna medzera 1rem, horizontálna 3rem */
        gap: 1rem 3rem;
        /* VÝRAZNE ZMENŠENÉ z 2rem na 1rem */
    }
    /* Vlastnosť 'order' sa pri 'grid' ignoruje, takže nemusíme nič resetovať */
    /* Priradenie blokov do stĺpcov pre DESKTOP */
    /* Ľavý stĺpec */
    .gallery-block {
        grid-column: 1 / 2;
        grid-row: 1;
    }
    .pricing-block {
        grid-column: 1 / 2;
        grid-row: 2;
    }
    /* << ZMENA PORADIA */
    .mileage-block {
        grid-column: 1 / 2;
        grid-row: 3;
    }
    /* Pravý stĺpec */
    .info-block {
        grid-column: 2 / 3;
        grid-row: 1;
    }
    .specifications-block {
        grid-column: 2 / 3;
        grid-row: 2;
    }
    .enquiry-block {
        grid-column: 2 / 3;
        grid-row: 3;
    }
    .gallery-block,
    .enquiry-block,
    .pricing-block,
    .info-block,
    .specifications-block,
    .mileage-block {
        align-self: start;
    }
}


/* Vizuálny štýl pre "bubliny" Cenník a Nájazd */

.pricing-block .specifications,
.mileage-block .specifications {
    background-color: #f7f7f7;
    padding: 2rem;
    border-radius: 1rem;
    width: 100%;
}


/* =================================================================== */


/* ================== ŠTÝLY PRE SLIDER S AUTAMI ====================== */


/* =================================================================== */

.featured-cars-section .container {
    /* Zväčšíme maximálnu šírku, aby sa zmestili 3 autá pohodlnejšie */
    max-width: 1400px;
}

.car-slider {
    padding: 1rem 0 3rem;
    /* Pridáme padding, aby šípky neboli nalepené na okraji */
}


/* Úprava výšky kariet v slidery, aby boli všetky rovnaké */

.swiper-slide {
    height: auto;
}

.car-card {
    height: 100%;
}


/* =================================================================== */


/* ================== ŠTÝLY PRE PAGINÁCIU SLIDERA ==================== */


/* =================================================================== */


/* Umiestnenie guličiek */

.swiper-pagination {
    position: static;
    /* Zrušíme absolútne pozíciovanie, aby boli pod autami */
    margin-top: 1.5rem;
    /* Odsadíme ich od kariet s autami */
}


/* Vzhľad neaktívnej guličky */

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    /* Svetlosivá farba */
    opacity: 0.7;
    transition: background-color 0.3s ease;
    /* Plynulý prechod farby */
}


/* Vzhľad aktívnej guličky (zvýraznenej) */

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    /* Tvoja oranžová farba */
    opacity: 1;
}