/* --- GLOBAL VARIABLES (Change colors here easily) --- */
:root {
    --bg-color: #121212;         /* Deep dark background */
    --surface-color: #1e1e1e;    /* Slightly lighter for cards/headers */
    --text-primary: #e0e0e0;     /* Main text color */
    --text-secondary: #a0a0a0;   /* Subtitles */
    --accent-color: #4caf50;     /* Minecraft Green */
    --accent-hover: #45a049;     /* Darker Green for hover effects */
    --danger-color: #ff5252;     /* For errors */
    --font-main: 'Poppins', sans-serif;
}

/* --- RESET & BASIC SETUP --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- NAVIGATION --- */
nav {
    background-color: var(--surface-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: 700; color: var(--accent-color); }
.nav-links { display: flex; gap: 20px; }
.nav-links a:hover { color: var(--accent-color); }

/* --- MAIN CONTAINER --- */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* --- HERO SECTION (Home) --- */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/img/background.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 40px;
}

.hero h1 { font-size: 3rem; margin-bottom: 10px; }
.btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
}
.btn:hover { background: var(--accent-hover); }

/* --- STAFF GRID --- */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.staff-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
}
.staff-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--accent-color);
}

/* --- STORE PAGE --- */
.store-container {
    text-align: center;
    padding: 60px 20px;
    background: var(--surface-color);
    border-radius: 15px;
}

/* --- SHOWCASE GRID --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}
.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}
.gallery img:hover { transform: scale(1.02); }

/* --- ERROR PAGES --- */
.error-page {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
}
.error-code { font-size: 6rem; font-weight: bold; color: var(--danger-color); }

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 20px;
    background: var(--surface-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}