
/* Icy Pale Blue (#d9e4ed) - Text on dark background */
/* Muted Sky Blue (#5a7a91) - Hovered Text */
/* Deep Midnight Blue (#0a1a33) - Nav bar background */
/* Deep Slate (#2e3a4a) - Regular Text on light background */

/* Website Body */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

/* Nav bar */
 nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

nav .menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-right: 50px;
    flex-grow: 1;

}

nav a {
    text-decoration: none;
    color: #d9e4ed;
    font-weight: 600;
    margin-left: 20px;
}

nav a:hover {
    color: #5a7a91;
}

nav.scrolled {
    background-color: rgba(10, 26, 51, .75);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    position: absolute;
    left: 0;
}

.logo img {
    height: 25px;
} 

.social-media {
    position: absolute;
    right:5%;
}

.social-media a {
    color: white;
    margin-left: 10px;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #5a7a91; /* Highlight color */
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    background-image: url('../images/Background.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    color: #d9e4ed;
    z-index: 1;
    padding-bottom: 10%;
}

.hero-content h1 {
    font-size: 4em;
    margin: 0;
}

.hero-content p {
    font-size: 1.5em;
    margin-top: 10px;
}

/* Title */
.title {
    background-color: #0a1a33;
    font-size: 4em;
    margin: 0;
    text-align: center; /* Center-align text */
    color: #d9e4ed;
}

/* New Release */ 
.game-showcase {
    max-width: 70%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    color: #2e3a4a;
    border-radius: 10px;
}

.game-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.game-image {
    width: 100%;
    max-width: 1000px; /* Limit the width of the image */
    margin: 0 auto 20px; /* Center image horizontally and add bottom margin */
}

.game-image-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-image-img:hover {
    transform: scale(1.05); /* Slightly enlarges the image */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Adds shadow to create a lift effect */
}


.release-date, .game-description {
    text-align: center; /* Center-align text */
}

.release-date {
    font-style: italic;
    color: #888888;
    margin-bottom: 15px;
}

.game-description {
    margin-bottom: 20px;
    line-height: 1.6;
}


/* Footer */
footer {
    padding: 16px 16px; /* Reduced padding for a smaller footer */
    background-color: #0a1a33;
    color: white;
    text-align: center;
    font-size: 1em; /* Reduced font size for smaller text */
}

footer p {
    margin: 0;
    line-height: 1.6; /* Adjust line-height for better spacing */
}

/* Non-Home Page Common Elements */

/* Nav bar Not transparent*/
.navbar-other {
    background-color: #0a1a33;
}

/* Titles that appear under a nav bar & need a margin */
.title-other {
    background-color: #0a1a33;
    font-size: 4em;
    margin: 0;
    text-align: center; /* Center-align text */
    color: #d9e4ed;
    margin-top: 65px;
}

/* About Us Page */

/* Content Section */ 
.content-section-aboutus {
    padding: 100px 40px;
    background-color: #fff;
    text-align: center; /* Centers the content horizontally */
}

.content-section-aboutus img {
    display: block; /* Makes the image a block element */
    margin: 0 auto 20px; /* Centers the image and adds space below it */
    height: 400px;
    width: 800px;
}

.content-section-aboutus h2, .content-section-aboutus p {
    display: block; /* Ensures the text elements are block-level */
    width: 800px; /* Consistent width for text elements */
    margin: 20px auto; /* Centers the text elements and adds vertical spacing */
    text-align: left; /* Centers the text inside the block elements */
}

.content-section-aboutus h2 {
    font-size: 2em;
}

.content-section-aboutus p {
    font-size: 1.2em;
}

/* All Games Page */

/* Game */
.all-games-showcase {
    max-width: 70%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    color: #2e3a4a;
    border-radius: 10px;
}

.all-games-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.all-games-image {
    width: 100%;
    max-width: 1000px; /* Limit the width of the image */
    margin: 0 auto 20px; /* Center image horizontally and add bottom margin */
}

.all-games-image-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.all-games-image-img:hover {
    transform: scale(1.05); /* Slightly enlarges the image */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Adds shadow to create a lift effect */
}


.all-games-release-date, .all-games-game-description {
    text-align: center; /* Center-align text */
}

.all-games-release-date {
    font-style: italic;
    color: #888888;
    margin-bottom: 15px;
}

.all-games-game-description {
    margin-bottom: 20px;
    line-height: 1.6;
}


/* Specific Game Page */
.specific-game {
    margin-top: 70px;
    padding: 20px;
}

.specific-game-showcase {
    text-align: left;
    max-width: 70%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    color: #2e3a4a;
    border-radius: 10px;
}

.specific-game-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Flex Container */
.specific-game-images-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Main Image Smaller */
.specific-game-main-img {
    flex: 1; /* Decreased size */
    max-width: 97%; /* Adjust to make it smaller */
    margin-right: 20px;
}

.specific-game-main-img img {
    width: 100%;
    border-radius: 8px;
}

/* Thumbnails to the Right, Bigger */
.specific-game-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 30%; /* Increased size */
}

.specific-game-thumbnail-img {
    width: 100%;
    border-radius: 8px;
}

/* Flex Container for the Entire Layout */
.specific-game-container {
    display: flex;
    justify-content: space-between; /* Distributes space between the left and right containers */
    align-items: flex-start; /* Aligns content to the top */
    margin-top: 20px;
}

/* Left Container (Button) */
.specific-game-right {
    width: 30%; /* 30% of the screen */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the button vertically */
}

/* Button Styling */
.specific-game-button button {
    background-color: #0a1a33;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.specific-game-button button:hover {
    background-color: #1a2a4a;
}

/* Right Container (Details) */
.specific-game-left {
    width: 70%; /* 70% of the screen */
}

/* Styling for the Game Details */
.specific-game-release-date {
    font-style: italic;
    color: #888888;
    margin-bottom: 15px;
}

.specific-game-description-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.specific-game-description {
    margin-bottom: 15px;
}

.specific-game-price-regions-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px; /* Add some space between this and the button */
}

.specific-game-price,
.specific-game-regions {
    font-weight: bold;
}

.specific-game-price-amount,
.specific-game-regions-list {
    font-weight: normal; 
}
