/* ================================
   СВ ПРАВО — Custom Styles
   ================================ */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Header states */
.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

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

#header-inner.header-scrolled {
    border-color: #E0E0DC;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Pulse ring animation for hero SVG */
@keyframes pulseRing {
    0% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.05;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.15;
        transform: scale(1);
    }
}

.pulse-ring {
    animation: pulseRing 4s ease-in-out infinite;
    transform-origin: center;
}

/* Range input styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #E0E0DC;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #C8962E;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(200, 150, 46, 0.3);
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #C8962E;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(200, 150, 46, 0.3);
}

/* Carousel dots active state */
button[class*="w-8"] {
    border-radius: 9999px;
}

/* Selection color */
::selection {
    background: rgba(200, 150, 46, 0.2);
    color: #1B2A4A;
}

/* Focus outline for accessibility */
:focus-visible {
    outline: 2px solid #C8962E;
    outline-offset: 2px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FAFAF7;
}

::-webkit-scrollbar-thumb {
    background: #E0E0DC;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C8962E;
}
