/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    background-color: white;
    color: black;
}

/* Navigation */
nav {
    position: absolute; /* Navbar is positioned relative to the hero */
    top: 0; /* Places it at the top of the hero section */
    width: 100%; /* Spans the full width */
    z-index: 10; /* Ensures it stays above the hero content */
    padding: 1rem 0;
    text-align: center;
    background-color: transparent; /* Transparent to match hero background */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

nav li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav li a:hover {
    background-color: #ffa726;
    color: white;
}

/* Footer */
footer {
    color: #555;
    text-align: center;
    padding: 1rem;
}


/* Home Page */

.borneo-body {
    overflow: hidden;
}

/* Scene Container */
.borneo-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    background-color: black;
}

.borneo-scene.active {
    opacity: 1;
    z-index: 5;
}

/* Image Styling */
.scene-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

/* Text Overlay */
.borneo-text-overlay {
    position: absolute;
    color: white;
    text-align: center;
    z-index: 2;
}

.borneo-text-overlay h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.borneo-text-overlay p {
    font-size: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

/* Homepage Buttons */
.borneo-fade-btn {
    position: absolute;
    bottom: 10%;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background-color: #ffa726;
    border: 1px solid #d1d1d1;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: bounce 2s infinite;
}

.borneo-fade-btn:hover {
    background-color: #e06d2d;
}

/* Keyframes for Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* Story Summary Section */
.story-summary {
    position: relative;
    height: 100vh; /* Full screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Background Image */
.story-summary .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.story-summary .background-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures full coverage */
}

/* Content Styling */
.story-summary .content {
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.story-summary h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.story-summary p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.story-summary h2, 
.story-summary p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffa726;
    border: 1px solid #d1d1d1;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: bounce 2s infinite;
    font-size: 16px;
    font-weight: 600;
    margin-top: 2%;
}

.cta-btn:hover {
    background-color: #e06d2d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-summary h2 {
        font-size: 2.2rem;
    }

    .story-summary p {
        font-size: 1.2rem;
    }
}

/*  Mechanics Page */

/* Hero Section */
.mechanics-hero {
    background-image: url("images/choppingboard.png"); /* Make sure the file path is correct */
    background-size: cover; /* Ensure the image covers the entire hero section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    color: white; /* Keep the text color white */
    text-align: center;
    padding-top: 3rem;
    height: 45vh; /* Adjust the height to suit your needs */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    position: relative; /* Required for proper layering */
}

/* Text Styling */
.mechanics-hero h1 {
    font-size: 2.5rem;
    margin-top: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Add shadow for readability */
}

.mechanics-hero p {
    font-size: 1.2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Add shadow for readability */
}

.cta-btn2 {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffa726;
    border: 1px solid #d1d1d1;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: bounce 2s infinite;
    font-size: 16px;
    font-weight: 600;
    margin-top: 2%;
}

.cta-btn2:hover {
    background-color: #e06d2d;
    transform: scale(1.1);
}


/* Mechanics Details Section */
.mechanics-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    background-color: #fff;
}

.mechanic {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mechanic:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.mechanic img {
    width: 180px;
    height: 180px;
    margin: 0 auto; /* Centers the icon horizontally */
    display: block; /* Ensures the image is treated as a block-level element */
}

.mechanic h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.mechanic p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

/* About Us Page */
/* Hero Section */
.about-hero {
    background-image: url("images/choppingboard.png"); /* Make sure the file path is correct */
    background-size: cover; /* Ensure the image covers the entire hero section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    color: white; /* Keep the text color white */
    text-align: center;
    padding: 5rem 2rem;
    height: 40vh; /* Adjust the height to suit your needs */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    position: relative; /* Required for proper layering */
}

.about-hero h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Add shadow for readability */
}

.about-hero p {
    font-size: 1.2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Add shadow for readability */
}

/* Team Section */
.team-section {
    display: flex;
    justify-content: center;
    gap: 10rem;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
    background-color: #fff;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    font-size: 1rem;
    color: #555;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.social-links a {
    color: #555;
    font-size: 1.5rem; /* Icon size */
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e06d2d; /* Highlight color on hover */
}


@media (max-width: 768px) {
    .team-section {
        flex-direction: column;
        align-items: center;
    }
}

/* Project Background Section */
.project-background-section {
    padding: 2rem 1rem;
    background-color: #222;
    color: #fff;
    text-align: center;
}

.project-background-section h2 {
    font-size: 2.5rem;
    color: #ffa726;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Add shadow for readability */
}

.background-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.background-text {
    max-width: 600px;
    text-align: left;
}

.background-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffa726;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Add shadow for readability */
}

.background-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #ddd;
}

.background-visual img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.background-visual h4 {
    margin-top: 1rem;
    color: #ffa726;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Add shadow for readability */
}

/* Role Section */
.role-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5rem;
}

.role-card {
    background-color: #333;
    padding: 1rem;
    border-radius: 10px;
    max-width: 400px;
    text-align: center;
}

.role-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.role-card h4 {
    color: #ffa726;
    margin-bottom: 0.5rem;
}

.role-card p {
    color: #ddd;
    line-height: 1.5;
}

.about-footer{
    background-color: #222;
    color: #fff;
}


/* Teaser Page */

.gameplay-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.video-page-body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url("images/background.png"); /* Path to your background image */
    background-size: cover; /* Ensures the image covers the entire background */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    overflow: hidden;
}

#video-section {
    margin-top: 7rem; /* Adds space between the header and video section */
    max-width: 950px;
    text-align: center;
    background-color: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#gameplay-video {
    max-width: 100%;
    height: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}
