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

html {
    font-size: 16px;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

body {
    background: url('../images/thom-vision.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: #e0e0e0;
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Navigation */
.main-nav {
    background: transparent;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.main-nav.scrolled {
    background: rgba(15, 15, 15, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-button {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 8px #00c6ff;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.nav-button:hover {
    background: #0057cc;
    transform: scale(1.05);
    box-shadow: 0 0 12px #0057cc;
}

.nav-button.active {
    background: #ffffff;
    color: #0072ff;
    box-shadow: 0 0 12px #ffffff;
}

/* Hauptinhalt */
.main-content {
    margin-top: 60px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4em;
    font-weight: 900;
    text-align: center;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #00ffff, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Erforderlich für WebKit */
    background-clip: text; /* Standard-Eigenschaft, wird von neueren Browsern unterstützt */
    text-shadow: 0 0 10px #00ffff, 0 0 20px #ff00ff;
    animation: shine 3s linear infinite;
    margin-bottom: 2rem;
}

@keyframes shine {
    0% { background-position: 0% }
    100% { background-position: 200% }
}

/* Mobile Responsive Anpassungen */

/* Tablets und kleinere Desktops */
@media screen and (max-width: 1024px) {
    body {
        font-size: 16px;
        padding: 0;
    }
    
    .hero-title {
        font-size: 3.5em;
    }
    
    .main-content {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .spotify-grid, .youtube-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .intro-text {
        max-width: 90%;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 0;
    }
    
    h1, .hero-title {
        font-size: 2.8rem;
        text-align: center;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .main-nav {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .nav-button, .spotify-button, .youtube-button, .fanshop-button {
        font-size: 0.95rem;
        padding: 10px 20px;
        margin: 5px;
    }
    
    .intro-text, .main-content {
        padding: 20px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .intro-text p {
        font-size: 1.1rem;
    }
    
    .spotify-item iframe, .youtube-item iframe {
        width: 100% !important;
        height: auto !important;
        min-height: 80px;
    }
    
    .spotify-grid, .youtube-grid {
        gap: 1.5rem;
    }
    
    footer.footer {
        padding: 15px 0 25px 0 !important;
    }
}

/* Smartphones */
@media screen and (max-width: 600px) {
    html, body {
        font-size: 16px;
        overflow-x: hidden;
    }
    
    h1, .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 0.5rem;
    }
    
    .nav-button, .spotify-button, .youtube-button, .fanshop-button {
        font-size: 0.9rem;
        padding: 8px 12px;
        width: auto;
        min-width: 70px;
        margin: 3px;
        display: inline-block;
        text-align: center;
    }
    
    .main-content {
        padding: 1rem 0.5rem;
        margin-top: 54px;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .hero {
        padding: 3rem 1rem;
        min-height: auto;
    }
    
    .intro-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .spotify-grid, .youtube-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .spotify-item, .youtube-item {
        margin-bottom: 15px;
    }
    
    .spotify-item iframe, .youtube-item iframe {
        min-height: 80px;
    }
    
    footer.footer {
        font-size: 0.95rem;
        padding: 12px 0 32px 0 !important;
    }
    
    #visitor-counter-container, #seobility-widget {
        flex-direction: column;
        padding: 0;
        margin-top: 6px;
    }
    
    #seobility-widget img {
        height: 32px !important;
        padding: 6px 10px !important;
    }
}

/* Kleine Smartphones */
@media screen and (max-width: 400px) {
    html, body {
        font-size: 14px;
    }
    
    h1, .hero-title {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 0.5rem 0.2rem;
    }
    
    .nav-button, .spotify-button, .youtube-button, .fanshop-button {
        padding: 6px 10px;
        font-size: 0.85rem;
        width: auto;
        min-width: 60px;
        margin: 2px;
    }
    
    footer.footer {
        font-size: 0.90rem;
        padding: 8px 0 38px 0 !important;
    }
}


/* Intro Text */
.intro-text {
    max-width: 820px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    text-align: center;
}

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

.intro-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #e0e0e0;
    letter-spacing: 0.3px;
    word-spacing: 0.6px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* Hervorgehobene Begriffe */
.highlight {
    font-weight: 600;
    color: #00ffff;
    text-shadow: 0 0 4px #00ffff;
}

/* Zwischenüberschriften */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
}

/* Hauptinhalt */
.main-content {
    margin-top: 60px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
}

.hero-content p {
    margin-bottom: 1.5rem;
    color: #ecf0f1;
    line-height: 1.8;
}

/* Spotify Section */
.spotify-section {
    padding: 4rem 0;
}

.spotify-title {
    text-align: center;
    color: #00ffff;
    text-shadow: 0 0 8px #00ffff, 0 0 16px #00ffff;
    font-size: 2.5em;
    margin-top: 40px;
}

.spotify-description {
    text-align: center;
    color: #cccccc;
    font-size: 1.2em;
    margin-bottom: 30px;
}

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

/* YouTube Section */
.youtube-section {
    padding: 4rem 0;
}

.youtube-title {
    text-align: center;
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ff, 0 0 16px #ff00ff;
    font-size: 2.5em;
    margin-top: 40px;
}

.youtube-description {
    text-align: center;
    color: #cccccc;
    font-size: 1.2em;
    margin-bottom: 30px;
}

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

.spotify-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.spotify-item:hover {
    transform: translateY(-5px);
}

.spotify-item h3 {
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

/* YouTube Section */
.youtube-section {
    padding: 4rem 0;
}

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

.youtube-item {
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-button {
    display: block;
    margin-top: 2rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.youtube-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

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

    .spotify-grid,
    .youtube-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        gap: 1rem;
    }
}
