html {
    scroll-behavior: smooth;
}
:root {
    --brand-orange: #ff6b00;
    --brand-dark: #1a1a1a;
    --brand-gray: #f4f4f4;
}
/* Fallbacks for brand utility classes in case Tailwind CDN/config не подтянулся */
.text-brand-orange { color: var(--brand-orange) !important; }
.bg-brand-orange { background-color: var(--brand-orange) !important; }
.border-brand-orange { border-color: var(--brand-orange) !important; }
.text-brand-dark { color: var(--brand-dark) !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }
.border-brand-dark { border-color: var(--brand-dark) !important; }
.bg-brand-gray { background-color: var(--brand-gray) !important; }

.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1562920601-5766e4092b77?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.pulse-btn {
    animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}
/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
    }
    .desktop-phone {
        display: none;
    }
}
/* Mobile Menu Animation */
.mobile-menu-open {
    animation: slideDown 0.3s ease-out forwards;
}
.mobile-menu-close {
    animation: slideUp 0.3s ease-out forwards;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}
/* Hamburger Menu Animation */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    width: 24px;
    height: 18px;
    justify-content: center;
}
.line {
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
}
.line-top {
    top: 2px;
}
.line-middle {
    top: 50%;
    transform: translateY(-50%);
}
.line-bottom {
    bottom: 2px;
}
#menu-btn.active .line-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
#menu-btn.active .line-middle {
    opacity: 0;
}
#menu-btn.active .line-bottom {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Carousel Styles */
.carousel-wrapper {
    position: relative;
}

.carousel-track {
    background: #f3f4f6;
    border-radius: 0.5rem;
    overflow: hidden;
    touch-action: pan-y; /* Allows vertical scroll, but we'll capture horizontal */
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-out;
    width: 100%;
}

.carousel-item {
    flex-shrink: 0;
    width: 100%;
    background: #d1d5db;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(107, 114, 128, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 20px;
    z-index: 10;
}

.carousel-btn-prev {
    left: -24px;
}

.carousel-btn-next {
    right: -24px;
}

.carousel-btn:hover {
    background: #ea580c;
}

/* Carousel Indicators (Dots) */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9ca3af;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: #ea580c;
}

.carousel-dot:hover {
    background: #ea580c;
}

