/* Casina Elementor Widgets Styles - v3.0.2 Ultra Bulletproof */

/* Wrapper for the widget to force full viewport width regardless of Elementor Container settings */
.casina-hero-wrapper {
    position: relative;
    /* Force full width breaking out of any box */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Make sure nothing leaks out */
}

/* Background video container strictly bounded */
.casina-hero-video-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 0; /* Base level */
}

/* Video strictly filling container */
.casina-hero-video-bg video {
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none; /* Never capture clicks */
    transform: scale(1.02); /* Hide any fractional white lines on edges */
}

/* Overlay layer for backgrounds and gradients */
.casina-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1; /* Above video */
    background-color: rgba(0,0,0,0.5); /* Default fallback */
    transition: all 0.3s ease;
    pointer-events: none; /* Never capture clicks */
}

/* Content wrapper ensuring it is completely on top */
.casina-hero-content {
    position: relative;
    z-index: 10; /* Safely above video and overlay */
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    animation: casinaFadeInUP 1s ease-out forwards;
}

/* Default Typographical structures */
.casina-hero-subtitle {
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.casina-hero-title {
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.casina-hero-text {
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.casina-hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Basic default styling so it looks like a button if unmodified */
    border-radius: 50px;
}

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

/* --- WhatsApp Floating Button --- */
.casina-whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: transparent;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    animation: casinaPulse 2s infinite;
}

.casina-whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

.casina-whatsapp-float svg {
    width: 100%;
    height: 100%;
}

@keyframes casinaPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
