/* GENERAL */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

p {
    color: rgb(0, 0, 0);
    line-height: 1.6;
}

/* TRANSITION */
a, .btn {
    transition: all 0.3s ease-in-out;
}

/* DESKTOP NAV */
nav, .nav-links {
    display: flex;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    background-color: #343a40;
    padding: 0 40px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.2rem;
    display: flex;
}

a {
    color: #ecf0f1;
    text-decoration: none;
}

.nav-links li a {
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.nav-links li a.active {
    color: #ffc107;
    font-weight: bold;
}

a:hover {
    color: #ffc107;
}

.logo {
    font-size: 2rem;
    cursor: pointer;
    color: #ecf0f1;
    font-weight: bold;
}

.logo:hover {
    color: #ffc107;
}

/* MOBILE MENU */
#mobile-nav {
    background-color: #343a40;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.mobile-menu {
    display: block;
}

.mobile-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 24px;
    cursor: pointer;
}

.mobile-icon span {
    width: 100%;
    height: 3px;
    background-color: #ecf0f1;
    transition: all 0.3s ease-in-out;
}

.menu-links {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background-color: #343a40;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-links a {
    display: block;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.2rem;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 360px;
}

.mobile-icon.open span:first-child {
    transform: rotate(45deg) translate(5px, 7px);
}

.mobile-icon.open span:nth-child(2) {
    opacity: 0;
}

.mobile-icon.open span:last-child {
    transform: rotate(-45deg) translate(5px, -7px);
}

.mobile-icon span:first-child {
    transform: none;
}

.mobile-icon span:first-child {
    opacity: 1;
}

.mobile-icon span:first-child {
    transform: none;
}

/* SECTIONS */

/* MAIN */
#main {
    position: relative;
    text-align: left;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.main-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("./assets/main.webp");
    background-size: cover;
    z-index: -1;
}

#main .section-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110vh;
}

#main h1 {
    padding-bottom: 40px;
    font-size: 30px;
    color: black;   
}

#main .main-details-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#main .details-container {
    width: 40%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1.4em;
    text-shadow:rgb(255, 255, 255);
}

/* ABOUT */
#about {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}

.about-details-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    height: 110vh;
}

#about .details-container {
    max-width: 50%;
    flex: 1;
}

#about h3 {
    font-size: 1em;
    color: #0e3e7d;
    font-weight: bold;
}

#about ul {
    list-style: none;
    padding: 0;
}

#about li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* OFFER */
#offer {
    background-color: #ffffff;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.offer-details-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    height: 110vh;
}

#offer .details-container {
    max-width: 600px;
    transform: translate(40%);
    flex: 1;
}

#offer h3 {
    font-size: 1em;
    color: #0e3e7d;
    font-weight: bold;
}

#offer ul {
    list-style: none;
    padding: 0;
}

#offer li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* ADDITIONAL */
#additional {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: left;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.additional-details-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    height: 110vh;
    margin-left: 30px;
}

#additional .details-container {
    max-width: 600px;
    flex: 1;
}

#additional h3 {
    font-size: 1em;
    color: #0e3e7d;
    font-weight: bold;
}

#additional ul {
    list-style: none;
    padding: 0;
}

#additional li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.img-container {
    width: 400px;
    height: 85vh;
    background-color: #343a40;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.img-container img {
    height: 80vh;
    width: 450px;
    border-radius: 5px;
}


/* TRUST-US */
#trust-us {
    background-color: #ffffff;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.trust-us-details-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 110vh;
}

#trust-us .details-container {
    max-width: 50%;
    flex: 1;
    margin: auto;
}

.scroll-content {
    display: none;
}

.scroll-content.active {
    display: block;
}

.trust-us-details-container h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.trust-us-details-container h2 {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 10px;
}

.navigation {
    margin-top: 20px;
    text-align: center;
}

.navigation .prev,
.navigation .next {
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
    background-color: #f39c12;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.navigation .prev:hover,
.navigation .next:hover {
    background-color: #e69100;
}



/* CONTACT */
#contact {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center; /* Dodane centrowanie w poziomie */
    height: 110vh;
}

.contact-details-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    text-align: left;
}

.contact-details-container .details-container,
.contact-details-container .form-details {
    width: 500px;
    padding: 20px 20px;
    margin: 0 auto 40px; /* Increased margin-bottom for more spacing */
    border-radius: 20px;
}

.form-details {
    background-color: #ffffff;
    width: 400px;
}

#contact h2 {
    font-size: 1.5rem;
    color: #0e3e7d;
    font-weight: bold;
    text-align: center;
    padding-bottom: 30px;
}

#contact h4,p {
    padding-bottom: 40px;
}

#contact form {
    max-width: 100%;
}

#contact label {
    display: block;
    margin-bottom: 8px;
    font-size: 1em;
    color: #2c3e50;
    text-align: left;
}

#contact input,
#contact textarea {
    font-size: 0.9em;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #95a5a6;
    border-radius: 5px;
    box-sizing: border-box;
}

#contact button {
    background-color: grey;
    color: #ecf0f1;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease-in-out;
}

#contact button:hover {
    background-color: #218838;
}

#contact input:required,
#contact textarea:required {
    border-color: #e74c3c;
}

@media screen and (max-width: 768px) {
    .contact-details-container .details-container,
    .contact-details-container .form-details {
        width: 100%;
        padding: 0 10px;
        margin: 0 auto 20px; /* Dodane wyśrodkowanie w poziomie i odstęp od dołu */
        text-align: center;
    }

    #contact label {
        text-align: center;
    }
}






/* GO-TO-TOP */
#go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3498db;
    color: #fff;
    font-size: 20px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    transition: background-color 0.3s ease-in-out;
}

#go-to-top:hover {
    background-color: #2980b9;
}

.additional-link {
    color: #ffc107;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 10px 20px;
    margin: 10px;
    background-color: #343a40;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.additional-link:hover {
    color: #ffc107;
    background-color: #fff;
}

/* FOOTER */
footer {
    background-color: #343a40;
    color: #ecf0f1;
    padding: 30px 0;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    height: 25vh;
}

.footer-section {
    margin-right: 30px;
    color: #aaa9a9;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 10px;
}

.footer-section p {
    color: #aaa9a9;
}

.footer-section a {
    color: #aaa9a9;
}

.footer-section a:hover {
    text-decoration: underline;
    color: white;
}

/* GALLERY */

#gallery {
    margin-top: 20px;
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 20px;
    justify-items: center;
}

.gallery-images .img-container {
    width: 100%;
    max-width: 300px;
    height: 350px;
    background-color: #343a40;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-images img {
    width: 1000%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.gallery-images img:hover {
    transform: scale(1.05);
}

/* GALLERY MENU */
.gallery-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery-menu button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    background-color: #343a40; /* kolor tła */
    color: #fff; /* kolor tekstu */
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.gallery-menu button:hover {
    background-color: #4e5d6c; /* zmiana koloru tła po najechaniu myszką */
}

.gallery-menu button:focus {
    outline: none;
}

/* Facebook button */
#facebook-button {
    position: fixed;
    top: 30%;
    right: 0;
    transform: translateY(-50%);
    background-color: #1877f2;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease, background-color 0.3s ease;
}

#facebook-button:hover {
    right: 10px;
    background-color: #2559a7;
}

#facebook-button a {
    text-decoration: none;
}

#facebook-button img {
    display: block;
    height: 30px;
    width: 30px;
}

.full-screen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.full-screen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}