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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('Assets/Pozadie.png') no-repeat center center fixed;
    background-size: 110% 110%; 
    background-color: #e0f7ff;
    min-height: 100vh;
    overflow-x: hidden; 
}

body.menu-open {
    overflow: hidden; 
}

.main-wrapper {
    background: transparent;
    margin: 0 auto; 
    overflow: visible;
}

.site-header {
    width: 100%; 
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 20px 0; 
    background-color: #ffffff; 
    border-bottom: 1px solid #eee; 
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px; 
    width: 100%;
    padding: 0 40px; 
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: bold;
    color: #000;
}

.menu-toggle {
    display: none; 
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #000;
    z-index: 20;
    padding: 5px 10px;
}

.main-nav {
    flex-grow: 1; 
    display: flex;
    justify-content: center; 
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1.1em;
    padding-bottom: 5px;
    transition: color 0.3s, border-bottom 0.3s;
}

.main-nav ul li a.active, .main-nav ul li a:hover {
    color: #000;
    border-bottom: 2px solid #000;
}

.btn-login {
    background-color: #000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s;
    z-index: 11;
    margin-left: 20px; 
}

.btn-login:hover {
    background-color: #333;
}

.hero-section {
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: visible;
    background-image: linear-gradient(to bottom, white 0%, white 40%, rgba(255, 255, 255, 0) 65%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0.5) 95%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0.5) 95%, rgba(0,0,0,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 60px 40px;
    color: #222;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #000;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 0;
    color: #004d80;
    font-weight: 500;
}

.content-section {
    padding: 80px 40px;
    min-height: 40vh;
    background-color: rgba(255, 255, 255, 0.8); 
    border-top: none; 
    position: relative;
    z-index: 1;
}

.content-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
}

.content-section p, .content-section ul {
    font-size: 1.1em;
    color: #444;
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
}

.content-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 30px;
}

.content-section ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    margin-left: 20%;
    margin-right: 20%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 30px auto 0 auto;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

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

.contact-form .btn-cta {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.contact-form .btn-cta:hover {
    background-color: #0056b3;
}

@media (max-width: 900px) {
    .site-header {
        padding: 0; 
        height: auto;
        min-height: 60px;
        flex-direction: column; 
        align-items: center; 
        justify-content: flex-start; 
        position: relative; 
    }

    .header-content {
        max-width: 100%;
        width: 100%;
        padding: 15px 20px; 
        display: flex; 
        justify-content: space-between; 
        align-items: center;
        flex-wrap: nowrap;
    }

    .logo {
        margin: 0;
    }

    .btn-login {
        order: 2; 
        margin-left: 10px;
        position: relative; 
        z-index: 11;
        background-color: #000; 
    }

    .menu-toggle {
        display: block;
        order: 3;
        margin-left: 10px;
        position: relative;
        z-index: 20;
    }
    
    .main-nav {
        display: none; 
        flex-direction: column;
        position: absolute; 
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 9;
        overflow-y: auto;
        max-height: calc(100vh - 60px);
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .main-nav.active {
        display: flex;
        transform: translateY(0);
        align-items: center;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
        padding-top: 20px; 
    }

    .main-nav ul li a {
        padding: 10px 0;
        font-size: 1.2em;
        display: block;
        width: 100%;
        text-align: center;
    }

    .main-nav.active::before { 
        content: 'VITOS'; 
        font-family: 'Playfair Display', serif;
        font-size: 2em;
        font-weight: bold;
        color: #000;
        margin-bottom: 20px;
        display: block;
        text-align: center;
    }

    .main-nav.active::after { 
        content: 'Prihlásenie';
        background-color: #000; 
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: bold;
        margin-top: 20px;
        margin-bottom: 20px; 
        cursor: pointer;
        display: inline-block; 
        width: auto;
    }

    .site-header .logo,
    .site-header .btn-login {
        display: none;
    }
    .site-header .menu-toggle {
        display: none; 
    }

    .site-header:not(.main-nav.active) .logo,
    .site-header:not(.main-nav.active) .menu-toggle {
        display: flex; 
    }

    .hero-section {
        position: relative;
        z-index: 1;
    }
}

#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: white;
    padding: 20px 40px;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

#cookie-banner p {
    margin: 0;
    margin-right: 20px;
    font-size: 0.9em;
}

#cookie-banner button {
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    flex-shrink: 0;
}

#cookie-banner button:hover {
    background-color: #eee;
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    #cookie-banner p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    color: #007bff;
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #333;
}

.modal-content .btn-cta {
    background-color: #007bff;
}
.modal-content .btn-cta:hover {
    background-color: #0056b3;
}