:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --accent-color: #e9ecef;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    zoom: 0.9;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 112vh;
    /* Compensation for 0.9 zoom to hit bottom */
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

p {
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

#services,
#pricing {
    background-color: var(--white);
    position: relative;
    z-index: 1;
}

.section {
    padding: 130px 0 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-blue {
    background-color: var(--primary-color);
}

.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    color: var(--text-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-nav-outline {
    border: 2px solid var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--primary-color) !important;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav-outline:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.btn-nav-solid {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav-solid:hover {
    background-color: var(--secondary-color);
}

.nav-btn {
    padding: 10px 20px;
    margin-left: 10px;
}

.nav-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.align-left {
    text-align: left;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.logo-highlight {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    background-color: var(--white);
    min-height: 112vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-color);
    margin-top: 0;
    padding: 100px 0 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
}


.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.logo-highlight-lg {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 8px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Cards & Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: visible;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: white;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.custom-pc-intro {
    background-color: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: inline-block;
    max-width: 800px;
    text-align: left;
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--primary-color);
}

/* Services */
.service-box {
    background-color: var(--white);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-box p {
    flex-grow: 1;
    margin-bottom: 15px;
}

.service-box .btn {
    align-self: center;
    width: 100%;
}

.service-box:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Network Solutions */
.network-card .card-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--white);
}

.brand-logo {
    max-height: 60px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

/* Pricing & Location */
.grid-2-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.info-list i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.alert-item {
    color: #dc3545;
    font-weight: 500;
}

.alert-item i {
    color: #dc3545;
}

.pricing-table {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item.highlight-row {
    background-color: #e8f4ff;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    font-weight: 600;
    color: var(--primary-color);
}

.price {
    font-weight: 600;
}

.price-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--light-text);
    font-style: italic;
}

/* Why Choose Me */
.feature {
    padding: 20px;
}

/* Contact Form */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: auto;
    width: 100%;
}

/* Responsive */
/* Mobile Optimization (Tablets & Phones) */
@media (max-width: 768px) {
    .navbar .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .navbar .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .grid-2-layout,
    .grid-services,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* OPRAVA PRO MOBILNÍ ZOBRAZENÍ: Větší horní padding kvůli fixnímu menu */
    .section {
        padding: 100px 0 50px 0; 
    }

    .pricing-table {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .logo-highlight-lg {
        padding: 2px 10px;
    }
}

/* Custom Helpers */
.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 15px;
}

.mt-3 {
    margin-top: 25px;
}

.my-2 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.mb-2 {
    margin-bottom: 15px;
}

.mb-3 {
    margin-bottom: 25px;
}

.p-3 {
    padding: 25px;
}

.pt-2 {
    padding-top: 15px;
}

.pt-3 {
    padding-top: 25px;
}

.border-radius {
    border-radius: 10px;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.shadow {
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15);
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.relative {
    position: relative;
}

.text-success {
    color: #28a745;
    font-weight: 500;
}

.text-blue {
    color: var(--primary-color) !important;
}

.text-light {
    color: #666;
}

hr.package-hr {
    border: 0;
    border-top: 1px solid var(--border-color);
}

hr.package-hr-blue {
    border: 0;
    border-top: 1px solid #b8daff;
}

/* Pricing Table Balíčky */
.pricing-table {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 35px;
}

.package-box {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.highlight-box {
    background-color: #f1f8ff;
    border: 2px solid #b8daff;
}

.package-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.price-large {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.price-small {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
}

.popular-badge {
    position: absolute;
    top: -14px;
    right: 15px;
    background-color: #ffc107;
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
}

.transport-box h4 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-bg);
}

.price-item:last-of-type {
    border-bottom: none;
}

/* PoE Tooltip */
.poe-tooltip-trigger {
    color: var(--primary-color);
    text-decoration: underline dotted;
    cursor: help;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.poe-bubble {
    visibility: hidden;
    width: 280px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 8px;
    padding: 15px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    margin-left: -140px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    font-weight: normal;
    line-height: 1.4;
    transform: translateY(10px);
}

.poe-bubble i {
    color: #ffc107;
    margin-right: 8px;
    font-size: 1.2rem;
}

.poe-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.poe-tooltip-trigger.active .poe-bubble {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Tooltip alignment variants */
.poe-tooltip-trigger.poe-right-align .poe-bubble {
    left: auto;
    right: 0;
    margin-left: 0;
}

.poe-tooltip-trigger.poe-right-align .poe-bubble::after {
    left: auto;
    right: 10px;
    margin-left: 0;
}

@media (max-width: 480px) {
    .poe-bubble {
        width: 220px;
        margin-left: -110px;
        left: 0;
        margin-left: 0;
    }

    .poe-bubble::after {
        left: 20px;
    }

    .poe-tooltip-trigger.poe-right-align .poe-bubble {
        left: 0;
        right: auto;
    }
}

/* Steps Grid */
.steps-grid {
    margin-top: 40px;
}

.step-box {
    position: relative;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-box:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid var(--light-bg);
}

/* Speciální plovoucí Tooltip po vzoru verze 2.0 (pro PoE) */
.poe-tooltip-trigger {
    position: relative;
    display: inline-block;
}

.poe-bubble {
    visibility: hidden;
    opacity: 0;
    width: 320px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 8px;
    padding: 15px;
    position: absolute;
    z-index: 9999;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Samostatná vizuální šipka napojená natvrdo na střed slova, aby neuhýbala do stran */
.poe-tooltip-trigger::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
}

.poe-tooltip-trigger:hover .poe-bubble,
.poe-tooltip-trigger:focus-within .poe-bubble {
    visibility: visible;
    opacity: 1;
    bottom: calc(100% + 20px);
}

.poe-tooltip-trigger:hover::after,
.poe-tooltip-trigger:focus-within::after {
    visibility: visible;
    opacity: 1;
    bottom: calc(100% + 5px);
}

.poe-bubble-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.poe-bubble-text {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: normal;
    display: block;
}

.poe-word {
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 2px dotted var(--primary-color);
}
/* Animations */
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.bounce-animate {
    animation: bounceDown 1.5s infinite;
}