

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bg.active {
    opacity: 1;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    transition: 0.3s;
}

.socials a:hover {
    transform: scale(1.2);
}

.socials a:nth-child(1) svg { fill: #1877f2; } /* FB */
.socials a:nth-child(2) svg { fill: #000; }     /* X */
.socials a:nth-child(3) svg { fill: #e1306c; } /* IG */
.socials a:nth-child(4) svg { fill: #ff0000; } /* YT */
.socials a:nth-child(5) svg { fill: #25f4ee; } /* TikTok */
/* HERO */
.hero {
    height: 100vh;
    background: url('/Img/uvod1.webp') center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.home-auth {
    position: absolute;
    top: 28px;
    right: 34px;
    z-index: 3;
    display: grid;
    gap: 4px;
    justify-items: end;
}

.home-login-cta,
.home-account-cta {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 5px;
    padding: 8px 14px;
    color: #fff;
    background: rgba(0, 0, 0, 0.26);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.home-login-cta:hover,
.home-account-cta:hover {
    background: rgba(0, 0, 0, 0.42);
}

.home-logout-link {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    text-decoration: none;
}

.home-logout-link:hover {
    text-decoration: underline;
}

/* logo jako kruh */
.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    padding: 10px;
    margin-bottom: 20px;
}

/* text */
.hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-page {
    min-height: calc(100vh - 130px);
    padding: 0 0 80px;
    background: #f4f4f4;
    color: #050505;
}

.about-container {
    width: min(100%, 1780px);
    margin: 0 auto;
    padding: 120px 90px 0;
    box-sizing: border-box;
}

.about-title {
    margin: 0 0 48px;
    padding-top: 0;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.12;
    text-align: left;
}

.about-intro {
    display: grid;
    gap: 18px;
    margin-bottom: 46px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.about-intro p,
.about-red-content p {
    margin: 0;
}

.about-list {
    margin: 0 0 24px 48px;
    padding-left: 22px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.about-red-content {
    color: #050505;
    font-size: 17px;
    line-height: 1.42;
}

.about-red-content p + p {
    margin-top: 12px;
}

.about-red-content h2 {
    margin: 36px 0 14px;
    color: #050505;
    font-size: 23px;
    line-height: 1.2;
}

.about-red-list {
    margin-bottom: 34px;
}

.about-closing {
    margin-top: 0;
}

.kontakt-page {
    min-height: calc(100vh - 130px);
    padding: 120px 24px 80px;
    background: #f4f4f4;
    color: #111;
}

.kontakt-container {
    width: min(100%, 1040px);
    margin: 0 auto;
}

.kontakt-container h1 {
    margin: 0 0 36px;
    font-size: 42px;
    line-height: 1.15;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.kontakt-card {
    padding: 34px 38px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.kontakt-card h2 {
    margin: 0 0 26px;
    font-size: 24px;
}

.kontakt-list {
    display: grid;
    gap: 18px;
    margin: 0;
}

.kontakt-list div {
    display: grid;
    gap: 4px;
}

.kontakt-list dt {
    color: #666;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.kontakt-list dd {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.kontakt-list a {
    color: #111;
    text-decoration: none;
}

.kontakt-list a:hover {
    text-decoration: underline;
}

.kontakt-map {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 6px;
    aspect-ratio: 16 / 10;
    background: #e8e8e8;
}

.kontakt-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.kontakt-form-card {
    background: #fafafa;
}

.kontakt-form {
    display: grid;
    gap: 16px;
}

.kontakt-form label {
    display: grid;
    gap: 6px;
    color: #444;
    font-size: 14px;
    font-weight: 700;
}

.kontakt-form input,
.kontakt-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    padding: 11px 12px;
    color: #111;
    background: #fff;
    font: inherit;
}

.kontakt-form textarea {
    resize: vertical;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
    outline: 2px solid rgba(31, 122, 99, 0.18);
    border-color: #1f7a63;
}

.kontakt-captcha {
    max-width: 220px;
}

.kontakt-form button {
    justify-self: start;
    border: 0;
    border-radius: 5px;
    padding: 12px 24px;
    color: #fff;
    background: #1f7a63;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.kontakt-form button:hover {
    background: #17634f;
}

.kontakt-success,
.kontakt-error {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 5px;
    font-weight: 700;
}

.kontakt-success {
    color: #17634f;
    background: #e7f4ef;
}

.kontakt-error {
    color: #9f1d18;
    background: #fde9e8;
}

@media (max-width: 900px) {
    .about-container {
        padding: 92px 24px 0;
    }

    .about-title {
        margin-bottom: 34px;
        font-size: 34px;
    }

    .about-intro {
        margin-bottom: 34px;
        font-size: 15px;
    }

    .about-list,
    .about-red-content {
        font-size: 15px;
    }

    .about-list {
        margin-left: 24px;
    }

    .about-red-content h2 {
        font-size: 21px;
    }

    .kontakt-page {
        padding-top: 92px;
    }

    .kontakt-container h1 {
        font-size: 34px;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-card {
        padding: 26px 22px;
    }

    .kontakt-list dd {
        font-size: 18px;
    }
}
/* menu uprostřed */
.hero-menu a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
}

/* ABOUT */
.about {
    background: #eee;
    padding: 60px 20px;
}

.right a {
    color: black;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
}

.container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    gap: 50px;
}

.container .left,
.container .right {
    flex: 1;
}



/* dropdown wrapper */
.dropdown {
    position: relative;
    cursor: pointer;
    font-weight: 500;
    font-size: 25px;
}

.dropdown-home {
    position: relative;
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
    padding-left: 15px;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dropdown-arrow {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.dropdown-con,
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 150px;
    z-index: 1000;
}

.dropdown-content {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 6px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.dropdown-con {
    background: white;
}

.dropdown-con.active ,
.dropdown-content.active {
    display: block;
}

.dropdown-content a {
    color: white;       /* text tmavý */
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px!important;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.dropdown-content a {
    color: #222;
}

.dropdown-content a:hover {
    background: rgba(0, 0, 0, 0.06);
}

.dropdown-con a {
    color: black;       /* text tmavý */
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px!important;
}



@media (max-width: 768px) {

    .dropdown-content {
        position: static;
        display: none;
        padding-left: 10px;
    }

    .dropdown-content.active {
        display: block;
    }

    .dropdown {
        font-size: 15px;
    }

    .container{
        flex-direction: column;
    }
}

.menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .menu {
        display: flex;
        flex-direction: column;
        gap: 10px; /* mezery */
    }
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.order-table th,
.order-table td {
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.order-table img {
    border-radius: 6px;
}

.cart-section,
.checkout-section {
    margin: 0 0 34px;
}

.cart-section h2,
.checkout-section h4 {
    margin: 0 0 8px;
}

.cart-section-order h2,
.cart-section-request h2 {
    text-align: center;
    font-size: 42px;
}

.cart-section-note,
.checkout-section p {
    margin: 0 0 18px;
    color: #555;
}

.cart-section-order .cart-section-note,
.cart-section-request .cart-section-note {
    text-align: center;
    font-size: 20px;
}

.cart-section-total {
    margin-top: 14px;
    text-align: right;
    font-size: 18px;
}

.cart-item-label {
    color: #8a2d24;
    font-weight: 700;
}

.cart-item-price {
    font-weight: 700;
}

.cart-item-actions {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.cart-item-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    justify-content: center;
}

.cart-item-package {
    color: #555;
    font-size: 16px;
}

.cart-item-cta {
    display: flex;
    gap: 8px;
    justify-content: center;
}


.total {
    text-align: right;
    font-size: 18px;
    margin: 15px 0;
}

.checkout {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

.checkout-actions .btn-primary,
.checkout-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 118px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    flex: 0 1 auto;
}

.checkout-actions .btn-secondary {
    border: 1px solid #1f7a63;
    color: #1f7a63;
    background: #fff;
}

.checkout-actions .btn-secondary:hover {
    background: #eef5f2;
}

@media (max-width: 560px) {
    .checkout {
        width: 100%;
        padding: 22px 16px;
        box-sizing: border-box;
    }

    .checkout-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .checkout-actions .btn-primary,
    .checkout-actions .btn-secondary {
        width: 100%;
        min-width: 0;
    }
}

.thank-you-card {
    max-width: 680px;
    margin: 70px auto;
    padding: 44px 48px;
    text-align: center;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.thank-you-card h1 {
    margin: 0 0 24px;
}

.thank-you-status {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    color: #1f7a63;
    font-size: 22px;
    font-weight: 700;
}

.thank-you-status p,
.thank-you-note {
    margin: 0;
}

.thank-you-note {
    color: #555;
    font-size: 18px;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.thank-you-actions .btn-primary,
.thank-you-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    box-sizing: border-box;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.thank-you-actions .btn-secondary {
    border: 1px solid #1f7a63;
    color: #1f7a63;
    background: #fff;
}

.checkout h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 40px;
    width: 94%;
}

.btn {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.btn:hover {
    background: #218838;
}

.radio-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.radio-box {
    border: 2px solid #ccc;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.radio-box input {
    display: none;
}

.radio-box:has(input:checked) {
    border-color: #28a745;
    background: #e6f4ea;
}

.zakaznik{
    display: flex;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}
