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

/* Globálne štýly */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: black;
    overflow-x: hidden;
}

/* Navigácia */
.navbar {
    background: black;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #cf581d;
}

/* Hamburger menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: white;
    border: none;
    background: none;
    cursor: pointer;
}

/* Mobilné zobrazenie */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        background: black;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        text-align: center;
        padding: 10px 0;
    }
}

/* Hlavička */
.header {
    background: url('images/background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.big-heading {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #cf581d;
    text-align: center;
}

.sub-heading {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.header .btn {
    background: #cf581d;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.header .btn:hover {
    background: #ff7043;
}

/* Sekcie */
.section {
    padding: 60px 20px;
    background: #f0f8ff; /* Jemne modré pozadie */
    margin: 20px auto;
    border-radius: 10px;
    max-width: 1200px; /* Rovnaká šírka pre všetky sekcie */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: black;
}

.section h2 {
    color: #cf581d;
    margin-bottom: 20px;
    text-align: center;
}

.section p {
    text-align: justify;
    font-size: 1rem;
}

/* Grid riešení */
.grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.grid-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
}

.grid-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 10px;
}

.grid-item h3 {
    color: #cf581d;
    margin-bottom: 10px;
}

.grid-item p {
    color: #555;
}

/* Media Queries pre mobilné zariadenia */
@media (max-width: 768px) {
    .grid {
        flex-direction: column;
        gap: 15px;
    }

    .grid-item {
        width: 100%; /* Šírka na 100% pre mobil */
    }
}
