﻿/* ==================================
   NEOCAROUSEL - Luxury Design
   ================================== */

.carousel-neocarousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel-slide-neocarousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image-neocarousel {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay-neocarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
}

.carousel-content-neocarousel {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 600px;
}

.carousel-subtitle-neocarousel {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-weight: 400;
}

.carousel-title-neocarousel {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.2;
    color: white;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-btn-neocarousel {
    display: inline-block;
    padding: 16px 40px;
    background-color: #073a8d;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 2px solid #073a8d;
}

.carousel-btn-neocarousel:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* ========================================
   PANEL FIXE À DROITE - Style Social Network
   ======================================== */

.carousel-info-card-neocarousel {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-radius: 14px 0 0 14px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 100;
    animation: slideInRight-neocarousel 0.8s ease-out 0.5s both;
	transition: opacity 0.6s ease-in-out;
}

/* Classe pour cacher le panel */
.carousel-info-card-neocarousel.hidden-neocarousel {
    opacity: 0;
    visibility: hidden;
    transform: translate(100%, -50%);
}


.carousel-info-item-neocarousel {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s ease;
    padding: 5px 10px;
    position: relative;
    width: 100%;
}

.carousel-info-item-neocarousel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #073a8d;
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.carousel-info-item-neocarousel:hover::before {
    transform: scaleY(1);
}

.carousel-info-item-neocarousel:hover {
    background: rgba(7, 58, 141, 0.05);
}

.carousel-icon-neocarousel {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.carousel-icon-phone-neocarousel {
    background: rgba(7, 58, 141, 0.1);
    color: #073a8d;
}

.carousel-info-item-neocarousel:hover .carousel-icon-phone-neocarousel {
    background: #073a8d;
    color: white;
    transform: scale(1.1);
    border-color: #073a8d;
}

.carousel-icon-location-neocarousel {
    background: rgba(7, 58, 141, 0.1);
    color: #073a8d;
}

.carousel-info-item-neocarousel:hover .carousel-icon-location-neocarousel {
    background: #073a8d;
    color: white;
    transform: scale(1.1);
    border-color: #073a8d;
}

.carousel-icon-user-neocarousel {
    background: rgba(7, 58, 141, 0.1);
    color: #073a8d;
}

.carousel-info-item-neocarousel:hover .carousel-icon-user-neocarousel {
    background: #073a8d;
    color: white;
    transform: scale(1.1);
    border-color: #073a8d;
}

.carousel-icon-heart-neocarousel {
    background: rgba(7, 58, 141, 0.1);
    color: #073a8d;
}

.carousel-favoris-neocarousel:hover .carousel-icon-heart-neocarousel {
    background: #073a8d;
    color: white;
    transform: scale(1.1);
    border-color: #073a8d;
}

/* Tooltip au survol */
.carousel-info-text-neocarousel {
    position: absolute;
    right: 85px;
    background: #1A1A1A;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-info-text-neocarousel::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #1A1A1A;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.carousel-info-item-neocarousel:hover .carousel-info-text-neocarousel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.carousel-info-label-neocarousel {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}

.carousel-info-value-neocarousel {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 14px;
    color: white;
    font-weight: 600;
}

.carousel-divider-neocarousel {
    width: 60%;
    height: 1px;
    background: rgba(7, 58, 141, 0.2);
    margin: 8px auto;
}

/* Badge favoris */
.carousel-favoris-neocarousel {
    position: relative;
}

.carousel-favoris-badge-neocarousel {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #073a8d;
    color: white;
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   INDICATEUR DE SCROLL
   ======================================== */

.carousel-scroll-indicator-neocarousel {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    animation: fadeIn-neocarousel 1s ease-out 1s both;
}

.carousel-scroll-text-neocarousel {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.carousel-scroll-mouse-neocarousel {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.carousel-scroll-wheel-neocarousel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll-neocarousel 2s infinite;
}

/* Animations */
@keyframes slideInRight-neocarousel {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn-neocarousel {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes scroll-neocarousel {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 0;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .carousel-content-neocarousel {
        left: 6%;
        max-width: 550px;
    }
    
    .carousel-title-neocarousel {
        font-size: 56px;
    }
}

@media (max-width: 992px) {
    .carousel-info-card-neocarousel {
        padding: 15px 0;
    }
    
    .carousel-info-item-neocarousel {
        padding: 15px 18px;
    }
    
    .carousel-icon-neocarousel {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 768px) {
    .carousel-neocarousel {
        height: 70vh;
        min-height: 500px;
    }
    
    .carousel-content-neocarousel {
        left: 5%;
        right: 80px;
        max-width: none;
    }
    
    .carousel-title-neocarousel {
        font-size: 42px;
    }
    
    .carousel-btn-neocarousel {
        padding: 14px 32px;
        font-size: 11px;
    }
    
    /* Panel fixe plus petit sur mobile */
    .carousel-info-card-neocarousel {
        padding: 12px 0;
    }
    
    .carousel-info-item-neocarousel {
        padding: 12px 15px;
    }
    
    .carousel-icon-neocarousel {
        width: 38px;
        height: 38px;
    }
    
    .carousel-icon-neocarousel svg {
        width: 18px;
        height: 18px;
    }
    
    .carousel-favoris-badge-neocarousel {
        width: 18px;
        height: 18px;
        font-size: 9px;
        top: 10px;
        right: 10px;
    }
    
    /* Tooltip caché sur mobile */
    .carousel-info-text-neocarousel {
        display: none;
    }
    
    /* Scroll indicator */
    .carousel-scroll-indicator-neocarousel {
        bottom: 25px;
    }
    
    .carousel-scroll-text-neocarousel {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-content-neocarousel {
        left: 5%;
        right: 70px;
    }
    
    .carousel-title-neocarousel {
        font-size: 36px;
    }
    
    .carousel-subtitle-neocarousel {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .carousel-info-card-neocarousel {
        padding: 10px 0;
    }
    
    .carousel-info-item-neocarousel {
        padding: 10px 12px;
    }
    
    .carousel-icon-neocarousel {
        width: 35px;
        height: 35px;
    }
    
    .carousel-icon-neocarousel svg {
        width: 16px;
        height: 16px;
    }
    
    .carousel-divider-neocarousel {
        margin: 6px auto;
    }
}