/* Algemene instellingen */
:root {
    --primary-blue: #3498db; /* Helder blauw, van logo */
    --dark-blue: #2980b9;    /* Donkerder blauw, van logo */
    --accent-green: #2ecc71; /* Een fris groen accent voor buttons */
    --text-color-light: #ecf0f1; /* Lichte tekst op donkere achtergrond */
    --text-color-dark: #2c3e50;  /* Donkere tekst op lichte achtergrond */
    --background-dark: #2c3e50;  /* Donkere achtergrond */
    --background-light: #ecf0f1; /* Lichte achtergrond */
    --border-color: #34495e;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-pixel: 'Press Start 2P', cursive; /* Optioneel voor kleine accenten */
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color-light);
    background-color: var(--background-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Navigatiebalk Styling --- */
.main-nav {
    background-color: var(--dark-blue); /* Donkerblauw, binnen jouw thema */
    padding: 25px 60px; /* VEEL meer padding voor een dubbel zo grote/hogere balk */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1500px; /* Nog breder */
    width: calc(100% - 40px); /* Zorgt dat er 20px marge aan elke kant is op kleine schermen */
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 35px; /* Meer ruimte tussen IP/kopieerknop en spelers online */
}

.ip-and-copy {
    display: flex;
    align-items: center;
    gap: 15px; /* Iets meer ruimte tussen IP en kopieerknop */
}

.server-ip-nav {
    font-family: var(--font-body);
    color: var(--text-color-light);
    font-size: 1.4em; /* Groter IP-adres */
    font-weight: bold;
}

.copy-btn-nav {
    background-color: var(--primary-blue);
    color: var(--text-color-light);
    border: none;
    padding: 8px 15px; /* Grotere knop */
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em; /* Grotere tekst op knop */
    transition: background-color 0.3s ease;
}

.copy-btn-nav:hover {
    background-color: var(--dark-blue);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px; /* Meer ruimte tussen de navigatielinks */
}

.nav-links a {
    color: var(--text-color-light);
    text-decoration: none;
    font-size: 1.4em; /* Grotere links */
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px; /* Dikkere onderstreping voor hover */
    background-color: var(--accent-green);
    bottom: -8px; /* Iets lager dan voorheen */
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-green);
}

.nav-links a:hover::after {
    width: 100%;
}

.players-online-nav {
    font-size: 1.4em; /* Groter spelersaantal */
    font-weight: bold;
    color: var(--text-color-light);
}

/* Header/Hero Section (Aangepast) */
.hero-section {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color-light);
    overflow: hidden;
    padding-top: 150px; /* Meer ruimte voor de nog grotere zwevende navigatiebalk */
}

/* Overlay voor leesbaarheid */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-section .logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    animation: floatLogo 3s ease-in-out infinite; /* Toepassen van de animatie */
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    margin-bottom: 10px;
    animation: slideInFromTop 1s ease-out;
}

.hero-section .slogan {
    font-size: 1.5em;
    margin-bottom: 30px;
    animation: fadeIn 2.5s ease-out;
}

/* Algemene sectie styling */
.section {
    padding: 80px 0;
    text-align: center;
}

.section:nth-of-type(odd) {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.section:nth-of-type(even) {
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.section h2 {
    font-family: var(--font-heading);
    font-size: 2.8em;
    margin-bottom: 40px;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-green);
    border-radius: 2px;
}

.section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section specifieke styling */
.about-section p {
    color: inherit;
}

/* Features Section specifieke styling */
.features-section {
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

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

.feature-item {
    background-color: var(--background-dark);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.feature-item p {
    font-size: 1em;
    color: var(--text-color-light);
    margin-bottom: 0;
}

.feature-img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid var(--accent-green);
}

/* Vote Section Styling */
.vote-section {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.vote-section h2 {
    color: var(--dark-blue);
}

.vote-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.vote-button {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--text-color-light);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

.vote-button:hover {
    background-color: #28a745;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Discord Section */
.discord-section {
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.discord-section h2 {
    color: var(--primary-blue);
}

.community-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.community-button {
    display: flex;
    align-items: center;
    background-color: #7289DA;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.community-button:hover {
    transform: translateY(-3px);
}

.community-button.discord-btn {
    background-color: #7289DA;
}
.community-button.discord-btn:hover {
    background-color: #5b6eae;
}

.community-button.youtube-btn {
    background-color: #FF0000;
}
.community-button.youtube-btn:hover {
    background-color: #cc0000;
}

.community-button.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
.community-button.instagram-btn:hover {
    background: linear-gradient(45deg, #d4822e 0%,#c75e34 25%,#c0233b 50%,#b01e59 75%,#a31576 100%);
}

.community-button.tiktok-btn {
    background-color: #000000;
}
.community-button.tiktok-btn:hover {
    background-color: #333333;
}

.community-button img {
    height: 1.4em;
    margin-right: 10px;
}


.small-text {
    font-size: 0.9em;
    margin-top: 20px;
    color: inherit;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.footer p {
    margin-bottom: 5px;
}

/* Animaties */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromTop {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(20px);
    }
    100% {
        transform: translateY(0px);
    }
}


/* Responsive design */
@media (max-width: 900px) {
    .main-nav {
        flex-direction: column;
        padding: 15px 20px; /* Iets meer padding voor mobiel */
        width: 100%;
        top: 0;
        border-radius: 0;
        transform: translateX(0);
    }

    .nav-left, .nav-links {
        width: 100%;
        justify-content: center;
        margin-bottom: 15px; /* Meer ruimte tussen stacked items */
        gap: 15px; /* Meer ruimte tussen items in een rij */
    }

    .nav-left {
        flex-direction: column;
    }
    .ip-and-copy {
        flex-direction: row;
        justify-content: center;
    }

    .hero-section {
        padding-top: 200px; /* Nog meer ruimte voor de hogere mobiele navbalk */
    }
}

.social-buttons-container {
	display: flex;
	justify-content: space-between;
	font-size: 25px;
	width: 20%;
	margin: 0 auto;
}

.social-btn {
	color: white;
}

.social-btn:hover {
	color: #2ECC71;
}


@media (max-width: 768px) {
	.social-buttons-container {
		font-size: 25px;
		margin: 0 auto;
		width: 70%
	}
	
    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section .slogan {
        font-size: 1.2em;
    }

    .section h2 {
        font-size: 2em;
    }

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

    .feature-item {
        padding: 20px;
    }

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

    .community-button {
        width: 80%;
    }

    .discord-button, .vote-button {
        font-size: 1.2em;
        padding: 12px 25px;
    }
}

@media (max-width: 600px) {
    .vote-buttons {
        flex-direction: column;
        align-items: center;
    }
    .vote-button {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8em;
    }

    .hero-section .slogan {
        font-size: 1em;
    }

    .server-ip-nav, .players-online-nav {
        font-size: 1.1em; /* Iets groter op kleine schermen */
    }

    .copy-btn-nav {
        padding: 5px 10px; /* Iets groter op kleine schermen */
        font-size: 0.8em;
    }

    .nav-links a {
        font-size: 1.2em; /* Iets groter op kleine schermen */
    }
}