/* ==========================================================================
   TORUS LINK - CSS PRINCIPAL
   Chemin : css/style.css
   ========================================================================== */

/* Importations des dépendances locales */
@import url('vendor/bootstrap.min.css');
@import url('vendor/fontawesome/css/all.min.css');

:root {
    --tl-dark: #12151c;
    --tl-body-bg: #0d0f14;
    --tl-card-bg: #1a1e29;
    --tl-yellow: #e0a120;
    --tl-yellow-hover: #c88f18;
    --tl-text-muted: #9a9ea9;
}

/* Style personnalisé des onglets du menu latéral */
#v-pills-tab.nav-pills .nav-link {
    color: #ffffff !important;
    background-color: transparent !important;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

#v-pills-tab.nav-pills .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

#v-pills-tab.nav-pills .nav-link.active {
    background-color: #e2e8f0 !important; /* Gris clair */
    color: #0f172a !important; /* Texte foncé */
    font-weight: 600;
}

#v-pills-tab.nav-pills .nav-link.active i {
    color: #0f172a !important;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--tl-body-bg);
    color: #e2e8f0;
}
/* Limiter la hauteur des flèches du carrousel pour ne pas bloquer les contrôles vidéo */
#carouselProduct .carousel-control-prev,
#carouselProduct .carousel-control-next {
    top: 35% !important;
    bottom: auto !important;
    transform: translateY(-50%);
    width: 10% !important;
}


/* Suppression de l'animation au survol */
.hover-shadow {
    transition: none !important;
}
.hover-shadow:hover {
    transform: none !important;
    box-shadow: none !important;
}
/* Grille personnalisée de 5 colonnes sur grand écran */
@media (min-width: 1200px) {
    .row-cols-xl-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }
}

/*Description longue */
.product-long-description table {
    max-width: 100% !important;
    height: auto !important;
    overflow-x: auto;
    display: block;
}
.product-long-description img {
    max-width: 100% !important;
    height: auto !important;
}

::placeholder {
    color: #a0a0a0 !important;
    opacity: 0.4 !important; /* Ajustez entre 0.4 et 0.7 selon votre préférence */
}
/* Style carte sombre */
.card-product-dark {
    background-color: #191c24 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-product-dark:hover {
    transform: translateY(-4px);
    border-color: rgba(224, 161, 32, 0.6) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
/* Style actif personnalisé pour les onglets de la page produit */
#productTab .nav-link.active {
    color: var(--tl-yellow) !important;
    background-color: transparent !important;
    border-color: var(--tl-yellow) !important;
    border-bottom: 2px solid var(--tl-yellow) !important;
}

#productTab .nav-link:hover {
    color: var(--tl-yellow) !important;
}
/* --- NAVIGATION --- */
.navbar-torus {
    background-color: var(--tl-dark);
    border-bottom: 2px solid rgba(224, 161, 32, 0.2);
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.dropdown-menu-dark {
    background-color: var(--tl-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover {
    background-color: rgba(224, 161, 32, 0.15);
    color: var(--tl-yellow);
}

/* --- HERO SECTION --- */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(224, 161, 32, 0.08) 0%, rgba(13, 15, 20, 1) 70%);
    padding: 80px 0 60px;
}

/* --- ACCENTS ET BOUTONS --- */
.btn-warning {
    background-color: var(--tl-yellow);
    border-color: var(--tl-yellow);
    color: #0d0f14;
    font-weight: 700;
}

.btn-warning:hover {
    background-color: var(--tl-yellow-hover);
    border-color: var(--tl-yellow-hover);
    color: #000;
}

.text-warning-custom {
    color: var(--tl-yellow) !important;
}

.border-warning-custom {
    border-color: var(--tl-yellow) !important;
}

/* --- CARTES ET COMPOSANTS --- */
.card-custom {
    background-color: var(--tl-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card-custom:hover {
    border-color: rgba(224, 161, 32, 0.4);
    transform: translateY(-3px);
}

/* --- BADGES ET PILLS --- */
.badge-portal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.badge-portal:hover {
    background: rgba(224, 161, 32, 0.2);
    border-color: var(--tl-yellow);
    color: var(--tl-yellow);
}

.badge-portal.active {
    background: var(--tl-yellow);
    color: #0d0f14;
    font-weight: 700;
}

/* --- GALERIE ET MÉDIAS --- */
.product-gallery-thumbs img {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: var(--tl-yellow);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe, 
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- FOOTER --- */
footer {
    background-color: var(--tl-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}