/* Reset und Grundstile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 1rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-text {
    padding: 2rem;
}

.hero-text h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.hero-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Content Section */
.content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.content h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

/* Content Page */
.content-page {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.content-page img {
    width: 100%;
    height: auto;
    display: block;
}

.text-content {
    padding: 2rem;
}

.text-content h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.text-content h3 {
    color: #764ba2;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.text-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.text-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

footer nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer nav ul li a:hover {
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        width: 100%;
        text-align: center;
    }

    .hero-text {
        padding: 1.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .content {
        padding: 1.5rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .text-content {
        padding: 1.5rem;
    }

    .text-content h2 {
        font-size: 1.5rem;
    }

    .text-content h3 {
        font-size: 1.2rem;
    }

    footer nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    header nav ul li a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .hero-text h2 {
        font-size: 1.3rem;
    }

    .content h2 {
        font-size: 1.3rem;
    }

    .text-content h2 {
        font-size: 1.3rem;
    }

    .text-content h3 {
        font-size: 1.1rem;
    }
}
