/*
---------------------------------------
Traveler Theme - Modern Redesign
Author: Desd Alle
Version: 2.0
---------------------------------------
*/

:root {
    --main-color: #000000; /* Bleu profond moderne */
    --secondary-color: #00c6ff; /* Accent turquoise */
    --accent-color: #ff3366; /* Accent vibrant */
    --dark-color: #0d1117;
    --light-color: #f9f9fb;
    --grey-color: #5e6d77;
    --light-grey: #e5e7eb;
    --radius: 14px;
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
    --font-main: "Poppins", "Inter", sans-serif;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #f8fbff, #eef2f9);
    color: var(--dark-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--link-color);
    text-transform: capitalize;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 1.9rem;
}

p {
    color: var(--grey-color);
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

/* ===== LIENS ===== */
a {
    color: var(--main-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ===== BOUTONS ===== */
button, .btn, input[type="submit"] {
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.75rem 1.6rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

/* ===== CARTES ===== */
.card, .st-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
}

.card:hover, .st-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* ===== HEADER ===== */
header, .site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-title a {
    color: var(--main-color);
    font-weight: 700;
    font-size: 1.4rem;
}

/* ===== NAVIGATION ===== */
nav ul {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: var(--link-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--main-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    border-radius: var(--radius);
    transition: transform 0.4s ease;
}

img:hover {
    transform: scale(1.03);
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== FORMULAIRES ===== */
input, textarea, select {
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    padding: 0.75rem;
    width: 100%;
    font-size: 1rem;
    background: #fff;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--main-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.95rem;
}

footer a {
    color: var(--secondary-color);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .card {
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 2.5rem 1rem;
    }
}
