/* Step One – Studio Treningu | Main Stylesheet */

:root {
    --studio-forest: #224737;
    --studio-forest-deep: #183327;
    --studio-forest-soft: #2E5D48;
    --studio-beige: #E8DECE;
    --studio-cream: #F6F2EB;
    --studio-bg: #FAF8F4;
    --studio-charcoal: #151817;
    --studio-ink-muted: #4A524E;
    --studio-wood: #B28B67;
    --studio-wood-light: #C9A786;
}

body {
    background-color: var(--studio-bg);
    color: var(--studio-charcoal);
}

#navbar {
    background-color: rgba(250, 248, 244, 0.96);
    border-bottom: 1px solid rgba(21, 24, 23, 0.10);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--studio-bg);
}
::-webkit-scrollbar-thumb {
    background: #C9C1B4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--studio-forest);
}

/* Hero Editorial Overlay */
.hero-overlay {
    background: linear-gradient(
        105deg,
        rgba(21, 24, 23, 0.90) 0%,
        rgba(24, 51, 39, 0.78) 52%,
        rgba(21, 24, 23, 0.58) 100%
    );
}

/* Subtle Wood Accent Gradient Text */
.text-wood-gradient {
    background: linear-gradient(120deg, #E8DECE 0%, #C9A786 45%, #B28B67 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass / Elevated Studio Surface */
.studio-card {
    background: #FFFFFF;
    border: 1px solid rgba(21, 24, 23, 0.08);
    box-shadow: 0 12px 32px -12px rgba(21, 24, 23, 0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
}

.studio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(178, 139, 103, 0.45);
    box-shadow: 0 24px 48px -16px rgba(34, 71, 55, 0.12);
}

.glass-panel {
    background: #FFFFFF;
    border: 1px solid rgba(21, 24, 23, 0.08);
    box-shadow: 0 24px 60px -18px rgba(21, 24, 23, 0.10);
}

/* Form Inputs */
.studio-input {
    width: 100%;
    background-color: #FAF8F4;
    border: 1px solid rgba(21, 24, 23, 0.14);
    border-radius: 0.75rem;
    padding: 0.9rem 1.1rem;
    color: var(--studio-charcoal);
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.studio-input:focus {
    outline: none;
    background-color: #FFFFFF;
    border-color: var(--studio-forest);
    box-shadow: 0 0 0 3px rgba(34, 71, 55, 0.12);
}

.studio-input::placeholder {
    color: #8B928E;
}

.studio-input.input-error {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}

/* Contact Preference Radio Pills */
.pref-pill input:checked + span {
    background-color: var(--studio-forest);
    color: #FAF8F4;
    border-color: var(--studio-forest);
}

/* Checkbox Styling */
input[type="checkbox"] {
    accent-color: var(--studio-forest);
}

/* Smooth FAQ Accordion */
.accordion-item {
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.accordion-item:hover {
    border-color: rgba(178, 139, 103, 0.55);
}

.accordion-item.active {
    border-color: rgba(34, 71, 55, 0.45);
    box-shadow: 0 12px 28px -10px rgba(34, 71, 55, 0.10);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: max-height, opacity, transform;
}

.accordion-item.active .accordion-content {
    opacity: 1;
    transform: translateY(0);
}

.accordion-icon {
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--studio-forest);
}

/* Gallery Hover */
.gallery-tile img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile:hover img {
    transform: scale(1.04);
}

/* Subtle Architectural Wood Slats Pattern (inspired by real studio walls) */
.wood-slats-accent {
    background-image: repeating-linear-gradient(
        90deg,
        rgba(178, 139, 103, 0.22) 0px,
        rgba(178, 139, 103, 0.22) 6px,
        transparent 6px,
        transparent 14px
    );
}

/* Shake Animation for Errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.animate-shake {
    animation: shake 0.4s ease-in-out;
}
