/* Layout Components - Restoring missing styles */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn:hover {
    background-color: hsl(45 100% 60%);
    /* lighter gold */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.3);
}

/* Secondary Button (Outline) - inferring for future use */
/* Secondary Button (Outline) */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    background-color: transparent;
    border: 1px solid hsl(var(--primary));
    color: hsl(var(--primary));
}

.btn-outline:hover {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 0 15px hsl(var(--primary) / 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    /* Occupy most of the viewport */
    padding: 4rem 1rem;
    text-align: center;
    background: radial-gradient(circle at center, hsl(220 20% 15%) 0%, hsl(var(--background)) 100%);
    overflow: hidden;
}

/* Hero Content Wrapper */
.hero .container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1.25rem;
    -webkit-mask-image: linear-gradient(to right, black 82%, transparent 100%);
    mask-image: linear-gradient(to right, black 82%, transparent 100%);
    scrollbar-width: thin;
    scrollbar-color: hsl(var(--primary) / 0.4) transparent;
}

.services-grid::-webkit-scrollbar {
    height: 4px;
}

.services-grid::-webkit-scrollbar-track {
    background: transparent;
}

.services-grid::-webkit-scrollbar-thumb {
    background: hsl(var(--primary) / 0.4);
    border-radius: 999px;
}

/* Service Card */
.service-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-shrink: 0;
    width: 360px;
    scroll-snap-align: start;
}

@media (max-width: 640px) {
    .service-card {
        width: min(360px, 85vw);
    }
}

/* Desktop: služby zobrazit jako 3-sloupcový grid bez scrollu */
@media (min-width: 768px) {
    .scroll-carousel--services {
        padding: 0;
    }
    .scroll-carousel--services .carousel-btn {
        display: none;
    }
    .scroll-carousel--services .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
        padding-bottom: 0;
        scroll-snap-type: none;
    }
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--primary) / 0.5);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Section Spacing */
.section {
    padding: 5rem 0;
}

/* Typography Enhancements */
h1,
h2,
h3 {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Navigation Tweaks */
header nav a {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

header nav a:hover {
    color: hsl(var(--primary)) !important;
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid hsl(var(--border));
    margin-top: auto;
    text-align: center;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 60;
    color: hsl(var(--foreground));
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: hsl(var(--background));
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    /* Reduced gap */
    padding: 6rem 1rem 2rem 1rem;
    /* Add padding for header clearing */
    overflow-y: auto;
    /* Enable scroll */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;

    /* Hidden state */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    /* Reduced from 2rem */
    color: hsl(var(--foreground));
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.mobile-menu-link:hover {
    color: hsl(var(--primary));
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* Updated Services Section Styling */
.service-icon {
    width: 48px;
    height: 48px;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid hsl(var(--primary) / 0.2);
    border-radius: 8px;
    background: hsl(var(--primary) / 0.05);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    width: 100%;
    text-align: left;
}

.service-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: hsl(var(--foreground) / 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-list li::before {
    content: "•";
    color: hsl(var(--primary));
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Promo Box (Car Rental) */
.promo-box {
    background-color: hsl(220 18% 12%);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    margin-top: 4rem;
    /* Additional separation */
}

.promo-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .promo-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
}

.promo-icon-box {
    width: 80px;
    height: 80px;
    background-color: hsl(var(--primary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary-foreground));
    box-shadow: 0 10px 30px hsl(var(--primary) / 0.3);
}

.promo-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    color: #fff;
    margin-bottom: 0.75rem;
}

.promo-title span {
    color: hsl(var(--primary));
}

.promo-desc {
    color: hsl(var(--foreground) / 0.6);
    line-height: 1.6;
    max-width: 600px;
}

.promo-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid hsl(var(--border) / 0.3);
    padding-top: 2rem;
}

@media (max-width: 768px) {
    .promo-features-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.promo-feat-title {
    color: hsl(var(--primary));
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.promo-feat-text {
    color: hsl(var(--foreground) / 0.6);
    font-size: 0.95rem;
}

/* Scroll Carousel Wrapper */
.scroll-carousel {
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: hsl(var(--card) / 0.9);
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.carousel-btn:hover:not(:disabled) {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
    box-shadow: 0 4px 14px hsl(var(--primary) / 0.4);
}

.carousel-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* Obě šipky lehce překrývají karty, nezabírají prostor navíc */
.carousel-btn-prev { left: 8px; }
.carousel-btn-next { right: 8px; }

@media (max-width: 640px) {
    .carousel-btn {
        width: 30px;
        height: 30px;
    }
}

/* Pricing Section */
.pricing-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0 1.25rem 0;
    /* Gradient hint — naznačuje další obsah vpravo */
    -webkit-mask-image: linear-gradient(to right, black 82%, transparent 100%);
    mask-image: linear-gradient(to right, black 82%, transparent 100%);
    /* Tenký scrollbar */
    scrollbar-width: thin;
    scrollbar-color: hsl(var(--primary) / 0.4) transparent;
}

.pricing-grid::-webkit-scrollbar {
    height: 4px;
}

.pricing-grid::-webkit-scrollbar-track {
    background: transparent;
}

.pricing-grid::-webkit-scrollbar-thumb {
    background: hsl(var(--primary) / 0.4);
    border-radius: 999px;
}

.pricing-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: start;
}

/* Mobil: užší karty, aby byl vidět okraj příští */
@media (max-width: 640px) {
    .pricing-card {
        width: min(280px, 78vw);
    }
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--primary) / 0.3);
}

.pricing-card.highlight {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 20px hsl(var(--primary) / 0.15);
    z-index: 10;
    padding-top: 3.5rem;
    /* Make space for the badge */
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.pricing-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: hsl(var(--foreground) / 0.6);
    margin-bottom: 1.5rem;
    min-height: 2.7rem;
    /* Align prices */
}

.price-tag {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: hsl(var(--primary));
    margin-bottom: 2rem;
    line-height: 1;
}

.price-tag small {
    font-size: 1rem;
    color: hsl(var(--foreground) / 0.6);
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: hsl(var(--foreground) / 0.8);
}

.pricing-list li::before {
    content: "✓";
    color: hsl(var(--primary));

    font-weight: bold;
}

/* Contact Section */
.contact-wrapper {
    padding: 2rem 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-box {
    background: rgba(22, 22, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.contact-box:hover {
    background: rgba(22, 22, 24, 0.9);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-icon-box {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    background: rgba(255, 204, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-label {
    color: #888;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

.map-container {
    height: 100%;
    min-height: 450px;
    background: #222;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(100%) invert(90%) contrast(90%);
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 450px;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.map-placeholder__icon {
    font-size: 2.5rem;
    line-height: 1;
    filter: none;
}

/* --- Refactored Inline Styles (Structural Cleanup) --- */

/* Text Colors */
.text-primary {
    color: hsl(var(--primary));
}

.text-white {
    color: #fff;
}

.text-muted {
    color: hsl(var(--foreground) / 0.6);
}

/* Header & Nav */
.header-border {
    border-bottom: 1px solid hsl(var(--border)/0.5);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-title {
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    letter-spacing: 0.05em;
}

.nav-desktop-gap {
    gap: 1.5rem;
}

.header-actions {
    gap: 1.5rem;
    align-items: center;
}

.btn-header-phone {
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-header-action {
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Mobile Menu Actions */
.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 300px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-mobile-phone {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
}

/* Hero Section */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    color: hsl(var(--foreground));
}

.hero-desc {
    color: hsl(var(--foreground) / 0.6);
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-xl {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Section Headers */
.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: hsl(var(--primary));
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title-large {
    margin-bottom: 1.5rem;
    color: #fff;
}

.section-desc {
    color: hsl(var(--foreground) / 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Card & List Reusables */
.card-title-lg {
    color: #fff;
    margin-bottom: 1rem;
}

.card-desc {
    color: hsl(var(--foreground) / 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-card {
    width: 100%;
    margin-top: auto;
    justify-content: center;
    border-radius: var(--radius);
}

/* Pricing Filter */
.pricing-filter {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pricing-filter-btn {
    padding: 0.4rem 1.25rem;
    border-radius: 999px;
    border: 1px solid hsl(var(--border));
    background: transparent;
    color: hsl(var(--foreground) / 0.7);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
}

.pricing-filter-btn:hover {
    border-color: hsl(var(--primary) / 0.6);
    color: hsl(var(--foreground));
}

.pricing-filter-btn.active {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

/* Pricing Specific */
.btn-pricing {
    width: 100%;
    margin-top: auto;
    justify-content: center;
    border-radius: 99px;
}

.pricing-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: hsl(var(--foreground)/0.5);
    margin-top: 3rem;
}

/* Promo Specific */
.btn-promo {
    min-width: 200px;
    font-size: 1.1rem;
}

/* --- Moved from index.html <style> --- */
.nav-link {
    color: hsl(var(--foreground)/0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:visited {
    color: hsl(var(--foreground)/0.7);
}

.nav-link:hover {
    color: hsl(var(--foreground));
}

.pill-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: hsl(var(--foreground)/0.8);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: hsl(var(--primary));
    border-radius: 50%;
}

.feature-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--foreground)/0.7);
    font-size: 0.9rem;
}

/* Header specific overrides */
header {
    background: hsl(var(--background));
}

/* FAQ Section */
.faq-list {
    max-width: 760px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: hsl(var(--primary) / 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: hsl(var(--foreground));
    list-style: none;
    gap: 1rem;
    text-transform: none;
    letter-spacing: 0;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: hsl(var(--primary));
}

.faq-icon {
    flex-shrink: 0;
    color: hsl(var(--primary));
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: hsl(var(--foreground) / 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
    gap: 2rem;
}

/* ── 404 Error Page ──────────────────────────────── */
.error-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}

.error-page-inner {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.error-code {
    font-size: clamp(5rem, 18vw, 9rem);
    line-height: 1;
    letter-spacing: 0.05em;
    animation: error-wobble 3s ease-in-out infinite;
    margin: 0;
}

@keyframes error-wobble {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    20%       { transform: translateX(-4px) rotate(-1.5deg); }
    40%       { transform: translateX(4px) rotate(1.5deg); }
    60%       { transform: translateX(-2px) rotate(-0.8deg); }
    80%       { transform: translateX(2px) rotate(0.8deg); }
}

.error-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    letter-spacing: 0.08em;
    margin: 0;
}

.error-desc {
    opacity: 0.65;
    max-width: 440px;
    line-height: 1.7;
    margin: 0;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.error-address {
    font-size: 0.85rem;
    opacity: 0.5;
    margin: 0;
}