/* ==========================================================================
   1. ZÁKLADNÍ NASTAVENÍ A RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    height: auto !important;
    overflow-y: auto !important; /* Povolí skrolování kolečkem */
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    display: flex;
}

/* ==========================================================================
   2. BOČNÍ MENU (SIDEBAR)
   ========================================================================== */
.sidebar {
    width: 200px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0.8rem;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 100;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 1.2rem;
    background-color: #101712;
    border: 1px solid #1d3325;
    border-radius: 12px;
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-card:hover, .nav-card.active {
    background-color: #16241b;
    border-color: #34d399;
    color: #34d399;
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(52, 211, 153, 0.15);
}

/* ==========================================================================
   3. HLAVNÍ PLOCHA (MAIN CONTENT)
   ========================================================================== */
.main-content {
    flex: 1;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 20px 150px 240px;
    box-sizing: border-box;
}

.center-logo {
    max-width: 450px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 0 35px rgba(52, 211, 153, 0.25));
}

/* ==========================================================================
   4. HLAVNÍ STRÁNKA (HERO & SECIONS)
   ========================================================================== */
.hero-wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
    padding: 40px 20px 100px 20px;
}

.logo-container {
    position: relative;
    display: inline-block;
    animation: fadeInDown 1s ease-out forwards;
}

.hero-logo {
    position: relative;
    max-width: 380px;
    width: 100%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.25));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 700px;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-badge {
    background-color: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.hero-description {
    color: #a0a0a0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #00ff88;
    color: #0b0f0c;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    background: #26ff98;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    width: 100%;
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.feature-card {
    background: #0d120f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}

.feature-card p {
    color: #8a8a8a;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   5. ELEGANTRNÍ VYBER JAZYKA (GOOGLE TRANSLATE MODAL)
   ========================================================================== */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-lang {
    background: rgba(16, 23, 18, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-lang:hover {
    background: #00ff88;
    color: #080c0a;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

/* Vyskakovací dialog přesně uprostřed obrazovky */
#google_translate_element {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #080c0a;
    border: 1px solid rgba(0, 255, 136, 0.5);
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 136, 0.2);
    text-align: center;
    backdrop-filter: blur(12px);
}

#google_translate_element * {
    color: #ffffff !important;
    font-family: inherit !important;
}

/* ==========================================================================
   6. STRÁNKA KONTAKTY
   ========================================================================== */
.contact-container {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-title {
    color: #34d399;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.person-list {
    display: flex;
    flex-direction: column;
    gap: 40px; /* OPRAVENO: Původně bylo chybně 10000px */
}

.person-card {
    background-color: #080c0a;
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 20px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.person-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 136, 0.8);
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.15), 0 0 20px rgba(0, 255, 136, 0.1);
}

.photo-frame {
    width: 150px;
    height: 150px;
    border-radius: 18px;
    border: 2px solid #00ff88;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    transition: all 0.4s ease;
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.person-card:hover .person-photo {
    transform: scale(1.08);
}

.person-card:hover .photo-frame {
    border-color: #55ffb2;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.4);
}

.person-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.person-role {
    color: #34d399;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.person-name {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.person-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-top: 15px;
    margin-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #00ff88;
    transform: translateX(4px);
}

/* ==========================================================================
   7. STRÁNKA O NÁS
   ========================================================================== */
.about-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 80px;
}

.about-hero {
    text-align: left;
}

.about-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0;
}

.about-lead {
    color: #b0b0b0;
    font-size: 1.2rem;
    line-height: 1.6;
}

.about-main-card {
    background-color: #080c0a;
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 20px;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.about-text-block h3 {
    color: #00ff88;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.about-text-block p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.about-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.values-section {
    margin-top: 10px;
}

.section-title {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
}

.value-card {
    background-color: #080c0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card:hover {
    border-color: rgba(0, 255, 136, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.1);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.value-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
}

.value-card p {
    color: #999999;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   8. NAŠE ZBOŽÍ & MODAL DETAIL
   ========================================================================== */
.products-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 80px;
}

.products-title {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.products-sub {
    color: #888888;
    margin-bottom: 35px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #080c0a;
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.7);
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.15);
}
.product-image-box {
    width: 100%;
    aspect-ratio: 4 / 3; /* Stejný obdélníkový poměr pro všechny karty */
    background-color: #121814;
    overflow: hidden;
    padding: 0; /* Zrušíme vnitřní odsazení, fotka půjde až do krajů */
    display: block;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Vyplní celý box a ořízne přesahující okraje */
    object-position: center; /* Vycentruje střed fotky */
    transition: transform 0.4s ease;
}


.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-tag {
    color: #00ff88;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin: 0;
}

.product-price {
    color: #e0e0e0;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #0d1310;
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 24px;
    max-width: 850px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 136, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #00ff88;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-photo-container {
    width: 100%;
    aspect-ratio: 4 / 3; /* Změna na obdélníkový poměr stran, který lépe sedí fotkám */
    background: #151d18;
    border-radius: 16px;
    overflow: hidden;
    padding: 0; /* Zrušíme vnitřní odsazení, aby fotka přiléhala ke krajům */
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.main-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Vyplní celý rámeček bez černých/tmavých pruhů */
    object-position: center; /* Vycentruje fotku na střed */
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumb-img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    background: #151d18;
    object-fit: contain;
    padding: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.thumb-img.active, .thumb-img:hover {
    border-color: #00ff88;
}

.modal-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.modal-details h2 {
    color: #ffffff;
    font-size: 1.6rem;
    margin: 5px 0 10px 0;
}

.modal-price {
    font-size: 1.5rem;
    color: #00ff88;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-description {
    color: #bbbbbb;
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.modal-specs h4 {
    color: #ffffff;
    margin-bottom: 8px;
}

.modal-specs ul {
    color: #888888;
    padding-left: 20px;
    margin-bottom: 25px;
}

.modal-specs li {
    margin-bottom: 5px;
}

.modal-btn {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   9. ANIMACE & KEYFRAMES
   ========================================================================== */
.animated-title {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-card {
    opacity: 0;
    transform: translateY(40px);
    animation: cardSlideUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.35s; }
.delay-3 { animation-delay: 0.55s; }

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   10. RESPONZIVNÍ DESIGN PRO MOBILY (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .main-content {
        margin-left: 0;
        padding: 20px 15px;
        width: 100%;
    }

    .person-card {
        flex-direction: column-reverse;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }

    .person-content {
        align-items: center;
    }

    .person-details {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .photo-frame {
        width: 120px;
        height: 120px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-logo {
        max-width: 250px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .features-grid,
    .values-grid,
    .products-grid,
    .modal-body {
        grid-template-columns: 1fr;
    }
}
.variant-selector {
    margin: 15px 0;
    width: 100%;
}

.variant-selector label {
    display: block;
    color: #a0a0a0;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variant-buttons {
    display: flex;
    gap: 10px;
}

.variant-btn {
    flex: 1;
    padding: 10px 15px;
    background: #101712;
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-btn:hover {
    border-color: #00ff88;
}

.variant-btn.active {
    background: #00ff88;
    color: #080c0a;
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}
/* ==========================================================================
   11. OBJEDNÁVKOVÝ FORMULÁŘ (E-SHOP STYLE)
   ========================================================================== */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 0.85rem;
    color: #a0a0a0;
    font-weight: 600;
}

.form-input {
    background: #101712;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.order-summary {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 10px;
}

.summary-title {
    font-size: 0.9rem;
    color: #00ff88;
    font-weight: 700;
}

.summary-price {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}