/* Reset some default styles */
body, h1, h2, h3, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    background-color: #ABABAB;
    margin: 0;
}

header {
    background-color: #101010;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.6); /* Added box-shadow */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px; /* Adjust the height as needed */
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
}

nav {
    margin-left: auto; /* Pushes the navigation to the right */
    margin-right: 10px;
}

nav a {
    text-decoration: none;
    color: #F5F5F5;
    font-weight: medium;
    font-size: 24px;
    padding: 10px 10px; /* Added padding to make links easier to click */
    display: inline-block; /* Ensure padding works correctly with inline elements */
}

nav a:hover {
    color: #ABABAB; /* Change text color on hover */
}

nav a.active {
    color: #FFAA00; /* Active link color */
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    padding-right:  10px; /* Adjust margin as needed for spacing */
}

.burger-menu .burger-icon {
    font-size: 24px; /* Adjust the icon size as needed */
    color: #F5F5F5;
}

.burger-icon {
    width: 30px;
    height: 3px;
    background-color: #F5F5F5;
    margin: 6px 0;
    transition: 0.4s;
}

/* CSS */
#burgerIcon.active {
    background-color: #FFAA00/* Change the color filter as needed */
    /* Add any other styles for the active state */
}


/* Show the navigation menu when the burger menu is clicked */
.burger-menu.active ~ nav ul {
    display: flex;
}

/* Media Query for screens smaller than 1280px */
@media only screen and (max-width: 1280px) {
    #mainLogo img {
        display: none;
    }

    /* Show an alternative logo for smaller screens */
    #mainLogo::before {
        content: ""; /* Empty content to create a pseudo-element */
        display: block;
        background: url('WEB\ logo\ S.svg') no-repeat;
        background-size: contain; /* Ensure the background image is contained within the pseudo-element */
        width: 100px; /* Adjust the width of the alternative logo */
        height: 60px; /* Adjust the height of the alternative logo */
    }

    nav li:last-child {
        margin-bottom: 15px; /* Adjusted margin to 20px for the last link (Kontakt) */
    }

    header nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #101010;
        z-index: 999;
    }

    header nav ul.show {
        display: flex;
    }

    header nav ul li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .burger-menu {
        display: block;
    }

    .burger-menu.active .burger-icon:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu.active .burger-icon:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-icon:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    nav ul li a {
        font-size: 24px; /* Adjust the font size as needed for smaller screens */
    }
}

@media only screen and (max-width: 700px) {
    nav ul li a {
        font-size: 20px; /* Adjust the font size as needed for smaller screens */
        height: 20px;
    }
    header {
        height: 60px; /* Adjusted height for smaller screens */
        padding: 0 10px; /* Adjusted padding for smaller screens */
    }

    #mainLogo::before {
        height: 50px; /* Adjust the height of the alternative logo */
    }

    .burger-menu img {
        width: 60px; /* Adjusted width for the burger icon */
        height: auto; /* Maintain aspect ratio */
    }

    header nav ul {
        top: 60px;
    }
}

/*new section*/
.photo-section {
    position: relative;
    height: 75vh; /* 75% of the viewport height */
    overflow: hidden;
}

.photo-section img {
    width: 100%; /* Full width of the container */
    height: 100%; /* Full height of the container */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 50px;
    text-align: center;
}

.overlay h1,
.overlay h2 {
    width: 100%; /* Make sure the content spans the full width of the overlay */
    margin-left: auto; /* Center the content within the overlay */
    margin-right: auto; /* Center the content within the overlay */
}

.overlay h1 {
    font-size: 36px;
    margin-bottom: 10px;
    margin-top: -40px;
}

.overlay h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;

}

.lastpage{
    width: 100%;
    left: -50px;
}

@media (max-width: 500px) {
    /* Adjust overlay width for smaller screens */
    .lastpage{
    left: 0px;
}
}

@media (max-width: 1280px) {
    /* Adjust overlay width for smaller screens */
    .lastpage{
    left: 0px;
}
}

.cta-button {
    display: block; /* Change to block to occupy full width */
    width: auto; /* Allow the button to adapt to content width */
    margin: 0 auto; /* Center the button within the container */
    padding: 10px 60px; /* Adjusted padding */
    background-color: #FFAA00;
    color: #101010;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    box-sizing: content-box; /* Ensure padding is not included in the width */
}

.cta-button:hover {
    background-color: #F5F5F5;
}

.cta-button:active {
    background-color: #ABABAB; /* Change background color for active state */
}

@media (max-width: 1280px) {
    /* Adjust overlay width for smaller screens */
    .overlay {
        width: 100%;
        padding: 50px 20px; /* Adjusted padding for smaller screens */
        box-sizing: border-box; /* Include padding in the total width */
    }

    .overlay h2 {
        text-align: center; /* Center the text horizontally */
    }

    .overlay h1{
        font-size: 26pt;
        margin-top: 40px;
    }
}

@media (max-width: 500px) {
    /* Adjust overlay width for smaller screens */
    .overlay h2 {
        font-size: 18pt;
    }

    .overlay h1{
        font-size: 22pt;
    }
}

@media (min-width: 1800px) {
    .overlay h1 {
        font-size: 48px; /* Adjusted font size for larger screens */
    }

    .overlay h2 {
        font-size: 32px; /* Adjusted font size for larger screens */
    }
}

/*new section*/
.location-section {
    display: flex;
    flex-direction: column; /* Items in a row */
    align-items: stretch; /* Stretch items to fill the container height */
    flex-wrap: nowrap; /* Prevent wrapping */
    padding: 10px 20px 55px;
    background-color: #F5F5F5;
}

.section-title {
    padding-top: 30px;
    font-size: 36px;
    margin-bottom: 0px;
    color: #101010;
    text-align: center;
    background-color: #F5F5F5;
}

.location-info {
    width: 100%; /* Set width to 80% for smaller screens */
    background-color: #101010;
    color: #F5F5F5;
    padding: 0px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
    text-align: center;
    margin-top: 0px; /* Add spacing between map and location info */
    border-bottom-left-radius: 20px; /* Oval shape for bottom-left corner */
    border-bottom-right-radius: 20px; /* Oval shape for bottom-right corner */
}

.location-info h2 {
    padding-top: 15px;
    font-size: 20px;
    margin-bottom: -5px;
}

.location-info p {
    font-size: 16px;
    margin: 0;
    padding-bottom: 15px;
}


.google-map {
    width: 100%; /* Each map takes up half the width */
    height: 600px; /* Fixed height for the maps */
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.4);
    border-top-left-radius: 20px; /* Rounded corners */
    border-top-right-radius: 20px;
}

.google-map iframe {
    width: 100%; /* Full width of the parent .google-map */
    height: 100%; /* Full height of the parent .google-map */
    border: 0; /* Remove default border */
    border-top-left-radius: 20px; /* Rounded corners */
    border-top-right-radius: 20px;
}


@media (min-width: 700px) {
    .section-title {
        font-size: 36px; /* Increase font size for larger screens */
    }

    .location-info h2 {
        font-size: 24px; /* Increase font size for larger screens */
        margin-bottom: -5px;
    }

    .location-info p {
        font-size: 18px; /* Increase font size for larger screens */
    }
}

@media (min-width: 1280px) {
    .section-title {
        font-size: 42px; /* Increase font size for larger screens */
    }

    .location-info h2 {
        font-size: 24px; /* Increase font size for larger screens */
        margin-bottom: -5px;
    }

    .location-info p {
        font-size: 18px; /* Increase font size for larger screens */
        margin-bottom: 5px;
    }
}
/*new section*/
.scrolling-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
    padding: 65px 180px;
    background-color: #212121;
    color: #F5F5F5;
}

.section-title2 {
    font-size: 42px;
    margin-bottom: 0px;
    font-weight: 500;
}

.scrolling-text-container {
    width: 100%;
    overflow-x: hidden; /* Hide the horizontal scrollbar */
    white-space: normal; /* Allow text to wrap */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.scrolling-text {
    max-width: 100%;
    text-align: center; 
    font-size: 24px;
}

.cta-button {
    display: inline-block;
    padding: 10px 40px;
    background-color: #FFAA00;
    color: #101010;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

p {
    font-size: 22px;
    margin: 5px 0;
}

@media (min-width: 1800px) {
    .scrolling-section {
        padding: 100px 200px; /* Larger padding for bigger screens */
    }

    .section-title2 {
        font-size: 42px; /* Larger font size for bigger screens */
    }

    p {
        font-size: 28px; /* Larger font size for bigger screens */
    }

    .cta-button {
        font-size: 24px; /* Larger font size for bigger screens */
    }
}

@media (max-width: 1280px) {
    .scrolling-section {
        padding: 80px 100px; /* Decrease padding for screens between 1280px and 2199px */
    }

    .section-title2 {
        font-size: 36px; /* Decrease font size for screens between 1280px and 2199px */
    }

    p {
        font-size: 20px; /* Decrease font size for screens between 1280px and 2199px */
    }

    .cta-button {
        font-size: 18px; /* Decrease font size for screens between 1280px and 2199px */
    }
}

@media (max-width:700px) {
    .scrolling-section {
        padding: 40px 30px; /* Even smaller padding for screens smaller than 1280px */
    }

    .section-title2 {
        font-size: 28px; /* Even smaller font size for screens smaller than 1280px */
    }

    p {
        font-size: 16px; /* Even smaller font size for screens smaller than 1280px */
    }

    .cta-button {
        font-size: 14px; /* Even smaller font size for screens smaller than 1280px */
    }
}
/*new section*/
.contact-section {
    text-align: center;
    padding: 60px;
    background-color: #FFAA00; /* Updated background color */
    color: #101010;
}

.section-title3{
    font-size: 36px;
    margin-bottom: 10px;
}


.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #FFFFFF;
}

.circle-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

h2 {
    font-size: 26px;
    margin-bottom: 0px;
}

p1 {
    font-size: 22pt;
    margin: 0px 0px;
}

@media (min-width: 1800px) {
    .circle-photo {
        width: 400px; /* Increase the size of the circle photo for screens wider than 2200px */
        height: 400px; /* Increase the size of the circle photo for screens wider than 2200px */
    }

    .circle-photo img {
        border-radius: 50%;
    }

    .section-title3{
        font-size: 42px;
    }

    h2 {
        font-size: 32px; /* Increase font size for screens wider than 2200px */
    }

    p1 {
        font-size: 26pt; /* Increase font size for screens wider than 2200px */
    }
}
@media (max-width: 1280px) {
    .circle-photo {
        width: 225px; /* Decrease the size of the circle photo for screens between 700px and 1279px */
        height: 225px; /* Decrease the size of the circle photo for screens between 700px and 1279px */
        margin-bottom: 15px;
    }

    .section-title3{
        font-size: 36px;
    }

    h2 {
        font-size: 22px; /* Decrease font size for screens between 700px and 1279px */
    }

    p1 {
        font-size: 18pt; /* Decrease font size for screens between 700px and 1279px */
    }
}

@media (max-width: 700px) {
    .circle-photo {
        width: 150px; /* Even smaller size of the circle photo for screens smaller than 700px */
        height: 150px; /* Even smaller size of the circle photo for screens smaller than 700px */
    }

    .section-title3{
        font-size: 28px;
    }

    h2 {
        font-size: 18px; /* Even smaller font size for screens smaller than 700px */
    }

    p1 {
        font-size: 12pt; /* Even smaller font size for screens smaller than 700px */
    }
}
@media (max-width: 400px) {
    .circle-photo {
        width: 100px; /* Even smaller size of the circle photo for screens smaller than 700px */
        height: 100px; /* Even smaller size of the circle photo for screens smaller than 700px */
    }

    h2 {
        font-size: 16px; /* Even smaller font size for screens smaller than 700px */
    }

    p1 {
        font-size: 10pt; /* Even smaller font size for screens smaller than 700px */
    }
}
/* ... Previous CSS code ... */
footer {
    background-color: #101010;
    color: #F5F5F5;
    text-align: center;
    padding: 40px;
}

.footer-logo {
    width: 250px; /* Adjust the width as needed */
    height: auto;
    margin-bottom: 0px;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
}

.footer-links a {
    text-decoration: none;
    color: #F5F5F5;
    font-weight: bold;
    font-size: 18px;
    margin: 0 12px; /* Adjusted margin to 10px */
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFAA00;
}

.contact-info {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-link:active {
    color: #ABABAB;
}

.text-footer {
    margin: -1px;
}

.footer-column {
    padding: 0 2px;
}

.bold {
    font-weight: bold;
}

.copyright-footer {
    background-color: #101010;
    color: #F5F5F5;
    text-align: center;
    padding: 8px;
    clear: both;
    font-size: 18px;
}

@media (max-width: 700px) {
    footer {
        margin-bottom: -10px;
    }

    .footer-logo {
        width: 150px; /* Decrease the width of the logo for screens smaller than 700px */
    }

    .footer-links a {
        font-size: 12px; /* Decrease font size for screens smaller than 700px */
        margin: 5px 5px; /* Adjusted margin for smaller screens */
    }

    .contact-info {
        font-size: 14px; /* Decrease font size for screens smaller than 700px */
        margin-bottom: 5px; /* Adjusted margin for smaller screens */
    }
}

/*NEW PAGE*/
.photo-header {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.photo-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-second-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* 70% transparent black overlay */
}

.raspored{
    padding-top: 80px;
    padding-bottom: 80px;
}

p3 {
    font-size:  30px;
}

@media (max-width: 700px) {
    p3 {
        font-size: 24px; /* Decrease font size for screens smaller than 700px */
    }
}

@media (max-width: 680px) {
    .photo-header{
        height: 175px;
    }
}

.proba{
    background-color: #ABABAB;
    color: #F5F5F5;
}

.document-section {
    background-color: #ABABAB; /* Light grey background */
    padding: 50px 50px 100px;
    text-align: center;
}

.document-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.document-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-weight: 600;
    background-color: #FFAA00; /* Blue background */
    color: #101010;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.document-link:hover {
    background-color: #F5F5F5; /* Darker blue on hover */
}

.document-link:active {
    background-color: #ABABAB; /* Change background color for active state */
}

.cta-section {
    background-color: #212121; /* Yellow background */
    padding: 50px;
    text-align: center;
    color: #F5F5F5;
}

.cta-content h1 {
    font-size: 36px;
    margin-bottom: 5px;
}

.cta-content h2 {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 200;
}

.logo-download-section {
    background-color: #FFFFFF;
    text-align: center;
    padding: 10px 20px 80px 20px;
}

.logo-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: nowrap; /* Logotipi u jednom redu, bez preslagivanja */
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centriraj sliku i gumb */
}

.logo-item img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.logo-item .cta-button {
    margin-top: 0;
    width: auto;
    padding: 10px 60px;
    display: inline-block;
}

@media (max-width: 1280px) {
    .logo-item img {
        width: 280px;
    }
}

@media (max-width: 700px) {
    .logo-container {
        flex-wrap: wrap;
        gap: 30px;
    }
    .logo-item img {
        width: 200px;
    }
}

