/*!
=========================================================
* Rizalmantovani.com - v3.0
=========================================================

* Designed & Coded by Haduao Creative Labs 
  https://haduao.com 
  
  2024

=========================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Urbanist:wght@800&display=swap');

:root {
    --bg-color: #121212;
    --text-color: #ffffff;
    --accent-color: #f78d23;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Outfit, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.459);
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}


.logo img {
    position: absolute;
    height: 30px;
    top: 15px;
    left: 15px;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.4s;
}

.burger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.overlay-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0);
    backdrop-filter: blur(0px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, backdrop-filter 0.3s ease-out, background-color 0.3s ease-out;
}

.overlay-menu.active {
    opacity: 1;
    visibility: visible;
    background-color: rgba(18, 18, 18, 0.489);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.overlay-menu nav {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out 0.1s, transform 0.3s ease-out 0.1s;
}

.overlay-menu.active nav {
    opacity: 1;
    transform: translateY(0);
}

.overlay-menu nav ul {
    list-style-type: none;
    text-align: center;
}

.overlay-menu nav ul li {
    margin-bottom: 2rem;
}

.overlay-menu nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.overlay-menu nav ul li a:hover {
    color: var(--accent-color);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 17px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    display: none;
    width: 30px;
    height: 30px;
    padding: 0;
    overflow: hidden;
}

.close-menu:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.close-menu::before,
.close-menu::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: currentColor;
}

.close-menu::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-menu::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.overlay-menu.active .close-menu {
    display: block;
}



/*.slider-container {
    height: 100%;
    width: 100%;
    position: relative;
    width: 100%;
    height: 100vh; Ensure the slider container covers full viewport height 
    overflow: hidden; Hide overflow if the video goes beyond the container 
    position: relative;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;  Send it to the background 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 10%;
    left: 40%;
    max-width: 100%;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
}

.slide-content p {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 0;
}


*/




footer {
    background-color: rgba(18, 18, 18, 0.8);
    color: var(--text-color);
    text-align: center;
    padding: 1rem;
    font-size: smaller;
}

@media (min-width: 1024px) {
    .logo img {
        width: 250px;
    }
}


@media (max-width: 768px) {
    .logo img {
        width: 150px;
        top: 15px;
        left: 15px;
    }
}
/*@media (max-width: 768px) {
    .logo img {
        width: 150px;
        top: 15px;
        left: 15px;
    }
    .slider-nav {
        padding: 0.5rem;
    }
    .slider-nav img {
        width: 30px;
        height: 30px;
    }
    .prev-slide {
        left: 1rem;
    }
    .next-slide {
        right: 1rem;
    }
    .slide-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
    }
    .slide-content h2 {
        font-size: 2rem;
    }
    .slide-content p {
        font-size: 1rem;
    }*/

/* Portfolio Works Section */
#portfolio-gallery {
    padding: 4rem 1rem;
    background-color: var(--bg-color);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1440px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 2 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.section-title {
    text-align: center;
    line-height: 2.8rem;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.section-title2{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.section-title3{
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    margin-top: 1.4rem;
    font-weight: 400;
    color: var(--text-color);
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.373);
    line-height: 1.3rem;
    color: var(--text-color);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
}

.gallery-item-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-item-info p {
    font-size: 1rem;
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr;
        min-width: 368px;
    }
    .gallery-item {
        border-radius: 10px;    
    }
}

/* Still Photography Portfolio Section */
#still-portfolio {
    padding: 4rem 2rem;
    background-color: var(--bg-color);
}

.still-gallery {
    column-count: 4; /* Number of columns */
    column-gap: 1rem; /* Gap between columns */
    max-width: 1200px;
    margin: 0 auto;
}
.still-item {
    break-inside: avoid; /* Prevents breaking inside columns */
    margin-bottom: 1rem; /* Space between items */
    overflow: hidden; /* Ensures rounded corners apply to images */
    border-radius: 8px;
}
.still-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.still-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .still-gallery {
        column-count: 3; /* Adjust number of columns */
    }
}
@media (max-width: 992px) {
    .still-gallery {
        column-count: 2; /* Adjust number of columns */
    }
}
@media (max-width: 768px) {
    .still-gallery {
        column-count: 1; /* Single column for smaller screens */
    }
}


/* About Section */

#about-video-text-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .about-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .about-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%);
  }
  .about-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.582); /* Adjust opacity as needed */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
  }

  .about-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    color: #ffffff;
    z-index: 2;
  }
  
  .about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  .about-image-column {
    flex: 1;
  }
  
  .about-image-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .about-text-column {
    flex: 1;
  }
  
  .about-text-column h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .about-text-column p {
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 200;
  }
  
  @media (max-width: 768px) {
    .about-text-overlay {
      top: 0;
      transform: translate(-50%, 0);
      padding: 20px;
      overflow-y: auto;
      height: 100%;
    }
  
    .about-content-wrapper {
      flex-direction: column;
    }
  
    .about-image-column {
      margin-bottom: 20px;
    }
  
    .about-text-column h2 {
      font-size: 2rem;
    }
  
    .about-text-column p {
      font-size: 0.9rem;
    }
  }



/* Default video container for larger screens (16:9 aspect ratio) */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* For mobile devices (9:16 aspect ratio) */
@media (max-width: 768px) {
    .video-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 177.78%; /* Aspect ratio for vertical (9:16) */
        overflow: hidden;
    }

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;  /* Ensure iframe takes full width */
        height: 100%; /* Full height of the container */
        object-fit: cover;  /* Ensures the iframe covers the entire container */
        border: none;
    }
}

/* Ensure images are responsive */
.video-container img {
    max-width: 100%;  /* Ensure the image takes up the full width of the container */
    height: auto;     /* Maintain aspect ratio */
    display: block;   /* Remove any extra space below the image */
    margin: 0 auto;   /* Center the image */
}



/* tambahan */
.card-body .table-responsive {
    display: flex;
    justify-content: space-between;
    gap: 1rem; /* Optional, for some space between the two sections */

}

.left-column {
    width: 50%;
}

.right-column {
    width: 50%;
}

/* arrow down */
.down-arrow {
    position: absolute;
    left: 50%;
    translate: -50% 0;
    padding: 20px;
    z-index: 100;
    bottom: 10px;
    cursor: pointer;
}
.not-mobile .down-arrow:hover path {
    fill: #C0081F;
}	
.bounce {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* arrow right */
.right-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 20px;
    z-index: 100;
    cursor: pointer;
}
.not-mobile .right-arrow:hover path {
    fill: #C0081F;
}
.bounce-right {
    -moz-animation: bounce-right 2s infinite;
    -webkit-animation: bounce-right 2s infinite;
    animation: bounce-right 2s infinite;
}
@keyframes bounce-right {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(10px);
    }
    60% {
        transform: translateX(10px);
    }
}



/* Credit Button */

.credit-button {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-family: Outfit, sans-serif;
    transition: background 0.3s ease;
}

.credit-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Credit Overlay */
.credit-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 1000;
    transition: right 0.5s ease-out, backdrop-filter 0.5s ease-out, background-color 0.5s ease-out;
}

.credit-overlay.active {
    right: 0;
    background-color: rgba(18, 18, 18, 0.489);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.credit-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Ensure content stacks vertically */
    position: relative;
    width: 100%;
    height: 100%;
    padding: 60px 20px 20px;
    color: var(--text-color);
    opacity: 0;
    transition: opacity 0.3s ease-out 0.2s;
    overflow-y: auto; /* Allow scrolling if content is long */
}

.credit-overlay.active .credit-content {
    opacity: 1;
}

.credit-text {
    
    text-align: center; /* Ensure text is centered */
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap; /* Preserve line breaks */
    word-wrap: break-word; /* Prevent long words from overflowing */
}


.credit-close {
    position: absolute;
    top: 20px;
    right: 17px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    width: 30px;
    height: 30px;
    padding: 0;
    overflow: hidden;
    z-index: 1001; /* Ensure it's above other content */
}

.credit-close::before,
.credit-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: currentColor;
}

.credit-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.credit-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.credit-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}