/* Reset and Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Spectral', serif;
    background-image: url(/static/images/artis.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Überschriften */
h1, h2, h3 {
    text-align: center;
}

h1, h2 {
    color: var(--secondary-color);
    font-weight: 600;
    font-style: normal;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1em;
}

/* Absätze und Labels */
p, label, span {
    font-weight: 500;
    font-style: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.language-switcher button {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #fff;
    border-radius: 12px;
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.language-switcher button:hover,
.language-switcher button:focus {
    background: rgba(0, 0, 0, 0.4);
    outline: none;
}

.language-switcher button.active {
    background: rgba(0, 0, 0, 0.5);
}

/* Fade-In Effect */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding-right: 25rem;
    padding-left: 25rem;
}

#home {
    background: none;
}

section:not(#home) {
    background: rgba(0, 0, 0, 0.4);
}

section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.releases-table-container th {
    text-align: center;
    font-size: 1.2rem;
}

.releases-table-container td {
    font-size: 1.2rem;
    padding: 8px;
}

.releases-table-container a {
    color: #fff;
    text-decoration: none;
}

.releases-table-container a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    width: 100%;
    margin-bottom: 4rem;
}

.contact-form label {
    text-align: left;
    font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.5rem;
    border: 1px solid #fff;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #fff;
    background: rgba(255, 255, 255, 0.2);
}

.contact-form button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    color: #fff;
    padding: 0.75rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover,
.contact-form button:focus {
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

.social-media-container {
    display: flex;
    align-items: center;
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.social-media img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.social-media a:hover img,
.social-media a:focus img {
    transform: scale(1.2);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    color: #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding-right: 15rem;
        padding-left: 15rem;
    }
    section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding-right: 5rem;
        padding-left: 5rem;
    }
    section h1 {
        font-size: 2rem;
    }
}

/* Section Background Images */
section {
    background-image: url("/static/images/artis-desktop.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    section {
        background-image: url("/static/images/artis-tablet.webp");
    }
}

@media (max-width: 480px) {
    section {
        background-image: url("/static/images/artis-mobile.webp");
    }
}