/* RØDECaster Duo - Interaktive Anleitung Styles */

:root {
    --background-light: #ffffff;
    --background-dark: #121212;
    --text-light: #333333;
    --text-dark: #f5f5f5;
    --header-light: #f0f0f0;
    --header-dark: #222222;
    --display-light: #eeeeee;
    --display-dark: #444444;
    --pad1: #ff5f6d;
    --pad2: #ffc371;
    --pad3: #37d67a;
    --pad4: #4a90e2;
    --pad5: #d0021b;
    --pad6: #f8e71c;
    --button-light-background: #f0f0f0;
    --button-light-text: #333333;
    --button-dark-background: #444444;
    --button-dark-text: #f5f5f5;
}

/* Base Styles */
body {
    font-family: "Arial", sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background-light);
    color: var(--text-light);
    transition: background 0.3s, color 0.3s;
}

body.dark-theme {
    background: var(--background-dark);
    color: var(--text-dark);
}

/* Header Styles */
.header {
    text-align: center;
    background: var(--header-light);
    color: var(--text-light);
    padding: 20px;
    transition: background 0.3s, color 0.3s;
}

.header.dark-theme {
    background: var(--header-dark);
    color: var(--text-dark);
}

header h1 {
    font-size: 2.5em;
}

header p {
    margin: 10px 0 0;
    font-size: 1.2em;
}

.header-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.header-buttons button {
    background: var(--button-light-background);
    color: var(--button-light-text);
    border: 1px solid var(--button-light-text);
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s, color 0.3s, border 0.3s;
}

.header-buttons button.dark-theme {
    background: var(--button-dark-background);
    color: var(--button-dark-text);
    border: none;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
}

/* Main Content */
main {
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

/* Product Info Sections */
.product-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.product-info:nth-child(odd) {
    flex-direction: row;
}

.product-info:nth-child(even) {
    flex-direction: row-reverse;
}

.product-info h2 {
    font-size: 1.8em;
    margin: 0 0 10px;
}

.product-info p {
    line-height: 1.6;
    font-size: 1.1em;
}

.product-info img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Interactive Demo */
.interactive-demo {
    text-align: center;
    margin-top: 40px;
}

.interactive-demo h2 {
    font-size: 1.8em;
}

.rodecaster {
    margin-top: 20px;
    display: inline-block;
    border: 2px solid #ccc;
    border-radius: 12px;
    padding: 10px;
    background: var(--background-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.display {
    background: var(--display-dark);
    color: var(--text-dark);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    transition: background 0.3s, color 0.3s;
}

.sound-pads {
    display: grid;
    grid-template-columns: repeat(2, 80px);
    gap: 10px;
    justify-content: center;
}

.pad {
    border: none;
    border-radius: 10px;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.2s;
}

.pad:active {
    transform: scale(0.9);
}

.pad:nth-child(1) { background: var(--pad1); }
.pad:nth-child(2) { background: var(--pad2); }
.pad:nth-child(3) { background: var(--pad3); }
.pad:nth-child(4) { background: var(--pad4); }
.pad:nth-child(5) { background: var(--pad5); }
.pad:nth-child(6) { background: var(--pad6); }

/* Instruction Steps */
.instruction-step {
    display: none;
    position: relative;
}

.instruction-step.active {
    display: block;
}

/* Navigation */
.navigation {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.navigation button {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid var(--button-light-text);
    background: var(--button-light-background);
    color: var(--button-light-text);
    transition: background 0.3s, color 0.3s, border 0.3s;
}

.navigation button.dark-theme {
    background: var(--button-dark-background);
    color: var(--button-dark-text);
    border: none;
}

/* Image Navigation Arrows */
.image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 144, 226, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: rgba(74, 144, 226, 1);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.nav-arrow.prev {
    left: 10px;
}

.nav-arrow.next {
    right: 10px;
}

.nav-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.nav-arrow.dark-theme {
    background: rgba(74, 144, 226, 0.8);
}

.nav-arrow.dark-theme:hover {
    background: rgba(74, 144, 226, 1);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    transition: background 0.3s, color 0.3s;
}

footer p {
    margin: 0;
    font-size: 1em;
    color: var(--text-light);
}

footer.dark-theme {
    background: var(--header-dark);
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-info {
        flex-direction: column !important;
        text-align: center;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
} 