/* --- ZÁKLADNÍ NASTAVENÍ (RESET) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Tvoje barvy */
    --lime: #E5FF21;       /* Neonová žlutá */
    --dark: #141414;       /* Tmavé pozadí */
    --darker: #0a0a0a;     /* Ještě tmavší pozadí */
    --white: #ffffff;      /* Bílá */
    --gray: #888888;       /* Šedá pro texty */
}

body {
    font-family: 'Inter', sans-serif; /* Základní font pro text */
    background-color: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Lepší vykreslování písma */
}

/* Kontejner drží obsah uprostřed stránky */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nadpisy používají font Montserrat */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

/* --- NAVIGACE --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
    padding: 0 30px;
}

.logo-img {
    height: 40px;
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Hamburger tlačítko (3 čárky) */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--lime);
    transition: all 0.3s ease;
    transform-origin: left;
}

/* Hover animace menu ikonky */
.hamburger-btn:hover span:nth-child(1) {
    transform: scaleX(1.2);
}
.hamburger-btn:hover span:nth-child(2) {
    transform: scaleX(0.8);
}
.hamburger-btn:hover span:nth-child(3) {
    transform: scaleX(1.1);
}

/* Sociální sítě v hlavičce */
.nav-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-social-link {
    color: var(--lime);
    transition: all 0.3s ease;
}

.nav-social-link:hover {
    color: var(--lime);
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px var(--lime));
}

/* --- HERO SEKCE (VIDEO) --- */
.hero-section {
    height: 100vh; /* Přes celou výšku obrazovky */
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end; /* Text dole */
    padding-bottom: 80px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video vyplní plochu */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* Ztmavení videa */
}

.hero-content {
    padding-left: 5%;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    color: var(--lime);
    line-height: 1;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- SCROLL INDICATOR (ŠIPKA) --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Responzivita pro Hero */
@media (min-width: 768px) {
    .hero-title { font-size: 5rem; }
    .hero-subtitle { font-size: 1.5rem; }
}

/* --- OBECNÉ SEKCE --- */
.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--darker);
}

.section-title {
    font-size: 2.5rem;
    color: var(--lime);
    margin-bottom: 40px;
}

.center-text {
    text-align: center;
}

/* --- DRIVER (Full Width) --- */
.driver-content-full {
    width: 100%;
    padding: 40px 0;
}

.driver-title {
    text-align: left;
    margin-bottom: 30px;
    margin-left: 0;
}

.driver-bio {
    text-align: justify; /* Zarovnání do bloku (odleva doprava) */
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Scrollovací text */
.scrolling-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 4rem; /* Velký text */
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1); /* Jen obrys */
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    width: 100%;
    overflow: hidden;
    display: flex;
    opacity: 0.6;
    margin: 20px 0;
}

.scrolling-text-content {
    display: flex;
    white-space: nowrap;
    /* Klíčové pro plynulost - renderuje se přes GPU */
    will-change: transform;
}

/* --- O MNĚ (Split Layout) --- */
.split-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 900px) {
    .split-layout {
        flex-direction: row;
        align-items: center;
    }
    .split-image, .split-content {
        flex: 1;
    }
}

.profile-img {
    width: 100%;
    border-radius: 10px;
    filter: grayscale(100%); /* Černobílá fotka */
    transition: filter 0.3s;
}

.profile-img:hover {
    filter: grayscale(0%); /* Po najetí barevná */
}

.text-content {
    font-size: 1.1rem;
    color: #ccc;
}

.highlight {
    color: var(--lime);
    font-weight: bold;
}

/* --- PARTNEŘI --- */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    padding: 50px 30px;
    border-radius: 0;
    text-decoration: none;
    text-align: center;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.partner-card:hover {
    border-color: var(--lime);
    box-shadow: 0 0 30px rgba(229, 255, 33, 0.1);
    transform: translateY(-10px);
}

.partner-name {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 5px;
}

.partner-desc {
    color: #888;
    font-size: 0.9rem;
}

.placeholder {
    opacity: 0.5;
    border: 1px dashed #555;
    background: transparent;
}

/* --- YOUTUBE VIDEO --- */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* --- SOCIAL HUB (Místo Instagram Gridu) --- */
.social-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .social-hub-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.social-card {
    background: var(--darker);
    border: 1px solid #333;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 250px;
}

.social-card:hover {
    border-color: var(--lime);
    background: #1a1a1a;
    transform: translateY(-5px);
}

.social-icon-large {
    color: var(--white);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.social-card:hover .social-icon-large {
    color: var(--lime);
}

.social-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
}

.action-btn {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--lime);
    color: var(--lime);
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.action-btn:hover {
    background: var(--lime);
    color: var(--dark);
}

/* --- KONTAKT --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #444; /* Jen spodní linka */
    padding: 20px 0;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.form-input:focus {
    border-bottom-color: var(--lime);
    padding-left: 10px;
    outline: none;
}

.submit-btn {
    background: transparent;
    color: var(--lime);
    border: 1px solid var(--lime);
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: var(--lime);
    color: var(--dark);
    box-shadow: 0 0 20px rgba(229, 255, 33, 0.3);
}

/* --- MENU (HAMBURGER) --- */
.hamburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.98); /* Lehce průhledné pozadí */
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Animace přechodu */
    opacity: 0;
    visibility: hidden;
    /* Odstraněn scale pro lepší výkon na mobilech */
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hamburger-menu.active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.hamburger-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-item {
    background: none;
    border: none;
    color: white;
    font-size: 3rem; /* Větší písmo v menu */
    margin: 2vh 0; /* Menší rozestupy */
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    
    /* Animace příletu položek */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-item:hover {
    color: var(--lime);
}

/* Kaskádové zobrazení položek menu (mnohem plynulejší než JS) */
.hamburger-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
}

.hamburger-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
.hamburger-menu.active .nav-item:nth-child(2) { transition-delay: 0.15s; }
.hamburger-menu.active .nav-item:nth-child(3) { transition-delay: 0.2s; }
.hamburger-menu.active .nav-item:nth-child(4) { transition-delay: 0.25s; }
.hamburger-menu.active .nav-item:nth-child(5) { transition-delay: 0.3s; }
.hamburger-menu.active .nav-item:nth-child(6) { transition-delay: 0.35s; }
.hamburger-menu.active .nav-item:nth-child(7) { transition-delay: 0.4s; }

/* --- JAZYKOVÝ PŘEPÍNAČ --- */
.language-selector {
    margin-top: 2rem;
}

.language-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 10px 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
}

.lang-btn:hover, .lang-btn.active {
    border-color: var(--lime);
    color: var(--lime);
    background: rgba(229, 255, 33, 0.1);
}

/* --- ANIMACE --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- GALERIE --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- FOOTER --- */
.footer {
    background-color: #050505;
    padding: 60px 0 20px;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

.footer-col h3 {
    color: var(--lime);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: #888;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
}
}
