/* Genel Stil Ayarları */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #50E3C2;
    --background-color: #f0f2f5;
    --card-background: #ffffff;
    --text-color: #333333;
    --light-text-color: #666666;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Başlık Alanı */
header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    box-shadow: var(--shadow);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* İçerik Alanı */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Enstrüman Bölümleri */
.instrument-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease-in-out;
}

.instrument-section:nth-child(even) {
    flex-direction: column-reverse; /* Çift numaralı bölümlerde metin ve resim sırasını değiştir */
}

.instrument-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.instrument-section img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
    margin-top: 1.5rem;
}

.content-wrapper {
    text-align: center;
}

/* Video Bölümü */
.video-container {
    text-align: center;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.video-container h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.video-container iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: none;
    border-radius: 8px;
}

/* Alt Bilgi */
footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--text-color);
    color: white;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* Animasyon Sınıfları (JavaScript için) */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Tasarım */
@media (min-width: 768px) {
    .instrument-section {
        flex-direction: row;
        gap: 2rem;
        text-align: left;
    }

    .instrument-section:nth-child(even) {
        flex-direction: row-reverse;
    }

    .instrument-section img {
        margin-top: 0;
    }

    .content-wrapper {
        text-align: left;
    }
}