body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.brand {
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 0;
}

nav li.active a {
    color: #4CAF50;
}

.hero {
    height: 500px;
    background-image: url('foto/Kvetnica/DSC_0802.JPG');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}


.hero-img {
    width: 10%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doc-img {
    width: 50%;
    height: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.overlay h1 {
    font-size: 40px;
    margin: 0;
}

.overlay p {
    font-size: 18px;
    margin: 5px 0 0 0;
}

.contact-section {
    padding: 40px;
    text-align: center;
}

.contact-section h2 {
    font-size: 24px;
    border-top: 1px solid #86b75b;
    border-bottom: 1px solid #86b75b;
    display: inline-block;
    padding: 10px 20px;
    color: #333;
}

.contact-section .icon {
    color: #4CAF50;
    font-size: 24px;
    margin-right: 8px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
}

.contact-block {
    text-align: left;
    max-width: 300px;
}

.contact-block h3 {
    font-weight: bold;
}

.company-info {
    margin-top: 40px;
    font-size: 14px;
    color: #555;
}

.email-label {
    display: inline-block;
    width: 45px;
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    .contact-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
}

.services {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.services h1 {
    font-size: 32px;
    color: #4CAF50;
    margin-bottom: 20px;
    text-align: center;
}

.service-block {
    background-color: #f8f8f8;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.service-block h2 {
    color: #333;
    margin-bottom: 10px;
}

.service-block p {
    line-height: 1.6;
    margin: 5px 0;
}

.image-gallery h2 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 20px;
}

.images {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.images img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .images img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        background-color: #fff;
        position: absolute;
        top: 70px; 
        right: 40px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    nav ul.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}
