.fade-transition {
    width: 100%;
    height: 100px; /* Adjust height as necessary */
    background: linear-gradient(to bottom, rgba(255, 234, 165, 0) 0%, rgba(255, 234, 165, 1) 100%);
    /* Adjust colors to match your intro section background */
}


.best-works {
    background-color: rgba(88, 72, 60,1);; /* Solid grey background */
    color: rgba(255, 234, 165,1);
    padding: 50px 0;
    text-align: center;
}

.best-works h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.slide {
    flex: 0 0 30%; /* Adjust width of each slide */
    max-width: 30%; /* Control the width of each slide */
    height: 400px; /* Make height bigger than width */
    margin: 0 auto;
    background-color: rgba(255, 234, 165, 0.6);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(88, 72, 60,0.1);
    text-align: center;
    transform: scale(0.8); /* Smaller size for side slides */
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
    outline: 5px solid rgba(184, 172, 0, 1); /* Added outline */
}

.slide img {
    width: 100%;
    height: 100%; /* Ensure image fills the container */
    object-fit: cover; /* Ensure the image fills the container mold */
    border-radius: 10px;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 234, 165, 0.6); /* Transparent white overlay */
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    
    font-size: 1.2rem;
    color: rgba(88, 72, 60,0.1);
    font-weight: bold;
    border-radius: 10px; /* Match the slider's rounded corners */
}


.overlay .work-name {
    font-size: 5rem;
    color: rgba(88, 72, 60,1); /* Dark text color */
    text-align: center;
}

.slide:hover .overlay {
    opacity: 1;
}


.timeline-container {
    background-color: rgba(255, 234, 165,0.8); /* White block with slight transparency */
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 20px auto;
    max-width: 1200px; /* Keeps the block contained */
}

.timeline-title-section {
    text-align: center;
    margin-bottom: 30px;
}

.timeline-title {
    font-size: 2.5em;
    font-weight: bold;
    color: rgba(88, 72, 60,1);
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 1.2em;
    color: rgba(88, 72, 60,1);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}



/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    background: url('/images/excape.png') no-repeat center center fixed;
    background-size: cover;
    color: rgba(88, 72, 60,1);
}

main {
    background: rgba(184 ,172, 0,1);
    padding: 50px 20px;
}

.intro-section,
.closing-section {
    background: rgba(107, 149, 107, 0.5);
    padding: 150px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.intro-section {
    min-height: 75vh;
}

.intro-content h1,
.closing-content h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: rgba(255, 234, 165, 1);
}

.intro-content p,
.closing-content p {
    font-size: 1.5rem;
    color: rgba(255, 234, 165, 1);
}



/* Transparent Background Section */
.transparent-end {
    height: 50vh;
    background: transparent;
}

/* Ending Section */
.ending-rectangle {
    background-color: rgba(138 ,141, 62, 0.7);
    color: rgba(255, 234, 165, 1);
    text-align: center;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ending-rectangle h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.ending-rectangle p {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.5;
}

/* green Section */
.g-rectangle {
    background-color: rgba(184 ,172, 0, 1);
    color: rgba(88, 72, 60, 1);
    text-align: center;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rectangle h2 {
    font-size: 5rem;
    max-width: 800px;
    line-height: 1.5;
}

.g-content {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between the lines and text */
}
/* Escape Image */
.escape-image img {
    margin-top: 20px;
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.intro {
    display: flex;
    justify-content: center;
    background-color: rgba(138 ,141, 62,0.7);
    align-items: center;
    padding: 50px 0;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between the lines and text */
}

.intro-text {
    text-align: center;
    max-width: 600px; /* Limit text width */
}

.line {
    width: 200px;
    height: auto;
    background-color: rgba(138 ,141, 62,1);
}

.intro-content .line {
    height: 100%; /* Matches the height of the text content */
}



/* Timeline Styles */
.timeline-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2em auto;
}

.timeline {
    position: absolute;
    left: 50%;
    width: 10px;
    background: rgba(88, 72, 60,1);
    height: calc(100% - 300px); /* Adjust 100px based on the maximum distance of the circles */
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3em 0;
    display: flex;
    align-items: center;
}

.timeline-item.left {
    justify-content: flex-end;
}

.timeline-item.right {
    justify-content: flex-start;
}

/* Connecting Lines */
.timeline-item .line {
    position: absolute;
    background: rgba(88, 72, 60,1);
    top: 50%;
    height: 5px;
    transform: translateY(-50%);
}

.timeline-item.left .line {
    left: 50%;
    transform: translateX(100px);
}

.timeline-item.right .line {
    right: 50%;
    transform: translateX(-100px);
}

/* Distance Modifiers for Timeline Items */
.timeline-item.left.close .line {
    width: 30%;
    transform: translateX(70px);
}

.timeline-item.left.near .line {
    width: 40%;
    transform: translateX(0px);
}

.timeline-item.left.far .line {
    width: 40%;
    transform: translateX(-75px);
}

.timeline-item.right.close .line {
    width: 30%;
    transform: translateX(-70px);
}

.timeline-item.right.near .line {
    width: 40%;
    transform: translateX(0px);
}

.timeline-item.right.far .line {
    width: 40%;
    transform: translateX(75px);
}

/* Date Positioning */
.date {
    position: absolute;
    font-size: 1.2em;
    font-weight: bold;
    color: rgba(88, 72, 60,1);
    white-space: nowrap;
    z-index: 1;
}

.date.left-close { right: calc(45%); }
.date.left-near { right: calc(55%); }
.date.left-far { right: calc(65%); }

.date.right-close { left: calc(45%); }
.date.right-near { left: calc(55%); }
.date.right-far { left: calc(65%); }

/* Circle Styles */
.circle {
    position: relative;
    width: 200px;
    height: 200px;
    border: 5px solid rgba(88, 72, 60,1);
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 234, 165, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.circle-text {
    position: absolute;
    font-size: 1.2em;
    color: rgba(88, 72, 60,1);
    font-weight: bold;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.circle:hover .circle-text {
    opacity: 1;
}

.circle:hover img {
    opacity: 0.3;
}

.circle:hover {
    background-color: rgba(255, 234, 165,1);
}

/* Header Styles */
header {
    margin: 0;
    padding: 0;
}

.main-header {
    background-color: rgba(138 ,141, 62,1);
    position: relative;
    text-align: center;
    padding: 1.5em 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header h1 {
    margin: 0;
    font-family: 'Roboto Slab', serif;
    font-size: 2.5em;
    color: rgba(255, 234, 165, 1);
    flex-grow: 1;
    text-align: center;
}

.main-header .header-link {
    text-decoration: none;
    color: rgba(138 ,141, 62,1);
}

.decorative-line {
    flex-grow: 1;
    height: 2px;
    background-color: rgba(138 ,141, 62,1);
    margin: 0 10px;
}

.header-icon {
    width: auto; /* Allow width to scale naturally */
    height: 300px; /* Double the original height of 60px */
    max-height: 300px; /* Ensure it doesn’t exceed the new height */
    object-fit: scale-down; /* Maintain aspect ratio */
    margin: 0 25px;
}



/* Navigation Bar */
.nav-bar {
    background-color: rgba(184 ,172, 0,1);
    display: flex;
    justify-content: center;
    padding: 0.5em 0;
}

.nav-button {
    background-color: rgba(184 ,172, 0,1);
    color: rgba(255, 234, 165, 1);
    border: 2px solid rgba(138 ,141, 62,1);
    padding: 0.5em 1em;
    margin: 0 0.5em;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.nav-button:hover {
    background-color: rgba(145 ,150, 70,1);
    border-color: rgba(145 ,150, 70,1);
    transform: translateY(-2px);
}

/* Footer Styles */
footer {
    background-color: rgba(88, 72, 60,1);
    color: rgba(255, 234, 165, 1);
    text-align: center;
    padding: 1em 0;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-divider {
    height: 2px;
    background-color: rgba(138 ,141, 62,1);
    margin: 1em 0;
}

.footer-divider-secondary {
    height: 2px;
    background-color: rgba(138 ,141, 62,1);
    margin: 1em auto;
    max-width: 600px;
}

.nav-bar-foot {
    background-color: rgba(138 ,141, 62,1);
    display: flex;
    justify-content: center;
    padding: 0.5em 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

.social-links a {
    color: rgba(255, 234, 165, 1);
    text-decoration: none;
    font-size: 0.9em;
    padding: 0.5em;
    border: 1px solid rgba(138 ,141, 62,1);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.social-links a:hover {
    background-color: rgba(138 ,141, 62,1);
    color: rgba(255, 234, 165, 1);
}

/* Main Header Styling */
.main-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(138 ,141, 62,1); /* Light green */
    padding: 20px;
    position: relative;
}

.header-link {
    text-decoration: none;
    color: rgba(255, 234, 165, 1);
    position: relative;
    font-size: 1.5rem;
}

.header-icon {
    width: 40px;
    height: 40px;
}

.decorative-line {
    height: 2px;
    background-color: rgba(255, 234, 165, 1);
    flex-grow: 1;
    margin: 0 15px;
}

/* Beta Label */
.beta-label {
    color: rgba(211,79,39,1);
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Nav Bar Styling */
.nav-bar {
    display: flex;
    justify-content: center;
    background-color: rgba(184 ,172, 0,1);
    padding: 10px 0;
}

.nav-button {
    background-color: rgba(255, 234, 165, 1);
    color: rgba(184 ,172, 0,1);
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-2px);
}

/* Coming Soon Button Styling */
.coming-soon {
    background-color: rgba(211,79,39,1);
    color: rgba(255, 234, 165, 1);
    cursor: not-allowed;
    opacity: 0.7;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: none;
    background-color: rgba(184 ,172, 0,1);
    color: rgba(255, 234, 165, 1);
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.filter-btn.active {
    background-color: rgba(184 ,172, 0,1); /* Darker green for active state */
}

.filter-btn:hover {
    background-color: rgba(184 ,172, 0,1);
}

/* X-Axis Distance Modifiers */
.timeline-item.close {
    transform: translateX(-75px);
}

.timeline-item.near {
    transform: translateX(0px);
}

.timeline-item.far {
    transform: translateX(75px);
}

.timeline-item.right.close {
    transform: translateX(75px);
}

.timeline-item.right.near {
    transform: translateX(0px);
}

.timeline-item.right.far {
    transform: translateX(-75px);
}

