* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Raleway", sans-serif;
    background-color: #EEE);
}

.main-container {
    background: url('plikinastrone/tlo.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

header {
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100px;
}

header img {
    width: 100px; 
    height: auto; 
    margin-left: 20px;
    margin-right: 20px;
    padding: 5px;
}

header h1 {
    color: black;
    margin: 0;
    padding: 0 20px; 
    font-family: "Yaldevi", sans-serif;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-right: 20px;
    font-size: 1.3rem;
}

.menu a {
    text-decoration: none;
    color: #fff
}

.menu a:hover {
    color: #f8cc0b;
}

.menu .products-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.products-dropdown:hover .dropdown-content {
    display: block;
}

.products-dropdown a.nav-link:after {
    content: ' \25BC';
}

/*header
menu*/

.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.company-description,
.contact-options {
    position: relative;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

#zolty {
    color: #f8cc0b;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h3 {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h4 {
    font-size: 2rem;
    color: #f8cc0b;
    margin-top: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.4rem;
    width: 50%;
    margin: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h6 {
    margin-top: 30px;
    font-size: 1.4rem;
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 4px #f8cc0b, 0 0 10px #f8cc0b, 0 0 20px #f8cc0b, 0 0 40px #f8cc0b, 0 0 80px #f8cc0b;
    }
    50% {
        text-shadow: 0 0 2px #f8cc0b, 0 0 5px #f8cc0b, 0 0 10px #f8cc0b, 0 0 20px #f8cc0b, 0 0 40px #f8cc0b;
    }
    100% {
        text-shadow: 0 0 4px #f8cc0b, 0 0 10px #f8cc0b, 0 0 20px #f8cc0b, 0 0 40px #f8cc0b, 0 0 80px #f8cc0b;
    }
}

.hero a {
    color: #f8cc0b;
    animation: pulse 2s infinite ease-in-out;
}


/*stronalowna
produkty*/

.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; 
    padding: 20px;
    width: 80vw;
    margin-left: auto;
    margin-right: auto
}

.product-card {
    width: calc(25% - (3 * 20px / 4)); 
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px #0c1e36; 
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background-color: #fff; 

}

.product-card img {
    width: 200px; 
    height: 200px;
    object-fit: cover; 
}

.product-card h3 {
    margin: 10px 0; 
}

.product-card p {
    color: #333;
    font-weight: bold; 
}

.check-product-btn {
    background-color: #f8cc0b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 10px;
    border: 1px solid #f8cc0b
}

.check-product-btn:hover {
    background-color: white;
    color: #f8cc0b;
}

.product-details {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000; 
    text-align: center;
}

.product-details img {
    margin-top: 10px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 999; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.main-containerpor {
    background-image: url(plikinastrone/tlo.jpg);
}

/*produkty
konakt*/

.title h2 {
    font-size: 2.5em;
    margin-bottom: 0.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
    margin: 10px;
    text-align: center;
}

.contact-content {
    margin-top: 150px;
    margin-bottom: auto;
}

.contact-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    padding-bottom: 10px;
    color: #f8cc0b;
}

.contact-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
}

.contact-section {
    height: 100vh;
    display: flex;
    color: white; 
    animation: slideIn 1s ease-out forwards;
}

.contact-info h2 {
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    color: #f8cc0b;
}

.contact-info p {
    line-height: 1.6;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
}

.contact-block h3 {
    margin: 10px;
}

.fade-out {
    animation: fadeOut 0.5s;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.main-container {
    height: 100vh
}

footer {
    color: white;
    text-align: center
}

.info-section h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2rem;margin-bottom: 10px;
}

.info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .info-content {
    max-width: 600px; 
    font-size: 1.3rem
  }

  .contact-btn {
    margin-top: 50px;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #f8cc0b; 
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .contact-btn:hover {
    background-color: #555;
  }