/* Ogólne style */
body {
    font-family: 'Roboto', sans-serif; /* Use a modern font */
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light background color */
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
    font-size: 1.25em; /* Increase base font size */
}

header {
    background-color: #072e55;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
}

.logo {
    max-width: 200px;
    height: auto;
}

.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar .menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar .menu a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em; /* Increase font size */
    transition: color 0.3s; /* Smooth color transition */
}

.navbar .menu a:hover {
    text-decoration: underline;
    color: #ffcc00; /* Change hover color */
}

.menu.active {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    background-color: #072e55; /* Match header background color */
    position: fixed;
    top: 60px;
    left: 0;
    max-height: 100vh; /* Full height */
    overflow-y: auto; /* Make the menu scrollable if necessary */
    z-index: 1000; /* Ensure the menu is on top */
    padding: 20px; /* Add padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
}

.menu.active a {
    color: #fff; /* White text color */
    margin: 10px 0; /* Add margin between links */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em; /* Increase font size */
    padding: 10px 20px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth background color transition */
}

.menu.active a:hover {
    background-color: #ffcc00; /* Change hover background color */
    color: #072e55; /* Change hover text color */
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.2em;
    padding: 10px 15px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #072e55;
    min-width: 150px; /* Smaller width */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #fff;
    padding: 8px 12px; /* Smaller padding */
    text-decoration: none;
    display: block;
    font-size: 0.9em; /* Smaller font size */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

.dropdown-content a:hover {
    color: #072e55; /* Ensure text color changes to dark blue */
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #ffcc00;
    color: #072e55; /* Ensure text color changes to dark blue */
}

/* Dropdown Menu Styling */
.navbar .dropdown {
    position: relative;
    display: inline-block;
}

.navbar .dropbtn {
    background-color: #072e55;
    color: white;
    padding: 10px 20px;
    font-size: 1.2em; /* Adjust the font size */
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.navbar .dropdown-content {
    display: none;
    position: absolute;
    background-color:  #072e55;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    font-size: 0.53em; /* Make the font size smaller */
}

.navbar .dropdown-content a {
    color: rgb(255, 255, 255);
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    font-size: 0.6em; /* Make the font size smaller */
}


.navbar .dropdown:hover .dropdown-content {
    display: block;
}

.navbar .dropdown:hover .dropbtn {
    background-color: #0056b3;
}

/* Divider Section */
.divider-section {
    background-color: #f0f8ff;
    padding: 20px 0; /* Increase padding */
    text-align: center;
    font-size: 1.5em; /* Increase font size */
    color: #072e55;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
}

/* Content Section */
.content {
    padding: 40px; /* Increase padding */
    text-align: center;
    background-color: #fff;
    margin: 20px; /* Add margin */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
    flex: 1; /* Pushes the footer to the bottom */
}

.full-width-slider {
    width: 100%;
    overflow: hidden; /* Prevent horizontal scrollbar */
    margin: 0; /* Remove any margin */
    padding: 0; /* Remove any padding */
    min-height: 425px; /* Ensure the slider maintains its height */
}

.slider {
    width: 100%;
    margin: 0; /* Remove any margin */
    padding: 0; /* Remove any padding */
}

.slider img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Set a maximum height for the images */
    display: block; /* Remove any inline spacing */
    object-fit: cover; /* Ensure images cover the container without stretching */
    border-radius: 10px; /* Add border radius */
}

.slide {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Half of the slider */
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Shadow effect */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px; /* Add border radius */
}

.overlay h3 {
    margin: 0 0 10px;
}

.overlay .button {
    background-color: #ffcc00; /* Change button color */
    color: #072e55;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s; /* Smooth background color transition */
}

.overlay .button:hover {
    background-color: #ff9900; /* Change hover color */
}

/* Divider */
.divider {
    border: 0;
    height: 1px;
    margin: 40px 0;
    background: #ccc;
}

/* Main Title Styling */
.main-title {
    font-size: 2.5em;
    color: #072e55;
    text-align: center;
    margin: -20px 0 20px; /* Move the title upward by reducing the top margin */
    padding: 10px;
    background-color: #f0f8ff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Info Section */
.info-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.info-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.info-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px; /* Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    border: 5px solid #f0f8ff; /* Add a light blue frame */
    filter: brightness(0.95) contrast(1.1); /* Add some photo processing effects */
    transition: transform 0.3s, filter 0.3s; /* Smooth transition for hover effects */
}

.info-image img:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    filter: brightness(1) contrast(1.2); /* Enhance photo processing effects on hover */
}

.index-page .info-image img {
    max-width: 70%; /* Make the images 30% smaller */
    height: auto;
    display: block;
    margin: 0 auto;
}

.info-section .info-image video {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* Add some space between the image and the video */
}

.info-text {
    flex: 1;
    padding: 20px;
    text-align: left;
    background-color: #f0f8ff; /* Light blue background */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

.info-text h3 {
    margin-top: 0;
}

.info-text p {
    margin: 10px 0 20px; /* Increase the bottom margin to add more space between the text and the button */
}

.info-text .button {
    background-color: #ffcc00; /* Change button color */
    color: #072e55;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s; /* Smooth background color transition */
}

.info-text .button:hover {
    background-color: #ff9900; /* Change hover color */
}

/* Custom arrow styles */
.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev:before, .slick-next:before {
    font-family: 'slick';
    font-size: 30px;
    line-height: 1;
    opacity: 0.75;
    color: black;
}

.slick-prev:before {
    content: '←';
}

.slick-next:before {
    content: '→';
}

/* Media Queries */
@media (min-width: 1200px) {
    .logo {
        max-width: 400px; /* Larger logo size for larger screens */
    }

    .navbar .menu a {
        font-size: 2em; /* Larger font size for larger screens */
    }
}

@media (max-width: 1200px) {
    .logo {
        max-width: 300px; /* Adjust the logo size */
    }

    .navbar .menu a {
        font-size: 1.5em; /* Adjust the font size */
    }
}

@media (max-width: 768px) {
    .full-width-slider {
        min-height: 300px; /* Smaller height on tablet */
    }

    .slider img {
        max-height: 300px; /* Smaller height on tablet */
    }

    .main-title {
        font-size: 2em; /* Smaller font size on tablet */
    }

    .navbar .menu {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .menu.active {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        background-color: #072e55; /* Match header background color */
        position: fixed;
        top: 60px;
        left: 0;
        max-height: 100vh; /* Full height */
        overflow-y: auto; /* Make the menu scrollable if necessary */
        z-index: 1000; /* Ensure the menu is on top */
        padding: 20px; /* Add padding */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
    }

    .menu.active a {
        color: #fff; /* White text color */
        margin: 10px 0; /* Add margin between links */
        text-decoration: none;
        font-weight: bold;
        font-size: 1.2em; /* Increase font size */
        padding: 10px 20px; /* Add padding */
        border-radius: 5px; /* Rounded corners */
        transition: background-color 0.3s; /* Smooth background color transition */
    }

    .menu.active a:hover {
        background-color: #ffcc00; /* Change hover background color */
        color: #072e55; /* Change hover text color */
    }

    .info-section {
        flex-direction: column;
    }

    .info-image, .info-text {
        flex: none;
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 200px; /* Adjust the logo size */
    }

    .navbar .menu a {
        font-size: 1em; /* Adjust the font size */
    }

    .full-width-slider {
        min-height: 200px; /* Even smaller height on mobile */
    }

    .slider img {
        max-height: 200px; /* Even smaller height on mobile */
    }

    .main-title {
        font-size: 1.5em; /* Even smaller font size on mobile */
    }

    .info-section {
        flex-direction: column;
    }

    .info-image, .info-text {
        flex: none;
        width: 100%;
        padding: 10px;
    }

    .info-image img {
        max-width: 100%; /* Ensure the image fits within the container on smaller screens */
        max-height: none; /* Remove the maximum height on smaller screens */
    }
}

/* Footer Section */
footer {
    background-color: #072e55;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer .contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8em;
}

footer .contact-details p {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 600px) {
    footer .contact-details {
        flex-direction: column;
        align-items: center;
    }

    footer .contact-details p {
        padding: 5px 0;
    }
}

/* Flexbox for body */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1; /* Pushes the footer to the bottom */
}

/* Contact Section */
.contact-section {
    background-color: #e6f7ff; /* Light blue background */
    color: #072e55; /* Dark blue text color */
    padding: 40px 20px;
    text-align: center;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.contact-section h2 {
    font-size: 2.5em; /* Domyślny rozmiar czcionki */
    margin-bottom: 20px;
    width: 100%;
    color: #004080; /* Darker blue for the heading */
    background-color: #ffffff; /* White background for the heading */
    padding: 10px 20px; /* Add padding */
    border-radius: 10px; /* Rounded corners */
    border: 2px solid #004080; /* Dark blue border */
    display: inline-block; /* Make the heading inline-block */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.contact-details {
    flex: 1;
    padding: 20px;
    order: 2; /* Ensure text is on the right */
    text-align: left; /* Align text to the left */
    background-color: #ffffff; /* White background for the text */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border: 2px solid #004080; /* Dark blue border */
    margin: 10px; /* Add margin to prevent overflow */
}

.contact-details p {
    font-size: 1.25em; /* Domyślny rozmiar czcionki */
    margin: 10px 0;
    color: #004080; /* Darker blue for the text */
}

.map {
    flex: 1;
    padding: 20px;
    order: 1; /* Ensure map is on the left */
    margin: 10px; /* Add margin to prevent overflow */
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
    min-height: 450px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column; /* Ustaw elementy w kolumnie na mniejszych ekranach */
        padding: 20px 10px; /* Adjust padding for smaller screens */
    }

    .contact-section h2 {
        font-size: 2em !important; /* Adjust font size for smaller screens */
        padding: 8px 15px !important; /* Adjust padding for smaller screens */
        width: calc(100% - 30px); /* Adjust width to prevent overflow */
    }

    .contact-details, .map {
        order: 0; /* Reset order */
        width: calc(100% - 20px); /* Adjust width to prevent overflow */
        text-align: center; /* Center text on smaller screens */
        padding: 10px; /* Adjust padding for smaller screens */
        margin: 10px 0; /* Adjust margin for smaller screens */
    }

    .contact-details {
        width: calc(100% - 20px); /* Adjust width to prevent overflow */
        padding: 15px; /* Reduce padding for smaller screens */
    }

    .contact-details p {
        font-size: 1em !important; /* Adjust font size */
    }

    .map iframe {
        min-height: 300px; /* Adjust map height */
    }
}

@media (max-width: 480px) {
    .contact-section h2 {
        font-size: 1.5em !important; /* Adjust font size for smaller screens */
        padding: 5px 10px !important; /* Adjust padding for smaller screens */
        width: calc(100% - 20px); /* Adjust width to prevent overflow */
    }

    .contact-details, .map {
        padding: 5px; /* Adjust padding for smaller screens */
        margin: 5px 0; /* Adjust margin for smaller screens */
        width: calc(100% - 10px); /* Adjust width to prevent overflow */
    }

    .contact-details {
        width: calc(100% - 10px); /* Adjust width to prevent overflow */
        padding: 10px; /* Reduce padding for smaller screens */
    }

    .contact-details p {
        font-size: 0.9em !important; /* Adjust font size for smaller screens */
    }

    .map iframe {
        min-height: 200px; /* Adjust map height for smaller screens */
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column; /* Ustaw elementy w kolumnie na mniejszych ekranach */
        padding: 20px 10px; /* Adjust padding for smaller screens */
    }

    .contact-section h2 {
        font-size: 1.5em !important; /* Adjust font size for smaller screens */
        padding: 8px 15px !important; /* Adjust padding for smaller screens */
    }

    .contact-details, .map {
        order: 0; /* Reset order */
        width: calc(100% - 20px); /* Adjust width to prevent overflow */
        text-align: center; /* Center text on smaller screens */
        padding: 10px; /* Adjust padding for smaller screens */
        margin: 10px 0; /* Adjust margin for smaller screens */
    }

    .contact-details p {
        font-size: 1em !important; /* Adjust font size */
    }

    .map iframe {
        min-height: 200px; /* Adjust map height */
    }
}

@media (max-width: 480px) {
    .contact-section h2 {
        font-size: 1.2em !important; /* Adjust font size for smaller screens */
        padding: 5px 10px !important; /* Adjust padding for smaller screens */
    }

    .contact-details, .map {
        padding: 5px; /* Adjust padding for smaller screens */
        margin: 5px 0; /* Adjust margin for smaller screens */
        width: calc(100% - 40px); /* Adjust width to prevent overflow */
    }

    .contact-details p {
        font-size: 0.9em !important; /* Adjust font size for smaller screens */
    }

    .map iframe {
        min-height: 100px; /* Adjust map height for smaller screens */
    }
}

/* Gallery Section */
.gallery-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f0f8ff;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-section h2 {
    font-size: 2.5em;
    color: #072e55;
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery img {
    width: 300px; /* Increased width */
    height: 225px; /* Increased height */
    object-fit: cover; /* Ensure images cover the container without stretching */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer; /* Add cursor pointer */
    transition: transform 0.3s; /* Smooth transition */
}

.gallery img:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Fullscreen Image */
.fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #072e55;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}
/* Footer Section */
footer {
    background-color: #072e55;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer .contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1em; /* Default font size */
    gap: 10px; /* Add spacing between elements */
    max-width: 100%; /* Ensure the container does not exceed the viewport width */
    margin: 0 auto; /* Center the container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

footer .contact-details p {
    margin: 0;
    white-space: nowrap;
    padding: 0 10px; /* Add padding to prevent text from touching the edges */
}
/* Responsiveness for smaller screens */
@media (max-width: 1220px) {
    footer .contact-details {
        font-size: 0.9em; /* Reduce font size on tablets */
        flex-direction: column; /* Arrange elements in a column */
        align-items: center; /* Center elements */
        padding: 0 20px; /* Add padding to prevent overflow */
    }

    footer .contact-details p {
        white-space: normal; /* Allow text wrapping */
        padding: 5px 0; /* Add spacing between lines */
    }
}
/* Responsiveness for smaller screens */
@media (max-width: 768px) {
    footer .contact-details {
        font-size: 0.9em; /* Reduce font size on tablets */
        flex-direction: column; /* Arrange elements in a column */
        align-items: center; /* Center elements */
        padding: 0 20px; /* Add padding to prevent overflow */
    }

    footer .contact-details p {
        white-space: normal; /* Allow text wrapping */
        padding: 5px 0; /* Add spacing between lines */
    }
}

@media (max-width: 480px) {
    footer .contact-details {
        font-size: 0.8em; /* Further reduce font size on phones */
        padding: 0 10px; /* Adjust padding to prevent overflow */
    }

    footer .contact-details p {
        padding: 3px 0; /* Reduce spacing between lines */
    }
}