/* ===============================
   ENOXK FREELANCE - PREMIUM UI
================================= */

:root {
    --primary: #000000;
    --secondary: #12c8dd; /* Nouvelle couleur secondaire */
    --light: #fefefe;
    --gray: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--light);
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
}

/* Sections */
.section {
    padding: 100px 0;
}

/* Titles */
h1, h2, h3, h4, h5 {
    font-weight: 700;
}

/* Buttons */
.btn-black {
    background: var(--primary);
    color: var(--light);
    border-radius: 0;
    padding: 12px 30px;
    transition: 0.3s ease;
}

.btn-black:hover {
    background: #222;
    color: var(--light);
    transform: translateY(-2px);
}

/* Exemple utilisation secondaire */
.btn-secondary {
    background: var(--secondary);
    color: var(--light);
    border-radius: 0;
    padding: 12px 30px;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background: #0aa5c4; /* légère nuance plus foncée */
    color: var(--light);
    transform: translateY(-2px);
}

/* Navbar animation */
.navbar {
    transition: 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Hero */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
}

/* Cards */
.card-custom {
    border: none;
    background: #fff;
    padding: 40px;
    transition: 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* Lists */
.list-group-item {
    border: none;
    padding: 15px 20px;
    font-weight: 500;
}

/* Forms */
.form-control {
    border-radius: 0;
    padding: 12px;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* Newsletter section */
.bg-dark {
    background: var(--primary) !important;
}

/* Footer */
footer {
    letter-spacing: 1px;
}

/* Fade animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* ================= HERO ================= */

.hero-section {
    padding: 140px 0 100px 0;
}

.hero-underline {
    border-bottom: 4px solid var(--primary);
}

.hero-image {
    max-width: 350px;
    transition: transform 0.4s ease;
}

.hero-image:hover {
    transform: translateY(-8px);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 100px 0 80px 0;
        text-align: center;
    }
}