/* Grunddesign */
:root {
    --accent: #09c9d6;
    --bg-dark: #121212;
    --bg-darker: #1e1e1e;
    --text: #ffffff;
    --text-muted: #cccccc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.logo {
    font-size: 2em;
    font-weight: bold;
    color: var(--text);
    flex: 1;
    text-align: left;
}

nav {
    flex: 2;
    text-align: right;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1em;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.banner
{
    background-image: url('Pictures/banner.png');
    background-size: cover;
    background-position: center;
    height: 800px;
}
/* Hero Section */
.hero {
    height: 30vh;   
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.4em;
    max-width: 600px;
}

.btn {
    margin-top: 25px;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
}

.btn-container
{
    display: flex;
    gap: 18px;
}

.btn:hover {
    background-color: #1d62e1;
    transform: scale(1.05);
}

section {
    padding: 80px 20px;
}

section.dark {
    background-color: var(--bg-darker);
}

section h2 {
    font-size: 2.4em;
    margin-bottom: 20px;
}

section p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    width: 120px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(11, 162, 189, 0.5);
}

.social-link img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    transition: filter 0.3s;
}

.social-link:hover img {
    filter: brightness(1.2);
}

.social-link span {
    font-size: 1.1em;
    margin-top: 5px;
}

footer {
    background-color: #111;
    color: #aaa;
    padding: 40px 20px;
    font-size: 0.9em;
    border-top: 1px solid #333;
}

footer a {
    color: #aaa;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: var(--accent);
}

/* News Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    flex-direction: column;
    animation: fadeInOverlay 0.5s ease forwards;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.overlay-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.overlay-content a {
    color: #fff;
    font-size: 2em;
    text-decoration: none;
    background: linear-gradient(45deg, var(--accent), #ff416c);
    padding: 12px 30px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.overlay-content a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #ff416c;
}

@media (max-width: 768px) {
    .logo {
    text-align: center;
    flex: 100%;
    margin-bottom: 10px;
    }

    nav ul {
    justify-content: center;
    }

    .hero {
    height: auto;
    padding: 80px 20px;
    }

    .hero h1 {
    font-size: 2.2em;
    }
}