/* Základní definice a proměnné (CSS Variables) */
:root {
    --bg-dark: #0f1115;
    --bg-surface: #1a1d24;
    --text-main: #f0f0f2;
    --text-muted: #9496a1;
    --fox-orange: #ff6a00;
    --fox-orange-glow: rgba(255, 106, 0, 0.4);
    --border-glass: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(26, 29, 36, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    /* Skvělá fotka garáže na pozadí celého webu s jemným ztmavením */
    background: linear-gradient(rgba(15, 17, 21, 0.80), rgba(15, 17, 21, 0.95)), 
                url('https://images.unsplash.com/photo-1493238792000-8113da705763?q=80&w=1920&auto=format&fit=crop') center/cover fixed no-repeat;
    background-color: var(--bg-dark);
}

/* ================= NAVIGACE ================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--text-muted);
    font-weight: 400;
}

.logo-icon {
    color: var(--fox-orange);
    filter: drop-shadow(0 0 8px var(--fox-orange-glow));
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--fox-orange-glow)); /* jemná oranžová záře kolem loga */
    transform: scale(1.3); /* Mírné zvětšení, aby liška hezky zapadla k textu */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--fox-orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.youtube-icon {
    transition: all 0.3s ease;
}
.youtube-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6));
}

/* ================= TLAČÍTKA ================= */
.btn-primary {
    background-color: var(--fox-orange);
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--fox-orange);
    box-shadow: 0 4px 15px var(--fox-orange-glow);
    display: inline-block;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--fox-orange);
    box-shadow: 0 6px 20px var(--fox-orange-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(5px);
    display: inline-block;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ================= HERO SEKCE ================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Odstraněno dodatečné ztmavení, protože ztmavené je už hlavní pozadí */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    margin-top: 5rem;
}

.badge {
    display: inline-block;
    background: rgba(255, 106, 0, 0.15);
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: var(--fox-orange);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--fox-orange);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Dekorativní záře v pozadí (orangesphere) */
.hero-glow-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--fox-orange);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
}
.hero-glow-2 {
    position: absolute;
    bottom: -10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: #00aaff;
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.1;
    z-index: 0;
}


/* ================= DVANÁCTERO SEKCE ================= */
.section-dvanactero {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--fox-orange);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Grid Rozložení */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Glassmorphism Karty */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 106, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 106, 0, 0.1);
    color: var(--fox-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}


/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    margin-top: 2rem;
}

/* ================= ANIMACE & SCROLL ================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ================= RESPONZIVITA (Mobiles) ================= */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(180deg, rgba(15, 17, 21, 1) 0%, rgba(40, 15, 0, 0.98) 100%);
        backdrop-filter: blur(15px);
        border-bottom: 2px solid rgba(255, 106, 0, 0.3);
        padding: 1.5rem 0;
        text-align: center;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 1.2rem 0;
    }
    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
    }
    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 1.8rem;
        color: var(--fox-orange);
    }
    .nav-btn.btn-primary {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        border-radius: 0;
        text-align: center;
        padding: 0.7rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        border: none;
    }
    .nav-btn.btn-outline {
        display: none; /* Keep Kontaktovat hidden to save space */
    }
    
    .hero {
        padding-top: 9rem; /* Zvětšeno pro místo na Rezervovat lištu */
    }
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    .badge {
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons a {
        width: 100%;
    }
}

/* ================= Ceník & Vnitřní Stránky ================= */
.inner-page {
    background: var(--bg-dark); /* Bez velké fotky přes celou obrazovku u dlouhých textů */
}

/* Tabs Container */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: var(--fox-orange);
    border-color: var(--fox-orange);
    box-shadow: 0 4px 15px var(--fox-orange-glow);
    color: #fff;
}

.tab-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ceníkové položky */
.price-list-glass {
    padding: 2.5rem;
}

.price-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-items li:last-child {
    border-bottom: none;
}

.price-items .category-title {
    font-weight: 600;
    color: var(--fox-orange);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    border-bottom: 2px solid rgba(255, 106, 0, 0.2);
    padding-bottom: 0.5rem;
}

.price-items .price-val {
    font-weight: 600;
    color: #fff;
}

.text-fox {
    color: var(--fox-orange);
    margin-right: 8px;
}
