/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Corps de la page adapté aux téléphones */
body {
    background-color: #ffffff;
    color: #333333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

/* En-tête / Header (Orange) */
header {
    background-color: #ff7b23;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

/* Barre d'onglets de navigation */
nav {
    display: flex;
    background-color: #e65c00; /* Orange plus foncé pour démarquer */
}

nav button {
    flex: 1;
    background: none;
    border: none;
    color: #ffffff;
    padding: 14px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

/* Style de l'onglet actuellement sélectionné */
nav button.active {
    background-color: #ffffff;
    color: #ff6600;
}

/* Zone de contenu au centre */
main {
    flex: 1;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Gestion de l'affichage des pages */
.page {
    display: none;
    width: 100%;
    max-width: 600px;
    animation: fadeIn 0.4s ease-in-out;
}

.page.active {
    display: block;
}

/* Animation fluide lors du changement d'onglet */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cadre du Lecteur Vidéo (Inspiré du contour arrondi sur l'image) */
.video-container {
    width: 100%;
    border: 5px solid #ff6600;
    border-radius: 14px;
    overflow: hidden;
    background-color: #000000;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Design de la liste des programmes */
.programme-list {
    list-style: none;
    width: 100%;
}

.programme-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
   
}

.programme-time {
    font-weight: bold;
    color: #ff6600;
    font-size: 14px;
}

.programme-title {
    font-size: 15px;
    color: #333333;
    font-weight: 500;
}

/* Barre basse (Footer) */
footer {
    background-color: #ff6600;
    padding: 15px 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

/* Alignement horizontal des logos de réseaux sociaux */
.social-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 360px;
    margin: 0 auto;
}

.social-links a {
    color: #ffffff;
    font-size: 26px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

/* Petit effet au toucher/survol sur les logos */
.social-links a:active, .social-links a:hover {
    transform: scale(1.2);
}

/* --- Styles pour la Navigation des Jours (Biso TV) --- */

.days-nav {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    padding: 6px;
    border-radius: 8px;
    overflow-x: auto; /* Permet de faire défiler les boutons sur de très petits écrans */
}

.day-btn {
    flex: 1;
    min-width: 45px;
    background-color: #ffffff;
    color: #ff6600;
    border: 1px solid #ff6600;
    padding: 10px 5px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
}



/* Ajustement de la liste pour qu'elle s'intègre sous les boutons */
.days-content {
    width: 100%;
}


.social-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 480px; /* Augmenté de 360px à 480px pour laisser respirer les 6 icônes */
    margin: 0 auto;
}


/* --- Style de la Bande Passante Défilante (Ligne Bleue) --- */
.ticker-container {
    width: 100%;
    background-color: #212124; /* Bleu cyan comme sur ton dessin (tu peux mettre #0056b3 pour un bleu plus foncé) */
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ticker-text {
    display: inline-block;
    padding-left: 100%;
    color: #ffffff; /* Texte en blanc */
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    animation: scroll-ticker 50s linear infinite;
}

/* Animation qui fait défiler le texte de droite à gauche */
@keyframes scroll-ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}


/* Dans votre fichier style.css */

body {
    /* 1. Chemin vers votre image de fond */
    background-image: url('img/vlcsnap-2026-07-31-20h54m25s964.png');

    /* 2. Empêcher l'image de se répéter (si elle est plus petite que l'écran) */
    background-repeat: no-repeat;

    /* 3. Centrer l'image horizontalement et verticalement */
    background-position: center center;

    /* 4. L'image couvre toute la surface disponible (elle s'étire ou se coupe sans se déformer) */
    background-size: cover;

    /* 5. L'image reste fixe quand on scrolle la page (optionnel, donne un effet sympa) */
    background-attachment: fixed;

    /* 6. Couleur de fond de secours (si l'image ne charge pas) */
    background-color: #1a1a1a; /* Un gris très foncé */

    /* Optionnel : Assurez-vous que le body prend toute la hauteur de l'écran */
    min-height: 100vh;
    margin: 0;
}



/* Container qui englobe les deux images */
.banners-container {
    display: flex;
    flex-direction: column; /* Aligne les images l'une sous l'autre */
    align-items: center;    /* Centre les images horizontalement */
    gap: 20px;              /* Espacement entre les deux images */
    margin: 30px auto;      /* Marges haut/bas et centrage du bloc */
    width: 100%;
}

/* Style des images */
.banner-img {
    max-width: 90%;         /* S'adapte à l'écran sur mobile */
    width: 1000px;          /* Largeur maximale souhaitée */
    height: auto;           /* Garde les proportions de l'image */
    border-radius: 8px;     /* Arrondit légèrement les coins (optionnel) */
}


/* Espace au-dessus et en dessous du texte de présentation */
.site-presentation {
    margin-top: 30px;    /* Espace entre la 1ère image et le texte */
    margin-bottom: 30px; /* Espace entre le texte et la 2ème image */
}




.menu-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

nav {
  background: #444;
  display: none;
  flex-direction: column;
}

nav a {
  color: white;
  padding: 12px;
  text-decoration: none;
  border-top: 1px solid #555;
}

nav.show {
  display: flex;
}
