/* Opći stilovi */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
    background-image: url("img/prvi3.png");
    background-repeat: repeat-y; 
}

header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 3rem;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    margin: 10px 0 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    margin: 0;
    padding: 10px 0;
    justify-content: line;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: flex;
    font-weight: bold;
    transition: background 0.3s ease;
    justify-content: space-around;
    flex-wrap: wrap;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.hero h2 {
    font-size: 2.5rem;
    margin: 0;
}

.hero p {
    font-size: 1.2rem;
    margin: 10px 0 20px;
}

.btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg,#2575fc,#6a11cb);
}

h2{
    align-self: center;
}

.o-nama, .destinacije, .kontakt, .uvod {
    padding: 40px 20px;
    text-align: center;
}

.o-nama-grid, .destinacije-grid, .uvod-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.o-nama-item, .destinacija, .uvod-item {
    background: linear-gradient(135deg, #e1c3ff, #cbdfff);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 30%;
    margin: 10px;
}

.destinacija img {
    width: 100%;
    border-radius: 10px;
}

.kontakt-forma {
    max-width: 60%;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

footer {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.video-container { 
    position: relative; 
    width: 100%; 
    padding-bottom: 56.25%; /* 16:9 aspect ratio */ 
    overflow: hidden;
 } 
 
.video-container iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
 }
    

/* Media queries za responzivnost */
@media (max-width: 768px) {

    body {
        background-image: url("img/drugi5.png");
        background-repeat: repeat-x;  
    }

    .o-nama-grid, .destinacije-grid {
        flex-direction: column;
        align-items: center;
    }

    .o-nama-item, .destinacija {
        width: 80%;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .destinacija img {
        width: 70%;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {

    body {
        background-image: url("img/treci3.png"); 
        background-repeat: repeat-x;  
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .hero {
        height: 50vh;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .destinacija img {
        width: 70%;
        border-radius: 10px;
    }
}