/*
Theme Name: Maxence Roine Portfolio
Theme URI: https://maxence-roine.fr
Author: Maxence Roine
Description: Thème sur mesure développé en PHP/CSS pour mon portfolio MMI.
Version: 1.0
*/

/* Reset et Variables globales */
:root {
    --primary-color: #FF2848; /* Ton nouveau rouge signature */
    --bg-gray: #F5F5F5;
    --text-dark: #1A1A1A;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-dark);
    margin: 0;
}

/* =========================================
   1. HEADER (EN-TÊTE)
   ========================================= */

.site-header {
    padding: 24px 5%;
    width: 100%;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    justify-content: space-between; /* Espace les 3 éléments (Menu, Logo, Bouton) */
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Le Bouton Hamburger --- */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Espace entre les lignes */
    padding: 0;
}

.menu-toggle .line {
    width: 35px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Ligne du bas plus courte, comme sur ton Framer */
.menu-toggle .line:nth-child(3) {
    width: 25px;
}

/* --- Le Logo --- */
.site-logo a {
    display: block;
}

.site-logo img {
    height: 50px; /* À ajuster selon la taille de ton fichier */
    width: auto;
}

/* --- Le Bouton CV --- */
.header-action {
    display: flex;
    justify-content: flex-end;
}

.btn-cv {
    background-color: var(--text-dark); /* Bouton noir par défaut */
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 50px; /* Bords arrondis style "pillule" */
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* L'effet au survol : on utilise ton nouveau ROUGE ! */
.btn-cv:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px); /* Petit effet de soulèvement */
}