/* Custom Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Animations Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Utility Classes for JS Observer */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-up {
    animation: fadeUp 1s ease-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* Slider transition */
#slider-track {
    will-change: transform;
}

/* Accordion Active State */
.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-header.active {
    color: #ea580c; /* Brand accent color (Orange 600) */
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Hide scrollbar for cleaner look if needed */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Modal Styles */
#contact-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#contact-modal.open {
    opacity: 1;
    pointer-events: auto;
}

#contact-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

#contact-modal-content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 500px;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    z-index: 101;
    overflow: hidden;
}

#contact-modal.open #contact-modal-content {
    transform: scale(1);
}

.modal-header {
    background: #0f172a; /* Brand Dark */
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-close {
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ea580c; /* Brand Accent */
}

/* Hero Background */
.hero-bg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('epaviste-paris-hero-enlevement-epave-v1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}