@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Crimson+Text:wght@400;600&family=Great+Vibes&display=swap');

/* VARIABLES */
:root {
  --accent-1: #0078ff;
  --accent-2: #00b7ff;
  --deep: #1e2a4f;
  --muted: #cfe0ff;
}

/* RESET */
* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Crimson Text', serif;
    background: linear-gradient(135deg, #dbe8ff 0%, #ffffff 50%, #cfe0ff 100%);
    min-height: 100vh;
    color: var(--deep);
    display: flex;
    flex-direction: column;
}

/* ------------------ HEADER ------------------ */

.header-contact {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #373158;
    position: sticky;
    top: 0;
    z-index: 3000;
    color: aliceblue;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    width: 160px;
    height: 48px;
    background: url('images/webConceptLogo.png') no-repeat center/contain;
}

/* NAVIGATION */
.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: aliceblue;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 8px;
    transition: color .25s ease, transform .15s ease;
}

.nav-links li a:hover {
    color: var(--accent-1);
    transform: translateY(-2px);
}

/* ------------------ BURGER ------------------ */

/* Hidden on desktop */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 4000;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* Animation when toggled */
.burger.toggle div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.toggle div:nth-child(2) {
    opacity: 0;
}
.burger.toggle div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ------------------ FORMULAIRE ------------------ */

.form-wrapper {
    width: 95%;
    max-width: 650px;
    margin: 40px auto 80px;
    padding: 40px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    animation: fadeIn 0.8s ease forwards;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 10px;
}
h1 span {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: var(--accent-1);
}

.subtitle {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: #274064;
}

label {
    display: block;
    text-align: left;
    font-weight: 600;
    margin: 15px 0 5px;
    color: var(--deep);
}

input, textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    outline: none;
    transition: 0.25s;
}

input:focus, textarea:focus {
    background: rgba(255,255,255,0.8);
    border-color: var(--accent-1);
    box-shadow: 0 0 10px rgba(0,120,255,0.22);
}

textarea { min-height: 140px; }

button {
    margin-top: 25px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: white;
    font-size: 1.12rem;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,120,255,0.22);
    transition: transform .18s ease, box-shadow .18s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0,120,255,0.28);
}

/* MOBILE FORM */
@media (max-width: 420px){
  .form-wrapper { padding: 20px; }
  h1 { font-size: 1.8rem; }
  h1 span { font-size: 2rem; }
}

/* ------------------ MOBILE NAV ------------------ */

@media (max-width: 720px) {

    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background-color: #77788ada;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;

        transform: translateX(100%);
        transition: transform 0.35s ease-in-out;

        z-index: 3000;
    }

    .nav-links.active {
        transform: translateX(0);
    }
}

/* ------------------ END ------------------ */
