/* Globálne štýly */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigačný panel (navbar) */
header {
    background: #000;
    border-bottom: 2px solid #e60000;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #e60000;
    text-decoration: none;
}

header nav {
    display: flex;
    gap: 20px;
}

header nav a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: color 0.3s ease-in-out;
}

header nav a:hover {
    color: #e60000;
}

header nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #e60000;
    transition: width 0.3s ease-in-out;
}

header nav a:hover::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}

/* Mobilné štýly */
@media (max-width: 768px) {
    header nav {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 70px;
        right: 10px;
        background: rgba(0, 0, 0, 0.95);
        padding: 15px;
        width: 80%;
        max-width: 250px;
        border-radius: 10px;
        border: 2px solid #e60000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
        transform: translateY(-10px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        
        /* Upravíme zobrazenie odkazov pod sebou */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        
        /* Pridáme z-index, aby bolo menu "nad" ostatnými prvkami */
        z-index: 1200;
    }

    header nav.menu-active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    header nav a {
        font-size: 1.2rem;
        text-align: center;
        padding: 10px;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        border-radius: 5px;
        display: block; /* Každý odkaz na samostatný riadok */
        width: 100%;
    }

    header nav a:hover {
        background: #e60000;
        color: #fff;
        transform: scale(1.1);
    }

    .navbar-toggle {
        display: block;
        position: relative;
        z-index: 1100;
    }
}

/* Opakované štýly odkazov */
header nav a {
    font-size: 1.2rem;
    text-align: center;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

header nav a:hover {
    background: #e60000;
    color: #fff;
    transform: scale(1.1);
}

/* Efekt pre zobrazenie menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efekt pre modálne okno */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sekcia kontaktov */
.contact-section {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.contact-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.contact-form {
    flex: 2;
    padding: 40px;
    background: #fff;
    border-right: 2px solid #f0f0f0;
}

.contact-form h1 {
    color: #000;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9f9f9;
    color: #333;
    font-size: 1rem;
}

.contact-form .btn-submit {
    background: #e60000;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.contact-form .btn-submit:hover {
    background: #b30000;
    transform: scale(1.1);
    box-shadow: 0 0 10px #e60000;
}

/* Sekcia informácií */
.contact-info {
    flex: 1;
    padding: 40px;
    background: #111;
    color: #fff;
}

.contact-info h2 {
    color: #e60000;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Štýl pre odkazy (email, telefón, Facebook) */
.contact-info a {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
}

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

/* Štýl pre ikony */
.contact-info .icon {
    width: 20px;
    height: 20px;
}

/* Duplicitný blok informácií podľa pôvodného kódu */
.contact-info {
    flex: 1;
    padding: 40px;
    background: #111;
    color: #fff;
}

.contact-info h2 {
    color: #e60000;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
footer {
    background: #111;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #fff;
    margin-top: auto;
}

/* MODÁLNE OKNO */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Obsah modálneho okna */
.modal-content {
    background-color: #fff;
    padding: 20px 30px;
    width: 300px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

/* Text v modálnom okne */
.modal-content p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

/* Tlačidlo v modálnom okne */
.modal-content button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #e60000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.modal-content button:hover {
    background-color: #b30000;
}

/* Zelené modálne okno (úspech) */
.modal.success .modal-content {
    border: 2px solid #28a745;
    background-color: white;
    color: #28a745;
}

/* Červené modálne okno (chyba) */
.modal.error .modal-content {
    border: 2px solid #dc3545;
    background-color: white;
    color: #dc3545;
}

/* Animácia pre modálne okno */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Icony kontakty */
.contact-info .icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Footer Facebook */
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-icon img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease-in-out;
}

.footer-icon img:hover {
    transform: scale(1.2);
}

/* Nastavenie štýlu posuvníka */
/* Pre Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #e60000 #222;
}

/* Pre Webkit prehliadače (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #222;
}

::-webkit-scrollbar-thumb {
    background: #e60000;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}

/* Mediálne úpravy pre kontaktný formulár (na menších zariadeniach) */
@media (max-width: 768px) {
    .contact-section {
        padding: 24px 14px;
        align-items: flex-start;
    }

    .contact-container {
        flex-direction: column;
        width: 100%;
        border-radius: 10px;
    }
    .contact-form {
        border-right: none;
        border-bottom: 2px solid #f0f0f0;
        padding: 20px;
    }
    .contact-info {
        padding: 20px;
    }

    .contact-form h1,
    .contact-info h2 {
        font-size: 1.65rem;
    }

    .captcha-box {
        padding: 12px;
    }

    .modal-content {
        width: calc(100% - 32px);
        max-width: 340px;
    }
}
/* Security challenge and bot trap */
.bot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.captcha-box {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    background: #f7f7f7;
}

.captcha-box input {
    max-width: 120px;
    margin-top: 8px;
}

#formStatus {
    min-height: 1.4em;
}

.btn-submit:disabled {
    cursor: wait;
    opacity: 0.6;
}
