/* Apply a semi-transparent background to the body and an image under it */
body {
    margin: 0;
    padding: 0;
    background: url('/images/excape.png') no-repeat center center fixed;
    background-size: cover;
    background-color: rgba(255, 234, 165, 0.6);
    color: rgba(88, 72, 60,1);
}

main.transparent {
    background-color: rgba(139, 142, 63, 0.7); /* White with 50% transparency */
    padding: 20px;
}


.project-page {
    position: relative;
    z-index: 1;
}

/* Styling for the project page */
.project-main {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.project-info {
    flex: 1;
}

.project-image-text-container {
    display: flex;
    align-items: flex-start; /* Ensures text aligns with top of image */
    gap: 20px; /* Minimal gap between the image and text */
    background-color: rgb(255, 234, 165); /* Light yellow background */
    padding: 20px;
    border: 2px solid rgb(88, 72, 60); /* Brown border wrapping both elements */
    border-radius: 10px;
    max-width: 100%; /* Ensure the description wrapper doesn't exceed */
}

.project-static-image {
    width: 45%; /* Image takes up 45% of the container */
    max-width: 600px; /* Prevents image from being too large */
    height: auto;
    object-fit: cover;
    border: 2px solid rgb(88, 72, 60); /* Brown border for the image */
    border-radius: 8px;
}

.project-description-box {
    width: 100%; /* Ensures text takes remaining space */
    border: 2px solid rgb(88, 72, 60); /* Adds border to the text */
    border-radius: 8px;
    padding: 10px;
}

.project-description-box h1 {
    color: rgb(138, 141, 62); /* Light green for headings */
}

.project-description-box p {
    color: rgb(88, 72, 60); /* Brown for paragraph text */
}



.project-description-box,
.project-my-part-box {
    background-color: rgba(255, 234, 165,1);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(88, 72, 60,1);
}

.project-description-box h1,
.project-my-part-box h2 {
    margin-bottom: 10px;
}

/* Styling for the video container and individual video boxes */
.project-videos {
    margin-top: 30px;
    margin-bottom: 30px;
}

.video-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.video-box {
    flex: 1;
    position: relative;
    padding-bottom: 25%; /* Aspect Ratio for 16:9 */
    border-radius: 8px; /* Slight rounding of the corners for the video box */
}

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

.project-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

/* Main Section Layout */
.project-main {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.project-info {
    flex: 1;
    background-color: rgba(255, 234, 165,1);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-slider {
    flex: 1;
    background-color: rgba(88, 72, 60,1);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(88, 72, 60,0.1);
}

.slider-container {
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    max-width: 100%;
    height: auto;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* My Part Section */
.project-my-part {
    margin-top: 20px;
}

/* Videos Section */
.project-videos {
    background-color: rgba(88, 72, 60,1); /* Header green */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-text h2 {
    font-size: 5rem;
    max-width: 800px;
    line-height: 1.5;
    color: rgba(255, 234, 165, 1);
}

.project-videos iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.project-text {
    color: rgb(255, 234, 165); /* Light yellow */
    font-size: 24px; /* Optional: adjust size if needed */
    text-align: center;
}

/* Screenshots Section */
.project-screenshots {
    margin-top: 30px;
}

.screenshots-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(255, 234, 165, 1); /* Matches project info box */
    padding: 20px;
    border: 1px solid rgba(88, 72, 60, 1);
    border-radius: 8px; /* Rounded style */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* Prevent content from escaping the box */
}

/* Individual Screenshot Box */
.screenshot-box {
    background-color: rgba(138, 141, 62, 0.7); /* Slightly darker green */
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(88, 72, 60, 1); /* Matches container */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
    overflow: hidden; /* Ensures images stay within bounds */
}

.screenshot-inner-box {
    background-color: rgba(255, 234, 165, 1); /* Inner box styled like project info */
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(88, 72, 60, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Consistent shadow */
    overflow: hidden; /* Prevent image overflow */
}

/* Screenshot Images */
.screenshots-images {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Hover Effect for Images */
.screenshots-images img {
    width: 100%; /* Ensure images take full width of the container */
    height: auto; /* Keep aspect ratio */
    max-height: 300px; /* Prevent images from being too tall */
    object-fit: cover; /* Ensure the image covers the container without overflow */
    flex-wrap: wrap; /* Allows images to wrap to new lines */
    border-radius: 8px;
    border: 2px solid rgba(255, 234, 165, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshots-images img:hover {
    transform: scale(1.05); /* Slightly enlarge the image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    cursor: pointer; /* Change the cursor to indicate interactivity */
}


/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .screenshots-images {
        flex-direction: column; /* Stack images vertically */
        gap: 20px;
    }

    .screenshots-container {
        padding: 15px;
    }

    .screenshot-box {
        padding: 8px;
    }

    .screenshot-inner-box {
        padding: 8px;
    }
}

/* Outer container with a brown border and decorative elements */
.project-info-2 {
    background-color: rgba(255, 234, 165); /* Matching project info style */
    border-radius: 10px; /* Smooth corners */
    padding: 10px; /* Space inside the wrapper */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

/* Inner container for two boxes */
.project-description-wrapper {
    display: flex;
    gap: 135px; /* Space between two sections */
}

/* Individual boxes inside the wrapper */
.project-description-box1,
.project-description-box2 {
    flex: 1; /* Divide space equally */
    background-color: rgba(255, 234, 165, 1); /* Same background as project info */
    border: 2px solid rgba(88, 72, 60, 1); /* Individual brown outlines */
    padding: 20px;
    border-radius: 8px; /* Smooth corners for inner boxes */
    box-sizing: border-box;
    max-width: 100%; /* Ensure the description box does not exceed its container */
    word-wrap: break-word; /* Allows long words to break and wrap into the next line */
    overflow: hidden; /* Ensures text doesn't overflow outside of box */
}

.behance-button {
    display: block;
    width: 100%; /* Matches the width of the containing box */
    background-color: rgba(255, 234, 165,1); /* Yellow background */
    color: rgba(88, 72, 60,1); /* Brown text color */
    border: 2px solid rgba(88, 72, 60,1);; /* Brown outline */
    text-align: center;
    text-decoration: none; /* Removes underline */
    padding: 10px 0; /* Adds vertical padding */
    font-size: 1rem; /* Adjust font size */
    font-weight: bold; /* Makes text bold */
    border-radius: 5px; /* Slightly rounded corners */
    transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
    margin-top: 20px; /* Adds space above the button */
}

.behance-button:hover {
    background-color: rgba(88, 72, 60,1);; /* Brown background on hover */
    color: rgba(255, 234, 165,1); /* Yellow text on hover */
}

/* Lightbox Container */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Hide Lightbox by Default */
.hidden {
    display: none;
}

/* Lightbox Content */
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* Close Button */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: rgba(255, 234, 165, 1);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


