/* ============================================================
   HONEYGROUPIT — CSS
   ============================================================ */
/* ============================================================
   HONEYGROUPIT — CSS (Dark Mode Permanent)
   ============================================================ */

/* ------------------------------------------------------------
   VARIABLES GLOBALES — DARK MODE PERMANENT
------------------------------------------------------------ */
:root {
    --bg-light: #0d0d0d;
    --text-gray: #ffffff;
    --light-gray: #333;

    --primary-blue: #5c7cff;
    --secondary-blue: #416dcd;

    --primary-orange: #f5c16c;
    --secondary-orange: #deaa1f;

    --accent-yellow: #FFC107;

    --white: #ffffff;
    --text-dark: #212529;

    --shadow-color: rgba(0, 0, 0, 0.25);
    --transition-time: 0.3s;

    --honey-glass-bg: rgba(255, 255, 255, 0.05);
    --honey-glass-border: rgba(255, 200, 100, 0.25);
    --honey-glass-border-hover: rgba(255, 200, 100, 0.8);
}


/* ------------------------------------------------------------
   GLOBAL
------------------------------------------------------------ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    color: var(--white);
    background-color: var(--bg-light);
    opacity: 0.95;
    line-height: 1.6;
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ------------------------------------------------------------
   GLASSMORPHISM GLOBAL
------------------------------------------------------------ */
.glass {
    background: var(--honey-glass-bg);
    border: 1px solid var(--honey-glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    transition: var(--transition-time);
}

.glass:hover {
    border-color: var(--honey-glass-border-hover);
    transform: translateY(-4px);
}

/* ------------------------------------------------------------
   NAVBAR
------------------------------------------------------------ */
.navbar {
    background-color: var(--primary-blue);
    box-shadow: 0 2px 3px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
    border-bottom: #545350 3px solid;
    padding-bottom: 10px;
    font-size: larger;
}

.navbar-brand {
    color: var(--white) !important;
    font-weight: 800;
    transition: var(--transition-time);
}

.navbar-brand:hover {
    color: var(--primary-orange) !important;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    transition: var(--transition-time);
}

.nav-link:hover {
    color: var(--primary-orange) !important;
}

/* ------------------------------------------------------------
   JUMBOTRON
------------------------------------------------------------ */
.jumbotron {
    background-color: var(--primary-blue);
    padding: clamp(3rem, 10vw, 6rem) 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px var(--shadow-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition-time);
}

.jumbotron:hover {
    transform: translateY(-5px);
}

.jumbotron h1,
.jumbotron p {
    color: var(--white);
}

/* ------------------------------------------------------------
   SECTIONS
------------------------------------------------------------ */
section {
    padding: clamp(2rem, 5vw, 4rem) 0;
    border-bottom: 1px solid var(--light-gray);
}

h1,h2 {
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary-orange);
}

/* ------------------------------------------------------------
   CARDS (FULL GLASS)
------------------------------------------------------------ */
.card,
.card-realisation,
.list-group-item,
.contact-form,
.accordion-button {
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 8px var(--shadow-color);
}

.card,
.card-realisation,
.list-group-item,
.contact-form {
    background: var(--honey-glass-bg);
    border: 1px solid var(--honey-glass-border);
    backdrop-filter: blur(12px);
}

.card:hover,
.card-realisation:hover,
.list-group-item:hover,
.contact-form:hover {
    border-color: var(--honey-glass-border-hover);
    transform: translateY(-4px);
}


/* ------------------------------------------------------------
   MEDIA QUERIES
------------------------------------------------------------ */
@media (max-width: 992px) {
    .navbar-nav { text-align: center; }
    .jumbotron { padding: 3rem 1rem; }
}

@media (max-width: 576px) {
    body { font-size: 0.9rem; }
    .jumbotron h1 { font-size: 2rem; }
}

/* ========================
   LANG SWITCH FLOAT BUTTON
=========================*/
#lang-switch {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

btn, .lang-btn {
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    font-weight: 700;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 1px;
}

btn, .lang-btn:hover{
    background: var(--secondary-orange);
    transform: scale(1.1) rotate(-3deg);
}

/* ============================
   DARK MODE SWITCH
============================ */
#theme-switch {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2000;
}

.toggle-label {
    width: 55px;
    height: 28px;
    background: var(--light-gray);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: 0.3s ease;
}

.toggle-ball {
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#dark-toggle:checked + .toggle-label {
    background: var(--primary-orange);
}

#dark-toggle:checked + .toggle-label .toggle-ball {
    transform: translateX(27px);
}


/* ============================
   DARK MODE FIX — PORTFOLIO
============================ */
.dark-mode .portfolio-section {
    background: var(--bg-light) !important;
}

.dark-mode .portfolio-title {
    color: var(--primary-orange) !important;
}

.dark-mode .subtitle {
    color: var(--text-gray) !important;
}

.dark-mode .card {
    background: var(--honey-glass-bg) !important;
    border-color: var(--honey-glass-border) !important;
}

.dark-mode .card-body {
    color: var(--text-gray) !important;
}

.dark-mode .btn.disabled {
    background: var(--light-gray) !important;
    color: var(--text-gray) !important;
}

/* ============================
   CONTACT PAGE — PREMIUM STYLE
============================ */
.contact-wrapper {
    max-width: 650px;
    margin: 2rem auto;
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--honey-glass-bg);
    border: 1px solid var(--honey-glass-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

.contact-wrapper:hover {
    border-color: var(--honey-glass-border-hover);
    transform: translateY(-4px);
}

.contact-wrapper h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-us-form label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.4rem;
    display: block;
}

.contact-us-form input,
.contact-us-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    background: rgba(255,255,255,0.6);
    transition: 0.3s ease;
    font-size: 1rem;
}

.contact-us-form input:focus,
.contact-us-form textarea:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(222,120,31,0.25);
    outline: none;
}

.contact-us-form button {
    background: var(--primary-orange);
    border: none;
    padding: 0.9rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: 0.3s ease;
}

.contact-us-form button:hover {
    background: var(--secondary-orange);
    transform: scale(1.05);
}

/* ============================
   DARK MODE — CONTACT PAGE
============================ */
.dark-mode .contact-wrapper {
    background: var(--honey-glass-bg);
    border-color: var(--honey-glass-border);
}

.dark-mode .contact-wrapper h1 {
    color: var(--primary-orange);
}

.dark-mode .contact-us-form label {
    color: var(--primary-orange);
}

.dark-mode .contact-us-form input,
.dark-mode .contact-us-form textarea {
    background: rgba(255,255,255,0.05);
    color: var(--text-gray);
    border-color: var(--light-gray);
}

.dark-mode .contact-us-form input::placeholder,
.dark-mode .contact-us-form textarea::placeholder {
    color: #aaa;
}

.dark-mode .jumbotron {
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--honey-glass-border);
}

.dark-mode .jumbotron h1 {
    color: var(--primary-orange) !important;
    text-shadow: 0 0 12px rgba(255, 200, 100, 0.4);
}

.dark-mode .jumbotron p {
    color: var(--text-gray) !important;
}

/* === TALENT WALL — VERSION FINALE === */

.talent-wall {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.talent-wall .logos {
    display: flex;
    gap: 40px;
    animation: scroll 20s linear infinite;
}

.talent-wall img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
/* === VIDEO WRAPPER === */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    cursor: pointer;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.video-thumb img {
    width: 100%;
    display: block;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.video-wrapper:hover img {
    filter: brightness(1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.play-btn:hover {
    background: white;
}
/* Centrage du lien */
.link-center {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.image-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

/* Images uniformes */
.image-row img {
    width: 32%; /* 3 images côte à côte */
    aspect-ratio: 16 / 10; /* garantit une taille identique */
    object-fit: cover; /* coupe proprement */
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover premium */
.image-row img:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
    }

    .image-row img {
        width: 100%;
    }
}

.portfolio-section {
  padding: 4rem 2rem;
  background: var(--bg-light);
}

.portfolio-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-orange);
  margin-bottom: 3rem;
  font-weight: 700;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 200, 100, 0.4);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 200, 100, 0.8);
}

.card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  color: var(--white);
}

.card-body h3,
.card-body h4,
.card-body h5 {
  color: var(--primary-orange);
}
