/* =============================================
   DRV Informatique 22 - Premium Dark Design
   ============================================= */

:root {
    /* Core Palette: Deep Space & Neon */
    --bg-primary: #0f172a;
    /* Slate 900 */
    --bg-secondary: #020617;
    /* Slate 950 */
    --accent-primary: #38bdf8;
    /* Sky 400 */
    --accent-secondary: #818cf8;
    /* Indigo 400 */
    --accent-glow: rgba(56, 189, 248, 0.5);

    /* Typography */
    --text-primary: #f1f5f9;
    /* Slate 100 */
    --text-secondary: #94a3b8;
    /* Slate 400 */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(12px);

    /* Spacing & Layout */
    --radius-lg: 24px;
    --radius-md: 16px;
    --header-height: 80px;
}

/* Base Reset & Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.1) 0%, transparent 20%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Overrides */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Utilities */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--accent-primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* =============================================
   NAVIGATION (Floating Glass)
   ============================================= */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 20px;
}

nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo-container img {
    height: 150px;
    margin: -40px 0;
    position: relative;
    z-index: 1001;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a:not(.nav-phone)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-menu a:not(.nav-phone):hover::after {
    width: 100%;
}

.nav-phone {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-secondary) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 15px var(--accent-glow);
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--accent-glow);
}

.mobile-menu-toggle {
    display: none;
    /* Hidden on desktop */
}

/* =============================================
   HERO SECTION (Animated)
   ============================================= */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 20px 60px;
    overflow: hidden;
}

/* Background Animation Effect */
#hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

#hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
}

.feature-icon i {
    color: var(--accent-primary);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-main,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-main {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-secondary);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    border: none;
}

.btn-main:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
}

.trust-badges {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}



/* =============================================
   STICKY BUTTONS (Call left, WhatsApp right)
   ============================================= */
.sticky-call-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-call 2s infinite;
}

.sticky-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.6);
}

.sticky-call-btn i {
    font-size: 1.5rem;
}

.sticky-call-btn span {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.sticky-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.sticky-whatsapp-btn i {
    font-size: 1.8rem;
}

.sticky-whatsapp-btn span {
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse-call {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
    }

    50% {
        box-shadow: 0 8px 35px rgba(56, 189, 248, 0.7), 0 0 0 15px rgba(56, 189, 248, 0.1);
    }
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

/* =============================================
   SERVICES, ZONES, ABOUT (Glass Cards)
   ============================================= */
section {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
}

/* Grids */
.services-grid,
.cities-grid,
.apropos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Specialized Card Styles */
.service-card,
.city-item,
.apropos-item,
.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effects */
.service-card:hover,
.city-item:hover,
.apropos-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Inner Glow on Hover */
.service-card::after,
.city-item::after,
.apropos-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.1), transparent 70%);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.icon,
.city-icon,
.apropos-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: var(--accent-primary);
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.service-list li i {
    color: var(--accent-secondary);
}

.service-price {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Zone adjustments */
.zone-note {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--glass-border);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.5);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-secondary);
    border: none;
    padding: 16px;
    border-radius: --radius-md;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Sidebar Info */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

/* Urgent Callout */
.urgence-card {
    background: linear-gradient(135deg, #ef4444, #f97316);
    border: none;
}

.urgence-card p,
.urgence-card h3 {
    color: white;
}

.btn-urgence {
    display: block;
    background: white;
    color: #ef4444;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 800;
    margin-top: 1rem;
}

.btn-urgence:hover {
    background: var(--text-primary);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--bg-secondary);
    padding: 80px 5% 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--accent-primary);
    color: var(--bg-secondary);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* =============================================
   MOBILE RESPONSIVENESS
   ============================================= */
@media (max-width: 768px) {
    header {
        top: 10px;
        padding: 0 10px;
    }

    nav {
        padding: 0.8rem 1.5rem;
    }

    .logo-container img {
        height: 75px;
        margin: -15px 0;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .hamburger {
        width: 24px;
        height: 2px;
        background: var(--text-primary);
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        /* Hidden */
        transition: 0.4s ease-in-out;
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero-features {
        display: none;
        /* Simplify visuals on mobile */
    }


}