/* ═══════════════════════════════════════════════════════════
   HOME PAGE STYLES — RootAxis Technologies
   ═══════════════════════════════════════════════════════════ */

/* ── Hero Section Spacing ── */
.hero-section-padding {
    padding-top: 140px;
    padding-bottom: 80px;
}

@media (min-width: 992px) {
    .hero-section-padding {
        padding-top: 165px !important;
        padding-bottom: 90px !important;
    }
}

@media (max-width: 991px) {
    .hero-section-padding {
        padding-top: 80px !important;
        padding-bottom: 50px !important;
    }
}

/* ── Hover Premium Cards ── */
.hover-premium {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
    will-change: transform, box-shadow;
}

.hover-premium:hover {
    box-shadow: 0 20px 40px rgba(var(--ra-primary-rgb), 0.15) !important;
    border-color: var(--ra-primary) !important;
    transform: translateY(-4px);
}

.premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hover-premium:hover .premium-overlay {
    opacity: 1;
}

/* ── Gallery Masonry ── */
.gallery-masonry {
    columns: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
}

/* ── Owl Carousel Navigation Dots ── */
.owl-dots {
    margin-top: 30px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.owl-dot {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
}

.owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: rgba(0, 0, 0, 0.15) !important;
    border-radius: 50%;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.owl-dot:hover span {
    background: rgba(var(--ra-primary-rgb), 0.5) !important;
}

.owl-dot.active span {
    background: var(--ra-primary) !important;
    width: 32px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(var(--ra-primary-rgb), 0.3);
}

#video-carousel-section .owl-dot span {
    background: rgba(255, 255, 255, 0.25) !important;
}

#video-carousel-section .owl-dot.active span {
    background: var(--ra-primary) !important;
}

/* ── Responsive Breakpoints ── */
@media (max-width: 991px) {
    .gallery-masonry {
        columns: 2 !important;
    }
}

@media (max-width: 575px) {
    .gallery-masonry {
        columns: 2 !important;
        column-gap: 1rem;
    }
    .gallery-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        columns: 1 !important;
    }
    .hero-cta-group {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    .hero-cta-group .btn {
        width: 100% !important;
        justify-content: center;
    }
}
