:root {
    --bg-light: #d6d6d6;
    --bg-white: #ffffff;
    --accent-red: #e11f26;
    --text-black: #000000;
    --text-dark: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HLAVIČKA --- */
header {
    background-color: var(--bg-light);
    padding: 25px 0;
}

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

.logo {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-red);
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0px;
}

.logo span {
    color: var(--text-black);
    font-weight: 700;
    display: block;
    letter-spacing: 2px;
    margin-top: 4px;
    font-size: 22px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    background: #444;
    color: white;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 20px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: var(--accent-red);
}

.eshop-btn {
    background: #000;
    color: #fff;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    font-weight: 900;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.eshop-btn:hover {
    background: var(--accent-red);
}

/* --- VIDEO --- */
.video-container {
    width: 100%;
    height: 95vh;
    overflow: hidden;
    background-color: #000;
    background-image: url('../img/poster.png');
    background-size: cover;
    background-position: center;
    position: relative;
    pointer-events: none;
    margin-bottom: 0px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 40px; /* Zväčšené z 32px */
    text-decoration: none;
    z-index: 10;
    pointer-events: auto;
    animation: bounce 2s infinite;
    transition: all 0.3s;
    text-shadow: 0 0 15px rgba(0, 0, 0, 1); /* Ešte silnejší tieň */
    background: rgba(0, 0, 0, 0.5); /* Tmavšie pozadie */
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.scroll-down:hover {
    background: rgba(0, 0, 0, 0.4);
    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);}
}

.play-button {
    display: none;
}

/* --- SEKCIE --- */
.section { padding: 50px 0; }
.pt-0 { padding-top: 0 !important; }
.bg-white { background-color: var(--bg-white); }
.bg-grey { background-color: var(--bg-light); }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

h2 {
    color: var(--accent-red);
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.1;
}

p {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

img { width: 100%; display: block; }

/* --- SPLIT SECTIONS --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.split-section .text-side {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-section.image-right .text-side {
    padding-left: calc((100vw - 1400px) / 2 + 20px);
    padding-right: 80px;
}

.split-section.image-left .text-side {
    padding-right: calc((100vw - 1400px) / 2 + 20px);
    padding-left: 80px;
}

.split-section .image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- BRAND LOGOS SECTION (CAROUSEL) --- */
.brands-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.brands-carousel-wrapper {
    position: relative;
    padding: 10px 60px;
    border-radius: 4px;
}

.brands-swiper {
    width: 100%;
    height: 60px;
}

.brands-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brands-swiper img {
    max-height: 45px;
    max-width: 140px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.brands-swiper img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Custom Swiper Buttons */
.brands-carousel-wrapper .swiper-button-prev,
.brands-carousel-wrapper .swiper-button-next {
    color: var(--accent-red);
    width: 30px;
    height: 30px;
    top: 50%;
    margin-top: 0;
    transform: translateY(-50%);
}

.brands-carousel-wrapper .swiper-button-prev::after,
.brands-carousel-wrapper .swiper-button-next::after {
    font-size: 20px;
    font-weight: 900;
}

.brands-carousel-wrapper .swiper-button-prev { left: 15px; }
.brands-carousel-wrapper .swiper-button-next { right: 15px; }

/* --- PÄTKA --- */
footer {
    background-color: var(--bg-light);
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: stretch;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    display: block;
}

.contact-item { margin-bottom: 20px; font-size: 16px; }
.contact-item strong { display: block; margin-bottom: 5px; font-size: 18px; }

.contact-person {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-photo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    object-position: center 20%; /* Posunout Petru trochu níže pro lepší výřez hlavy */
    border-radius: 50%;
    border: 3px solid var(--accent-red);
}

.contact-person-details {
    flex: 1;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-red);
    color: white;
    padding: 14px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 15px;
    margin: 5px 0 20px 0;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.nav-btn:hover { background-color: #c41a21; }
.nav-btn i { margin-right: 10px; font-size: 16px; }

.service-icons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.s-icon {
    background: #1a1a1a;
    color: white;
    width: 90px;
    height: 90px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.s-icon-top {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.s-icon-top i {
    font-size: 28px;
}

.s-icon-top.small-text {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 2px;
}

.s-icon-middle {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.s-icon-bottom {
    font-size: 10px;
    line-height: 1.1;
    margin-top: 3px;
    text-transform: none;
    font-weight: normal;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 0;
    position: relative;
    height: 100%;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.virtual-tour {
    width: 100%;
    line-height: 0;
    position: relative;
}

.virtual-tour iframe {
    width: 100%;
    height: 750px;
    pointer-events: none; /* Mapu nelze ovládat */
    transition: opacity 0.3s;
}

.virtual-tour.active iframe {
    pointer-events: auto; /* Mapu lze ovládat po kliknutí */
}

.virtual-tour::after {
    content: 'Klikněte pro interakci s prohlídkou';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 16px;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 5;
    white-space: nowrap;
}

.virtual-tour.active::after {
    opacity: 0;
}

/* --- RESPONZIVITA --- */
@media (max-width: 1440px) {
    .split-section.image-right .text-side { padding-left: 40px; padding-right: 40px; }
    .split-section.image-left .text-side { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 768px) {
    header { padding: 15px 0; }
    .header-content { flex-direction: column; gap: 15px; text-align: center; }
    .logo { font-size: 20px; }
    .logo span { font-size: 18px; }
    
    .nav-right { flex-direction: column; width: 100%; gap: 10px; }
    .social-icons a { width: 35px; height: 35px; font-size: 16px; }
    .eshop-btn { height: 35px; font-size: 14px; width: 100%; max-width: 200px; }

    .video-container { height: 60vh; }
    
    h2 { font-size: 32px; text-align: center !important; }
    p { font-size: 17px; text-align: center; }

    .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid { 
        display: flex; 
        flex-direction: column-reverse; 
        gap: 40px; 
        padding: 40px 20px;
        text-align: center;
    }
    .footer-logo { display: flex; justify-content: center; }
    .contact-person { flex-direction: column; text-align: center; }
    .contact-photo { margin-bottom: 10px; }
    .nav-btn { width: 100%; justify-content: center; box-sizing: border-box; }
    
    .map-responsive { height: 300px; width: 100%; }
    .virtual-tour iframe { height: 500px; }
    .mobile-reverse { display: flex; flex-direction: column-reverse; }
    .split-section { grid-template-columns: 1fr; }
    .split-section.mobile-reverse { display: flex; flex-direction: column-reverse; }
    .split-section .image-side { height: 300px; }
    .split-section .text-side { padding: 40px 20px; }
    .split-section.image-right .text-side, 
    .split-section.image-left .text-side { padding-left: 20px; padding-right: 20px; }

    .service-icons { justify-content: center; }
    .s-icon { width: 80px; height: 80px; }
    .s-icon-top { font-size: 24px; }
    .s-icon-middle { font-size: 20px; }
    
    .quality-text-full { text-align: center; }
}

@media (max-width: 480px) {
    h2 { font-size: 28px; }
    .logo { font-size: 18px; }
    .logo span { font-size: 16px; }
}