
/* Global Styles */

@font-face {
   font-family: WinterLemon;
   src: url(WinterLemon.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'WinterLemon', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5e7b9; /* Warm farmland beige */
}

h1, h2 {
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

p {
    text-align: justify;
}

p.summary_p {
    font-size: 24px;
}

a.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent; /* Neon orange */
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

a.btn:hover {
    transform: scale(1.05);
}



/* About Section */
.about-section {
    padding: 4rem 2rem;
    text-align: center;
    width: 1020px;
    margin:auto;
}

.environment-image {
    width: 100%;
    max-width: 600px;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(74, 74, 74, 0.3);
}

/* Gameplay Section */
.gameplay-section {
    padding: 4rem 2rem;
    background-color: #e6d9b7; /* Light farmland beige */
}

.content-container {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.gameplay-section .text-block {
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    color: white;
}

.main-image {
    width: 100%;
    max-width: 1232px; /* Original image width */
    height: auto;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 2rem;
    background-color: #d2691e; /* Terracotta accent */
    color: white;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover p {
    opacity: 1;
}

/* Roguelike Section */
.roguelike-section {
    padding: 4rem 2rem;
    background-color: #50c878; /* Mossy green accent */
    color: white;
}

.vertical-image {
    width: 100%;
    max-width: 748px; /* Original image width */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.site-footer {
    background-color: #2c2c2c;
    color: white;
    padding: 2rem;
    text-align: center;
    margin: auto;
}

.social-links img {
    width: 40px;
    height: auto;
    margin: 0 1rem;
    filter: invert(90%);
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: rotate(360deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container {
        grid-template-columns: 1fr !important; /* Stack columns on mobile */
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    }
}

/* Neon Accents */
.neon-text {
    color: #00f5d4; /* Electric blue neon */
}

/* Add this to your existing CSS */
.roguelike-section .content-container {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Split into two columns (image/text) */
    gap: 2rem;
    align-items: start; /* Keep elements aligned to the top */
}

/* Optional: Adjust image max-width for better spacing */
.roguelike-section .vertical-image {
    width: 100%;
    height: auto;
}


/* CSS for Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    background-color: rgba(0, 0, 0, 0.6);
/*    background-color: #4a4a4a;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Critical for image scaling */
    z-index: -1;
}

.tagline-overlay {
    text-align: center;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    color: #993;
}