/*
Theme Name: CartelLand DayZ
Theme URI: https://example.com/cartelland-dayz
Author: ChatGPT Assistant
Author URI: https://example.com
Description: A dark, gritty WordPress theme built for the Cartel Land DayZ server.  It features a custom home page highlighting your server’s PvP airdrops, hacked crates, keyrooms, labs and oil‑rig challenges.  It also includes templates for a login page and a forum page.  Drop this theme into a WordPress installation and activate it to get started.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cartelland-dayz
*/

/* Reset some basic elements */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0b0b0c;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: #e74c3c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
#site-header {
    background-color: #111;
    padding: 1rem 0;
    border-bottom: 3px solid #e74c3c;
}
#site-header .site-title a {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
}
#site-navigation {
    margin-top: 0.5rem;
}
#site-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
#site-navigation li {
    display: inline-block;
}
#site-navigation a {
    color: #f5f5f5;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
}
.hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    color: #f5f5f5;
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.hero .button {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s;
}
.hero .button:hover {
    background-color: #c0392b;
}

/* Features section */
.features {
    padding: 4rem 0;
    background-color: #141415;
}
.features h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #e74c3c;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.feature {
    background-color: #1a1a1c;
    padding: 1.5rem;
    border: 1px solid #222;
    border-radius: 4px;
    text-align: center;
}
.feature h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #e74c3c;
}
.feature p {
    font-size: 0.95rem;
    color: #ccc;
}

/* Footer */
#site-footer {
    background-color: #111;
    padding: 1rem 0;
    text-align: center;
    border-top: 3px solid #e74c3c;
    margin-top: 2rem;
}
#site-footer p {
    margin: 0;
    color: #777;
}

/* Login form styling */
.login-form-wrapper {
    max-width: 400px;
    margin: 3rem auto;
    background-color: #1a1a1c;
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid #222;
}
.login-form-wrapper h2 {
    text-align: center;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}
.login-form-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
}
.login-form-wrapper input[type="text"],
.login-form-wrapper input[type="password"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #222;
    color: #fff;
}
.login-form-wrapper input[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background-color: #e74c3c;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}
.login-form-wrapper input[type="submit"]:hover {
    background-color: #c0392b;
}
