body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* HEAD */

#header {
    background-color: #f7f7f7;
    color: #000000;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; 
}

h1 {
    margin: 0; 
    font-size: 1.5em;
}

nav {
    display: flex;
    align-items: center;
    
}

#nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin-right: 30px;
}

#nav-list li {
    margin-right: 20px;
}

#nav-list li a {
    color: #111111;
    text-decoration: none;
    font-size: 15pt;
}

#nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 30px;
}

@media (max-width: 768px) {
    #nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #f7f7f7;
        width: 200px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    #nav-list li {
        margin: 0;
        border-bottom: 1px solid #ddd;
    }

    #nav-list li a {
        padding: 10px;
        display: block;
    }

    #nav-toggle {
        display: block;
        margin-left: 20px;
    }

    #nav-toggle.active + #nav-list {
        display: flex;
    }
}



/* LOGO */

section {
    padding: 0px;
    text-align: center;
}

.logo {
    position: relative;
    width: 100%;
    min-height: 100vh; 
    padding: 50px 20px; 
    box-sizing: border-box;
    background-image: url('pictures/logoandbackgr.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ABOUT SECTION */
.about {
    position: relative;
    width: 100%;
    min-height: 100vh; 
    padding: 50px 20px; 
    box-sizing: border-box;
    background-image: url('pictures/petuniq2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-grid {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center; 
}

.about-title h1 {
    font-size: 36pt;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 20pt;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6); 
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 2fr; 
        text-align: left; 
    }

    .about-title h1 {
        font-size: 48pt; 
    }

    .about-content p {
        font-size: 24pt; 
    }
}




/* PRODUCTS */

.products {
    text-align: center; 
}

.products-title {
    margin-bottom: 20px; 
}

.products-container {
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.product {
    flex: 0 0 auto; 
    margin: 0; 
    padding: 0; 
    text-align: center; 
    width: calc(33.33% - 2px); 
    box-sizing: border-box; 
}

.product img {
    max-width: 100%; 
    height: auto; 
}

.product-subtitle {
    margin-top: 10px; 
}

.product img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease; 
}

.product:hover img {
    transform: scale(0.9);
}



/* FOOTER */

footer {
    background-color: #2f2b36;
    color: #fff;
    margin: 50px 0 0 0;
    padding: 20px;
    text-align: center;

}

#address {
    text-align: left;
}
#contact-info {
    text-align: left;
}




/* Stranica semena */

#files {
    padding-top: 110px;
    padding-bottom: 150px; 
}

#files {
    display: flex;
    justify-content: space-between;
}

.file-group {
    flex-basis: calc(33.33% - 20px); 
}

.file {
    margin: 10px;
    padding: 10px;
    border: 1px solid #ccc;
}

#bulbfooter {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}


.file-table {
    margin: 0 auto;
    border-collapse: collapse;
}

.file-table caption {
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
}

.file-table td {
    padding: 150px;
    vertical-align: top; 
}

.file {
    text-align: center;
}

.file h2 {
    margin-bottom: 10px; 
}



@media screen and (max-width: 768px) {
    
    .container {
        width: 100%; 
    }
    
   

body {
    font-size: 16px; 
}


/* Products */
.products-title {
    font-size: 24px; 
}

.products-container {
    justify-content: flex-start; 
}

.product {
    width: 100%; 
    margin-bottom: 20px; 
}
}

.ad-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    padding: 50px;
    background-color: #3f1701;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: none; /* Initially hidden */
    text-align: center;
    z-index: 9999;
}

.ad-popup img {
    width: 100%;
    border-radius: 5px;
}

.ad-popup p {
    margin: 10px 0;
    font-size: 20px;
    color: #ffffff;
}

.close-btn {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f44336;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}