/* Стили для главной страницы (home.html) */

/* === Баннер слайдер === */
.banner-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-dot div {
    transition: all 0.3s ease;
}

.banner-dot.active div {
    width: 1.5rem !important;
    background: white !important;
}

/* Стрелки на мобильных всегда видны */
@media (max-width: 1023px) {
    .banner-arrow {
        opacity: 1 !important;
    }
}

/* === Скрытие scrollbar === */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* === Анимации === */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(50px, 50px) scale(1.05);
    }
}

.animate-blob {
    animation: blob 20s infinite ease-in-out;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* === Reel карточки === */
.reel-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reel-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

/* === Team member карточки === */
.team-member-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

/* === Portfolio работы === */
.work-slide {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
}

/* === Модальные окна === */
.modal-backdrop {
    backdrop-filter: blur(8px);
}

/* === Кнопки прокрутки === */
.scroll-button {
    transition: all 0.3s ease;
}

.scroll-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

/* === Tailwind переопределения === */
@layer utilities {
    .text-shadow {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .text-shadow-lg {
        text-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    }
    
    .backdrop-blur-sm {
        backdrop-filter: blur(8px);
    }
    
    .backdrop-blur-md {
        backdrop-filter: blur(12px);
    }
}

/* === Купон perforation эффект === */
#couponContainer {
    position: relative;
}

/* === Responsive утилиты === */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 1024px) {
    .lg\:hover\:scale-105:hover {
        transform: scale(1.05);
    }
}

/* === Smooth transitions для всех интерактивных элементов === */
button, a, .transition-all {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Видео карточки === */
video {
    object-fit: cover;
}

video::-webkit-media-controls {
    display: flex !important;
}

/* === Focus states для accessibility === */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* === Gradient text поддержка === */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === Shadow утилиты === */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-3xl {
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

/* === Hover эффекты для изображений === */
.image-hover-zoom {
    overflow: hidden;
}

.image-hover-zoom img {
    transition: transform 0.5s ease;
}

.image-hover-zoom:hover img {
    transform: scale(1.1);
}

/* === Snap scroll для каруселей === */
.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-start {
    scroll-snap-align: start;
}

.snap-mandatory {
    scroll-snap-type: x mandatory;
}

/* === Плавная прокрутка === */
html {
    scroll-behavior: smooth;
}

/* === Кастомные цвета === */
:root {
    --primary-green: #10b981;
    --secondary-green: #059669;
    --light-green: #d1fae5;
}
