body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #fffaf0;
    background-color: #191919; 
}
h1, h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    color: #d35400;
}
header {
    position: relative;
    background-image: url('poza.PNG');
    background-size: cover;
    background-position: center;
    color: #fffaf0;
    text-align: center;
    padding: 100px 20px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

header p {
    font-size: 1.2em;
    margin-bottom: 0;
}
header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

header h1, header p {
    position: relative;
    z-index: 2;
    color: #fffaf0;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    font-weight: 600;

}

header p {
    font-size: 1.2em;
    margin-bottom: 0;
}


nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    color: #fffaf0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(25, 25, 25, 0.5);
    box-sizing: border-box;
}

.navbar-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.navbar-links ul {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.navbar-links ul li {
    padding: 0 15px;
}

.navbar-links ul li a {
    text-decoration: none;
    color: #fffaf0;
    font-weight: 600;
}

.navbar-links ul li a {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.75);
}
.logo img {
    height: 60px;
    filter: contrast(1.3);
    
}


section {
    padding: 50px 20px;
    text-align: center;
}

#company-history {
    background: #fffaf0; 
    color: #5d4037; 
    padding: 80px 0 0 0;
    text-align: left;
        padding-left: 20px;
}


.history-image img {
    max-width: 100%;
    min-width: 0%;
    height: auto;
    
}


.history-text h2 {
    font-size: 2.4em; 
    margin-bottom: 20px; 
}

.history-text p {
    font-size: 1.2em; 
    line-height: 1.6; 
}


#company-history h1 {
    font-size: 2em;
}

#company-history p {
    font-size: 1.1em;
}

#company-experience {
    background: #fffaf0;
    color: #5d4037;
    padding: 0;
    text-align: left;
        padding-left: 20px;
}
#company-services {
    background: #fffaf0;
    color: #5d4037;
    padding: 0;
    text-align: left;
        padding-left: 20px;
}
#company-manage {
    background: #fffaf0;
    color: #5d4037;
    padding: 0;
    text-align: left;
        padding-left: 20px;
}

#company-history .container,
#company-experience .container,
#company-services .container,
#company-manage .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px;
}

.history-text,
.experience-text,
.services-text,
.manage-text{
        flex: 1;
        max-width: 70%;
        padding: 0 20px;
    }

.history-image,
.experience-image,
.services-image,
.manage-image {
    flex: 1;
    max-width: 100%;
    margin-left: 20px;
}





.experience-text {
    order: 1;
    padding: 0 20px;
}

.experience-image {
    order: 2;
}

.experience-image img {
    width: 100%;
    height: auto;
}

.experience-text h2 {
    font-size: 2.4em;
    margin-bottom: 20px;
    color: #d35400;
}

.experience-text p {
    font-size: 1.2em;
    line-height: 1.6;
}

.manage-text {
    order: 1;
    padding: 0 20px;
}

.manage-image {
    order: 2;
}

.manage-image img {
    width: 100%;
    height: auto;
}

.manage-text h2 {
    font-size: 2.4em;
    margin-bottom: 20px;
    color: #d35400;
}

.manage-text p {
    font-size: 1.2em;
    line-height: 1.6;
}

.services-text {
    order: 2;
    padding: 0 20px;
}

.services-image {
    order: 1;
}

.services-image img {
    width: 100%;
    height: auto;
}

.services-text h2 {
    font-size: 2.4em;
    margin-bottom: 20px;
    color: #d35400;
}

.services-text p {
    font-size: 1.2em;
    line-height: 1.6;
}

/* Form is kept out for now */
/* #contact-form {
    position: relative;
    background-image: url('poza.PNG');
    background-size: cover;
    background-position: center;
    color: #fffaf0;
    padding: 50px 20px;
    text-align: center;
}

.form-container {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.form-group {
    flex: 1;
    margin: 0 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="tel"] {
    flex: 1;
    margin: 0 10px;
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    color: #fffaf0;
    font-size: 16px;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button {
    background-color: #444;
    color: #fffaf0;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background-color: #666;
}
#contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
} */

footer {
    background-color: #191919;
    color: #fffaf0;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    max-width: auto;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
}

.manager h4 {
    margin-top: 0;
    color: #fffaf0;
}

.manager p {
    font-size: 16px;
    margin-bottom: 0;
}
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 0.9em;
}

.footer-bottom p {
    margin: 0;
}
@media (max-width: 960px) {

    #company-history .container,
    #company-experience .container,
    #company-services .container,
    #company-manage .container {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .history-text,
    .history-image,
    .experience-text,
    .experience-image,
    .services-text,
    .services-image,
    .manage-text,
    .manage-image {
        max-width: 100%;
        order: unset;
    }

    .history-image,
    .experience-image {
        margin-left: 0;
        margin-top: 20px;
        order:1
    }
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
    }

    .navbar-links {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .manager {
        margin-bottom: 20px;
    }
}
