/**
 * Globální CSS pro autopůjčovnu PujcovnaVozu.eu - Design: Dark Sporty
 */

:root {
    --bg-main: #060606;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --primary: #ff6b00;
    --primary-hover: #e05e00;
    --primary-rgb: 255, 107, 0;
    --text-main: #ffffff;
    --text-muted: #999999;
    --border: #222222;
    --border-hover: #333333;
    
    --success: #00e676;
    --warning: #ffc400;
    --danger: #ff1744;
    
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: #080808;
    background-image: 
        linear-gradient(45deg, #0e0e0e 25%, transparent 25%, transparent 75%, #0e0e0e 75%, #0e0e0e), 
        linear-gradient(45deg, #0e0e0e 25%, #080808 25%, #080808 75%, #0e0e0e 75%, #0e0e0e);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    background-color: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 107, 0, 0.15);
    border-left: none;
    border-right: none;
    border-top: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled .nav-container {
    height: 65px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a0a0a0;
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
    text-shadow: 0 0 12px rgba(var(--primary-rgb), 0.6);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 8px var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--primary);
    color: #000;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    border: 1px solid var(--primary);
    transition: var(--transition);
}

.nav-btn:hover {
    background-color: transparent;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Slider pozadí v Hero sekci */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(6, 6, 6, 0.9) 0%, rgba(6, 6, 6, 0.5) 60%, rgba(6, 6, 6, 0.3) 100%),
                linear-gradient(to top, rgba(6, 6, 6, 0.8) 0%, rgba(6, 6, 6, 0.2) 100%);
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.hero-text h1 span {
    color: var(--primary);
    position: relative;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Vyhledávací formulář */
.search-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.search-widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.search-widget-title span {
    color: var(--primary);
}

.search-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    color: var(--text-main) !important;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.input-field:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2) !important;
}

select.input-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999999' d='M10.293,3.293,6,7.586,1.707,3.293A1,1,0,0,0,.293,4.707l5,5a1,1,0,0,0,1.414,0l5-5a1,1,0,1,0-1.414-1.414Z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
    cursor: pointer;
}

select.input-field option {
    background-color: #141414 !important;
    color: var(--text-main) !important;
}

.btn-search {
    background-color: var(--primary);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-search:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-2px);
}

/* Sekce nadpisy */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Karty vozidel v katalogu */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.car-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--primary-rgb), 0.1);
}

.car-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.car-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.car-card:hover .car-card-img img {
    transform: scale(1.05);
}

.car-badge-location {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(6, 6, 6, 0.7);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}

.car-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.car-card-type {
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.car-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.car-spec-item i {
    color: var(--primary);
}

.car-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.car-price {
    display: flex;
    flex-direction: column;
}

.car-price-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.car-price-value span {
    color: var(--primary);
}

.car-price-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.btn-card {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.car-card:hover .btn-card {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* Detail vozu layout */
.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 120px;
    margin-bottom: 80px;
}

.car-gallery {
    margin-bottom: 30px;
}

.car-gallery-main {
    height: 450px;
    background-color: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.car-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.car-gallery-thumb {
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    background-color: #000;
}

.car-gallery-thumb.active {
    border-color: var(--primary);
}

.car-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 8px;
}

.detail-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

/* Rezervační sloupec */
.booking-sidebar-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    position: sticky;
    top: 110px;
}

.price-summary-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.price-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.price-summary-row.total {
    border-top: 1px solid var(--border);
    padding-top: 15px;
    margin-bottom: 0;
    font-size: 18px;
    color: var(--text-main);
    font-weight: 700;
}

.price-summary-row.total span {
    color: var(--primary);
    font-size: 24px;
}

.extras-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.extra-item input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

/* Patička webu (Footer) */
.main-footer {
    background-color: #030303;
    border-top: 1px solid var(--border);
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-info h3 span {
    color: var(--primary);
}

.footer-info p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* Styly formulářů pro veřejný web (Dark Mode) */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--text-main) !important;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2) !important;
}

/* Stylování select boxu - šipka a možnost */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999999' d='M10.293,3.293,6,7.586,1.707,3.293A1,1,0,0,0,.293,4.707l5,5a1,1,0,0,0,1.414,0l5-5a1,1,0,1,0-1.414-1.414Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

select.form-control option {
    background-color: #141414;
    color: var(--text-main);
}

/* placeholder styling */
::placeholder {
    color: #555555 !important;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #555555 !important;
}

::-ms-input-placeholder {
    color: #555555 !important;
}

/* Flatpickr přestylování do temného režimu */
.flatpickr-calendar {
    background: #141414 !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8) !important;
    font-family: var(--font-family) !important;
}

.flatpickr-months .flatpickr-month {
    background: #141414 !important;
    color: var(--text-main) !important;
}

.flatpickr-current-month {
    color: var(--text-main) !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
    border-bottom-color: var(--text-main) !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
    border-top-color: var(--text-main) !important;
}

.flatpickr-current-month input.cur-year {
    color: var(--text-main) !important;
}

span.flatpickr-weekday {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
}

.flatpickr-day {
    color: var(--text-main) !important;
}

.flatpickr-day.today {
    border-color: var(--primary) !important;
}

.flatpickr-day.today:hover {
    background: var(--primary) !important;
    color: #000 !important;
}

.flatpickr-day:hover, 
.flatpickr-day.prevMonthDay:hover, 
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day.focus,
.flatpickr-day.prevMonthDay.focus,
.flatpickr-day.nextMonthDay.focus {
    background: rgba(255, 107, 0, 0.15) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.selected.prevMonthDay, 
.flatpickr-day.startRange.prevMonthDay, 
.flatpickr-day.endRange.prevMonthDay, 
.flatpickr-day.selected.nextMonthDay, 
.flatpickr-day.startRange.nextMonthDay, 
.flatpickr-day.endRange.nextMonthDay {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.4) !important;
}

.flatpickr-day.inRange {
    background: rgba(255, 107, 0, 0.08) !important;
    border-color: transparent !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

.flatpickr-day.disabled, 
.flatpickr-day.disabled:hover,
.flatpickr-day.prevMonthDay, 
.flatpickr-day.nextMonthDay {
    color: #333333 !important;
}

.flatpickr-months .flatpickr-prev-month, 
.flatpickr-months .flatpickr-next-month {
    color: var(--text-main) !important;
    fill: var(--text-main) !important;
}

.flatpickr-months .flatpickr-prev-month:hover, 
.flatpickr-months .flatpickr-next-month:hover {
    color: var(--primary) !important;
    fill: var(--primary) !important;
}

/* Responsivita */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text p {
        margin: 0 auto 35px auto;
    }
}

/* Třída pro skrytí mobilních prvků na desktopu */
.mobile-only {
    display: none !important;
}

/* Hamburger menu tlačítko */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    transition: var(--transition);
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Transformace hamburgeru na křížek */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary);
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 50px 30px;
        z-index: 1050;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(255, 107, 0, 0.15);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.9);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 18px;
        letter-spacing: 2px;
        display: block;
        padding: 10px 0;
    }
    
    /* Úprava odkazu admina v mobilním menu */
    .nav-admin-link {
        font-size: 16px !important;
        color: var(--text-muted) !important;
    }
    
    /* Upravíme mobilní tlačítko rezervačky */
    .mobile-nav-btn {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}

/* Mini Hero & Breadcrumbs */
.mini-hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 60px;
    background-color: #060606;
    border-bottom: 1px solid var(--border);
    margin-bottom: 45px;
    overflow: hidden;
}

.mini-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(6, 6, 6, 0.95) 25%, rgba(6, 6, 6, 0.4) 75%, rgba(6, 6, 6, 0.1) 100%), url('../images/mini_hero_bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: kenBurnsEffect 30s ease-in-out infinite alternate;
}

.mini-hero .container {
    position: relative;
    z-index: 2;
}

.mini-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.breadcrumbs {
    display: flex;
    list-style: none;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs a {
    color: var(--text-muted);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs li::after {
    content: '/';
    color: #444;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs li:last-child {
    color: var(--primary);
    font-weight: 700;
}

@keyframes kenBurnsEffect {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.12) translate(-2%, -1%);
    }
}

/* Globální pojištění pro tmavé select boxy v prohlížečích */
select {
    color: var(--text-main) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

select option {
    background-color: #141414 !important;
    color: var(--text-main) !important;
}

select:focus option {
    background-color: #141414 !important;
    color: var(--text-main) !important;
}

/* Ošetření pro Chrome/Edge autofill (předvyplnění polí prohlížečem) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-main) !important;
    -webkit-box-shadow: 0 0 0px 1000px #141414 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ==========================================
   DODATEČNÉ PREMIUM DESIGN EFEKTY (DARK SPORTY)
   ========================================== */

/* 1. Vstupní animace pro prvky webu při načtení */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.search-widget {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.catalog-grid .car-card {
    opacity: 0;
}

.catalog-grid .car-card:nth-child(1) { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.catalog-grid .car-card:nth-child(2) { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.catalog-grid .car-card:nth-child(3) { animation: fadeInUp 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.catalog-grid .car-card:nth-child(4) { animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.catalog-grid .car-card:nth-child(n+5) { opacity: 1; } /* pro případné další prvky */

/* 2. Ambientní neonová záře na pozadí (Aurora) */
body::before {
    content: '';
    position: fixed;
    top: 15%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.04) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: floatGlow 25s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    bottom: 5%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
    animation: floatGlow 30s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, -60px) scale(1.15); }
}

/* 3. Vylepšený Glassmorphism a glow pro rezervační sidebar a widgety */
.booking-sidebar-card, .search-widget {
    background: rgba(18, 18, 18, 0.55) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 107, 0, 0.12) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(255, 255, 255, 0.02) !important;
    transition: var(--transition);
}

.booking-sidebar-card:hover, .search-widget:hover {
    border-color: rgba(255, 107, 0, 0.3) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 107, 0, 0.06), inset 0 0 30px rgba(255, 255, 255, 0.03) !important;
}

/* 4. Efekty pro karty automobilů (.car-card) */
.car-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    background: rgba(18, 18, 18, 0.6) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    border-color: rgba(255, 107, 0, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 107, 0, 0.15) !important;
}

/* Shimmer/Lesk efekt na fotkách karet a galerii */
.car-card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.13) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.car-card:hover .car-card-img::after {
    left: 125%;
}

/* Mikro-animace ikon v parametrech karty na hover */
.car-card:hover .car-spec-item i {
    animation: rotateIcon 0.5s ease-in-out;
}

@keyframes rotateIcon {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.2); }
    100% { transform: rotate(0deg) scale(1); }
}

/* 5. Tlačítka s plynulým světelným shimmer efektem a stínem */
.btn-search, .nav-btn, .btn-primary, .btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-search::after, .nav-btn::after, .btn-primary::after, .btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.6s;
}

.btn-search:hover::after, .nav-btn:hover::after, .btn-primary:hover::after, .btn-submit:hover::after {
    left: 100%;
}

/* 6. Interaktivní efekty pro fotogalerii na detailu vozu */
.car-gallery-thumb {
    transition: var(--transition);
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.car-gallery-thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 0, 0.5) !important;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

.car-gallery-thumb.active {
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

/* ==========================================
   Formátovaný obsah (stránky a články blogu)
   ========================================== */
    /* Stylování formátovaného obsahu stránky */
    .formatted-content h2 {
        font-size: 26px;
        font-weight: 700;
        color: var(--text-main);
        margin-top: 30px;
        margin-bottom: 15px;
        border-bottom: 1px solid var(--border);
        padding-bottom: 8px;
    }
    
    .formatted-content h3 {
        font-size: 20px;
        font-weight: 600;
        color: var(--text-main);
        margin-top: 25px;
        margin-bottom: 10px;
    }
    
    .formatted-content p {
        margin-bottom: 20px;
    }
    
    .formatted-content ul, .formatted-content ol {
        margin-bottom: 20px;
        padding-left: 24px;
    }
    
    .formatted-content li {
        margin-bottom: 8px;
    }
    
    .formatted-content strong {
        color: var(--text-main);
    }
    
    .formatted-content a {
        color: var(--primary);
        text-decoration: underline;
    }
    
    .formatted-content a:hover {
        color: var(--primary-hover);
    }
    
    .formatted-content blockquote {
        border-left: 4px solid var(--primary);
        background-color: rgba(255, 107, 0, 0.03);
        padding: 15px 20px;
        margin: 20px 0;
        font-style: italic;
        border-radius: 0 8px 8px 0;
    }

/* ==========================================
   Blog
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--primary-rgb), 0.1);
}

.blog-card-img {
    display: block;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-noimg {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
    background: linear-gradient(135deg, #151515, #0a0a0a);
}

.blog-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--text-main);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-perex {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.blog-card-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #000;
}

/* Detail článku */
.article-title {
    max-width: 900px;
}

.article-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 16px;
    color: #dddddd;
    font-size: 17px;
    line-height: 1.8;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.article-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.article-perex {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 28px;
}

.article-cover-wrap {
    margin: 0 0 30px;
}
.article-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.article-cover-credit {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #8a8f98;
    text-align: right;
}
.article-cover-credit a {
    color: inherit;
}

.formatted-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 10px 0 20px;
}

.formatted-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 15px;
}

.formatted-content th,
.formatted-content td {
    border: 1px solid var(--border);
    padding: 10px 14px;
    text-align: left;
}

.formatted-content th {
    background-color: #181818;
    color: var(--text-main);
}

.article-faq {
    margin-top: 40px;
}

.article-faq h2 {
    font-size: 26px;
    color: var(--text-main);
    margin-bottom: 16px;
}

.article-faq details {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    background-color: #0d0d0d;
}

.article-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
}

.article-faq details[open] summary {
    color: var(--primary);
    margin-bottom: 8px;
}

.article-faq details p {
    margin: 0;
    font-size: 15px;
}

.article-cta {
    margin-top: 40px;
    padding: 24px 28px;
    border-radius: 14px;
    border: 1px solid var(--primary);
    background-color: rgba(var(--primary-rgb), 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.article-cta strong {
    display: block;
    font-size: 20px;
    color: var(--text-main);
}

.article-cta span {
    color: var(--text-muted);
    font-size: 15px;
}

.article-cta .btn-search {
    width: auto;
    margin: 0;
    padding: 12px 28px;
    text-decoration: none;
}

.article-related {
    margin-top: 70px;
}

.article-related > h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.article-preview-note {
    max-width: 820px;
    margin: 0 auto 20px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid var(--warning);
    color: var(--warning);
    background-color: rgba(255, 196, 0, 0.06);
    font-size: 14px;
}

@media (max-width: 768px) {
    .article-wrapper {
        padding: 24px 20px;
        font-size: 16px;
    }

    .article-perex {
        font-size: 18px;
    }
}

/* ==========================================
   Kategorie vozů (landing pages)
   ========================================== */
.category-intro {
    max-width: 820px;
    margin: 0 auto 30px;
    text-align: center;
}

.category-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: #dddddd;
}

.category-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

.category-stats i {
    color: var(--primary);
    margin-right: 6px;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.category-chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--bg-card);
    transition: var(--transition);
}

.category-chips a i {
    color: var(--primary);
}

.category-chips a:hover,
.category-chips a.active {
    border-color: var(--primary);
    color: var(--primary);
}

.category-empty {
    display: flex;
    gap: 18px;
    align-items: center;
    max-width: 820px;
    margin: 0 auto 50px;
    padding: 24px 28px;
    border: 1px dashed var(--border-hover);
    border-radius: 14px;
    background-color: var(--bg-card);
}

.category-empty > i {
    font-size: 32px;
    color: var(--primary);
}

.category-empty strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.category-empty span {
    color: var(--text-muted);
    font-size: 15px;
}

.category-empty a {
    color: var(--primary);
}

/* Dlaždice kategorií na úvodní stránce */
.category-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.category-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background-color: var(--bg-card);
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.category-tile:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.category-tile i {
    font-size: 28px;
    color: var(--primary);
}

.category-tile strong {
    font-size: 19px;
}

.category-tile span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Odkazy na kategorie v detailu vozu */
.vehicle-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -12px 0 25px;
}

.vehicle-category-links a {
    font-size: 12px;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    text-decoration: none;
}

.vehicle-category-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Patička se sloupcem kategorií */
.footer-grid.has-categories {
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

@media (max-width: 992px) {
    .footer-grid.has-categories {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid.has-categories {
        grid-template-columns: 1fr;
    }

    .category-empty {
        flex-direction: column;
        text-align: center;
    }
}

/* Široké tabulky v článcích se na mobilu posouvají do strany */
@media (max-width: 768px) {
    .formatted-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Ceník podle délky pronájmu v detailu vozu */
.price-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}

.price-tier {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-tier-days {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-tier-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.price-tier-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* Technické parametry v detailu vozu */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    font-size: 14px;
}

.specs-table th,
.specs-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.specs-table th {
    color: var(--text-muted);
    font-weight: 500;
    width: 45%;
}

/* Výbava vozu v detailu */
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
}

.feature-list i {
    color: var(--primary);
    width: 18px;
    text-align: center;
}

/* Cookie lišta */
.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2500;
    max-width: 980px;
    margin: 0 auto;
    background: #141414;
    border: 1px solid var(--border-hover);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

.cookie-bar[hidden], .cookie-modal[hidden] { display: none; }
.cookie-bar-text { flex: 1 1 420px; }
.cookie-bar-text strong { display: block; color: var(--text-main); margin-bottom: 2px; }
.cookie-bar-text a { color: var(--primary); }
.cookie-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.cookie-btn {
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

.cookie-btn.primary { background: var(--primary); color: #000; border: 1px solid var(--primary); }
.cookie-btn.ghost { background: transparent; color: var(--text-main); border: 1px solid var(--border-hover); }
.cookie-btn:hover { filter: brightness(1.1); }

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 2600;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cookie-modal-box {
    background: #141414;
    border: 1px solid var(--border-hover);
    border-radius: 14px;
    padding: 24px;
    max-width: 520px;
    width: 100%;
}

.cookie-modal-box h3 { margin-bottom: 16px; }
.cookie-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.cookie-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.cookie-row small { color: var(--text-muted); }
.cookie-modal-box .cookie-bar-actions { margin-top: 18px; justify-content: flex-end; }

/* Recenze */
.stars { color: #ffb400; letter-spacing: 2px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.review-card blockquote { margin: 0; color: #ddd; font-size: 15px; line-height: 1.6; flex: 1; }
.review-card figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--text-muted); }
.review-card figcaption strong { color: var(--text-main); }
.star-input { border: 0; padding: 0; margin: 0 0 20px; display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.star-input legend { width: 100%; margin-bottom: 8px; font-weight: 600; color: var(--text-main); }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 34px; color: #444; cursor: pointer; transition: color .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #ffb400; }
.star-input input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 4px; }

/* Rychlý kontakt (WhatsApp / telefon) */
.quick-contact { position: fixed; right: 18px; bottom: 18px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.quick-contact a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.45); transition: transform .2s; }
.quick-contact a:hover { transform: scale(1.08); }
.quick-contact .qc-whatsapp { background: #25d366; }
.quick-contact .qc-phone { background: var(--primary); color: #000; }
@media (min-width: 992px) { .quick-contact .qc-phone { display: none; } }

/* Přepínač jazyka */
.nav-menu .lang-switch a {
    border: 1px solid var(--border-hover);
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Obrázkové logo */
.logo { display: flex; align-items: center; line-height: 0; }
.logo-img { display: block; transition: transform 0.3s ease; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
.logo:hover .logo-img { transform: scale(1.03); }
.main-header.scrolled .logo-img { height: 42px !important; }
@media (max-width: 768px) {
    .logo-img { height: 40px !important; }
    .main-header.scrolled .logo-img { height: 36px !important; }
}

/* ===== Kalendář dostupnosti, rozpis ceny, slevový kód (detail vozu) ===== */
.booking-sidebar-card { position: static; }
.availability-calendar { margin-top: 12px; }
.availability-calendar .flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 100%;
    box-shadow: none !important;
    border-radius: 12px;
}
.availability-calendar .flatpickr-innerContainer,
.availability-calendar .flatpickr-rContainer,
.availability-calendar .flatpickr-days,
.availability-calendar .dayContainer {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}
.availability-calendar .flatpickr-day { max-width: none; }
.flatpickr-day.pv-busy,
.flatpickr-day.pv-busy.flatpickr-disabled {
    background: rgba(255, 23, 68, 0.14) !important;
    color: rgba(255, 255, 255, 0.35) !important;
    text-decoration: line-through;
    border-color: transparent !important;
    cursor: not-allowed;
}
.flatpickr-day.pv-season-up { box-shadow: inset 0 -3px 0 #ffc400; }
.flatpickr-day.pv-season-down { box-shadow: inset 0 -3px 0 var(--success); }
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.calendar-legend .lg {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    vertical-align: -1px;
    margin-right: 4px;
    border: 1px solid var(--border-hover);
}
.calendar-legend .lg-free { background: #141414; }
.calendar-legend .lg-busy { background: rgba(255, 23, 68, 0.35); border-color: transparent; }
.calendar-legend .lg-up { background: #141414; box-shadow: inset 0 -3px 0 #ffc400; }
.calendar-legend .lg-down { background: #141414; box-shadow: inset 0 -3px 0 var(--success); }
.form-hint-error { color: var(--danger); font-size: 13px; margin-top: 8px; }

.promo-group { margin-top: 22px; }
.promo-row { display: flex; gap: 8px; }
.promo-row .form-control { text-transform: uppercase; }
.promo-row .btn { white-space: nowrap; padding: 0 16px; }
.promo-msg { display: block; font-size: 12px; margin-top: 6px; min-height: 1em; }
.promo-msg.ok { color: var(--success); }
.promo-msg.err { color: var(--danger); }

.price-summary-row span:last-child { white-space: nowrap; padding-left: 12px; }
.price-summary-row.note { font-size: 12px; margin-top: -6px; }
.price-summary-row.up span:last-child { color: #ffc400; }
.price-summary-row.down span:last-child { color: var(--success); }

.terms-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 18px;
    cursor: pointer;
    line-height: 1.5;
}
.terms-check input { accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.terms-check a { color: var(--primary); }

/* Právní texty – tabulky */
.formatted-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.formatted-content th, .formatted-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.formatted-content th { background: rgba(255, 255, 255, 0.03); }
@media (max-width: 700px) {
    .formatted-content table { display: block; overflow-x: auto; }
}

/* ===== Moje rezervace (odkaz pro zákazníka) ===== */
.booking-page { padding-top: 130px; padding-bottom: 40px; min-height: 70vh; }
.booking-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.booking-head h1 { font-size: 32px; margin: 4px 0; }
.booking-kicker { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 600; }
.booking-dates { color: var(--text-muted); font-size: 16px; }
.booking-status { border: 1px solid var(--c); color: var(--c); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }
.booking-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.booking-card h2 { font-size: 18px; margin-bottom: 14px; }
.booking-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 15px; margin-bottom: 8px; }
.booking-dl dt { color: var(--text-muted); }
.booking-dl a, .booking-card a { color: var(--primary); }
.booking-card .muted, .booking-page .muted { color: var(--text-muted); font-size: 14px; }
.booking-form { margin-top: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.booking-alert { border: 1px solid var(--border-hover); background: rgba(255,255,255,.03); padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.booking-alert.ok { border-color: var(--success); color: var(--success); }
.booking-alert.err { border-color: var(--danger); color: var(--danger); }
.booking-docs { list-style: none; padding: 0; margin: 0; }
.booking-docs li { padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.booking-docs li:last-child { border-bottom: 0; }
.booking-cancel { border-color: rgba(255, 23, 68, .3); }
.btn-cancel-booking { background: transparent; color: var(--danger); border: 1px solid var(--danger); border-radius: 10px; padding: 11px 18px; font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: var(--transition); }
.btn-cancel-booking:hover { background: rgba(255, 23, 68, .12); }

/* ===== Katalog: tlačítka filtru ===== */
.filter-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.filter-apply {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
    background: var(--primary); color: #000; border: 0; border-radius: 10px; padding: 14px 16px;
    font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
    cursor: pointer; transition: var(--transition); position: relative; overflow: hidden;
}
.filter-apply:hover { background: var(--primary-hover); box-shadow: 0 5px 20px rgba(var(--primary-rgb), .35); transform: translateY(-1px); }
.filter-apply:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.filter-apply-count { background: rgba(0, 0, 0, .18); border-radius: 20px; min-width: 26px; padding: 2px 8px; font-size: 12px; line-height: 1.4; }
.filter-apply.is-dirty { animation: filterPulse 1.6s ease-in-out infinite; }
.filter-apply.is-dirty .filter-apply-count { display: none; }
@keyframes filterPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), .45); } 50% { box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0); } }
.filter-reset {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px;
    border: 1px solid var(--border-hover); border-radius: 10px; color: var(--text-muted); font-size: 13px; text-decoration: none; transition: var(--transition);
}
.filter-reset:hover { color: var(--text-main); border-color: var(--primary); }
@media (prefers-reduced-motion: reduce) { .filter-apply.is-dirty { animation: none; } }

/* Popis vozu (HTML z editoru) */
.vehicle-desc { font-size: 15px; color: #ccc; line-height: 1.75; }
.vehicle-desc p { margin: 0 0 12px; }
.vehicle-desc ul, .vehicle-desc ol { margin: 0 0 12px 20px; }
.vehicle-desc li { margin-bottom: 4px; }
.vehicle-desc h2, .vehicle-desc h3, .vehicle-desc h4 { color: var(--text-main); margin: 18px 0 8px; font-size: 17px; }
.vehicle-desc a { color: var(--primary); }
.vehicle-desc strong { color: var(--text-main); }

/* --- Prezentace vozu: štítek na fotce a zvýrazněná věta --- */
.car-promo-badge {
    position: absolute; top: 15px; left: 15px; z-index: 3;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px; border-radius: 30px;
    background: var(--promo-bg, var(--primary)); color: var(--promo-fg, #000);
    font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; line-height: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .12) inset;
    animation: promoPulse 2.6s ease-in-out infinite;
}
.car-promo-badge i { font-size: 13px; }
.car-promo-badge ~ .car-badge-location { top: auto; bottom: 15px; }
.car-promo-badge--lg { top: 20px; left: 20px; padding: 11px 18px; font-size: 15px; }
.car-promo-badge--lg i { font-size: 16px; }
.car-gallery-main { position: relative; }
@keyframes promoPulse { 0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,.5), 0 0 0 0 color-mix(in srgb, var(--promo-bg, #ff6b00) 55%, transparent); }
    50% { box-shadow: 0 6px 20px rgba(0,0,0,.5), 0 0 0 7px color-mix(in srgb, var(--promo-bg, #ff6b00) 0%, transparent); } }
@media (prefers-reduced-motion: reduce) { .car-promo-badge { animation: none; } }

.car-promo-line {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 0 0 16px; padding: 10px 14px; border-radius: 10px;
    background: color-mix(in srgb, var(--promo-bg, #ff6b00) 13%, transparent);
    border-left: 3px solid var(--promo-bg, var(--primary));
    font-size: 14px; font-weight: 600; line-height: 1.45; color: #fff;
}
.car-promo-line i { color: var(--promo-bg, var(--primary)); margin-top: 3px; flex: none; }
.car-promo-line--hero { display: inline-flex; margin: 14px 0 4px; padding: 12px 18px; font-size: 17px; max-width: 760px;
    background: color-mix(in srgb, var(--promo-bg, #ff6b00) 18%, rgba(0,0,0,.55)); backdrop-filter: blur(6px); }
.car-promo-line--hero i { font-size: 18px; margin-top: 2px; }
