/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
    --bg-main: #0a0a0b;
    --bg-secondary: #131316;
    --accent-primary: #f8f8f8;
    --accent-brand: #3b82f6;
    --accent-brand-hover: #2563eb;
    --text-muted: #8e8e99;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --max-width: 1200px;
    --section-padding: 6rem 2rem;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Language Classes
   ========================================================================== */
body.lang-en .fr { display: none !important; }
body.lang-fr .en { display: none !important; }

/* Hide default cursor to use custom bubble cursor for general elements */
body * {
    cursor: none !important;
}

/* Ensure text inputs and dates still show the proper typing/calendar cursor */
input {
    cursor: text !important;
}
input[type="date"], input[type="time"] {
    cursor: pointer !important;
}

.cursor-bubble {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s ease, height 0.2s ease, opacity 0.3s ease;
    box-shadow: 
        inset -2px -2px 6px rgba(0, 0, 0, 0.2),
        inset 2px 2px 6px rgba(255, 255, 255, 0.3),
        0 0 10px rgba(59, 130, 246, 0.3);
    will-change: transform;
}

.cursor-bubble.hovering {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.3), transparent);
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 
        inset -2px -2px 6px rgba(0, 0, 0, 0.2),
        inset 2px 2px 6px rgba(255, 255, 255, 0.3),
        0 0 15px rgba(59, 130, 246, 0.5);
}

.cursor-bubble.popping {
    animation: popEffect 0.3s ease-out forwards;
}

@keyframes popEffect {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0; border-width: 1px; }
    100% { transform: scale(0); opacity: 0; }
}

/* ==========================================================================
   Background Floating Bubbles (Professional Theme)
   ========================================================================== */
.bubbles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-bubble {
    position: absolute;
    bottom: -50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Sleek glassy edge */
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 40%, transparent 80%);
    box-shadow: 
        inset -5px -5px 15px rgba(0, 0, 0, 0.3),
        inset 5px 5px 15px rgba(255, 255, 255, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.1);
    animation: floatUp linear infinite;
    will-change: transform, opacity;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-110vh) scale(1.2) translateX(30px);
        opacity: 0;
    }
}

/* ==========================================================================
   Base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-primary); background-color: var(--bg-main); color: var(--accent-primary); line-height: 1.6; overflow-x: hidden; position: relative; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
.container { max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 1; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
p { color: var(--text-muted); }

.section-title { font-size: 2.5rem; margin-bottom: 0.5rem; text-align: center; }
.section-subtitle { text-align: center; font-size: 1.125rem; margin-bottom: 4rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-primary);
    color: var(--bg-main);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-primary-outline:hover { background-color: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.4); }
.full-width { width: 100%; text-align: center; }

.lang-toggle-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.lang-toggle-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(10, 10, 11, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); transition: var(--transition-smooth);
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.1em; }
.logo-text { color: var(--accent-primary); }
.logo-accent { color: var(--accent-brand); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn-primary-outline) { font-weight: 500; font-size: 0.95rem; color: #e0e0e0; }
.nav-links a:not(.btn-primary-outline):hover { color: var(--accent-brand); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero { display: flex; align-items: center; justify-content: center; min-height: 100vh; text-align: center; position: relative; padding: 0 5%; }
.hero-content { position: relative; z-index: 2; max-width: 800px; margin-top: 4rem; }
.badge { display: inline-block; padding: 0.4rem 1rem; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50px; font-size: 0.85rem; text-transform: uppercase; color: var(--accent-brand); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.8); background: linear-gradient(90deg, #fff, #a1a1aa); background-clip: text; -webkit-background-clip: text; }
.hero-buttons { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; }
.contact-quick { font-weight: 600; font-size: 1.1rem; display: flex; gap: 0.75rem; align-items: center; }
.contact-quick i { color: var(--accent-brand); }

/* ==========================================================================
   Services Section (Now Grid based)
   ========================================================================== */
.services-section { padding: var(--section-padding); position: relative; z-index: 1; border-top: 1px solid var(--border-color); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card { background: var(--bg-secondary); padding: 2.5rem 2rem; border-radius: 20px; border: 1px solid var(--border-color); transition: var(--transition-smooth); }
.service-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.service-card i { font-size: 2.5rem; color: var(--accent-brand); margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }

/* ==========================================================================
   Pricing Section (Updated with 2 Tiers)
   ========================================================================== */
.pricing-section { padding: var(--section-padding); position: relative; z-index: 1; background: linear-gradient(180deg, var(--bg-main) 0%, #080809 100%); border-top: 1px solid var(--border-color); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(145deg, var(--bg-secondary) 0%, #0f0f12 100%);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
}

.featured-card {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}
.featured-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-brand), transparent);
}

.pricing-header { text-align: center; margin-bottom: 2rem; }
.pricing-header h2 { font-size: 1.35rem; color: var(--text-muted); }
.price { font-size: 4rem; font-weight: 800; line-height: 1; margin: 1rem 0; color: var(--accent-primary); }
.currency { font-size: 1.5rem; vertical-align: super; margin-right: 0.25rem; color: var(--text-muted); }
.period { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-features { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; color: #d1d5db; font-size: 0.95rem; }
.pricing-features i { color: var(--accent-brand); font-size: 1rem; margin-top: 0.25rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #050506; padding: 6rem 5% 3rem; position: relative; z-index: 1; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand h2 { font-size: 1.5rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-contact h3 { margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-contact p { margin-bottom: 0.75rem; display: flex; gap: 0.75rem; align-items: center; }
.footer-contact i { color: var(--accent-brand); }
.footer-bottom { text-align: center; padding-top: 3rem; border-top: 1px solid var(--border-color); font-size: 0.875rem; }

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .pricing-grid { gap: 2rem; }
    .featured-card { transform: translateY(0); }
}
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    body * { cursor: auto !important; } /* Disable custom cursor on mobile */
    .cursor-bubble { display: none; }
    .modal-content { padding: 2rem 1.5rem; margin: 1rem; }
}

/* ==========================================================================
   Booking Modal (Glassmorphism)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(145deg, rgba(19, 19, 22, 0.9) 0%, rgba(10, 10, 11, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-primary);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--accent-brand);
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
}

.booking-form .form-row {
    display: flex;
    gap: 1rem;
}

.booking-form .half {
    flex: 1;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #d1d5db;
}

.booking-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--accent-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.booking-form input:focus {
    outline: none;
    border-color: var(--accent-brand);
    background: rgba(255, 255, 255, 0.08);
}

/* Specific styling for Date/Time picker icons on Webkit to match dark theme */
::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
}

.modal-footer-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}
