/* TEAM 
CEO & Lead Designer: Roland
Company: RED INDUSTRIES LTD
Site: http://www.redindustrie.ltd
*/

:root {
    --primary-blue: #184963;
    --cyber-cyan: #00f2ff;
    --mecanic-yellow: #FFD700;
    --fleet-gray: #e0e0e0;
    --aquatic-black: #01121a;
}

* { box-sizing: border-box; }

body { 
    margin: 0; background: #050505; color: #fff; font-family: 'Montserrat', sans-serif; 
    overflow-x: hidden; scroll-behavior: smooth; 
}

h1, h2, h3, .logo { font-family: 'Orbitron', sans-serif; text-transform: uppercase; }

/* NAVIGATION */
.navbar {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; background: rgba(24, 73, 99, 0.95); z-index: 1000; border-bottom: 1px solid rgba(0, 242, 255, 0.2);
}
.logo { color: var(--cyber-cyan); font-weight: bold; letter-spacing: 2px; }

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

/* Modif : Ligne unique pour le menu */
.navbar nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.navbar nav a { color: #fff; text-decoration: none; margin-left: 20px; font-size: 0.75rem; letter-spacing: 1px; transition: 0.3s; white-space: nowrap; }
.navbar nav a:hover { color: var(--cyber-cyan); text-shadow: 0 0 10px var(--cyber-cyan); }

/* LANGUE */
.lang-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 2px;
}

.lang-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    padding: 2px 6px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.lang-link:hover, .lang-link.active {
    color: var(--cyber-cyan);
    border: 1px solid var(--cyber-cyan);
    border-radius: 4px;
}

/* HERO */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-overlay-dark { position: absolute; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.75); z-index: 0; }
.hero-content { position: relative; z-index: 1; padding: 0 5%; }
.metallic-title { font-size: clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(#fff, #7b9acc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin: 0; line-height: 1.2; }
.cyan-glow { color: var(--cyber-cyan); text-shadow: 0 0 15px var(--cyber-cyan); margin-top: 15px; font-size: clamp(1.2rem, 3vw, 2rem); }

/* SECTION A PROPOS */
.section { padding: 80px 10%; }
.about-bg { background: var(--primary-blue) !important; }
.about-flex { display: flex; align-items: center; gap: 50px; text-align: left; }
.about-text-content { text-align: left; }
.about-img-container { flex: 0 0 320px; position: relative; }
.about-img-container img { width: 100%; display: block; border-radius: 15px; } 
.section-title { color: var(--cyber-cyan); margin-bottom: 25px; font-size: 1.8rem; text-align: left; }

/* FLOTTE */
.fleet-bg { background: var(--fleet-gray) !important; color: var(--primary-blue); }
.flotte-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.fleet-card { background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transition: 0.4s; overflow: hidden; border-radius: 15px; } 
.fleet-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.fleet-card h3 { background: var(--primary-blue); color: #fff; margin: 0; padding: 15px; font-size: 0.8rem; text-align: center; min-height: 80px; display: flex; align-items: center; justify-content: center; }

/* SERVICES */
.video-hover-section { position: relative; height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-hover-section video { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.video-overlay-dark { position: absolute; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.video-content { display: flex; gap: 30px; z-index: 2; width: 85%; }
.glass-box { flex: 1; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(15px); padding: 50px; border: 1px solid rgba(255, 255, 255, 0.1); text-align: center; border-radius: 15px; } 

/* DUFEICO */
.dufeico-section { background: var(--mecanic-yellow) !important; color: #000; padding: 100px 10%; }
.dufeico-grid { display: flex; align-items: flex-start; }
.dufeico-item { flex: 1; padding: 0 40px; text-align: center; }
.dufeico-item.border-side { border-left: 1px solid rgba(0,0,0,0.2); border-right: 1px solid rgba(0,0,0,0.2); }
.dufeico-icon { width: 55px; height: 55px; margin-bottom: 20px; filter: brightness(0); }
.dufeico-slogan { margin-top: 60px; text-align: center; font-family: 'Montserrat'; font-size: 1.3rem; font-weight: 700; color: #000; font-style: italic; }

/* CONTACT */
.aquatic-bg { background: var(--aquatic-black) !important; }
.tracking-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; text-align: center; }
.tracking-box, .contact-box { background: rgba(255,255,255,0.02); padding: 40px; border: 1px solid rgba(0, 242, 255, 0.15); border-radius: 15px; } 
.tracking-search { display: flex; gap: 10px; margin-bottom: 20px; height: 55px; justify-content: center; }
.tracking-search input { flex: 1; padding: 0 20px; background: rgba(0,0,0,0.6); border: 1px solid rgba(0, 242, 255, 0.3); color: #fff; border-radius: 12px; }
.search-btn { background: var(--primary-blue); color: #fff; border: 1px solid var(--cyber-cyan); padding: 0 25px; font-family: 'Orbitron', sans-serif; font-weight: bold; cursor: pointer; border-radius: 12px; }
.tracking-container { width: 100%; height: 380px; position: relative; border-radius: 15px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.tracking-container iframe { width: 100%; height: calc(100% + 95px); margin-top: -60px; border: none; }
.contact-form { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; background: rgba(0,0,0,0.6); border: 1px solid rgba(0, 242, 255, 0.3); color: #fff; border-radius: 15px; }
.submit-btn { width: 100%; background: var(--primary-blue); color: #fff; border: 1px solid var(--cyber-cyan); padding: 20px; font-family: 'Orbitron', sans-serif; font-weight: bold; cursor: pointer; border-radius: 15px; }

/* FOOTER */
.footer { padding: 60px 10% 40px; text-align: center; background: #0c2533; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-credits { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 20px; font-size: 0.8rem; }
.footer-credits a { color: var(--cyber-cyan); text-decoration: none; font-weight: bold; }

/* BOUTONS FLOTTANTS */
.floating-actions { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 9999; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.4); transition: 0.3s; cursor: pointer; }
.whatsapp-btn-float { background: #25D366; }
.search-btn-float { background: var(--primary-blue); border: 2px solid var(--cyber-cyan); }

/* RESPONSIVE */
@media (max-width: 1250px) {
    .tracking-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .navbar { flex-direction: column; padding: 15px; text-align: center; }
    .nav-container { align-items: center; margin-top: 15px; width: 100%; }
    .lang-selector { justify-content: center; width: 100%; }
    
    /* Modif : Maintien du menu sur la même ligne même sur mobile (avec scroll horizontal auto si besoin) */
    .navbar nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; justify-content: center; margin-top: 10px; gap: 10px; width: 100%; }
    .navbar nav a { margin: 0 10px; }
    
    .about-flex { flex-direction: column; text-align: left; }
    .about-text-content { width: 100%; }
    .flotte-grid, .dufeico-grid, .video-content { flex-direction: column; align-items: center; text-align: center; }
    .dufeico-item.border-side { border: none; border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(0,0,0,0.1); margin: 30px 0; padding: 30px 0; }
    .about-img-container { flex: 0 0 auto; width: 100%; }
    .flotte-grid { grid-template-columns: 1fr; width: 100%; }
    
    .tracking-search { flex-direction: column; height: auto; }
    .search-btn { padding: 15px; width: 100%; }
}