/* ===========================
      STYLES GÉNÉRAUX
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;  /* Fond gris léger */
    color: #333; /* Texte sombre */
    line-height: 1.6;
}

h1, h2, h3 {
    color: #333;
}

/* ===========================
      COULEURS PRINCIPALES
=========================== */
:root {
    --primary-color: #42a5f5;  /* Bleu clair */
    --secondary-color: #66bb6a;  /* Vert */
    --background-color: #f4f4f4;  /* Gris clair */
    --text-color: #333;  /* Texte sombre */
    --text-light-color: #666;  /* Texte clair pour les descriptions */
    --footer-bg-color: #2c3e50;  /* Couleur sombre du footer */
}

/* ===========================
      LIENS & BOUTONS
=========================== */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e88e5;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e88e5;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: #81c784;
    transform: translateY(-3px);
}

/* ===========================
      HEADER
=========================== */
.rune-header {
    background-color: var(--footer-bg-color);
    padding: 20px;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--primary-color);
}

.rune-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rune-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.rune-logo-img {
    height: 40px;
    width: auto;
    margin-right: 15px;
}

.rune-brand-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.rune-burger {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: none;
}

.rune-nav {
    display: flex;
    gap: 20px;
}

.rune-nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.rune-nav a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.2);
}

.rune-nav a.active {
    background-color: var(--primary-color);
}

/* ===========================
      HERO SECTION
=========================== */
.hero-modern {
    position: relative;
    background: url('/assets/img/hero_bg.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    border-bottom: 5px solid var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-title-glow {
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.hero-sub {
    font-size: 1.5rem;
    margin-top: 10px;
}

.hero-buttons .btn-hero {
    display: inline-block;
    margin: 10px;
    padding: 15px 25px;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-buttons .btn-hero.secondary {
    background-color: var(--secondary-color);
}

.hero-buttons .btn-hero:hover {
    background-color: #1e88e5;
    transform: translateY(-3px);
}

/* ===========================
      FEATURE CARDS
=========================== */
.modern-features {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    font-weight: bold;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

.feature-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 1rem;
    color: #666;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ===========================
      DISCORD SECTION
=========================== */
.discord-modern {
    padding: 50px 10%;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.discord-info {
    max-width: 400px;
    margin-bottom: 30px;
}

.btn-discord-modern {
    padding: 10px 20px;
    background-color: #7289da;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-discord-modern:hover {
    background-color: #5b6eae;
}

/* ===========================
      FOOTER
=========================== */
footer {
    background-color: #2c3e50;
    padding: 40px 20px;
    color: white;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.rune-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--primary-color);
}

.rune-footer-left {
    display: flex;
    align-items: center;
}

.rune-footer-logo {
    height: 40px;
    width: auto;
    margin-right: 15px;
}

.rune-footer-text {
    display: flex;
    flex-direction: column;
}

.rune-footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.rune-footer-sub {
    font-size: 1rem;
    color: #bbb;
}

.rune-footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.rune-footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.rune-footer-links a:hover {
    background-color: var(--primary-color);
}

.rune-footer-right {
    color: #bbb;
    font-size: 1rem;
}

/* ===========================
      RESPONSIVITÉ - FOOTER
=========================== */
@media (max-width: 768px) {
    .rune-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .rune-footer-left {
        margin-bottom: 20px;
    }

    .rune-footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .rune-footer-logo {
        height: 30px;
    }
}
