html,
body {
    scroll-behavior: smooth;
    height: 100%;
    overflow: auto;
    color: #fff;
    font-family: 'Comfortaa', sans-serif;
}

body.dark {
    background-color: #000;
}

section {
    background-color: #000;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    position: relative;
}

#home {
    background-color: transparent;
    overflow: hidden;
}

#contact {
    background-color: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#contact .text-block {
    text-align: center;
    padding: 2rem;
}

#contact .text-block h1 {
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

#contact .text-block p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

#shoots {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #000;
    color: #fff;
}

#shoots h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.carousel-container {
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* background-color: white; */
}

.carousel-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    animation: bounce 20s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(20%);
    }

    50% {
        transform: translateY(-20%);
    }
}

.carousel-description {
    margin-top: 1rem;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
}

#shoots h3 {
    font-weight: 900;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
}

.carousel-button.left {
    left: 10px;
}

.carousel-button.right {
    right: 10px;
}

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

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.swiper-slide img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    transition: transform 2s ease;
}

.swiper-slide img:hover {
    transform: scale(1.25);
}

.scale-img:hover {
    transform: scale(1.15);
    transition: transform 1s ease;
}

.scale-img {
    border-radius: 10px;
}

.swiper-slide .overlay {
    position: absolute;
    top: 85%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 14px;
    height: 50px;
}

footer {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    text-align: center;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    text-shadow: 2px 2px 4px black;
}

.navbar-brand {
    font-size: 28px;
    font-weight: bold;
    height: 40px;
    color: white;
    text-transform: none;
}

.navbar-brand:hover {
    color: white;
    text-transform: none;
    text-decoration: none;
}

.hamburger-menu {
    font-size: 40px;
    cursor: pointer;
}

.drawer-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    color: #000;
    transition: right 0.3s ease;
    padding: 1rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.drawer-menu.open {
    right: 0;
}

.drawer-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.drawer-menu ul li {
    margin: 1rem 0;
}

.drawer-menu ul li a {
    color: #000;
    text-decoration: none;
    text-transform: none;
    font-weight: bold;
    font-size: 24px;
}

.drawer-menu .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    cursor: pointer;
}


#home {
    background-color: #000;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* z-index: -1; */
    transition: opacity 1s ease-in;
    /* opacity: 0; */
}

.background-image.active {
    /* opacity: 1; */
    animation: scaleInOut 10s infinite;
}

@keyframes scaleInOut {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.center-text {
    text-align: center;
    z-index: 1;
    color: #fff;
    font-weight: 900;
}

.scroll-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-link:hover {
    text-transform: none;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.left-panel h1,
.right-panel h1 {
    margin-bottom: 2rem !important;
    font-weight: bold;
    font-size: 2rem;
}

.left-panel p,
.right-panel p {
    font-size: 1.2rem;
}


/* Project view */
.project-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.project-header img {
    max-width: 60%;
    border-radius: 10px;
    flex: 1;
}

.project-description {
    flex: 1;
    padding-left: 2rem;
}

.project-description h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-description p {
    font-size: 1rem;
    line-height: 1.5;
}

.project-gallery {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.project-gallery img {
    width: 30%;
    border-radius: 10px;
    cursor: pointer;
}

.grid-image-container {
    padding: 15px;
}

.grid-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    animation: flipIn 0.8s ease-out;
}

.grid-image:hover {
    transform: scale(1.25);
    transition: transform 0.5s ease;
}

@keyframes flipIn {
    0% {
        transform: rotateY(90deg);
        opacity: 0;
    }

    100% {
        transform: rotateY(0);
        opacity: 1;
    }
}

.grid-image-overlay {
    position: absolute;
    top: 85%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 0rem;
    font-size: 14px;
    height: 50px;
}

.grid-image-overlay a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}