/* Bati Sur Elementor Widgets - Styles */

:root {
    --batisur-orange: #fe610d;
    --batisur-dark: #343c46;
    --batisur-white: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
}

/* Menu/Header Widget */
.batisur-header-wrapper {
    width: 100%;
}

.batisur-header {
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.batisur-header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.batisur-logo {
    display: flex;
}

.batisur-logo img {
    max-height: 60px;
    width: auto;
}

.batisur-menu-item {
    transition: color 0.3s ease;
}

.batisur-cta-wrapper {
    display: flex;
}

/* Remove bullets from menu */
.batisur-nav-list,
.batisur-mobile-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.batisur-nav-list li,
.batisur-mobile-nav-list li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
    position: relative;
}

.batisur-nav-list li::before,
.batisur-mobile-nav-list li::before {
    content: none !important;
    display: none !important;
}

/* Sous-menus */
.batisur-nav-list .sub-menu,
.batisur-nav-list .children {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none !important;
    margin: 0 !important;
}

.batisur-nav-list li:hover > .sub-menu,
.batisur-nav-list li:hover > .children {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.batisur-nav-list .sub-menu li,
.batisur-nav-list .children li {
    display: block;
    width: 100%;
}

.batisur-nav-list .sub-menu a,
.batisur-nav-list .children a {
    display: block;
    padding: 0.5rem 1rem;
    color: #343c46;
    transition: background 0.3s ease;
}

.batisur-nav-list .sub-menu a:hover,
.batisur-nav-list .children a:hover {
    background: #f5f5f5;
    color: var(--batisur-orange);
}

.batisur-mobile-menu {
    z-index: 9999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.batisur-mobile-menu.open {
    transform: translateX(0) !important;
}

body.menu-open {
    overflow: hidden;
}

/* Hero Slider */
.batisur-hero {
    position: relative;
    overflow: hidden;
}

.batisur-hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.batisur-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
}

/* Effet Fade */
.batisur-hero-slide.fade {
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

.batisur-hero-slide.fade.active-slide {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Effet Slide Left */
.batisur-hero-slide.slide-left {
    transform: translateX(100%);
    transition: transform 1s ease-in-out, opacity 0.5s ease-in-out, visibility 1s ease-in-out;
}

.batisur-hero-slide.slide-left.active-slide {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Effet Slide Right */
.batisur-hero-slide.slide-right {
    transform: translateX(-100%);
    transition: transform 1s ease-in-out, opacity 0.5s ease-in-out, visibility 1s ease-in-out;
}

.batisur-hero-slide.slide-right.active-slide {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.batisur-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.batisur-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.batisur-zoom-effect {
    animation: batisurZoomIn 12s linear forwards;
}

@keyframes batisurZoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Hotspot Animation */
.batisur-hotspot-ping {
    animation: batisurPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes batisurPing {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Cards */
.batisur-card {
    transition: all 0.5s ease;
}

.batisur-card:hover {
    transform: translateY(-0.5rem);
}

/* Responsive */
@media (max-width: 768px) {
    .batisur-hero-title {
        font-size: 2.5rem;
    }
}

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

/* Utilities */
.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
