/* ============================
   CSS Variables (Client Branding: Artisan Plombier Paris)
   ============================ */
:root {
    --primary: #0B2C67;
    /* Deep Blue - Trust/Professional */
    --primary-light: #1E40AF;
    /* Lighter Blue */
    --accent: #007BFF;
    /* Bright Blue - Action */
    --accent-light: rgba(0, 123, 255, 0.1);
    --teal: #17a2b8;
    /* Secondary Info */
    --dark: #1a1a1a;
    --text: #444444;
    --text-light: #666666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0px 5px 30px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    /* Sharper edges for industrial look */
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 10px;
    background: var(--accent-light);
    padding: 5px 15px;
    border-radius: 20px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 5px;
    /* Square/Industrial */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ============================
   Topbar
   ============================ */
.topbar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.topbar-info {
    display: flex;
    gap: 20px;
}

.topbar-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.topbar-info a:hover {
    color: var(--accent);
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent);
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
}

/* ============================
   Hero Section (Layout: Text Left, Form Right)
   ============================ */
.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    /* Plumbing Image */
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 44, 103, 0.9) 0%, rgba(11, 44, 103, 0.7) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.hero-feat i {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
}

/* Hero Form */
.hero-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: var(--dark);
}

.hero-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary);
}

.hero-form-wrapper p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font);
}

.form-group input:focus {
    border-color: var(--accent);
    outline: none;
}

/* ============================
   Services Grid
   ============================ */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================
   CTA Stripe
   ============================ */
.cta-stripe {
    background: var(--accent);
    padding: 40px 0;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-btn {
    background: var(--white);
    color: var(--accent);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
}

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

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

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

.footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 40px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-form-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .navbar {
        height: 70px;
    }

    .nav-menu {
        display: none;
    }

    /* Mobile Menu implementation needed via JS or keep simple */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hamburger {
        display: block;
    }

    /* Mobile Menu (Simple) */
    .nav-active .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
}