/* Global Styles & Tailwind Overrides */
:root {
    /* Nouvelle Charte Graphique */
    --floral-white: #fffcf2;
    --dust-grey: #ccc5b9;
    --charcoal-brown: #403d39;
    --carbon-black: #252422;
    --spicy-paprika: #eb5e28;

    /* Semantic Mappings */
    --color-primary: var(--carbon-black);
    --color-secondary: var(--spicy-paprika);
    --color-accent: var(--charcoal-brown);
    --color-text: var(--carbon-black);
    --color-bg: var(--floral-white);
    --color-muted: var(--dust-grey);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* WhatsApp Brand Color kept for recognition */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Mobile size */
.whatsapp-float {
    width: 60px;
    height: 60px;
}

/* Desktop size */
@media (min-width: 768px) {
    .whatsapp-float {
        width: 70px;
        height: 70px;
        bottom: 40px;
        right: 40px;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.whatsapp-icon {
    margin-top: 2px; /* Visual adjustment */
}

/* Pulse Animation */
@keyframes pulse-green {
    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 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.pulse-animation {
    animation: pulse-green 2s infinite;
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Glassmorphism & Modern UI */
.glass-panel {
    background: rgba(255, 252, 242, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(37, 36, 34, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(235, 94, 40, 0.15);
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Map Container Styling (Framer-like) */
.map-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 8px solid var(--floral-white);
}

.map-overlay-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 300px;
    z-index: 10;
    transition: transform 0.3s ease;
}

.map-overlay-card:hover {
    transform: translateY(-5px);
}

.section-spacing {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    .section-spacing {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

/* Card Hover Effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Forms & Interactions */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--spicy-paprika);
    box-shadow: 0 0 0 4px rgba(235, 94, 40, 0.1);
}

.btn-primary {
    background-color: var(--spicy-paprika);
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(235, 94, 40, 0.2), 0 2px 4px -1px rgba(235, 94, 40, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(235, 94, 40, 0.3), 0 4px 6px -2px rgba(235, 94, 40, 0.1);
    background-color: #d14d1e;
}

/* Glass Card Helper */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}
#mobile-menu-overlay {
    transition: opacity 0.3s ease, visibility 0.3s;
}

#mobile-menu-content {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CountUp Animation Placeholder Class */
.count-up-element {
    visibility: visible;
}

/* Gradient Overlay for Hero */
.hero-overlay {
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(30, 58, 138, 0.7));
}

/* Basic CSS Animations for Hero Elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes scaleX {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.animate-scale-x {
    animation: scaleX 0.8s ease-out forwards;
    transform-origin: center;
}
