/* VEKT HK – frontend homepage */

:root {
    --vekt-purple: #5c2380;
    --vekt-purple-dark: #4a1c66;
    --vekt-orange: #ff9500;
    --vekt-white: #ffffff;
    --vekt-gray-bg: #efefef;
    --vekt-gray-light: #f9f9f9;
    --vekt-gray-border: #e2e2e2;
    --vekt-text: #212934;
    --vekt-text-muted: #262626;
    --vekt-black: #000000;
    --vekt-container: 1200px;
    --vekt-font: 'Exo 2', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--vekt-font);
    font-size: 17px;
    line-height: 1.4;
    color: var(--vekt-text);
    background: var(--vekt-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding-left: 1.2em;
}

.vekt-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vekt-skip-link {
    position: absolute;
    left: -9999px;
    z-index: 10000;
    padding: 0.5em 1em;
    background: var(--vekt-purple);
    color: var(--vekt-white);
}

.vekt-skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.vekt-container {
    width: 100%;
    max-width: var(--vekt-container);
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.vekt-header {
    position: relative;
    z-index: 100;
    background: var(--vekt-white);
    padding: 20px 0 15px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.vekt-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.vekt-header__logo img {
    max-width: 270px;
    width: 100%;
}

.vekt-nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    font-size: 26px;
    color: var(--vekt-black);
    cursor: pointer;
    line-height: 1;
}

.vekt-nav__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 60px;
}

.vekt-nav__list a {
    font-size: 17px;
    font-weight: 500;
    color: var(--vekt-purple);
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}

.vekt-nav__list a:hover,
.vekt-nav__list a:focus {
    color: var(--vekt-black);
    border-bottom-color: var(--vekt-black);
}

.vekt-nav__admin-icon {
    margin-right: 0.35em;
}

/* Hero */
.vekt-hero {
    background-image: url('/web/wp-content/uploads/2022/09/vekt_bg-1024x632.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 70px 0;
    overflow: visible;
}

.vekt-hero__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: visible;
}

.vekt-hero-card {
    background: var(--vekt-white);
    border: 1px solid var(--vekt-purple);
    padding: 40px 30px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 0;
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s;
}

.vekt-hero-card:hover {
    transform: scale(1.1);
    z-index: 2;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.vekt-hero-card img {
    max-width: 150px;
    margin: 0 auto 1rem;
}

.vekt-hero-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: var(--vekt-text);
}

/* Buttons */
.vekt-btn {
    display: inline-block;
    padding: 11px 23px;
    font-family: var(--vekt-font);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: var(--vekt-purple);
    color: var(--vekt-white);
    border: 1px solid var(--vekt-purple);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.vekt-btn:hover,
.vekt-btn:focus {
    background: var(--vekt-black);
    border-color: var(--vekt-black);
    color: var(--vekt-white);
}

.vekt-btn--on-purple {
    background: var(--vekt-purple);
    border-color: var(--vekt-black);
    color: var(--vekt-white);
}

.vekt-btn--on-purple:hover,
.vekt-btn--on-purple:focus {
    background: var(--vekt-black);
    color: var(--vekt-white);
}

/* Section title */
.vekt-section-title {
    margin: 0 0 30px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--vekt-text);
}

.vekt-section-title--light {
    color: var(--vekt-white);
}

.vekt-section-title__rule {
    display: block;
    width: 80px;
    max-width: 100%;
    height: 0;
    border: none;
    border-top: 3px solid var(--vekt-purple);
    margin: 0 0 50px;
}

.vekt-section-title__rule--on-purple {
    border-top-color: var(--vekt-gray-light);
}

/* About */
.vekt-about {
    padding: 70px 0;
}

.vekt-about__grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px 80px;
    align-items: center;
}

.vekt-about__text p {
    margin: 0 0 1em;
    color: var(--vekt-text-muted);
}

.vekt-about__text p:last-child {
    margin-bottom: 0;
}

.vekt-about__image {
    margin-top: 0;
}

.vekt-about__image img {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

/* Service sections */
.vekt-service {
    position: relative;
}

.vekt-service--gray {
    background: var(--vekt-gray-bg);
}

.vekt-service--white {
    background: var(--vekt-white);
}

.vekt-service__slant {
    display: block;
    width: 100%;
    height: 100px;
    line-height: 0;
}

.vekt-service__slant svg {
    display: block;
    width: 100%;
    height: 100px;
}

.vekt-service__body {
    padding: 0 0 70px;
}

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

.vekt-service__grid--reversed .vekt-service__image {
    order: 2;
}

.vekt-service__grid--reversed .vekt-service__content {
    order: 1;
}

.vekt-service__content ul {
    margin-bottom: 30px;
    color: var(--vekt-text);
}

.vekt-service__content li {
    margin-bottom: 0.35em;
}

.vekt-service__image img {
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
}

/* Partners */
.vekt-partners {
    background: var(--vekt-gray-light);
    padding: 70px 0 50px;
}

.vekt-partners__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
}

.vekt-partners__logo {
    max-width: 170px;
}

/* Contacts */
.vekt-contacts {
    background: var(--vekt-purple);
    color: var(--vekt-white);
    padding: 70px 0 90px;
}

.vekt-contacts__group-title {
    font-size: 18pt;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--vekt-white);
}

.vekt-contacts__group-title:not(:first-child) {
    margin-top: 40px;
}

.vekt-contacts__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
    margin-bottom: 20px;
}

.vekt-contacts__cards--three {
    grid-template-columns: repeat(3, 1fr);
}

.vekt-contact-card {
    padding: 30px 0;
    transition: transform 0.3s ease;
}

.vekt-contact-card:hover {
    transform: scale(1.03);
}

.vekt-contact-card h3 {
    margin: 0 0 0.25em;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    color: var(--vekt-white);
}

.vekt-contact-card__role {
    margin: 0 0 1rem;
    font-size: 10pt;
    color: var(--vekt-white);
    opacity: 0.95;
}

.vekt-contact-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
}

.vekt-contact-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.vekt-contact-card__list li:last-child {
    border-bottom: none;
}

.vekt-contact-card__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    fill: var(--vekt-gray-light);
}

.vekt-contact-card__list a {
    color: var(--vekt-white);
}

.vekt-contact-card__list a:hover {
    text-decoration: underline;
}

.vekt-billing {
    margin-top: 20px;
    padding-top: 30px;
}

.vekt-billing__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px 40px;
    font-size: 18px;
    line-height: 1.7;
}

.vekt-billing__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.vekt-billing__item a {
    color: var(--vekt-white);
}

/* Footer */
.vekt-footer {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: var(--vekt-text-muted);
    background: var(--vekt-white);
}

/* Scroll reveal (původní Avada animace při scrollu) */
.vekt-reveal {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    will-change: opacity, transform;
}

.vekt-reveal--fast {
    transition-duration: 0.3s;
}

.vekt-reveal--slow {
    transition-duration: 1.3s;
}

.vekt-reveal--left {
    transform: translateX(-50px);
}

.vekt-reveal--right {
    transform: translateX(50px);
}

.vekt-reveal--up {
    transform: translateY(40px);
}

.vekt-reveal--fade {
    transform: none;
}

.vekt-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Hero karty: scroll reveal nesmí blokovat hover zoom */
.vekt-hero-card.vekt-reveal {
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.vekt-hero-card.vekt-reveal.is-visible {
    opacity: 1;
    transform: scale(1);
}

.vekt-hero-card.vekt-reveal.is-visible:hover {
    transform: scale(1.1);
    z-index: 2;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.vekt-hero__grid .vekt-hero-card.vekt-reveal:nth-child(1) { transition-delay: 0s; }
.vekt-hero__grid .vekt-hero-card.vekt-reveal:nth-child(2) { transition-delay: 0.08s; }
.vekt-hero__grid .vekt-hero-card.vekt-reveal:nth-child(3) { transition-delay: 0.16s; }
.vekt-hero__grid .vekt-hero-card.vekt-reveal:nth-child(4) { transition-delay: 0.24s; }

.vekt-contact-card:hover .vekt-contact-card__icon {
    animation: vekt-icon-shake 0.3s ease;
}

@keyframes vekt-icon-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .vekt-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .vekt-contact-card:hover .vekt-contact-card__icon {
        animation: none;
    }
}

/* Scroll to top */
.vekt-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 44px;
    height: 44px;
    background: var(--vekt-purple);
    color: var(--vekt-white);
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vekt-to-top::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(-45deg) translateY(3px);
}

.vekt-to-top--visible {
    opacity: 1;
    visibility: visible;
}

.vekt-to-top:hover {
    background: var(--vekt-black);
}

/* Responsive */
@media (max-width: 1024px) {
    .vekt-hero__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vekt-about__grid {
        grid-template-columns: 1fr;
    }

    .vekt-about__image {
        order: -1;
    }

    .vekt-contacts__cards--three {
        grid-template-columns: repeat(2, 1fr);
    }

    .vekt-partners__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vekt-billing__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 840px) {
    .vekt-nav-toggle {
        display: block;
    }

    .vekt-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 200;
        background: var(--vekt-white);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .vekt-nav--open {
        max-height: 300px;
    }

    .vekt-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 20px 30px;
        min-height: auto;
    }

    .vekt-nav__list li {
        width: 100%;
        border-bottom: 1px solid var(--vekt-gray-border);
    }

    .vekt-nav__list a {
        display: block;
        padding: 12px 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .vekt-hero {
        padding: 50px 0 70px;
    }

    .vekt-hero__grid {
        grid-template-columns: 1fr;
    }

    .vekt-hero-card {
        padding: 30px 20px 25px;
    }

    .vekt-about,
    .vekt-partners,
    .vekt-contacts {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .vekt-service__grid,
    .vekt-service__grid--reversed .vekt-service__image,
    .vekt-service__grid--reversed .vekt-service__content {
        grid-template-columns: 1fr;
        order: unset;
    }

    .vekt-service__image {
        order: 1;
    }

    .vekt-service__content {
        order: 2;
        padding-top: 20px;
    }

    .vekt-partners__grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .vekt-contacts__cards,
    .vekt-contacts__cards--three {
        grid-template-columns: 1fr;
    }

    .vekt-billing__grid {
        grid-template-columns: 1fr;
    }

    .vekt-container {
        padding: 0 20px;
    }
}
