@font-face {
    font-family: 'Gagalin';
    src: url('fonts/Gagalin-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    /*background: radial-gradient(ellipse at center, #004a99 10%, #4c8bc4 100%);*/
    background-image: url('images/background.png');
    background-size: cover;         /* roztáhne obrázek přes celé pozadí */
    background-repeat: no-repeat;   /* neopakuje obrázek */
    background-position: center;    /* vycentruje obrázek */
    background-attachment: fixed;
}

header {
    background: linear-gradient(to bottom, #ff762f, orange, transparent);
    color: #004a99;
    /*#0074d9*/
    padding: 40px 20px;
    text-align: center;
    position: relative; /* <- přidat */
    overflow: visible;   /* <- pro jistotu */
    z-index: 0;
    height: 60vh;
}

header .container {
    margin-top: 10px;
    padding: 20px 0;
}

.for-whom {
    margin-top: -5rem;
}

header h1 {
    font-size: 5.5rem;
    font-family: 'Gagalin', sans-serif;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: normal;
}

header .container p {
    color: #004a99;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo {
    position: absolute;
    max-width: 20vw;
    margin-bottom: 0px;
    top: 20px;
    left: 5vw;
}

.logo1 {
    position: absolute;
    max-width: 20vw;
    margin-bottom: 0px;
    top: 20px;
    right: 5vw;
}

h1 {
    font-size: 2.5rem;
    margin: 0;
}

strong {
    color: orange;
}

.container p {
    font-size: 1.2rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 30, 60, 0.5);
}

a {
    color: #0074d9;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff5a00;
}
.contact-info a {
    color: #ff762f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ff5a00;
}

.btn {
    display: inline-block;
    justify-content: center;
    display: flex;
    width: 20%;
    font-size: 1.2rem;
    margin-top: 20px;
    padding: 10px 25px;
    background-color: #ff5a00;
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #e14d00;
    transform: scale(1.05);
}

.container {
    width: 60%;
    margin: 0 auto;
    padding: 20px;
}

hr {
    width: 80%;
    justify-content: center;
    margin: 20px auto;
    border: 0;
    border-top: 2px solid #ff762f;
    position: relative;
    z-index: 1;
}

section {
    padding: 10px 0;
    text-align: justify;
}

section h2 {
    text-align: left;
}

.container h2 {
    color: #ff762f !important;
    font-family: 'Gagalin', sans-serif;
    font-weight: normal;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 30, 60, 0.5);
}

ul {
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
}

ul li {
    position: relative;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 30, 60, 0.5);
    padding-left: 2rem;         /* posune celý odstavec doprava */
}

li {
    padding: 0.25rem 0;
}

ul li::before {
    content: "🚀";
    position: absolute;
    left: 0;
    color: #ff5a00;
}

footer {
    background: linear-gradient(to bottom, transparent, orange 35%, #ff762f 100%);
    /*background-color: #f2f2f2;*/
    padding: 2rem 0 0 0;
    text-align: center;
    font-size: 0.9rem;
    height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer p {
    margin: 0;
    color: #004a99 !important;
}

.animated-link {
    position: relative;
    color: #004a99;
    text-decoration: none;
    font-weight: bold;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;  /* ✅ tohle zarovná všechno na střed */
    justify-content: center;
    margin: 0 auto;
}

.contact {
    background-color: rgba(19, 30, 41, 0.1); /* velmi jemné pozadí */
    border: 3px solid #ff762f;
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    text-align: center;
}

.contact:hover {
    box-shadow: 0 12px 30px rgba(255, 118, 47, 0.3);
}

.contact h2 {
    font-size: 3rem;
    color: #ff762f;
    text-shadow: 1px 1px 2px rgba(0, 30, 60, 0.5);
    margin-bottom: 1rem;
    text-align: center;
}

.contact p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 30, 60, 0.5);
}

.form-group {
    width: 100%;
    display: flex;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #004a99;
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus {
    outline: none;
    border-color: #ff5a00;
}

.btn-form {
    display: inline-block;
    font-size: 1.2rem;
    margin: 0 auto;
    text-align: center;
    padding: 10px 25px;
    background-color: #ff5a00;
    color: white;
    text-decoration: none;
    width: 40%;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-form:hover {
    background-color: #e14d00;
    transform: scale(1.05);
}

.highlight {
    background-color: rgba(19, 30, 41, 0.1); /* velmi jemné pozadí */
    border-left: 4px solid #ff5a00;
    border-right: 4px solid #ff5a00;
    padding: 1.2rem 2.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 1.2rem;
    line-height: 1.6;
    transition: box-shadow 0.3s ease;
}

.highlight li {
    font-size: 1.2rem;
}

.highlight:hover {
    box-shadow: 0 6px 20px rgba(255, 118, 47, 0.3);
    border-left-color: #ff762f;
    border-right-color: #ff762f;
}

.link-to-form {
    color: #004a99;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.link-to-form:hover {
    color: #ff5a00;
    text-decoration: underline;
    text-decoration-color: #ff5a00 !important;
    text-underline-offset: 4px;
}

.outro {
    color: #ffffff;
    text-align: center;
    padding: 3rem 1.5rem 0 1.5rem;
    font-size: 1.2rem;
    line-height: 1.7;
    border-top: 4px solid #ff762f;
    font-weight: 400;
}

.outro strong {
    color: #ff762f;
    font-weight: 700;
}

.profile {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    text-align: justify;
}

.profile-img {
    max-width: 250px;
    margin: 0;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.profile-img-no-shadow {
    max-width: 300px;
    margin: 0;
    width: 100%;
    border-radius: 12px;
    flex-shrink: 0;
}

.profile-text {
    flex: 1;
    min-width: 250px;
}

.proc_vznika_phone {
    display: none;
}

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

    .profile-text {
        text-align: left;
    }
}

.checkbox {
    display: flex;
    color: white;
}

.checkbox input {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: #ff5a00; /* barva za zaškrtnutí */
}

@keyframes slideInDown {
    0% {
        transform: translate(-50%, -200%);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    0% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 200%);
        opacity: 0;
    }
}

.flash-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff5a00;
    color: white;
    padding: 10px 25px;
    font-size: 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
    z-index: 9999;
    opacity: 0;
    pointer-events: auto;
}

.flash-box.show-in {
    animation: slideInDown 0.6s ease forwards;
}

.flash-box.show-out {
    animation: slideOutDown 0.6s ease forwards;
}

#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: -60px; /* začíná mimo obrazovku */
    padding: 12px 16px;
    font-size: 20px;
    background-color: #ff5a00;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    transition: right 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* aktivní zobrazení tlačítka */
#scrollToTop.show {
    right: 30px;
    opacity: 1;
}
