/* ==========================================================================
   Merit Access - Custom Styles
   Bootstrap 4.3 CSS z CDN, žádný jQuery, žádný Bootstrap JS
   ========================================================================== */

/* ---------- Fade-in animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn-contact {
    border-radius: 8px;
    background-color: #181818;
    border: 2px solid #181818;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-contact:hover,
.btn-contact:focus,
.btn-contact:active,
.btn-contact.active {
    color: #ffffff;
    background-color: #2cc1a7;
    border-color: #2cc1a7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 193, 167, 0.3);
}
.btn-contact.disabled,
.btn-contact[disabled],
fieldset[disabled] .btn-contact {
    background-color: transparent;
    border-color: #fefefe;
}

/* ---------- Utility ---------- */
.text-green {
    color: #4db79e;
}
.text-justify {
    text-align: justify;
}

/* ---------- Global ---------- */
body {
    background-color: #f0f0f0;
    height: 100%;
}
* {
    font-family: "Open Sans", sans-serif;
}
p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
}
a {
    color: #2cc1a7;
    transition: color 0.2s ease;
}
a:hover {
    color: #000000;
}
h2 {
    margin-top: 20px;
    margin-bottom: 14px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
}

/* ---------- Header language switcher ---------- */
.header-lang-switcher {
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
    text-align: right;
    font-size: 1.2rem;
    letter-spacing: 0.5rem;
}
.header-lang-switcher a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}
.header-lang-switcher a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* ---------- Active language ---------- */
.header-lang-switcher a.active {
    color: #ffffff;
}

/* ---------- Lock icon (original) ---------- */
.lock-row {
    height: 50px;
}
.lock-icon {
    margin-top: -90px;
    transition: transform 0.3s ease;
}
.lock-icon:hover {
    transform: scale(1.05);
}

/* ---------- Header navigation buttons ---------- */
.header-nav {
    display: flex;
    gap: 10px;
}
.btn-nav {
    border-radius: 8px;
    background-color: #181818;
    border: 2px solid #181818;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-nav:hover {
    background-color: #2cc1a7;
    border-color: #2cc1a7;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 193, 167, 0.3);
}
.btn-nav.active {
    background-color: #2cc1a7;
    border-color: #2cc1a7;
    color: #ffffff;
}
@media (max-width: 575px) {
    .header-nav {
        justify-content: center;
        width: 100%;
    }
    .btn-nav {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
}

/* ---------- Inline style replacements ---------- */
.schema-img {
    width: 480px;
    max-width: 100%;
    transition: transform 0.3s ease;
}
.schema-img:hover {
    transform: scale(1.02);
}
.section-divider {
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 0 3rem;
}
.form-message {
    color: #d00;
}

/* ---------- Lists ---------- */
ul.benefits,
ul.references {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 15px;
    padding-top: 10px;
}
ul.benefits > li,
ul.references > li {
    line-height: 1.6;
    list-style-type: none;
    margin-bottom: 10px;
    position: relative;
    font-size: 0.9rem;
    color: #444;
    transition: transform 0.2s ease;
}
ul.benefits > li:hover,
ul.references > li:hover {
    transform: translateX(4px);
}
ul.benefits > li > a,
ul.references > li > a {
    color: #000000 !important;
    text-transform: uppercase;
}
ul.benefits {
    padding-left: 20px;
}
ul.references {
    padding-left: 30px;
}
ul.benefits li:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: #2cc1a7;
    border-radius: 50%;
    position: absolute;
    left: -18px;
    top: 8px;
    transition: transform 0.2s ease;
}
ul.benefits li:hover:before {
    transform: scale(1.4);
}
ul.references li:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: #2cc1a7;
    border-radius: 50%;
    position: absolute;
    left: -20px;
    top: 8px;
    transition: transform 0.2s ease;
}
ul.references li:hover:before {
    transform: scale(1.4);
}

/* ---------- Banner ---------- */
.banner-access {
    background-image: url(../images/pict2.png);
    position: relative;
    z-index: 100;
    overflow: hidden;
}
.banner-access .part-image {
    text-align: right;
    height: 250px;
}
.banner-access .part-image img {
    transition: transform 0.4s ease;
}
.banner-access:hover .part-image img {
    transform: scale(1.05) rotate(3deg);
}
.banner-access .part-text {
    color: #ffffff;
    font-style: italic;
    font-size: 1.75rem;
    padding-left: 20px;
    height: 250px;
}

/* ---------- Contact info ---------- */
@media (min-width: 992px) {
    .contact-info .or {
        max-width: 400px;
    }
}
.contact-table {
    padding: 2px 0;
}

/* ---------- Footer ---------- */
footer {
    background-color: #1b1b1b;
}
footer * {
    color: #646464;
}
footer .footer-cover-2 {
    padding-top: 30px;
    padding-bottom: 30px;
}
@media (max-width: 767px) {
    footer .footer-cover-2 {
        padding-left: 30px;
        padding-right: 30px;
    }
}
footer .footer-cover-2 > .container {
    padding-bottom: 30px;
    border-bottom: 1px solid #313131;
}
footer .footer-cover-2 .footer-cover-2-container {
    padding-top: 15px;
}
footer .footer-cover-2 .footer-budme {
    font-size: 1.5em;
    font-style: italic;
    font-weight: 600;
}
footer .footer-cover-2 .contact-title {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 1px;
}
@media (max-width: 767px) {
    footer .footer-cover-2 .contact-title {
        margin-top: 20px;
        margin-bottom: 0;
        display: block !important;
    }
}
footer .footer-cover-2 .contact-value {
    color: #58dfc8;
    display: block;
    font-size: 1.3em;
    margin-top: 20px;
}
@media (max-width: 767px) {
    footer .footer-cover-2 .contact-value {
        margin-top: 20px;
        margin-bottom: 10px;
    }
}
footer .footer-cover-2 .contact-value a {
    color: #58dfc8;
}
footer .footer-cover-2 .social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}
footer .footer-cover-2 .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8em;
    height: 1.8em;
    background: #58dfc8;
    border-radius: 50%;
    color: #1b1b1b;
    transition: all 0.3s ease;
}
footer .footer-cover-2 .social-icon:hover {
    background: #2cc1a7;
    color: #ffffff;
    transform: translateY(-2px);
}
footer .footer-cover-2 .social-icon svg {
    width: 1em;
    height: 1em;
}
footer .footer-cover-3 {
    padding-top: 0;
    padding-bottom: 30px;
}
@media (max-width: 767px) {
    footer .footer-cover-3 {
        padding-left: 30px;
        padding-right: 30px;
    }
}
footer .footer-cover-3 .footer-cover-3-left {
    margin-top: 10px;
}
footer .footer-cover-3 .footer-dcerinne {
    font-size: 1.5em;
    font-style: italic;
    font-weight: 600;
}
footer .footer-cover-3 .logo-mobile a {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: inline-block;
}
footer .footer-cover-3 .logo-mobile a:hover {
    opacity: 1;
}
@media (max-width: 767px) {
    footer .footer-cover-3 .logo-mobile img:nth-child(1) {
        margin-top: 20px;
    }
    footer .footer-cover-3 .logo-mobile img:nth-child(2),
    footer .footer-cover-3 .logo-mobile img:nth-child(3) {
        margin-top: 30px;
    }
}
footer .footer-cover-4 {
    background-color: #141414;
    font-size: 0.92em;
    padding-bottom: 30px;
    padding-top: 30px;
    width: 100%;
}
footer .footer-cover-4 .row {
    display: block;
    margin-right: 0;
    margin-left: auto;
    text-align: right;
}
@media (max-width: 767px) {
    footer .footer-cover-4 {
        min-height: 100px;
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    footer .footer-cover-4 {
        min-height: 80px;
        padding-top: 10px;
    }
}
footer .footer-cover-4 a {
    transition: color 0.2s ease;
}
footer .footer-cover-4 a:hover {
    color: #888888;
}

/* ---------- Parallax / Header (čistý CSS, bez JS) ---------- */
.parallax {
    height: 526px;
    position: relative;
    z-index: 100;
}
.parallax-bg {
    background-color: #95958a;
    background-image: url("../images/green.png"), url("../images/access-header_wide.jpg");
    background-position: center top, right top;
    background-repeat: repeat-x, no-repeat;
    background-size: 100% 126px, auto 526px;
    background-blend-mode: multiply;
    height: 526px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 50;
}
.parallax-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
    pointer-events: none;
}
@media (max-width: 767px) {
    .parallax-bg {
        background-image: none;
    }
}
.parallax-color {
    background-color: #95958a;
    height: 526px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}
.claim-cover {
    padding-left: 0;
}
.claim-cover .claim {
    color: #fff;
    font-style: italic;
    font-size: 1.75rem;
    margin-top: 60px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 575px) {
    .claim-cover .claim {
        font-size: 1.35rem;
        margin-top: 20px;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    .claim-cover .claim {
        font-size: 1.25rem;
        margin-top: 40px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .claim-cover .claim {
        font-size: 1.5rem;
        margin-top: 40px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .claim-cover .claim {
        font-size: 1.75rem;
        margin-top: 60px;
        max-width: 540px;
    }
}
@media (min-width: 1200px) {
    .claim-cover .claim {
        font-size: 1.75rem;
        margin-top: 50px;
        max-width: 540px;
    }
}
@media (max-width: 767px) {
    .claim-cover .link-cover {
        display: block;
        text-align: center !important;
    }
    .claim-cover .link-cover .link-to-portfolio {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
.cover {
    background-repeat: no-repeat;
}

/* ---------- Wrapper / Content ---------- */
.wrapper {
    height: 100%;
    top: 400px;
}
.wrapper .content {
    position: relative;
    background-color: #fff;
    margin-top: -50px;
    margin-bottom: 0;
    z-index: 90;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
}
.wrapper .content > .row:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

/* ---------- Form: Floating Labels ---------- */
.float-label {
    position: relative;
}
.float-label label {
    position: absolute;
    top: 11px;
    left: 16px;
    font-size: 0.85rem;
    color: #aaa;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 4px;
    margin: 0;
    z-index: 1;
    line-height: 1;
}
.float-label .form-control:focus ~ label,
.float-label .form-control:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 12px;
    font-size: 0.72rem;
    color: #2cc1a7;
    font-weight: 600;
    background: #fff;
}
.form-access .form-control {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-access .form-control:focus {
    border-color: #2cc1a7;
    box-shadow: 0 0 0 3px rgba(44, 193, 167, 0.15);
    outline: none;
}
.form-access .form-control::placeholder {
    color: transparent;
}
.form-access textarea.form-control {
    resize: vertical;
    min-height: 120px;
    padding: 10px 16px;
}
.form-access .form-group {
    margin-bottom: 1rem;
}
.form-access .form-row {
    margin-left: -8px;
    margin-right: -8px;
}
.form-access .form-row > .form-group {
    padding-left: 8px;
    padding-right: 8px;
}
.form-access .btn-contact {
    margin-top: 8px;
}

/* ---------- Download area ---------- */
.download-area {
    background: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 8px;
    margin-top: 20px;
    min-height: 200px;
}
