body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}



/* Header Styling */
header {
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    background: url('images/slika1.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

nav {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 1;
}

nav .logo {
    font-size: 36px;
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
}

nav .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav .nav-links li {
    margin: 0 15px;
}

nav .nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

nav .nav-links a:hover,
nav .nav-links a:focus {
    color: #bf00ff;
}

.hero-content {
    text-align: center;
    color: white;
    margin-top: 60px; /* Adjust based on nav height */
}

.hero-content h1 {
    font-size: 3em;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    margin-top: 20px;
}

.btn {
    text-decoration: none;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 5px;
}

.primary-btn {
    background-color: #bf00ff; 
    color: #fff; 
    border: 2px solid #bf00ff;
    text-decoration: none;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.primary-btn:hover {
    background-color: #a000d1; 
    color: #fff; 
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: white;
    color: #bf00ff;
}


img {
    max-width: 100%;
    height: auto; 
}

.container {
    width: 100%; 
    box-sizing: border-box;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.promo, .cards, .additional-info {
    background-color: white;
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 100%;
}

.promo:hover, .cards:hover, .additional-info:hover {
    transform: translateY(-5px);
}

.cards ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0;
}

.cards li {
    background-color: #ffffff;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    width: 200px;
}

.cards img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.contact-info img {
    width: 20px;
    margin-right: 10px;
}

.contact-info .btn {
    text-align: center;
    background-color: #bf00ff;
    color: white;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-info .btn:hover {
    background-color: #a000d1;
    transform: scale(1.05);
}

footer {
    background-color: #f0f0f0; 
    color: #333; 
    text-align: center; 
    padding: 15px; 
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    font-size: 1.1em; 
}

footer strong {
    color: #bf00ff; 
}

footer a {
    color: #bf00ff; 
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #a000d1;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; 
}

.hero-buttons .btn {
    width: 100%;
    max-width: 300px; 
    box-sizing: border-box;
    padding: 15px 30px;
}


@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row; 
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .cards ul {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5em; 
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2em; /* Veći font za mobilne uređaje */
    }
    p {
        font-size: 1.1em;
    }
}


@media (max-width: 376px) {
    .hero-buttons {
        flex-direction: column; 
        align-items: center;
    }

    .btn {
        width: 90%;
        max-width: none; 
    }

    .hero h1 {
        font-size: 2em; 
    }

    .promo, .cards, .additional-info {
        padding: 10px; 
    }
    .hero-buttons .btn {
        padding: 10px 20px; /* Manji padding za mobilne uređaje */
        font-size: 14px; /* Manji font za mobilne uređaje */
    }
}
