/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    color: #90caf9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles */
header {
    background-color: rgba(20, 20, 20, 0.9);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.logo-prison {
    color: #90caf9;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #90caf9;
}

/* Hero Section Styles */
.hero {
    background-image: url('../assets/backgroundImage.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    color: #eee;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #90caf9;
    color: #121212;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #64b5f6;
    text-decoration: none;
}

/* About Section Styles */
.about {
    padding: 4rem 0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #eee;
}

/* Features Section Styles */
.features {
    padding: 4rem 0;
    background-color: #1e1e1e;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background-color: #2c2c2c;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.feature-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #eee;
}

/* Ranks Section Styles */
.ranks {
    padding: 4rem 0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ranks h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.ranks-content {
    font-size: 1.1rem;
    color: #eee;
}

.ranks-content ul {
    list-style: none;
    padding: 0;
}

.ranks-content li {
    margin-bottom: 0.5rem;
}

/* Community Section Styles */
.community {
    padding: 4rem 0;
    background-color: #1e1e1e;
    text-align: center;
}

.community h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.discord-button, .forums-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #7289da;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.discord-button:hover {
    background-color: #677bc4;
    text-decoration: none;
}

.forums-button {
    background-color: #90caf9;
    color: #121212;
}

.forums-button:hover {
    background-color: #64b5f6;
}

/* Footer Styles */
footer {
    background-color: #121212;
    padding: 1rem 0;
    text-align: center;
    color: #888;
    border-top: 1px solid #222;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .community-links {
        flex-direction: column;
    }

    .community-links a {
        margin-bottom: 1rem;
    }
}
