body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    color: #e0e0e0;
    background-color: #1a1a1a; /* Dark base background */
    background-image: url('dino_jungle_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center; 
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#gameLogo {
    height: 60px;
    margin-right: 15px;
}

header h1 {
    color: #c8a064; /* Gold/Bronze accent */
    margin: 0;
    font-size: 2.2em;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-weight: bold;
}

header nav a {
    color: #cccccc;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #c8a064;
}

/* Hero Section */
#hero {
    background: rgba(0,0,0,0.5); /* Semi-transparent overlay to make text readable */
    text-align: center;
    padding: 100px 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


#hero h2 {
    font-size: 3.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

#hero p {
    font-size: 1.4em;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 30px;
    max-width: 700px;
}

/* About Section */
#hero1 p {
    font-size: 1.4em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #c7c7c7;
}

.cta-button {
    background-color: #9d6f38; /* Muted Gold/Bronze */
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.cta-button:hover {
    background-color: #b58340; /* Lighter Gold/Bronze */
    transform: translateY(-3px);
}

.cta-button:active {
    transform: translateY(0px);
    background-color: #8c612c; /* Darker Gold/Bronze */
}

/* General Section Styling */
section {
    padding: 60px 0;
    background-color: rgba(20, 20, 20, 0.85); /* Slightly transparent dark background for content sections */
    margin-bottom: 1px; /* Small separator for visual clarity */
}

section:nth-child(even) { /* Optional: alternate background for sections if needed */
   /* background-color: rgba(30, 30, 30, 0.85); */
}


section h3 {
    font-size: 2.5em;
    color: #c8a064;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
}

/* About Section */
#about p {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #c7c7c7;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: rgba(40, 40, 40, 0.7);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #9d6f38;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.feature-item h4 {
    font-size: 1.5em;
    color: #d4ac7c;
    margin-top: 0;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1em;
    color: #b0b0b0;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: #aaa;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #c8a064;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    #gameLogo {
        margin-bottom: 10px;
    }
    
    header nav {
        margin-top: 10px;
    }

    header nav a {
        margin: 0 10px;
        display: inline-block; /* Ensure proper spacing */
    }

    #hero h2 {
        font-size: 2.5em;
    }

    #hero p {
        font-size: 1.1em;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    section h3 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }
    header nav a {
        font-size: 1em;
        margin: 0 5px;
    }
    .feature-grid {
        grid-template-columns: 1fr; /* Stack features on smallest screens */
    }
    .gallery-grid {
        grid-template-columns: 1fr; /* Stack gallery images */
    }
}
