@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Silkscreen:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
 /* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #e68621;
    --primary-dark: #1a6c7e;
    --text: #ffffff;
    --text-light: #ffffff;
    --bg: rgb(15 54 87 / 0.41);
    --bg-alt: #f9fafb;
    --transition: 0.3s ease;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    display: grid;
    text-align: center;
}
/* ========== NAVIGATION ========== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: rgb(22 65 101 / 0.75);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: box-shadow var(--transition);
}
nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: transform var(--transition);
}
.logo:hover {
    transform: scale(1.05);
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}
.nav-links a:hover::after {
    width: 100%;
}
/* Menu burger mobile */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}
.burger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}
/* ========== SECTIONS ========== */
section {
    min-height: 100vh;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
/* ========== HERO ========== */
#hero {
    background-image: url("./ressources/images/background-strangerthings.jpg");
    background-size: cover;
    background-position: center;
}
.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.hero-content h1 span {
    color: var(--primary);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}
.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-family: "Press Start 2P", system-ui;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}
/* ========== SERVICES ========== */
#services {
    background: url("./ressources/images/bbackground-service.jpg");
}
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-title p {
    color: var(--text-light);
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--bg);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(30px);
}
.card.visible {
    opacity: 1;
    transform: translateY(0);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform var(--transition);
}
.card:hover .card-icon {
    transform: rotate(10deg) scale(1.1);
}
.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}
/* ========== À PROPOS ========== */
#about {
    background-image: url("./ressources/images/background-faq.png");
    background-size: cover;
    background-position: center;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image .placeholder {
    width: 100%;
    aspect-ratio: 1;
    background-image: url("./ressources/images/pp.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 2rem;
    animation: float 6s ease-in-out infinite;
}
.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
}
.stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}
.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
}
.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* ========== CONTACT ========== */
#contact {
    background-image: url("./ressources/images/background-contact.jpg");
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
/* ========== FOOTER ========== */
footer {
    background-color: rgb(22 65 101 / 0.95);
    color: white;
    padding: 2rem;
    text-align: center;
}
footer p {
    opacity: 0.7;
}
/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 10vh;
        left: 0;
        right: 0;
        background: rgb(17 52 86);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(60px) !important;
        z-index: -10;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .burger {
        display: flex;
    }
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
    .stats {
        justify-content: center;
    }
    section {
        padding: 4rem 1.5rem;
    }
}
p{
    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
    font-style: normal;
}
#logo{
    height: 6vh;
}
/* ===== PIXEL GALLERY ===== */

.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* ===== VIDEO CARD ===== */

.video-card {
    background: rgba(15, 54, 87, 0.6);
    border: 4px solid #ffffff;
    padding: 1.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 0 0 4px #000;
    image-rendering: pixelated;
}

/* VIDEO */

.video-card video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border: 3px solid #fff;
    background: #000;
}

/* TITRE */

#videoTitle {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #fff;
}

/* DESCRIPTION */

#videoDescription {
    font-size: 0.6rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* BUTTON */

.watch-btn {
    display: inline-block;
    font-family: "Press Start 2P";
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    background: #e68621;
    color: white;
    text-decoration: none;
    font-size: 0.6rem;
    border: 3px solid #000;
    box-shadow: 3px 3px 0 #000;
    transition: transform 0.1s ease;
}

#size{
font-size: 1.5rem;
}

.watch-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #000;
}

/* ===== ARROWS ===== */

.arrow {
    background: #1a6c7e;
    color: white;
    border: 3px solid #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000;
    transition: transform 0.1s ease;
}

.arrow:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #000;
}

/* ===== THUMBNAILS ===== */

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.thumb {
    width: 60px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}

.thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumb.active {
    opacity: 1;
    border-color: #e68621;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    .gallery {
        flex-direction: column;
    }

    .arrow {
        display: none;
    }

    .video-card {
        max-width: 100%;
    }
}
#socials {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border: 3px solid #ffffff;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 4px 4px 0 #000;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-link img {
    width: 35px;
    height: 35px;
    image-rendering: pixelated;
}

.social-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}
.para{
padding: 3%;
}