/* --- Definice barev a základních proměnných --- */
:root {
    --color-white: #ffffff;
    --color-black: #111111;
    --color-gray-light: #f4f4f5;
    --color-gray-dark: #3f3f46;
    --color-orange: #d9531e; /* Tmavě oranžová ve stylu KMAssist */
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Reset a základy --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-gray-light);
    color: var(--color-black);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    /* Světlý technický detail na pozadí úvodu */
    background-image: linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    
    /* NOVÉ: Zabrání vodorovnému scrollování na Windows */
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- Hlavička --- */
.main-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--color-orange);
    margin-left: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-gray-dark);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-orange);
}

/* --- Mobilní Hamburger Menu --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-black);
    transition: all 0.3s ease;
}

/* --- Hlavní obsah --- */
.main-content {
    flex: 1;
    padding: 60px 0 0 0;
}

.container > h1 { margin-bottom: 30px; }
.container > h2 { margin-bottom: 20px; }
.container > p { margin-bottom: 20px; max-width: 800px; }

.welcome-section {
    background: var(--color-white);
    padding: 80px 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.welcome-section h1 {
    color: var(--color-orange);
    margin-bottom: 20px;
    font-weight: 800;
}

/* --- Styling pro 404 stránku --- */
.section-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.not-found-content h1 { font-size: 5rem; color: var(--color-orange); margin-bottom: 10px; font-weight: bold; }
.not-found-content h2 { font-size: 1.8rem; margin-bottom: 20px; }
.not-found-content p { max-width: 600px; margin: 0 auto 30px; color: var(--color-gray-dark); }

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-orange);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #ba4718;
    transform: translateY(-2px);
}

/* --- Patička Základ --- */
.main-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a { color: var(--color-gray-light); text-decoration: none; margin: 0 10px; font-weight: 500; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--color-orange); }

/* --- Responzivita (Mobily a Tablety) --- */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { position: absolute; top: 80px; left: -100%; flex-direction: column; background-color: var(--color-white); width: 100%; text-align: center; transition: 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.05); padding: 30px 0; }
    .nav-links a { font-size: 1.1rem; }
    .nav-links.active { left: 0; }
    .header-content { padding: 0 10px; }
    .footer-content { flex-direction: column; text-align: center; gap: 10px; }
}

/* --- FULLSCREEN HERO SEKCE --- */
.hero-fullscreen {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-atv.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: -60px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.8));
    z-index: 1;
}

.hero-content-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-content-inner h1 { font-size: 4.5rem; font-weight: 900; margin-bottom: 15px; letter-spacing: 1px; color: var(--color-white); text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content-inner h1 span { color: var(--color-orange); }
.hero-content-inner h2 { font-size: 1.8rem; font-weight: 400; margin-bottom: 30px; color: var(--color-gray-light); }
.hero-content-inner p { font-size: 1.2rem; line-height: 1.6; margin-bottom: 40px; margin-left: auto; margin-right: auto; max-width: 700px; }

.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.btn-secondary { display: inline-block; padding: 12px 28px; background-color: transparent; color: var(--color-white); text-decoration: none; border: 2px solid var(--color-white); border-radius: 4px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; }
.btn-secondary:hover { background-color: var(--color-white); color: var(--color-black); transform: translateY(-2px); }

@media (max-width: 768px) {
    .hero-content-inner h1 { font-size: 2.8rem; }
    .hero-content-inner h2 { font-size: 1.3rem; }
    .hero-fullscreen { height: 85vh; }
}

/* --- Patička (Rozvržení KMASSIST) --- */
.main-footer { background-color: var(--color-black); color: #cccccc; padding: 60px 0 30px 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; margin-bottom: 40px; }
.footer-col h3 { color: var(--color-orange); font-size: 1.2rem; margin-bottom: 15px; font-weight: bold; }
.footer-provozovatel p { margin-bottom: 5px; line-height: 1.4; }
.footer-provozovatel .ic, .footer-provozovatel .spis { color: #888; margin-top: 10px; font-size: 0.85rem; }
.footer-logo { display: flex; justify-content: center; }
.logo-placeholder { text-align: center; display: flex; flex-direction: column; }
.logo-placeholder .km-icon { font-size: 3rem; font-weight: 900; color: var(--color-orange); line-height: 1; }
.logo-placeholder .km-text { font-size: 0.8rem; letter-spacing: 2px; color: #888; }
.footer-contact p { font-size: 1.3rem; font-weight: bold; color: var(--color-white); margin-bottom: 10px; }
.footer-contact .contact-label { color: var(--color-orange); margin-right: 10px; }
.footer-contact a { color: var(--color-white); text-decoration: none; transition: color 0.3s; }
.footer-contact a:hover { color: var(--color-orange); }
.footer-links { text-align: center; padding: 20px 0; border-top: 1px solid #222; margin-bottom: 10px; }
.footer-links a { color: var(--color-gray-light); text-decoration: none; margin: 0 15px; font-weight: 500; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--color-orange); }
.footer-privacy { text-align: center; }
.footer-privacy span { color: #4a90e2; text-decoration: underline; cursor: pointer; font-weight: bold; transition: color 0.3s; }
.footer-privacy span:hover { color: var(--color-orange); }

/* --- Vyskakovací okno (Popup) --- */
.pop_end { display: none !important; }
.pop_osobni { display: block !important; }
#popoverlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 2000; backdrop-filter: blur(3px); }
#poposobni { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 700px; max-height: 85vh; background: var(--color-white); z-index: 2001; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); overflow-y: auto; color: #333; }
.pop-header { position: sticky; top: 0; background-color: var(--color-white); padding: 20px 30px; border-bottom: 3px solid var(--color-orange); display: flex; justify-content: space-between; align-items: center; z-index: 10; }
.pop-header h2 { margin: 0; color: var(--color-orange); font-size: 1.4rem; }
.pop_close { cursor: pointer; font-size: 32px; font-weight: bold; line-height: 1; color: var(--color-black); transition: color 0.3s; }
.pop_close:hover { color: var(--color-orange); }
.pop-body { padding: 30px; line-height: 1.6; font-size: 15px; }
.pop-body h3 { font-size: 1.1rem; margin-top: 25px; margin-bottom: 8px; color: var(--color-black); }
.pop-body h3:first-child { margin-top: 0; }
.pop-body ul { margin: 10px 0 15px 25px; }
.pop-body a { color: var(--color-orange); text-decoration: underline; }
.pop-separator { margin-top: 25px; border-top: 1px solid #eee; padding-top: 5px; }
.bold-link { font-weight: bold; }
.pop-footer { margin-top: 30px; font-size: 0.85em; color: #999; text-align: center; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-contact p { display: flex; justify-content: center; }
}

/* --- STRÁNKA KONTAKT --- */
.contact-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; background: var(--color-white); padding: 50px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); margin-top: 20px; margin-bottom: 60px; }
.contact-info h1 { font-size: 2.5rem; color: var(--color-black); margin-bottom: 15px; font-weight: 800; }
.contact-lead { font-size: 1.1rem; color: var(--color-gray-dark); margin-bottom: 40px; line-height: 1.6; }
.contact-grid-inner { display: grid; grid-template-columns: 1fr; gap: 35px; }
.contact-block h2 { font-size: 1.3rem; color: var(--color-orange); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 15px; border-bottom: 2px solid var(--color-gray-light); padding-bottom: 5px; }
.contact-block p { margin-bottom: 6px; font-size: 1.05rem; color: #444; }
.contact-block .company-name { font-weight: bold; font-size: 1.15rem; color: var(--color-black); }
.contact-block .contact-meta { margin-top: 10px; font-weight: bold; color: var(--color-black); }
.contact-block .contact-meta-sub { font-size: 0.9rem; color: #777; line-height: 1.4; }
.contact-item { font-size: 1.2rem !important; font-weight: bold; margin-bottom: 10px !important; }
.contact-item .label { color: var(--color-orange); margin-right: 10px; display: inline-block; width: 20px; }
.contact-item a { color: var(--color-black); text-decoration: none; transition: color 0.3s; }
.contact-item a:hover { color: var(--color-orange); }
.hours-row { display: flex; justify-content: space-between; max-width: 300px; padding: 6px 0; border-bottom: 1px dashed #eee; font-size: 1.05rem; }
.hours-row .days { font-weight: 600; }
.hours-row .time { color: var(--color-black); font-weight: 700; }
.hours-row.closed { color: #999; }
.hours-row.closed .time { color: #999; font-weight: normal; }
.contact-map { width: 100%; min-height: 450px; height: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }

@media (max-width: 992px) {
    .contact-section { grid-template-columns: 1fr; gap: 40px; padding: 30px; }
    .contact-map { min-height: 350px; }
}

/* --- STRÁNKA PRODUKTŮ (Výpis) --- */
.products-page { padding: 0px 20px 80px 20px; }
.page-main-title { text-align: center; font-size: 2.8rem; font-weight: 900; text-transform: uppercase; margin-bottom: 50px; color: var(--color-black); letter-spacing: 1px; }
.subcategory-section { margin-bottom: 60px; }
.subcategory-title { position: relative; font-size: 1.8rem; color: var(--color-gray-dark); margin-bottom: 30px; text-align: left; display: flex; align-items: center; }
.subcategory-title span { background: var(--color-gray-light); padding-right: 20px; font-weight: bold; color: var(--color-black); z-index: 2; }
.subcategory-title::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; background-color: #ddd; z-index: 1; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.product-card { background: var(--color-white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.product-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.product-image-wrapper { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background-color: #fff; display: flex; align-items: center; justify-content: center; }
.product-image-wrapper img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product-card:hover .product-image-wrapper img { transform: scale(1.05); }
.product-badges { position: absolute; top: 15px; right: 15px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; z-index: 10; }
.badge { display: inline-block; padding: 6px 12px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-white); border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.badge-gold { background-color: #d4af37; }
.badge-dark { background-color: var(--color-black); }
.badge-red { background-color: #e63946; }
.badge-gray { background-color: #888888; }
.product-info { padding: 25px 20px; text-align: center; border-top: 1px solid #f0f0f0; }
.product-title { font-size: 1.25rem; color: var(--color-orange); margin-bottom: 10px; font-weight: bold; }
.product-price { font-size: 1.4rem; color: var(--color-gray-dark); font-weight: 900; }

@media (max-width: 768px) {
    .page-main-title { font-size: 2rem; }
    .subcategory-title { font-size: 1.5rem; }
}


/* ==========================================================================
   DETAIL PRODUKTU (BENDA PREMIUM SHOWROOM)
   ========================================================================== */

.detail-page { padding: 0px 0px 0px 0px; } /* Zrušeno boční odsazení pro full-width */
.detail-section { margin-bottom: 80px; }

/* Světlé horní sekce držíme ve standardní šířce */
.detail-hero, .section-intro {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Nadpisy s Watermarkem */
.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 40px;
    color: var(--color-black);
    border-left: 6px solid var(--color-orange);
    padding-left: 20px;
    position: relative;
    overflow: visible;
    text-transform: uppercase;
}

.section-title::before {
    content: "BENDA PRO";
    position: absolute;
    left: 20px;
    top: -25px;
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.035);
    z-index: -1;
    letter-spacing: 4px;
    user-select: none;
}
.section-intro .section-title::before { content: "DISCOVER"; }
.section-bullets .section-title::before { content: "PREMIUM"; }
.section-features .section-title::before { content: "FEATURES"; }
.section-specs .section-title::before { content: "SPECIFICATION"; }

.detail-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.hero-info-col { display: flex; flex-direction: column; align-items: flex-start; }
.detail-badges { display: flex; gap: 10px; margin-bottom: 15px; }
.detail-title { font-size: 3.5rem; font-weight: 900; color: var(--color-orange); line-height: 1.1; margin-bottom: 15px; }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--color-black); margin-bottom: 25px; }
.detail-short-desc { font-size: 1.1rem; color: var(--color-gray-dark); line-height: 1.7; }
.main-product-img { width: 100%; height: auto; object-fit: contain; }

.detail-intro-text { font-size: 1.1rem; line-height: 1.7; color: #eeeeee; margin-bottom: 35px; max-width: 950px; }

.detail-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery-item { overflow: hidden; border-radius: 8px; background: #000; }
.gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); display: block; transition: transform 0.4s ease, opacity 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); opacity: 0.9; }


/* ==========================================================================
   TEMNÝ SHOWROOM (Obal pro sekce od barev dolů)
   ========================================================================== */
.dark-showroom-wrapper {
    background: #0f0f11;
    color: #ffffff;
    padding: 80px 0;
    margin-top: 60px;
    position: relative;
    
    /* Tmavá mřížka */
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;

    /* KOUZLO: Vytrhne sekci z kontejneru na plnou šířku prohlížeče */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.dark-showroom-wrapper .section-title { color: #ffffff; }
.dark-showroom-wrapper .section-title::before { color: rgba(255, 255, 255, 0.025); }

/* Vnitřní kontejnery v temné sekci, které nemají být roztažené do krajů */
.dark-showroom-wrapper .section-colors,
.dark-showroom-wrapper .section-bullets,
.dark-showroom-wrapper .section-specs,
.dark-showroom-wrapper .section-gallery-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
        margin-bottom: 60px;
}

/* --- 3. Odrážky (Temný režim) --- */
.dark-showroom-wrapper .styled-bullets {
    list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px 40px;
    background: #151518; border: 1px solid #222226; padding: 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 60px;
}
.dark-showroom-wrapper .styled-bullets li { font-size: 1.1rem; position: relative; padding-left: 25px; color: #eeeeee; }
.dark-showroom-wrapper .styled-bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--color-orange); font-weight: bold; }


/* --- 4. Cik-Cak Vlastnosti (Full-width) --- */
.dark-showroom-wrapper .section-features {
    max-width: 100%;
    padding: 0;
    margin-bottom: 100px;
}
.features-title-container {
    max-width: 1200px; margin: 0 auto 40px auto; padding: 0 20px;
}
.feature-row { display: flex; align-items: stretch; gap: 0; margin-bottom: 0; width: 100%; background: #131316; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }

.feature-text-col, .feature-img-col { flex: 0 0 50%; width: 50%; border-radius: 0 !important; }
.feature-text-col { display: flex; flex-direction: column; justify-content: center; padding: 8% 10%; background: #131316; transition: background-color 0.3s; }
.feature-row:hover .feature-text-col { background: #18181c; }

.feature-text-col h3 { font-size: 2rem; color: #ffffff; margin-bottom: 20px; font-weight: 900; text-transform: uppercase; }
.feature-text-col p { font-size: 1.1rem; line-height: 1.7; color: #cccccc; }

.feature-img-col { overflow: hidden; position: relative; }
.feature-img-col img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; box-shadow: none; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.feature-row:hover .feature-img-col img { transform: scale(1.03); }


/* --- 5. Rozklikávací datový list (Temný režim) --- */
.specs-accordion-wrapper { background: #141417; border-radius: 12px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.4); border: 1px solid #222227; }
.spec-accordion { border-bottom: 1px solid #1f1f24; background: #141417; transition: background-color 0.3s; }
.spec-accordion:last-child { border-bottom: none; }
.spec-accordion[open] { background-color: #1a1a1f; border-left: 6px solid var(--color-orange); }

.spec-summary { padding: 22px 30px; font-size: 1.25rem; font-weight: 800; color: #ffffff; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; transition: background-color 0.2s, color 0.2s; text-transform: uppercase; }
.spec-summary::-webkit-details-marker { display: none; }
.spec-summary:hover { background-color: #1a1a1f; color: var(--color-orange); }
.spec-accordion[open] .spec-summary { color: var(--color-orange); background-color: #1a1a1f; }

.accordion-icon { font-size: 1.5rem; color: var(--color-orange); transition: transform 0.3s; }
.spec-accordion[open] .accordion-icon { transform: rotate(45deg); }

.spec-content { padding: 15px 35px 30px 35px; background-color: #121215; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.008) 0px, rgba(255,255,255,0.008) 2px, transparent 2px, transparent 10px); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid #1f1f24; }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 14px 0; font-size: 1.05rem; }
.spec-label { font-weight: 700; color: #7f7f87; width: 40%; text-transform: uppercase; }
.spec-value { color: #ffffff; font-weight: 600; }

.section-title, .feature-text-col h3, .spec-summary, .spec-label { text-transform: uppercase; }


/* --- 6. BAREVNÉ VARIANTY (Temný režim) --- */
.colors-wrapper { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; background: rgba(255, 255, 255, 0.01); border: 1px solid rgba(255, 255, 255, 0.05); padding: 50px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.color-img-col img { width: 100%; height: auto; object-fit: contain; transition: opacity 0.2s ease-in-out; }
.color-info-col { display: flex; flex-direction: column; }
.color-headline { font-size: 2.2rem; font-weight: 900; color: #330000; line-height: 1.2; margin-bottom: 15px; text-transform: uppercase; }
.color-subtext { font-size: 1.1rem; color: #aaaaaa; line-height: 1.6; margin-bottom: 40px; }
.color-selector-title { font-size: 0.95rem; font-weight: 800; letter-spacing: 1px; color: #888; margin-bottom: 15px; text-transform: uppercase; }
#active-color-name { color: var(--color-orange); font-weight: 900; text-shadow: 0 0 10px rgba(254, 80, 0, 0.4); }
.color-buttons-grid { display: flex; gap: 15px; flex-wrap: wrap; }
.color-variant-btn { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #440000; cursor: pointer; position: relative; transition: transform 0.2s, border-color 0.2s; padding: 0; box-shadow: none !important; }
.color-variant-btn:hover { transform: scale(1.1); }
.color-variant-btn.active { border-color: var(--color-orange); transform: scale(1.15); box-shadow: 0 0 0 2px #0f0f11, 0 0 0 5px var(--color-orange) !important; }

/* Responzivita detailu a barev */
@media (max-width: 992px) {
    .detail-hero { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-info-col { align-items: center; }
    .detail-title { font-size: 2.5rem; }
    /* Přepsání pro mobilní full-width vlastnosti */
    .feature-row { flex-direction: column !important; gap: 0; }
    .feature-text-col, .feature-img-col { flex: 0 0 100%; width: 100%; }
    .feature-text-col { padding: 40px 20px; text-align: center; }
    .spec-label { width: 50%; }
    .colors-wrapper { grid-template-columns: 1fr; gap: 30px; padding: 30px; text-align: center; }
    .color-buttons-grid { justify-content: center; }
}


/* --- LIGHTBOX (Benda Styl) --- */
.lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.92); align-items: center; justify-content: space-between; padding: 20px; box-sizing: border-box; }
.lightbox.lightbox-active { display: flex; }
.lightbox-content-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; max-height: 85vh; padding: 0 20px; }
.lightbox-content { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); animation: lightboxFade 0.25s ease-out; }
@keyframes lightboxFade { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; font-weight: 300; cursor: pointer; transition: color 0.2s, transform 0.2s; user-select: none; z-index: 10000; }
.lightbox-close:hover { color: var(--color-orange); transform: scale(1.1); }
.lightbox-nav { background: rgba(255, 255, 255, 0.05); border: none; color: #fff; font-size: 30px; padding: 20px 15px; cursor: pointer; transition: background 0.2s, color 0.2s; user-select: none; border-radius: 6px; z-index: 10000; }
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.15); color: var(--color-orange); }

@media (max-width: 768px) {
    .lightbox { padding: 10px; }
    .lightbox-content-wrapper { padding: 0; }
    .lightbox-nav { position: absolute; bottom: 20px; font-size: 24px; padding: 12px 20px; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255,255,255,0.2); }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
    .lightbox-close { top: 10px; right: 20px; font-size: 35px; }
}


/* --- 7. VIDEO GALERIE (Temný showroom) --- */
.dark-showroom-wrapper .section-videos {
    max-width: 1200px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

.videos-grid {
    display: grid;
    /* Pokud je video jedno, bude velké. Pokud jich bude víc, naskládají se do mřížky */
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.video-card {
    background: #151518;
    border: 1px solid #222226;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, border-color 0.4s;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: #333339;
}

/* Trikový wrapper, který přes CSS udrží absolutně přesný poměr stran 16:9 pro video z YT */
.video-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Matematika: 9 děleno 16 = 0.5625 */
    height: 0;
    width: 100%;
    background: #000;
}

.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 25px 30px;
}

.video-title {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.video-desc {
    color: #aaaaaa;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Úprava mřížky videa pro mobilní telefony */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
    .video-info {
        padding: 20px;
    }
}




