/* 
    Paris Élec Artisans - CSS Modern Design
    Senior Strategy: Clean, Professional, Trust-building
*/

:root {
    /* Color Palette */
    --primary-color: #0a2540; /* Deep Blue - Confidence */
    --secondary-color: #ffb000; /* Safety Yellow/Orange - Energy & Alert */
    --accent-color: #00d4ff;
    --text-color: #3c4257;
    --text-muted: #697386;
    --bg-light: #f6f9fc;
    --white: #ffffff;
    --error: #df1b41;
    --success: #00875a;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1140px;
    --section-padding: 60px 20px;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0d3257;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: #e69e00;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.main-header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.main-nav {
    display: none; /* Mobile first */
}

.main-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    border-top: 1px solid #eee;
    box-shadow: var(--shadow);
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-nav a {
    font-weight: 600;
    display: block;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Emergency Mobile CTA */
.emergency-cta-mobile {
    background: var(--error);
    padding: 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1100;
}

.btn-emergency {
    background: transparent;
    color: var(--white);
    font-size: 0.9rem;
    padding: 5px;
}

/* Hero Section */
.hero {
    padding: 40px 0 60px;
    background: radial-gradient(circle at top right, #f0f7ff, var(--white));
}

.hero-content {
    text-align: center;
}

.badge {
    display: inline-block;
    background: #eef2f7;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-trust i {
    color: var(--success);
}

/* Services Section */
.services {
    background-color: var(--bg-light);
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(10, 37, 64, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* Why Us Section */
.why-us {
    padding: var(--section-padding);
}

.why-us-image {
    display: none; /* Hide on small screens */
}

.subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.why-us h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.features-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.features-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.features-list strong {
    display: block;
    margin-bottom: 5px;
}

.features-list p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--primary-color);
    color: var(--white);
}

.contact-card {
    background: var(--white);
    color: var(--text-color);
    border-radius: var(--border-radius);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e1e4e8;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.main-footer {
    padding: 60px 0 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin: 20px 0;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links h4, 
.footer-legal h4 {
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-legal p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Media Queries */

/* Tablet */
@media (min-width: 768px) {
    .emergency-cta-mobile {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-btns {
        flex-direction: row;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-card {
        grid-template-columns: 1fr 1fr;
        padding: 50px;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: row;
        gap: 30px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hidden-mobile {
        display: block;
    }
    
    .hero {
        text-align: left;
        padding: 100px 0;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-btns, .hero-trust {
        justify-content: flex-start;
    }
    
    .flex-row {
        display: flex;
        align-items: center;
        gap: 80px;
    }
    
    .why-us-image {
        display: block;
        flex: 1;
    }
    
    .why-us-content {
        flex: 1;
    }
    
    .image-mockup {
        width: 100%;
        height: 450px;
        background: #eef2f7;
        border-radius: var(--border-radius);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 5rem;
        color: var(--primary-color);
    }
}
