body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}
header, nav, footer {
    width: 100%;
    max-width: 1200px; /* Omejitev širine glave, navigacije in noge */
    margin: 0 auto; /* Centriranje */
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


nav {
    display: flex;
    justify-content: center;
    background-color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #575757;
}

.container {
    width: 100%;
    max-width: 1200px; /* Omejitev širine vsebine */
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    border-radius: 8px;
}
img {
    max-width: 100%;
    height: auto;
}

.section {
    margin-bottom: 60px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
}

.section h2 {
    color: #4CAF50;
    margin-bottom: 20px;
    font-size: 2em;
}

.section p {
    line-height: 1.6;
}

.section ul {
    list-style-type: none;
    padding: 0;
}

.section ul li {
    background-color: #f4f4f4;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
    font-weight: bold;
}

form input, form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #45a049;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}


footer p {
    margin: 0;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.service {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
}

.service img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

.service h3 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.service p {
    line-height: 1.6;
}
.enlarged {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}
.gallery {
    max-width: 800px; /* Omejitev širine galerije */
    margin: 0 auto; /* Centriranje */
}

.service {
    max-width: 800px; /* Omejitev širine posamezne storitve */
    margin: 0 auto; /* Centriranje */
}
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em; /* Manjša velikost naslova */
    }

    nav {
        flex-direction: column; /* Navigacijske povezave v stolpcu */
    }

    nav a {
        padding: 10px; /* Manjši odmik med povezavami */
    }

    .container {
        padding: 10px; /* Manjši odmik znotraj vsebine */
        margin: 10px auto;
    }

    .service {
        flex-direction: column; /* Slike in tekst v stolpcu */
        text-align: center;
    }

    .service img {
        width: 100%; /* Slika zapolni celotno širino */
        height: auto;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Stili za zelo majhne zaslone (širina zaslona manjša od 480px) */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.2em; /* Še manjša velikost naslova */
    }

    nav a {
        padding: 8px; /* Še manjši odmik med povezavami */
    }

    .container {
        padding: 5px; /* Minimalni odmik znotraj vsebine */
    }
}