/* IMPORT POLICES */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Poppins:wght@300;400;600&display=swap');

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, #0f0f1a, #050507);
    color: #ffffff;
}

/* TITRES */
/* Titres avec dégradé orange foncé → clair */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #FF7b47, #FFA65C); /* dégradé orange foncé → clair */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255,123,71,0.6);
}

/* HEADER */
header {
    padding: 30px;
    text-align: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header h1 {
    font-size: 45px;
    color: #FF7b47;
    text-shadow: 0 0 15px rgba(255,123,71,0.6);
}

/* NAV */
nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px;
    background: rgba(10,10,20,0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: 0.3s;
}

/* effet neon underline */
nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #FF7b47;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

nav a:hover {
    color: #FF7b47;
    text-shadow: 0 0 10px rgba(255,123,71,0.7);
}

nav a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    height: 90vh;
    background-color: #050507;
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.95)),
                      url('https://i.postimg.cc/jq8dNbmN/Design-sans-titre-13-removebg-preview.png');
    background-size: cover;
    background-position: center 40%; /* centre horizontalement, 40% verticalement */
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h2 {
    font-size: 65px;
    color: #FF7b47;
    text-shadow: 0 0 20px rgba(255,123,71,0.7);
}

.hero p {
    margin-top: 15px;
    font-size: 20px;
    color: #aaa;
}

/* BUTTON */
button {
    margin-top: 25px;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #FF7b47, #FFA65C);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255,123,71,0.8);
}

/* SECTIONS */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #FF7b47;
    text-shadow: 0 0 10px rgba(255,123,71,0.7);
}

/* SERVICES */
.services {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: rgba(20,20,30,0.8);
    padding: 30px;
    width: 280px;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 0 25px rgba(255,123,71,0.7);
}

.card h3 {
    color: #FF7b47;
}

/* PORTFOLIO */
.portfolio iframe {
    width: 340px; /* légèrement plus grande */
    height: 200px; /* hauteur adaptée pour YouTube */
    margin: 15px;
    border-radius: 15px;
    transition: 0.3s;
}

.portfolio iframe:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255,123,71,0.7);
}

/* FOOTER */
footer {
    background: #050507;
    padding: 30px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Container vidéos YouTube et TikTok */
.youtube-video, .tiktok-video {
    text-align: center; /* garde le titre centré */
}

/* YouTube : vidéos côte à côte */
.youtube-video .video-container {
    display: flex;
    flex-wrap: wrap;      /* passe à la ligne si écran trop petit */
    justify-content: center;
    gap: 20px;            /* espace entre les vidéos */
}

/* Taille uniforme pour toutes les vidéos YouTube */
.youtube-video iframe {
    width: 340px;        /* largeur fixe */
    height: 440px;       /* hauteur fixe */
    border-radius: 15px;
    transition: 0.3s;
}

.youtube-video iframe:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255,123,71,0.7);
}

/* TikTok : vidéos 3 par ligne */
.tiktok-video .video-container {
    display: flex;
    flex-wrap: wrap;           /* passe à la ligne si plus de 3 vidéos */
    justify-content: center;   /* centre toutes les vidéos */
    gap: 20px;                 /* espace entre les vidéos */
}

/* Taille uniforme pour chaque vidéo TikTok */
.tiktok-video .tiktok-embed {
    flex: 0 0 30%;             /* 3 vidéos par ligne → 30% de largeur chacune */
    max-width: 340px;          /* largeur max pour ne pas dépasser */
    height: 606px;             /* même hauteur que YouTube */
    border-radius: 15px;
    transition: 0.3s;
}

.tiktok-video .tiktok-embed:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255,123,71,0.7);
}

/* Pagination boutons */
.portfolio .pagination {
    margin-top: 30px;
    text-align: center;
}

.portfolio .pagination button {
    padding: 10px 20px;
    margin: 0 8px;
    cursor: pointer;
    border: 1px solid #FF7b47;
    background: linear-gradient(90deg, #FF7b47, #FFA65C);
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    transition: 0.3s;
}

.portfolio .pagination button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255,123,71,0.7);
}

.portfolio .pagination button.active {
    background: #FFA65C;
    color: #fff;
    border-color: #FFA65C;
}

body.about section {
    display: flex;
    flex-direction: column; /* empile les enfants verticalement */
    align-items: center;    /* centre horizontalement */
    justify-content: center; /* centre verticalement si tu veux dans la page */
    min-height: 100vh;      /* prend toute la hauteur de la page */
    padding: 40px 20px;
}

body.about section p {
    text-align: center;
    padding: 20px 0;       /* espace entre les paragraphes */
    color: #f8f8f8;
    max-width: 700px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;

    /* effet de glow jaune plus subtil */
    text-shadow: 
        0 0 2px #ffe600,
        0 0 4px #ffe600,
        0 0 6px #ffe600;
}
    .contact-section {
    display: flex;
    flex-direction: column;   /* empile verticalement tous les éléments */
    align-items: center;      /* centre horizontalement */
    justify-content: center;
    min-height: 100vh;        /* occupe toute la hauteur de la page */
    padding: 40px 20px;
    background-color: black; /* optionnel : fond clair pour la section */
}

.contact-section p {
    color: #FF7b47;
    text-align: center;
    max-width: 700px;
    width: 100%;
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 15px 0;           /* espace entre les paragraphes */
}

.contact-section a {
    margin: 10px 0;           /* espace entre les liens/boutons */
}

.contact-section a button {
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #FF7b47;
    color: whitesmoke;
    transition: background-color 0.3s;
}

.contact-section a button:hover {
    background-color: #e66a36; /* effet survol */
}
.contact-item {
    margin: 12px 0;
}

.contact-item a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: 0.2s;
}

/* effet hover propre */
.contact-item a:hover {
    color: #0077ff;
    letter-spacing: 0.5px;
}