@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap");

body {
    background-color: black;
    scroll-behavior: smooth;
    /* Standardized the font for the entire site to Jost */
    font-family: "Times New Roman", sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.navbar {
    background-color: black;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Ensured all navigation links use the same, consistent font */
.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
    font-family: "Times New Roman", sans-serif; /* This line ensures all nav links are the same */
}

.main-page {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.main-background {
    position: relative;
    height: 100%;
    opacity: 50%;
    margin-top: -10px;
}

.second-page {
    position: relative; 
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    z-index: -1;
    opacity: 50%;
}

.video-bg {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1;
}

.cover-video,
.section-video {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1; /* Move the videos behind other elements */
}

.section-video {
    opacity: 100%; /* Adjust the opacity for the section video if needed */
}

.overlay-text {
    position: absolute;
    top: 60%; /* Adjust the top value to move the title up or down */
    left: 22%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
    font-size: 2em;
}

.main-background h1 {
    font-family: 'Times New Roman', sans-serif; /* Kept this for the stylized title */
    font-size: 2em; /* Adjust the font size for the title */
    letter-spacing: 2px;
    transition: color 1.0s ease-in-out;
    margin-bottom: -100px; /* Adjust the margin as needed */
    position: relative;
    z-index: 1;
}

.main-background p {
    font-family: 'Times New Roman', sans-serif; /* Kept this for the stylized title */
    font-size: 0.8em; /* Adjust the font size for the title */
    width: 40%;
    letter-spacing: 2px;
    transition: color 1.0s ease-in-out;
    left: 6.8%;
    top: -335px; /* Adjust the margin as needed */
    position: relative;
    z-index: 1;
}

/* title hover */
.main-background h1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assests/images/shape.jpg') center/cover; /* Replace with your image */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.main-background h1:hover::before {
    opacity: 1;
}



/* Parallax container */
.parallax {
    /* The image used */
    background-image: url('../assests/images/parallax.jpg'); /* <-- CORRECTED PATH */
    opacity: 50%;
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* Content sections */
.content {
    height: 300px;
    background-color: rgba(0, 0, 0, 0.181);
    text-align: justify;
    text-align: right;
    padding: 50px;
    margin-bottom: 400px;
    top: 300px;
 

}


h1 {
    font-size: 2.5em;
    margin-top: 10%;
}

p {
    font-size: 1em;
    margin-bottom: 10%;
}

/*different section*/

.ghibli-img {
    position: relative;
    align-items: center;
    justify-content: center;
    margin-top: 70%;
    margin-left: 10%;
    transition: transform 1s ease-in-out;
}

.ghibli-img:hover {
    transform: rotateY(180deg) rotateX(-10deg);
    
}


.text1 {
    align-items: right;
    margin-left: 50%;
    line-height: 1.5;
    width: 500px;
    margin-top: -30%;
    margin-bottom: 20%;
}

.text1 h1 {
    size: 2.5em;
    
}

.title1 {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
    margin-top: 100px;
}

.title1 h1 {
    margin: 0; /* Remove default margin */
    margin-bottom: 100px;
    margin-top: 100px;
}


.content1 {
    margin-bottom: 15%;
    margin-top: 15%;
    text-align: center;
    width: 850px;
    margin-left: 340px;
   
}

.designs {
    margin-left: 130%;
    margin-top: -115%;
    width: 550px;
    height: auto;
    transition: transform 1s ease-in-out;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); 
}

.designs:hover {
    transform: rotateY(-40deg) rotateX(20deg);
}



.photo-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 0%;
    margin-bottom: 50px;
    
    
}

.photo {
    flex: 1;
    overflow: hidden;
}

.photo img {
    width: 100%;
    height: 100%;
    border-radius: 20%;
    object-fit: cover;
    transition: transform 1s ease-in-out;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    object-position:center;
}


.photo-section.active .text-overlay {
    opacity: 0%;
}

.photo-section.active #photo1 img {
    transform: translateX(-60%);
}

.photo-section.active #photo2 img {
    transform: translateX(60%);
}


.different-background {
    background-color: #333; /* Set your desired background color */
    color: white;
    padding: 50px;
    text-align: center;
}




.main-background h1:hover {
    color: #add8e6;
    text-shadow: 0 0 10px #FFA500, 0 0 20px #FFA500, 0 0 30px #FFA500;
}

.main-background p:hover {
    color: #fff;
    text-shadow: 0 0 10px #FFA500, 0 0 20px #FFA500, 0 0 30px #FFA500;
}



.pictures {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* Section styling */
.section {
    position: relative;
    top: 300px;
    width: 100%;
    height: 100vh;
    overflow: hidden; /* Ensure overflow is hidden to prevent scrollbars */
}

/* Video styling */
#slider {
    position: absolute;
    bottom: 0px; /* Aligns the video to the bottom of the section */
    left: 50%;
    transform: translateX(-50%); /* Centers the video horizontally */
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
    z-index: -1;
}

/* Navigation styling */
.navigation {
    position: absolute;
    bottom: 0px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
}

/* Navigation list item styling */
.navigation li {
    cursor: pointer;
    margin: 0 20px;
    border-radius: 4px;
    padding: 3px 8px;
    transition: transform 0.5s, opacity 0.5s;
    background: rgba(255, 255, 255, 0.495);
    margin-top: 550px;
    opacity: 90%;
}

/* Navigation list item hover effect */
.navigation li:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Navigation image styling */
.navigation li img {
    width: 120px;
    transition: transform 0.5s;
    background: rgba(255, 255, 255, 0.495);
    
}

/* Navigation image hover effect */
.navigation li img:hover {
    transform: scale(1.5);
}

.read-more-btn {
    background-color: #788E73;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    text-decoration: none; 
    transition: background-color 0.3s, transform 1s;
    cursor: pointer;
}

.read-more-btn:hover {
    background-color: #252C23;
    transform: scale(1.05);
    
}

a {
    text-decoration: none;
    color: inherit; /* Ensures links inherit text color */
}

a:hover {
    text-decoration: none; /* Ensures no underline on hover */
}

.scroll-to-top-container {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 50%;
}

.scroll-to-top-btn {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #E1A851;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: 20px; /* Adjust font weight for thickness */
    padding: 0px; /* Add padding for thickness */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.scroll-down {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.scroll-down:hover {
    background-color: white;
    color: black;
}

/* Styling for the footer */
footer {
    color: white;
}

html { 
    scroll-behavior: smooth; 
}

.slider-container{
    width: 100%;
    height: 100vh;
    background-image: url('../assests/images/bg-img.png'); /* <-- CORRECTED PATH */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.slider-images{
    display: flex;
    align-items: center;
    gap: 21px;
}
.slider-images img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.slider-img{
    width: 110px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: 0.7s ease;
}
.slider-images .slider-img:first-child, .slider-images .slider-img:last-child{
    height: 480px;
}
.slider-images .slider-img:nth-child(2), .slider-images .slider-img:nth-child(6){
    height: 560px;
}
.slider-images .slider-img:nth-child(3), .slider-images .slider-img:nth-child(4), .slider-images .slider-img:nth-child(5){
    height: 665px;
}
.slider-img h1{
    font-size: 40px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    color: #fff;
    position: absolute;
    top: 50%;
    left: -10%;
    transform: rotate(270deg);
    transition: 0.7s ease;
}
.details{
    position: absolute;
    bottom: 43px;
    left: 43px;
}
.details h2{
    font-size: 26px;
    font-weight: 700;
    text-align: left;
    line-height: 44px;
    color: #fff;
    text-transform: uppercase;
    transition: 0.7s ease;
    display: none;
}
.details p{
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    line-height: 33px;
    color: #fff;
    text-transform: uppercase;
    transition: 0.7s ease;
    display: none;
}
.slider-img.active{
    width: 766px !important;
    height: 750px !important;
}
.slider-img.active h1{
     display: none;
}
.slider-img.active .details p, .slider-img.active .details h2{
    display: block;
}


.poster-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
}

.poster-item {
    position: relative;
    width: 200px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    justify-content:center;
    place-content: center;
    place-items: center;

   
}

.poster-item:hover {
    transform: scale(2.5);
    z-index: 10
}

.poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    place-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 25px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.poster-item:hover .video-overlay {
    opacity: 1;
}

.video-trailer {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.poster-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    text-align: center;
    width: calc(100% - 20px);
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out;
}

.poster-item:hover .poster-text {
    transform: translateY(-20px);
    opacity: 0; /* Hide the text when hovering */
}

.poster-text h2 {
    margin: 0;
    font-size: 1.2em;
}

.poster-text p {
    margin: 5px 0 0;
    font-size: 0.9em;
}
