body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
}



header {
    background-color: #000000;
    color: white;
}

.wrapper {
    max-width: 1920px;
    margin: 0 auto;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px 0;
}

#logo {
    width: 8%;
    margin-left: auto; 
}



.nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1b1b1b;
    z-index: 1000;
    margin: 0;
    padding: 0; /* padding added when opened */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    max-height: 0; /* collapsed */
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 700ms ease, opacity 500ms ease, transform 500ms ease;
}

.nav ul.active {
    display: flex;
    padding: 10px 0;
    max-height: 640px;
    opacity: 1;
    transform: translateY(0);
}

.nav.active ul {
    display: flex;
    padding: 10px 0;
    max-height: 640px;
    opacity: 1;
    transform: translateY(0);
}

.nav ul li {
    margin: 0;
    text-align: center;
    width: 100%;
}

.nav ul li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.hamburger {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    z-index: 1001;
    margin: 20px; 
}

.hamburger .bar {
    width: 100%;
    height: 5px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

.logo-footer {
    width: 2px;
}
.footer p {
    padding: 0.9em 0 0 1em;
    font-weight: 600;
}
.footer{
    display: flex;
    color: white;
    padding-left: 1em;
}

/* ABOUT PAGE */

.about-section {
    padding: 50px 20px;
    color: white;
    text-align: center;
    font-size: 1.5em;
    line-height: 1.6;
}



/* GALLERY PAGE */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr)); 
    gap: 1rem;
    padding: 1rem;
}

.gallery-item {
    background: #000000;
    transition: transform 0.5s ease, box-shadow 1.5s ease;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.gallery-item:hover .img-overlay {
    transform: translateY(0);
}

.img-title {
    color: rgb(255, 253, 253);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.scroll-container {
  background-color: #333;
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
  display: flex;
}





/* INDEX PAGE */

.front-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(50%);
}
 
.front-img img {
    width: 100%;
}

.front-img:hover {
    transition: 2s ease;
    filter: brightness(80%);
}

.front-text {
    font-size: 150px;
    text-align: center;
    padding: 100px 20px;
    color: rgb(255, 255, 255);
}

.divider {
    color: rgb(255, 255, 255);
    margin: 10px 0;
}


/* CONTACT PAGE */
    .kontakt-information {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2em;
        font-style: italic;
    }

    .kontakt-information a {
        color: rgba(255, 255, 255, 0.719);
        text-decoration: none;
        margin: 10px 0;
        font-weight: bold;
    }





/* MEDIA QUERIES */

@media (max-width: 1024px) {
    .front-text {
        font-size: 120px;
        padding: 80px 20px;
    }


    .gallery-item:hover {
        transform: scale(1);
    }

    .img-overlay {
        display: block;
        transform: none;
    }
    #logo {
        width: 15%;
        margin: 0%;
    }
    .divider {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .front-text {
        font-size: 80px;
        padding: 50px 20px;
    }
    .divider {
        font-size: 2em;
    }

    .front-img {
        filter: brightness(80%);
    }

    .gallery-item:hover {
        transform: scale(1);
    }

    .img-overlay {
        display: block;
        transform: none;
    }
    #logo {
        width: 20%;
        margin: 0%;
    }

    .about-section {
        font-size: 1.2em;
        padding: 2em;
    }
    
}

@media (max-width: 480px) {
    .front-text {
    font-size: 40px;
    padding: 0px 20px;

    }


    .front-img {
    filter: brightness(80%);
    }

    #logo {
        width: 28%;
        margin: 0%;
    }


    .gallery-item:hover {
        transform: scale(1);
    }

    .gallery-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .img-overlay {
        display: block;
        transform: none;
    }

    .kontakt-information {
        font-size: 1.5em;

    }
    .kontakt-information ul {
        font-size: 0.8em;
        padding: 0.8em;
    }


}