@font-face {
    font-family: 'Playfair Display';
    src: url('./fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --main-color: #2f5339;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica', Arial, sans-serif;
}


header {
    background-color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.small-header {
    height: 50px;
    padding: 10px;
}

#logo {
    width: 250px;
    height: auto;
}

nav {
    display: flex;
    text-align: center;
}
nav a,
.contact-icons a {
    text-decoration: none;
    color: black;
    margin: 0 15px;
    transition: color 0.3s;
}

nav a:hover,
.contact-icons a:hover {
    color: var(--main-color); 
}

.contact-icons {
    display: flex;
    align-items: center;
}

.contact-icons i {
    font-size: 20px;
    margin-right: 5px;
}

.contact-icons span {
    font-size: 14px;
    margin-right: 10px;
}

section {
    position: relative;
    padding-top: 70px; /* Adjust the padding as needed based on your fixed header height */
    scroll-margin-top: 70px; /* Adjust the scroll margin to compensate for the fixed header */
}


#hero-image {
    width: 100%;
    height: 600px;
    margin: 0;
    object-fit: cover;
}

#text-overlay {
    position: absolute;
    bottom: 0%;
    left: 10%;
    width: 300px;
    height: 45%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    text-align: center;
}

#text-overlay h1 {
    margin: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 50px;
}

#text-overlay p {
    margin-top: 20px;
    margin-bottom: 50px;
    margin-left: 30px;
    margin-right: 30px;
    font-size: 14px;
    line-height: 1.5;
}


#gray-box {
    background-color: #f2f2f2;
    padding: 50px 20%;
    margin-left: 100px;
    margin-right: 100px;
    margin-top: 50px;
}

.gray-box-content {
    max-width: 1200px;
    margin: 0 auto;
}

.gray-box-content p {
    font-size: 25px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin: 0; 
}

.gray-box-content p.gray-box-subtext {
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
}

.gray-boxes-container {
    display: flex;
    justify-content: space-around;
    box-sizing: border-box;
    padding: 40px 10%;
    margin-top: 20px;
}

.gray-box {
    width: calc(45% - 20px);
    background-color: #f2f2f2;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.gray-box img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 8px;
}

.gray-box h2 {
    margin-top: 10px;
    font-size: 18px;
}

.gray-box p {
    margin-top: 10px;
    font-size: 14px;
}

.info-button {
    background-color: var(--main-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;

}

.info-button:hover {
    background-color: var(--main-color);
}

.financing-section {
    background-color: var(--main-color);
    padding: 40px 10%;
    text-align: center;
}

.financing-box {
    max-width: 800px; 
    margin: 0 auto; 
}

.financing-box h2 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin-bottom: 10px;
}

.financing-box p {
    color: white;
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.5; 
}

.philosophy-section {
    padding: 40px 10%;
    text-align: center; 
    position: relative;
}

.philosophy-box {
    max-width: 1000px;
    margin: 0 auto; 
    position: relative;
}

.philosophy-box h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.philosophy-box p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5; 
}

.footer-section {
    background-color: var(--main-color);
    color: white;
    padding: 40px 5%; 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    max-width: calc(33.333% - 20px);
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-column p {
    font-size: 14px;
    margin: 0;
}

.footer-column a {
    color: white;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: white;
    margin-right: 10px;
    font-size: 24px;
}

.social-icons a[href*="facebook.com"]:hover {
    color: #3b5998; /* Facebook color on hover */
}

.social-icons a[href*="twitter.com"]:hover {
    color: #1da1f2; /* Twitter color on hover */
}

.social-icons a[href*="instagram.com"]:hover {
    color: #e4405f; /* Instagram color on hover */
}

.social-icons a[href*="linkedin.com"]:hover {
    color: #0077b5; /* LinkedIn color on hover */
}

.social-icons a[href*="tiktok.com"]:hover {
    color: #69c9d0; /* TikTok color on hover */
}

.address-section,
.contact-info-section,
.company-info-section {
    margin-bottom: 10px;
}

.footer-disclaimer {
    text-align: center;
    padding: 20px 5%;
}

.footer-disclaimer p {
    font-size: 14px;
    margin: 0;
}

.footer-disclaimer a {
    color: var(--main-color);
    text-decoration: none;
    margin: 0 10px;
}

.footer-disclaimer a:hover {
    text-decoration: underline;
}

#hamburger-btn {
   display: none;
   font-size: 20px;
   background: none;
   border: none;
   cursor: pointer;
}


.logo-container img {
    max-width: 100%;
    height: auto;
}

/* Sliding menu styles */
.sliding-menu {
    position: fixed;
    top: 70px;
    left: -470px;
    width: 450px;
    height: 100%;
    background-color: #333;
    padding-left: 20px;
    padding-top: 30px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
}


.sliding-menu nav {
    margin-top: 30px;
    margin-bottom: 20px;
    white-space: nowrap;
    text-align: left;
}

.sliding-menu ul {
    list-style: none;
    padding: 0;
}

.sliding-menu li {
    margin-bottom: 30px;
}

.sliding-menu a {
    text-decoration: none;
    color: white;
    font-size: 30px;
}

.contact-icons {
    color: var(--main-color);
}

/* Font Awesome icons in sliding menu */
.sliding-menu .contact-icons {
    display: flex;
    flex-direction: column;
    font-size: 30px;
}


.contact-icons div {
    margin-bottom: 20px;
}

.divider {
    border-top: 2px solid var(--main-color);
    margin: 20px 10px;
    width: 70%;
}


/* Side navigation styles */
.side-nav {
    width: 100%;
}

/* Hamburger icon styles */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.drdsgvo_map {
    height: 90%;
    width: 95%;
    margin: 0 auto;
    padding: 0;
}


@media only screen and (max-width: 1280px) {

    .gray-box img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        border-radius: 8px;
    }
}

#legal, #privacy, #terms {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
    background-color: #f2f2f2;
}

#legal section, 
#privacy section,
#terms section {
    position: relative;
    padding-top: 10px;
}




@media only screen and (max-width: 1024px) {
    /* Show hamburger icon and hide logo on smaller screens */
    .menu-toggle {
        display: block;
    }

    /* Center the logo in the header */
    .logo-container {
        justify-content: center;
        display: flex;
        width: 100%;
    }


    /* Slide in the menu when toggled */
    .sliding-menu.active {
        left: 0;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .divider {
        display: flex;
        justify-content: center;
    }

    #header-nav,
    #header-nav-contact {
        display: none;
    }

    .gray-boxes-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 40px;
        gap: 20px;
    }
    .gray-box {
        width: 100%;
    }

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

    .footer-column {
        max-width: 100%;
        width: 100%;
    }

    #gray-box {
        padding: 50px 5%;
        margin-left: 20px;
        margin-right: 20px;
    }

    #text-overlay {
        height: 40%

    }

    #text-overlay h1 {
        font-size: 40px;
    }

    
}


@media only screen and (max-width: 430px) {

    #text-overlay {
        width: 80%;
        height: 40%
    }

}



