/* ====== ZÁKLADNÍ BARVY A STYL ====== */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(
        to bottom,
        #4a566e 0%,     /* horní šedavě modrá */
        #cfd2d7 25%,    /* světlejší šedá střední část */
        #132240 70%,    /* tmavě modrá přechodová */
        #0b162a 100%    /* velmi tmavá modrošedá dole */
    );
    background-attachment: fixed;
    color: #fff;
}


/* Sekce */
section {
    background-color: #f2f2f2;   /* světle šedé bloky */
}

/* Hlavička */
header {
    background: linear-gradient(90deg, #0a1f44, #1e90ff);
    color: white;
}

/* Odkazy v hlavičce */
header a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

header a:hover {
    text-decoration: underline;
}

/* Hero sekce */
.hero {
    position: relative;
    width: 100%;
    height: 480px;
    background: url('/assets/img/hero-webhub.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}
/* ======== OPRAVENÉ MENU (vodorovné buňky) ======== */
.main-header {
    background: linear-gradient(to right, #00264d, #1e90ff);
    padding: 25px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 0 20px;
}

.logo a {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;              /* <— důležité pro vodorovné zarovnání */
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin: 0;
}

.main-nav ul li a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.main-nav ul li a:hover {
    background: #8a8f98;       /* šedá po najetí */
    color: #ffffff;
    transform: translateY(-2px);
}
/* ======== SEKCE O NÁS – STEJNÝ STYL JAKO VELISSYA ======== */
.about-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
}

.about-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(to bottom, #444, #222 90%, transparent 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.about-block.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
/* =========================================
   📱 MOBILNÍ VERZE WEBU – WEBHUB.CZ
   ========================================= */
@media (max-width: 1024px) {
    header nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    main {
        padding: 20px;
    }
    section {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 26px !important;
    }
    h2 {
        font-size: 20px !important;
    }
    p {
        font-size: 16px !important;
        line-height: 1.6;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    nav {
        flex-direction: column;
        align-items: center;
    }
    nav a {
        display: block;
        padding: 8px 0;
    }
    footer {
        padding: 20px 10px !important;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 22px !important;
    }
    h2 {
        font-size: 18px !important;
    }
    p {
        font-size: 15px !important;
    }
    .hero-section {
        padding: 40px 10px;
        text-align: center;
    }
    .hero-section img {
        width: 100%;
        height: auto;
    }
}
