/* Custom styles for parallax effect and font */
:root {
    --primary-color: #2563EB; /* Tailwind's blue-600 */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Base styles for parallax background sections */
.parallax-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This creates the parallax effect */
}

/* Ensure sections take full viewport height */
.section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white; /* Default text color for sections */
    position: relative; /* For content positioning */
}

#section1 {
    min-height: 90vh;
}

#section2 {
    min-height: 80vh;
}

#section3 {
    min-height: 90vh;
}

#section4 {
    min-height: 70vh;
}

/* Specific background images */

.bg-image {    
    background-position: bottom right;
    background-size: cover;
    background-attachment: fixed; 
    background-repeat: no-repeat;
    min-width: 100%;
}


.bg-image-1 {
    background-image: url('../images/hero_image.png');
}

.bg-image-3 {
    background-image: url('../images/hero_image2.png');
}


.video-outer-container {
    width: 90%;
    max-width: 1920px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    padding: 20px;
    margin: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.video-responsive-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border: 5px solid white;
    border-radius: 8px; /* Matching the outer container's radius */
}

.video-responsive-container iframe,
.video-responsive-container video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

#section2 .container, #section4 .container {
    position: relative;
    z-index: 2;
}

#section4 {
    position: relative;
    overflow: hidden;
    background-color: #00177d;
}

.side-image {
    position: absolute;
    bottom: 0;
    height: 80vh; /* 80% of the viewport height */
    max-height: 350px;
    width: auto;
    z-index: 1; /* Places the image behind the text container */
}

.side-image-left {
    left: 0;
    transform: translateX(-15%);
}

.side-image-right {
    right: 0;
    transform: translateX(15%);
}

.text-primary {
    color: var(--primary-color);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px; /* Adds space between the main logo and the steam info */
    width: 85%;
    max-width: 1250px;
}

.logo-image {
    width: 100%;
    height: auto;
}

.steam-info {
    display: flex;
    align-items: center;
    gap: 15px; /* Adds space between the steam logo and the text */
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.steam-logo {
    width: 50px;
    height: auto;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {

    #section1, #section3 {
        min-height: 80vh; /* Reduce section height on smaller screens */
    }

    .bg-image {
        background-attachment: scroll;
    }

    .logo-container {
        width: 90%; /* Adjust logo container for smaller screens */
    }

    .steam-info {
        font-size: 1rem; /* Reduce font size for steam info text */
        gap: 10px;
    }

    .side-image {
        max-height: 25vh;
        width: auto; 
    }
}