body {
    background-color: black;
    scroll-behavior: smooth;
    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;
}

/* Additional styling for the navigation links if needed */
.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', sans-serif;
}

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

.main-background {
    position: relative;
    height: 100%;
    opacity: 50%;
}

.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: 'Playfair Display', serif;
    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;
    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(../assets/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;
        }


        .btn-link {
            display: inline-block;
            padding: 10px 20px;
            text-decoration: none;
            color: white;
            background-color: #587b83;
            border-radius: 5px;
            text-align: center;
            transition: background-color 0.3s ease;
        }
        
        .btn-link:hover {
            background-color: #21272e;
        }
        



/*different section*/

.ghibli-img {
    position: relative;
    align-items: center;
    justify-content: center;
    margin-top: 20%;
    margin-left: 20%;
    opacity: 0; /* Start with image invisible */
    animation: appearBlink 4s ease-in-out forwards; /* Adjust the total duration as needed */
}

@keyframes appearBlink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    70% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}



.p1 {
    margin-left: 48%;
    margin-top: 5%; 
}


   
.p2 {
    margin-left: 30%;
    margin-bottom: 60%; 
    margin-top: -6%;
}

.p3 {
    margin-left: 57%;
    margin-top: -63%;
}



.p1 img {
    width: 45px; /* Adjust the size as needed */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(113, 114, 175, 0);
    cursor: pointer;
}

.p1 img:hover {
    transform: scale(1.1); /* Scale up the image */
    box-shadow: 0 4px 8px rgba(175, 171, 113, 0.608); /* Enhanced glow effect */
    filter: brightness(1.2); /* Optional: Brightness increase for glow effect */
}


.p2 img {
    width: 145px; /* Adjust the size as needed */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(113, 114, 175, 0);
    cursor: pointer;
}

.p2 img:hover {
    transform: scale(1.1); /* Scale up the image */
    box-shadow: 0 4px 8px rgba(175, 171, 113, 0.608); /* Enhanced glow effect */
    filter: brightness(1.2); /* Optional: Brightness increase for glow effect */
}

.p3 img {
    width: 150px; /* Adjust the size as needed */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(113, 114, 175, 0);
    cursor: pointer;
}

.p3 img:hover {
    transform: scale(1.1); /* Scale up the image */
    box-shadow: 0 4px 8px rgba(175, 171, 113, 0.608); /* Enhanced glow effect */
    filter: brightness(1.2); /* Optional: Brightness increase for glow effect */
}


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

.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 2.5s ease-in-out;
}


.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;
}

/* General section styling */
/* Section styling */


/* 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: px; /* 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: px; /* 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);
}

/* 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);
}


.cam {
    position: relative;
    width: 300px; /* Adjust the width as needed */
    height: auto; /* Adjust the height as needed */
    justify-content: center;
    align-items: center;
    
}

.cam img {
    position: absolute;
    top: -195px;
    left: 300px;
    width: 300%;
    height: auto; /* Corrected: removed the '%' */
    transition: opacity 0.5s ease-in-out;
    /* 'justify-content' was removed as it has no effect here */
}

.hover-image {
    opacity: 0;
}

.cam:hover .default-image {
    opacity: 0;
}

.cam:hover .hover-image {
    opacity: 1;
}



.video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top:20%;
    opacity: 90%;

}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.gallery {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1;
}

.gallery-item {
    position: relative;
    margin: 10px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery-item:hover .overlay {
    opacity: 1;
}



/* Navigation Styling */

.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 */
}


.stills {
    position: absolute;
    top: 385%;
    left: 50%;
    transform: translate(-50%, -50%);
    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;
}

.stills:hover {
    background-color: #252C23;
}

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;
}

/* Add more styling as needed for additional sections */

html { 
scroll-behavior: smooth; 
}



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

.gallery-item {
    position: relative;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    background: rgba(0, 0, 0, 0.6);
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.text {
    color: #fff;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

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




.canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
}

.canvas .slide .item {
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.canvas .slide .item:nth-child(1),
.canvas .slide .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.canvas .slide .item:nth-child(3) {
    left: 50%;
}

.canvas .slide .item:nth-child(4) {
    left: calc(50% + 220px);
}

.canvas .slide .item:nth-child(5) {
    left: calc(50% + 440px);
}

/* Fixing nth-child syntax */
.canvas .slide .item:nth-child(n+6) {
    left: calc(50% + 660px);
    opacity: 0;
}

.item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}

.canvas .slide .item:nth-child(2) .content {
    display: block;
}

.content .name {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }
    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.button {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button {
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.button button:hover {
    background: #ababab;
    color: #fff;
}
