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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background-color: #f8fafc;
    color: #1e293b;
}

nav {
    background-color: #ffffff;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3b82f6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    padding: 4rem 0;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('strug_4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.4rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.services-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.services-image img:hover {
    transform: scale(1.02);
}

.services-list {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
}

.services-list h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #1e293b;
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 5px 20px;
    background-color: #444040;
    border-radius: 10px;
}

.services-list ul {
    list-style-position: inside;
    color: #475569;
    font-size: 1.1rem;
}

.services-list li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.services-list li::before {
    content: "•";
    color: #ffffff;
    position: absolute;
    left: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.contact-info h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #1e293b;
}

.contact-details {
    color: #475569;
    font-size: 1.1rem;
}

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-container {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item h3 {
    padding: 1rem;
    font-size: 1.2rem;
    color: #1e293b;
}

h2 {
    color: #1e293b;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .services-image img {
        height: 300px;
    }
}




/* POKUSAJ GALERIJE */



.kont {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.img-before,
.img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-before {
    z-index: 2;
    overflow: hidden;
    width: 50%;
}

.img-before img,
.img-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    z-index: 3;
    cursor: ew-resize;
}

.line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gallery-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-item h3 {
    text-align: center;
    margin-top: 1rem;
    color: #333;
}

/* Footer */

.foter {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    max-height: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer {
    background-color: #000000;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 10px;
    }

    .services-grid {
        flex-direction: column;
        text-align: center;
    }

    .services-image img {
        margin-bottom: 20px;
    }

    .contact-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .services-list h2 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.8rem;
    }
}