﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Azo Sans Uber';
    src: url('fonts/Azo-Sans-Uber-Regular.otf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    background-color: #001319;
    overflow-x: hidden;
    width: 100%;
}

.container {
    padding: 0 10%;
}

@media(max-width: 768px) {
    .container {
        padding: 0 5%;
    }
}

/*-------- Header --------*/

header {
    display: flex;
    box-sizing: border-box;
    justify-content: space-between; /* Rozdelí priestor medzi prvkami */
    align-items: center; /* Zarovná prvky vertikálne na stred */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #001319;
    color: white;
    z-index: 1;
    padding: 0 10%; /* Pridá vnútorné okraje pre vyváženie obsahu */
}

.language-dropdown {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 80px;
}

    .language-dropdown button {
        background: none;
        border: none;
        cursor: pointer;
    }

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

    .dropdown-content button {
        width: 100%;
        padding: 10px;
        background-color: #001319;
        border: none;
        cursor: pointer;
    }

        .dropdown-content button:hover {
            background-color: #215DFF;
        }

.language-dropdown.show .dropdown-content {
    display: block;
}

.header-logo {
    margin-right: auto; /* Odstráni pozíciu a priradí zarovnanie na začiatok */
}

.button-nav {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

    .button-nav button {
        flex: 1;
        height: 100%;
        border: none;
        color: #EFE6D0;
        background-color: #001319;
        text-align: center;
        cursor: pointer;
        font-style: normal;
        font-weight: bold;
        font-size: 14px;
        line-height: 21px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
        margin: 0 5px;
    }

        .button-nav button:hover {
            color: #215DFF;
            text-decoration: underline;
        }

.social-icons-header {
    gap: 10px;
    margin-left: auto;
    display: flex;
}

/*Responsive adjustments for Header*/
@media (max-width: 768px) {
    .button-nav {
        gap: 5%;
        justify-content: center;
        flex: 1;
    }

        .button-nav button {
            flex: none;
            width: auto;
            margin: 0;
        }

            .button-nav button:hover {
                color: #EFE6D0;
                text-decoration: none;
            }

    .language-dropdown {
        margin-left: 0%;
    }

    header {
        padding: 0 5%;
        width: 100%;
        height: 80px;
        align-items: flex-end;
        padding-bottom: 5%;
        overflow: hidden;
    }

    .header-logo {
        width: 70px;
    }

    .social-icons-header {
        display: none;
    }
}

@media(max-width: 400px) {
    .button-nav {
        gap: 5%;
    }

    header {
        height: 70px;
    }

    .header-logo {
        width: 50px;
    }
}

/*-------- Sections --------*/

.content-section {
    margin-top: 100px; /*odstup kvoli fixnemu headeru*/
    min-height: 70vh; /*aby boli sekcie viditelne cez celu obrazovku*/
    width: 100%;
}

.main-picture {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("images/00.png");
    width: 100vw;
    height: 99vh;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

.headline-texts {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    color: #EFE6D0;
}

    .headline-texts h1 {
        color: #EFE6D0;
        font-size: 80px;
        line-height: 90px;
        font-family: 'Azo Sans Uber', sans-serif;
        letter-spacing: 0;
        margin-left: 10vw;
    }

    .headline-texts p {
        color: #EFE6D0;
        font-size: 28px;
        line-height: 42px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
        font-weight: bold;
        margin: 0;
        width: 355px;
        margin-left: 10vw;
    }

.section-title-wrapper {
    text-align: center;
    margin-top: 99vh;
}

.section-title {
    display: inline-block;
    text-align: center;
    position: relative;
    margin-top: 60px;
    margin-bottom: 100px;
    color: #EFE6D0;
    font-size: 42px;
    line-height: 54px;
    font-family: 'Azo Sans Uber', sans-serif;
    letter-spacing: 0;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 2px;
        background-color: #215DFF;
    }

.table-layout {
    display: flex;
    flex-direction: column;
    gap: 72px;
    margin: 0;
}

.table-row {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    gap: 107px;
    align-items: center;
}

.text-container {
    display: flex;
    width: 49%;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.table-row img {
    width: 49%;
    height: auto;
    object-fit: cover;
    align-items: center;
}

.table-row h4 {
    color: #215DFF;
    font-size: 18px;
    line-height: 27px;
}

.table-row p {
    color: #EFE6D0;
    font-size: 14px;
    line-height: 26px;
}

.table-row h4,
.table-row p {
    padding: 0;
    margin-bottom: 3%;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.table-row:nth-child(2) {
    flex-direction: row-reverse;
}

.video-container {
    width: 100%;
    margin-top: 100px;
    margin-bottom: 48px;
}

video {
    width: 100%;
    height: auto;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3%;
    margin: 0em auto;
    margin-bottom: 110px;
    width: 100%;
    max-width: 600px;
}

    .logos img {
        height: auto;
        flex-shrink: 1;
        max-width: 33.3%;
        object-fit: contain;
    }

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    width: 100%;
    margin: 0px auto 80px auto;
    position: relative;
}

.carousel-images-container {
    overflow: hidden;
}

.carousel-images {
    display: flex;
    gap: 1em;
    transition: transform 0.3s ease;
}

    .carousel-images img {
        width: calc(78vw/3);
    }

.carousel-left,
.carousel-right {
    position: absolute;
    top: 50%;
    width: 30px;
    height: auto;
    cursor: pointer;
    color: #EFE6D0;
    transform: translateY(-50%);
}

.carousel-left {
    left: -6%;
}

    .carousel-left:focus {
        outline: none;
        color: #215DFF;
    }

.carousel-right {
    right: -6%;
}

    .carousel-right:focus {
        outline: none;
        color: #215DFF;
    }

/*Indicator for carousel*/
.indicator-circle {
    display: none;
}

.indicator-oval {
    display: none;
}

@media(max-width: 768px) {
    .content-section {
        justify-content: center;
    }

    .main-picture {
        background-image: url("images/Mask Group 5.png");
    }

    .headline-texts {
        top: 35%;
    }

        .headline-texts h1 {
            font-size: 68px;
            line-height: 78px;
        }

    .section-title {
        margin-top: 20px;
        margin-bottom: 60px;
        font-size: 32px;
        line-height: 42px;
    }

    .table-row {
        display: grid;
        grid-template-areas:
            "image"
            "text";
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .text-container {
        grid-area: text;
        width: 100%;
    }

        .text-container h4 {
            width: 100%;
            margin-top: 1em;
            margin-bottom: 0.5em;
        }

    .table-row img {
        grid-area: image;
        width: 100%;
    }

    .text-container p {
        width: 100%;
    }

    .video-container {
        margin-top: 55px;
        margin-bottom: 24px;
    }

    .logos {
        margin: 0 10vw;
        margin-bottom: 64px;
        width: 70vw;
    }

    .carousel {
        margin: 0px auto 20px auto;
    }

    .carousel-images img {
        width: calc(90vw);
    }

    .carousel-left, .carousel-right {
        display: none;
    }

    .carousel-images-container{
        position: relative;
        width: 100%;
    }

    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 12px;
        width: 100%;
        position: absolute;
        margin-bottom: 36px;
    }

    .indicator-circle {
        display: initial;
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

    .indicator-oval {
        display: initial;
        width: 40px;
        height: 16px;
        transition: transform 0.3s ease;
    }
}

@media(max-width: 400px) {
    .content-section {
        margin-top: 50px;
    }

    .headline-texts h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .headline-texts p {
        font-size: 22px;
        line-height: 28px;
    }
}

/*-------- About us section --------*/

.section-aboutUs {
    position: relative;
    padding: 80px 0;
    color: #EFE6D0;
    width: 100%;
}

.about-us-background {
    position: absolute;
    top: 0;
    left: -12%;
    width: 100vw;
    height: 100%;
    background-image: url("images/Mask Group 6.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

.about-us-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 42px;
    line-height: 54px;
    font-family: 'Azo Sans Uber', sans-serif;
    letter-spacing: 1px;
    color: #EFE6D0;
    margin-bottom: 105px;
}

.about-container {
    display: flex;
    justify-content: space-between;
}

.about-content {
    width: 55%;
}

    .about-content p {
        font-size: 18px;
        line-height: 26px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
        color: #EFE6D0;
    }

.about-small-text {
    margin-top: 5%;
    font-size: 18px;
    line-height: 26px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0;
    color: #EFE6D0;
}

.team-members {
    margin-left: 10%;
    width: 50%;
    display: flex;
    justify-content: space-between;
    gap: 5%;
    align-content: center;
    align-items: center;
}

.member {
    text-align: center;
    color: #EFE6D0;
    align-items: center;
}

.member-photo {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

    .member-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.member h3 {
    margin: 5px 0;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0;
}

.member p {
    font-size: 18px;
    line-height: 30px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0;
}

@media(max-width: 768px) {
    .about-us-background {
        background-image: url("images/Group 397.svg");
        left: -8%;
    }

    .about-us-title {
        text-align: center;
        font-size: 32px;
        line-height: 42px;
    }

    .about-container {
        flex-direction: column;
    }

    .about-content {
        width: 100%;
    }

    .team-members {
        margin-left: 0;
        margin-top: 7%;
        width: 100%;
        align-items: flex-start;
        display: flex;
        justify-content: center;
        gap: 5%;
        flex-wrap: wrap;
    }

    .member{
        width: 45%;
    }

    .member-photo{
        width: 100%;
        max-width: none;
    }
}

/*-------- Contact section --------*/

.contact-section {
    min-height: 80%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 80px 0px;
}

.contact-info {
    width: 33%;
    max-width: 1000px;
}

    .contact-info h2 {
        font-family: 'Azo Sans Uber', sans-serif;
        letter-spacing: 1px;
        font-size: 42px;
        line-height: 54px;
        font-weight: bold;
        color: #EFE6D0;
        margin-bottom: 80px;
    }

    .contact-info p {
        line-height: 1.5;
        color: #EFE6D0;
        font-size: 24px;
        line-height: 34px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
    }

.contact-text {
    margin-bottom: 50px;
}

.contact-form {
    width: 55%;
    max-width: 1500px;
}

    .contact-form label {
        font-weight: bold;
        display: block;
        margin-top: 20px;
        margin-left: 10px;
        color: #EFE6D0;
        font-size: 18px;
        line-height: 26px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
    }

    .contact-form input:not([type="checkbox"]),
    .contact-form textarea {
        all: unset;
        box-sizing: border-box;
        display: block;
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border: 1px solid #EFE6D0;
        background-color: transparent;
        color: #EFE6D0;
        font-size: 18px;
        line-height: 26px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
    }

    .contact-form textarea {
        resize: vertical;
        height: 160px;
    }

.email-phone {
    display: flex;
    gap: 35px;
}

.input-half {
    width: 50%;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-top: 27px;
    color: #EFE6D0;
}

    .checkbox-container input[type="checkbox"] {
        margin-left: 10px;
        width: 20px;
        height: 20px;
        border: 3px solid #001319;
        border-radius: 6px;
        background-color: transparent;
        cursor: pointer;
    }

    .checkbox-container label {
        margin-top: 0px;
        margin-left: 10px;
        font-style: normal;
        font-weight: normal;
        font-size: 18px;
        line-height: 26px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
    }

    .checkbox-container a {
        color: #EFE6D0;
        text-decoration: underline;
    }

button[type="submit"] {
    margin-top: 60px;
    margin-bottom: 80px;
    width: 305px;
    height: 60px;
    padding: 10px 20px;
    font-size: 18px;
    line-height: 21px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0;
    font-weight: bold;
    color: #EFE6D0;
    background-color: #215DFF;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button[type="submit"]:hover {
        background-color: #1c54b2;
    }

@media(max-width: 768px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        width: 100%;
        padding-right: 0;
        align-items: center;
        justify-content: center;
    }

        .contact-info h2 {
            text-align: center;
            font-family: 'Azo Sans Uber', sans-serif;
            letter-spacing: 1px;
            font-size: 32px;
            line-height: 42px;
        }

        .contact-info p {
            display: none;
        }

    .contact-form {
        width: 100%;
    }

    .email-phone {
        flex-direction: column;
        gap: 0px;
    }

    .input-half {
        width: 100%;
    }

    .checkbox-container input[type="checkbox"] {
        margin-left: 0;
    }

    .checkbox-container label {
        width: 90%;
    }

    button[type="submit"] {
        width: 100%;
        margin-bottom: 60px;
    }
}

/*-------- Footer --------*/

.footer {
    background-color: #215DFF;
    width: 100%;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 10%;
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.8fr; /*tri stlpce*/
    gap: 20px;
    width: 100%;
    height: auto;
    color: #EFE6D0;
    text-align: left;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.logo-section {
    max-width: 305px;
}

    .logo-section p {
        color: #EFE6D0;
        font-style: normal;
        font-weight: bold;
        font-size: 18px;
        line-height: 36px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
    }

.footer-logo {
    margin-bottom: 30px;
    width: 121px;
    height: 72px;
}

.social-icons-footer {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a img {
    width: 24px;
    height: 24px;
}

.links-section h3,
.newsletter-section h3 {
    margin-top: 40px;
    margin-bottom: 10px;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 32px;
    font-family: 'Azo Sans Uber', sans-serif;
    letter-spacing: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0px 0px;
    cursor: pointer;
}

    .footer-links li {
        margin: 5px 0;
        font-style: normal;
        font-weight: normal;
        font-size: 18px;
        line-height: 36px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
    }

    .footer-links a {
        color: #EFE6D0;
        text-decoration: none;
    }

        .footer-links a:hover {
            text-decoration: underline;
        }

.newsletter {
    display: flex;
    width: 100%;
    align-items: flex-start;
    margin-top: 10px;
}

    .newsletter input {
        padding: 20px;
        border: none;
        height: 60px;
        margin-right: 0px;
        width: 100%;
        font-style: normal;
        font-weight: normal;
        font-size: 18px;
        line-height: 26px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0;
    }

    .newsletter img {
        width: 85px;
        height: 60px;
        background-color: #000;
        color: #EFE6D0;
        border: none;
        cursor: pointer;
    }

.footer-bottom {
    grid-column: span 3;
    border-top: 2px solid #e2e3e4;
    opacity: 0.5;
    margin-top: 20px;
    padding-top: 10px;
    text-align: center;
}

    .footer-bottom p {
        color: #efe6d0;
        opacity: 0.5;
        font: 'Poppins', sans-serif;
        font-size: 18px;
        line-height: 36px;
        font-style: normal;
        font-weight: normal;
        letter-spacing: 0;
    }

@media(max-width:768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        align-items: center;
    }

    .logo-section {
        display: flex;
        flex-direction: row;
        margin-bottom: 15px;
        margin-left: 0;
    }

    .footer-logo {
        width: 30vw;
        height: auto;
    }

    .logo-section p {
        display: none;
    }

    .social-icons-footer {
        justify-content: space-between;
        gap: 30px;;
        width: 40vw;
        align-items: center;
        margin-left: 30px;
    }

    .links-section,
    .newsletter-section {
        display: none;
    }

    .footer-bottom {
        grid-column: span 1;
        margin: 0 auto;
        width: 100%;
    }
}