/* --- TTEF CORE STYLE V1.0 --- */

/* Import de la police Rajdhani (Style très Star Citizen) */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Roboto:wght@300;400&display=swap');

:root {
    --bg-space: #0b0c10;       /* Noir profond */
    --bg-panel: #1f2833;       /* Gris métal foncé */
    --color-primary: #ed1c24;  /* Rouge Total (Energie) */
    --color-accent: #f7941d;   /* Orange (Minage) */
    --color-holo: #66fcf1;     /* Cyan (Interface) */
    --text-main: #c5c6c7;
    --text-light: #ffffff;
    
    --font-ui: 'Rajdhani', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-space);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; transition: 0.3s; }

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(11, 12, 16, 0.95);
    border-bottom: 2px solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

nav .brand {
    font-family: var(--font-ui);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 2px;
}

nav .nav-links a {
    font-family: var(--font-ui);
    color: var(--text-main);
    margin-left: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
}

nav .nav-links a:hover, nav .nav-links a.active {
    color: var(--color-holo);
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

/* HERO SECTION (ACCUEIL) */
.hero-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Image de fond : Station Spatiale ou Vaisseau */
    background: linear-gradient(rgba(0,0,0,0.6), var(--bg-space)), 
                url('https://robertsspaceindustries.com/media/cg2350798235/source/Carrack_Landed_visual.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-family: var(--font-ui);
    font-size: 4rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(237, 28, 36, 0.6);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--color-accent);
    letter-spacing: 3px;
    margin-bottom: 30px;
}

/* BOUTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid transparent;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), #990000);
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 15px var(--color-primary);
}

.btn-outline {
    border-color: var(--color-holo);
    color: var(--color-holo);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(102, 252, 241, 0.1);
    color: white;
}

/* LAYOUT STANDARDS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    font-family: var(--font-ui);
    font-size: 2.5rem;
    color: var(--color-holo);
    border-left: 5px solid var(--color-primary);
    padding-left: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* GRILLE & CARTES (FLOTTE) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.sc-card {
    background-color: var(--bg-panel);
    border: 1px solid #333;
    border-top: 3px solid var(--color-primary);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

.sc-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-holo);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.sc-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}

.sc-card-content {
    padding: 25px;
}

.sc-tag {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sc-card h3 {
    font-family: var(--font-ui);
    color: var(--text-light);
    font-size: 1.8rem;
    margin: 5px 0 10px 0;
}

.sc-card p {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 20px;
}

/* --- VIDEO BACKGROUND --- */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Prend toute la hauteur de l'écran */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -85px; /* Pour passer sous le menu transparent si besoin */
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.6); /* Assombrit la vidéo */
    z-index: 1;
    /* Petit effet de trame style écran (scanlines) */
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 6px 100%;
}

.hero-content {
    position: relative;
    z-index: 2; /* Pour être au dessus de la vidéo */
    text-align: center;
}
/* --- STYLE DES NEWS --- */
.news-card {
    border-top: 3px solid #66fcf1 !important; /* Bordure Cyan */
    background: rgba(31, 40, 51, 0.9) !important; /* Fond légèrement transparent */
}

.news-card:hover img {
    opacity: 1;
    transform: scale(1.05); /* Zoom léger sur l'image au survol */
}

.news-card img {
    transition: all 0.5s ease;
}