/* -------------------------------------------------------------- HEADER -------------------------------------------------------------------- */

/* Kontakt Header */
.kontakt-header {
    height: 68vh; /* Výška headeru */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.kontakt-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/back2.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    box-shadow: inset 0 50px 50px rgba(0, 0, 0, 1), inset 0 -50px 50px rgba(0, 0, 0, 1);
}

.kontakt-header .header-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.kontakt-header .header-content h1 {
    font-size: 50px; /* Velikost nadpisu */
    margin-bottom: 20px;
    font-weight: bold;
    color: white;
}

.kontakt-header .header-content p {
    font-size: 20px; /* Velikost podnadpisu */
    margin-bottom: 40px;
    color: #ffffff;
}

.kontakt-header .header-content .btn:hover {
    background-color: #6a2d42; /* Barva při hover */
}


/* Kontakt Form Section */
.kontakt-section {
    display: flex;
    flex-direction: column; /* Defaultní stackování na menších zařízeních */
    gap: 30px;
    padding: 50px 20px; /* Větší padding pro menší obrazovky */
    box-shadow: inset 0px 5px 25px rgba(0, 0, 0, 0.6);
}

/* -------------------------------------------------------------- /HEADER -------------------------------------------------------------------- */
/* -------------------------------------------------------------- FORMULAR + MAPA -------------------------------------------------------------------- */

.form-container {
    width: 100%; /* Full šířka na menších zařízeních */
}

.form-container h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.form-container p {
    font-size: 18px;
    margin-bottom: 20px;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container input, 
.form-container textarea {
    padding: 15px;
    margin-bottom: 15px;
    margin-top: 1px;
    border: none;
    background-color: #2d2d2d;
    color: white;
    border-radius: 5px;
    resize: none; /* Blokování resize */
    width: 100%;
}

.form-container button {
    padding: 15px 30px;
    background-color: #7A2B42;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #6a2d42;
}

.error-message {
    color: red;
    font-size: 0.9rem;
    margin: 0;
    padding-top: 4px;
    padding-left: 2%;
}

.btn {
    margin-bottom: 1vmin;
}

.btn:disabled {
    background-color: #885c69;
    cursor: not-allowed;
}
.btn:disabled:hover {
    background-color: #7a4655;
    
}

/* Stylování pro select */
select {
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    background-color: #2d2d2d; /* Stejné pozadí jako ostatní vstupy */
    color: white; /* Bílé písmo */
    border-radius: 5px;
    font-size: 16px; /* Stejná velikost písma jako ostatní vstupy */
    cursor: pointer;
    appearance: none; /* Skryje výchozí šipku pro různé prohlížeče */
    background-image: url('/img/ico/dropdown.svg'); /* Ikona pro dropdown */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* Při focus */
select:focus {
    outline: none; /* Skryje výchozí outline */
}

/* Stylování pro jednotlivé možnosti (option) */
option {
    background-color: #2d2d2d; /* Stejné pozadí */
    color: white; /* Bílé písmo */
    padding: 10px;
    border-radius: 5px;
}

/* Zvýraznění při hover (pro moderní prohlížeče) */
select option:hover {
    background-color: #7A2B42; /* Růžová barva při hover */
    color: #fff; /* Bílé písmo */
}


/* Kontakt Info Section */
.kontakt-info {
    width: 100%; /* Full šířka na menších zařízeních */
    display: flex;
    flex-direction: column;
}

.contact-details, 
.contact-person {
    background-color: #101010;
    padding: 20px;
    margin-bottom: 20px;
}

.contact-details h4, 
.contact-person h4 {
    color: #7A2B42;
    margin-bottom: 10px;
}

.contact-details p, 
.contact-person p, 
.contact-details a, 
.contact-person a {
    color: white;
    text-decoration: none;
}

/* Mapa styl */
.map-container {
    background-color: #101010;
    width: 100%; /* Full šířka na menších zařízeních */
}

/* -------------------------------------------------------------- /FORMULAR + MAPA -------------------------------------------------------------------- */

/* Použití fontu pouze na logo v navbaru */
.logo-center h1 {
    font-family: 'MadameCosmetics', sans-serif;
    font-size: 24px; /* Velikost fontu, uprav podle potřeby */
    color: white;
    font-weight: normal;
}

/* -------------------------------------------------------------- RESPONSIVNÍ DESIGN -------------------------------------------------------------------- */

@media (min-width: 768px) {
    .kontakt-section {
        flex-direction: row; /* Zarovnání do řádku na větších obrazovkách */
        justify-content: space-between;
    }

    .form-container {
        width: 50%; /* Polovina šířky na větších obrazovkách */
    }

    .kontakt-info {
        width: 45%; /* Polovina šířky na větších obrazovkách */
    }
}

@media (min-width: 1024px) {
    .kontakt-header h2 {
        font-size: 56px; /* Větší nadpis na širokých obrazovkách */
    }
}
