﻿.GCfull {
    background-image: url('/images/Backgrounds/background-fleetyard.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    grid-template-rows: auto auto; /* Two rows: one for the top sections, one for the bottom */
    grid-template-areas:
        "GCpromo-section GCdetail"
        "GCKeyFeatures GCKeyFeatures"
        "StellaDatabase StellaDatabase";
    gap: 20px; /* Space between left and right sections */
    padding: 20px;
    margin: 0 auto;
    align-items: start; /* Align content to the top */
    min-height: 100vh; /* Ensure background covers the whole viewport height */
    position: relative; /* Keep content above the background */
    z-index: 1; /* Ensure content stays above the background */
}

    .GCfull::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Dark overlay effect */
        z-index: -1; /* Ensure the background overlay is behind the content */
        filter: brightness(60%); /* Optional: Darkens the background further */
    }


/* Left side: GC promo section (image and text) */
.GCpromo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 100px; /* Adjust as needed */
    order: 0; /* Default order for desktop view */
    grid-area: GCpromo-section;
}

    .GCpromo-section img {
        width: 100%;
        max-width: 400px; /* Set max width for the promo image */
        height: auto;
        margin-bottom: 20px;
    }

    .GCpromo-section p {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center;
        max-width: 400px;
    }

/* Right side: GC details (logo, title, release, and buttons) */
.GCdetail {
    display: flex;
    margin-top: 100px; /* Adjust as needed */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px; /* Space between elements (logo, title, buttons) */
    order: 1;
    grid-area: GCdetail;
}

.GCKeyFeatures {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 100px; /* Adjust as needed */
    grid-area: GCKeyFeatures;
    order: 3; /* Default order for desktop view */
}

.GCdetail img {
    width: 300px; /* Adjust as per the logo size */
    height: auto;
    margin-bottom: 20px;
}

.GCdetail h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.GCdetail h3 {
    font-size: 1.2rem;
    text-align: left;
}

.GCcta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between buttons */
    z-index: 10;
}

.cta-button {
    z-index: 10;
    pointer-events: auto;
}

.cta-button {
    padding: 15px 30px;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 1rem;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
}

    .cta-button:hover {
        background-color: white;
        color: black;
    }

@media (max-width: 768px) {
    .GCfull {
        grid-template-columns: 1fr; /* Stacks sections vertically */
        grid-template-areas:
            "GCdetail" /* Ensure GCdetail comes first */
            "GCpromo-section"
            "GCKeyFeatures"
            "StellaDatabase"; /* Maintain stacking order */
        text-align: center;
        height: auto; /* Ensure it adjusts with content */
    }

    .GCpromo-section img, .GCpromo-section p, .GCdetail img {
        max-width: 100%; /* Ensure responsiveness */
    }

    .GCdetail {
        order: 1; /* Stacked first */
    }

    .GCpromo-section {
        order: 2; /* Stacked second */
    }

    .GCKeyFeatures {
        order: 3; /* Stacked third */
    }

    .StellaDatabase {
        order: 4; /* Stacked fourth */
        align-content: center;
    }
    .databaseslots {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center the slots horizontally */
        gap: 20px; /* Add spacing between the slots */
    }

        .databaseslots div {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            max-width: 200px; /* Optional: Set a max width for each slot */
        }

        .databaseslots img {
            width: 100%;
            height: auto;
            max-width: 150px; /* Adjust as needed to control the image size */
            margin: 0 auto; /* Center each image within the slot */
        }
}