body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #240f0e;
    padding: 1rem;
    position: relative;
    width: 100%;
}

header h1 {
    margin: 0;
    color: #ec2327;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center; /* Horizontálne centrovanie */
    margin-bottom: 20px; /* Vytvorí priestor medzi logom a navigáciou */
}

.logo {
    width: 200px; /* Nastavte veľkosť loga */
    height: auto;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 2rem;
}

.menu-toggle {
    display: none;
    background-color: #240f0e;
    border: none;
    color: #ec2327;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 1rem;
}

.nav-links li a {
    color: #ec2327;
    text-decoration: none;
}

.contact-info {
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    flex-grow: 1;
    color: #240f0e;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-header h2 {
    margin: 0;
    font-size: 2rem;
    padding-bottom: 0.5rem;
    /* Adjust padding-bottom to move the text up */
    color: #240f0e;
}

.contact-header i {
    font-size: 6rem;
    color: #240f0e;
    margin-top: 2rem;
    /* Move the envelope down */
}

.contact-info p {
    margin: 0.25rem 0;
    /* Adjust margin to move the text up */
    color: #240f0e;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    /* Add margin-top to separate sections */
}

.contact-info ul li {
    margin: 0.5rem 0;
    color: #240f0e;
}

footer {
    background-color: #240f0e;
    color: #ec2327;
    padding: 1rem;
    text-align: center;
    position: relative;
    width: 100%;
    margin-top: auto;
}

/* Hamburger Menu Icon Styles */
.hamburger-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ec2327;
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ec2327;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

/* When menu is active */
.menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.menu-toggle.active .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 0;  /* Position the menu at the top */
        left: 0;
        background-color: #240f0e;
        padding: 1rem 0;
        z-index: 10;  /* Ensure the menu appears above the banner */
        margin-top: 60px; /* Adjust this value to move menu items down */
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }
    .menu-toggle {
        display: block;
        margin-bottom: 1rem;
    }
    nav {
        width: 100%;
        position: relative;
    }
    .contact-info {
        padding: 1rem;
        max-width: 90%;
        margin: 0 auto;
        color: #240f0e;
    }
    .contact-header h2 {
        font-size: 1.5rem;
        color: #240f0e;
        padding-bottom: 0.5rem;
        /* Adjust padding-bottom to move the text up */
    }
    .contact-header i {
        font-size: 2.5rem;
        margin-top: 0.5rem;
        color: #240f0e;
    }
    .contact-info p {
        font-size: 1rem;
        color: #240f0e;
        margin: 0.25rem 0;
        /* Adjust margin to move the text up */
    }
    .contact-info ul {
        margin-top: 1.5rem;
        /* Add margin-top to separate sections */
    }
    .contact-info ul li {
        font-size: 1rem;
        color: #240f0e;
    }
}