@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
    scroll-behavior: smooth;

}


:root {
    --primary-color: #0000;
    --second-color: #BEB7A4;
    --text-color: #FFFFFC;
}

/* Nav Bar */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 200;
}

.menu-toggle span {
    background-color: var(--text-color);
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #000;
}

nav .logo img {
    width: 100px;
    margin-left: 50px;
}

nav .navlinks ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-right: 50px;
}

nav .navlinks ul li a {
    text-decoration: none;
    color: var(--text-color);
}

nav .navlinks ul li a:hover {
    color: #ffffff73;
}

/* Galerie */
.galerie .text-galerie {
    background: #000;
    background-position: center;
    margin: 35px;
    margin-top: 20px;
    width: 90vw;
    height: 50px;
    display: flex;
    align-items: center;
}

.galerie .text-galerie h2 {
    color: var(--text-color);
    text-align: left;
    padding: 10px;
    text-transform: uppercase;
}


/* Carousel */

.carousel-container {
    width: 45%;
    max-width: 100%;
    position: relative;
    margin-top: 50px;
    left: 2.5%;
    overflow: hidden;
    border-radius: 10px;
    display: inline-block;
    vertical-align: top;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-buttons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.carousel-button {
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.carousel-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: white;
}

/* Images */

.galerie .row {
    margin-top: 10vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 2rem;
}

.galerie .row .card {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

}

.galerie .row .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}


/* Footer section */

footer {
    margin-top: 50px;
    background: #000;
    color: #fff;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer .row .top img {
    margin-left: 45px;
    margin-bottom: 20px;
    width: 100px;
}

footer .row .top {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

footer .row .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* footer icon part */

footer .row .bottom .column .icon {
    margin-left: 50px;
    display: flex;
    gap: 10px;
    text-align: center;
    margin-bottom: 10px;
}

footer .footer-container .row .bottom .column .icon p a {
    color: #fff;
    text-decoration: none;
}

/* Footer Link part */

footer .row .bottom .column-links ul {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .row .bottom .column-links ul li a {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
}

/* copyright */

footer .footer-container .copy {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

footer .footer-container .copy p {
    color: var(--text-color);
    font-size: .8rem;
}



@media screen and (max-width: 1200px) {
    /* Adjusting carousels for medium screens */
    .carousel-container {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        display: block;
        left: 0;
    }
    
    .carousel {
        height: 450px;
    }
}

@media screen and (max-width: 768px) {
    /* Navigation */
    nav .logo img {
        margin-left: 20px;
        width: 80px;
    }
    
    .menu-toggle {
        display: flex;
        margin-right: 20px;
    }
    
    nav .navlinks {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease-in-out;
        z-index: 100;
    }
    
    nav .navlinks.active {
        right: 0;
    }
    
    nav .navlinks ul {
        flex-direction: column;
        text-align: center;
        margin-right: 0;
    }
    
    nav .navlinks ul li {
        margin: 15px 0;
    }
    
    /* Gallery title */
    .galerie .text-galerie {
        width: 90%;
        margin: 20px auto;
    }
    
    .galerie .text-galerie h2 {
        font-size: 1.5rem;
    }
    
    /* Carousels */
    .carousel-container {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        display: block;
        left: 0;
    }
    
    .carousel {
        height: 350px;
    }
    
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* Image grid */
    .galerie .row {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }
    
    .galerie .row .card {
        height: 300px;
    }
    
    /* Footer */
    footer .row .top  {
        display: flex;
        justify-content: center;
    }
    
    footer .row .bottom {
        flex-direction: column;
        text-align: center;
    }
    
    footer .row .top img {
        margin-left: 0;
    }
    
    footer .row .bottom .column .icon {
        margin-left: 0;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    footer .row .bottom .column-links ul {
        flex-direction: column;
        margin: 20px 0;
    }
    
    footer .row .bottom .column-links ul li {
        margin: 10px 0;
    }
    

}

@media screen and (max-width: 480px) {
    /* Title */
    .galerie .text-galerie h2 {
        font-size: 1.2rem;
    }
    
    /* Carousels */
    .carousel {
        height: 250px;
    }
    
    .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    /* Image grid */
    .galerie .row {
        grid-template-columns: 1fr;
    }
    
    .galerie .row .card {
        height: 250px;
    }
    
    /* Footer */
    footer .footer-container .copy p {
        font-size: 0.7rem;
        text-align: center;
    }
}