:root {
	--bg-light: #ff0000;
	--bg-dark: #0c0c0c;
	--text-light: #111;
	--text-dark: #f5f5f5;
	--accent: #00f7ff;
}

body {
	transition: background 0.4s ease, color 0.4s ease;
}

body.dark {
	background: var(--bg-dark);
	color: var(--text-dark);
}

  /* --------------- */
 /* bandeau du haut */
/* --------------- */

.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	display: flex;
	align-items: center;
	background: rgba(10,10,10,0.8);
	z-index: 999;
	backdrop-filter: blur(10px);
	color: var(--accent);
	opacity: 90%;
}

#titre {
	position: absolute;
	left: 35%;
	font-size: 2.7vw;
	background: linear-gradient(to right, #cff5bc, #c00d0d);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-family: 'VT323', monospace;
}

#avatar {
	height: 3vw;
	width: auto;
}

#close {
	position: absolute;
	right: 1%;
	height: 2.2vw;
	width: auto;
	cursor: alias;
	padding-right: 1%;
}

  /* ----------- */
 /* menu gauche */
/* ----------- */

.scroll-menu {
	position: fixed;
	top: 50%;
	left: 1rem;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	z-index: 1002;
}

.menu-item {
	width: 4vw;
	height: 4vW;
	background: rgba(0, 255, 255, 0.1);
	border: 2px solid var(--accent);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(5px);
	transition: all 0.3s ease;
	position: relative;
}

.menu-item:hover,
.menu-item.active {
	background: rgba(0, 255, 255, 0.3);
	box-shadow: 0 0 12px #00f7ff, 0 0 20px #ff00c8 inset;
	transform: scale(1.1);
}

#icone {
	height: 100%;
	width: auto;
	border-radius: 12px;
}

  /* ---- */
 /* grid */
/* -----*/

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

.visual-grid img {
	width: 100%;
	border-radius: 8px;
	filter: brightness(90%);
	transition: transform 0.5s ease, filter 0.3s;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
	cursor: pointer;
}

.visual-grid img:hover {
	transform: scale(1.04);
	filter: brightness(100%);
}

  /* -------- */
 /* sections */
/* -------- */

section {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 6rem 2rem;
	position: relative;
}

.section-divider {
	height: 10rem;
	background-color: black;
	width: 100%;
}

  /* --------------- */
 /* section musique */
/* --------------- */

.music {
	background: url("../images/wallpapers/wallpaper_robot.png") center/cover no-repeat;
	color: white;
	text-shadow: 2px 2px 10px black;
	text-align: center;
}

.music .grid {
	position: absolute;
	top: 10rem;
	left: 2rem;
	right: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: center;
	padding: 0;
}

.music {
	position: relative;
	display: block;
	text-align: center;
	padding: 6rem 6rem 0; /* padding: haut droite/gauche bas */
	min-height: 90vh; /* occupe toute la hauteur de l’écran */
}

.music h1 {
	position: absolute;
	text-align: center;
	top: 15%;
	left: 45%;
	margin: 0;
}

.music img {
	width: 55%;
	height: auto;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: transform 0.5s, box-shadow 0.3s ease; /*transition: transform 0.5s;*/
	box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.3);
	z-index: 1000;
}

.music img:focus {
    outline: none;
    box-shadow: 0 0 15px 5px var(--accent);
}

.album-selector {
	width: 55%;
	display: inline-block;
	position: relative;
}

.album-selector input[type="radio"] {
	display: none;
}

.album-selector img {
	width: 100%;
	height: auto;
	border-radius: 0.5rem;
	transition: transform 0.5s, box-shadow 0.3s ease;
	box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.3);
	cursor: pointer;
	z-index: 10;
}

.album-selector input[type="radio"]:checked + img {
	box-shadow: 0 0 15px 5px var(--accent);
}

  /* ----------------- */
 /* section galleries */
/* ----------------- */

.fade-section {
	background: url("../images/wallpapers/wallpaper12.png") center/cover no-repeat;	
	color: white;
	text-shadow: 2px 2px 10px black;
	text-align: center;
	overflow: visible;
	z-index: 1;
}

.fade-section p {
	position: absolute;
	text-align: center;	
	top: 15%;
	left: 20%;
	margin: 0;
	opacity: 0;
	transform: translateY(10px);
	transition: all 1s ease-out;
}

.fade-section .visible {
	opacity: 1;
	transform: translateY(0);
}

.gallery .grid {
	position: absolute;
	bottom: 5rem;
	left: 2rem;
	right: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 0 2rem;
}

.gallery {
	position: relative;
	display: block;
	background: url("../images/wallpapers/wallpaper_robot2.png") center/cover no-repeat;
	text-align: center;
	padding: 6rem 6rem 0; /* padding: haut droite/gauche bas */
	min-height: 85vh; /* occupe toute la hauteur de l’écran */
}

.gallery h1 {
	position: absolute;
	text-align: center;
	bottom: 40%;
	left: 35%;
	margin: 0;
}

.gallery h2 {
	position: absolute;
	bottom: calc(12vw + 6rem); /* hauteur des images + marge */
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	font-family: 'VT323', monospace;
	background: linear-gradient(to right, #cff5bc, #c00d0d);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 1.5rem;
}

.gallery img {
	width: 85%;
	height: 12vw;
	object-fit: cover;
	border-radius: 0.5rem;
	transition: transform 0.5s;
	box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.3);
}

.gallery img:hover {
	transform: scale(1.05);
}

  /* ------------------- */
 /* section inspiration */
/* ------------------- */

.gallery .visual-grid {
	display: flex;
	justify-content: center;
	gap: 2rem; /* espace entre les images */
	margin-top: 18rem; /* espace sous le titre */
}

.inspiration .visible {
	opacity: 1;
	transform: translateY(0);
}

.inspiration {
	background: url("../images/wallpapers/wallpaper9.png") center/cover no-repeat;
	color: white;
}

#inspiration h1 {
	position: absolute;
	text-align: center;
	top: 15%;
	margin: 0;
}

#inspiration img {
	width: 20rem;;
	height: auto;
}

  /* --------------- */
 /* section studios */
/* --------------- */

#studio h1 {
	position: absolute;
	text-align: center;
	top: 15%;
	left: 35%;
	margin: 0;
}

  /* ------------- */
 /* section about */
/* ------------- */

.video-row {
	display: flex;
	gap: 10rem;
	justify-content: center;
	flex-wrap: wrap;
}

.video-container {
	top: 1rem;
	width: 350px; /* largeur fixe */
	aspect-ratio: 16 / 9; /* impose le bon ratio */
	border-radius: 12px;
	position: relative;
	overflow: hidden;
}

.youtube-frame {
	position: absolute;
	top: 20%;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	border: none;
}

#about {
	background: rgba(0, 0, 0, 0.95);
}

#clips {
    position: absolute;
    text-align: center;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1.2rem; /* ou la taille que tu veux */
    font-weight: bold;
    color: white;
}

.fade-section h1 {
	position: absolute;
	text-align: center;
	top: 15%;
	left: 45%;
	margin: 0;
}

  /* -------------------- */
 /* lightbox plein écran */
/* -------------------- */

.fullscreen-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.95);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.fullscreen-lightbox img {
	max-width: 95vw;
	max-height: 95vh;
	border-radius: 8px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

.nav-lightbox {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 3rem;
	color: white;
	cursor: pointer;
	z-index: 10000;
	user-select: none;
	padding: 1rem;
}

#prev-lightbox {
	left: 2rem;
}

#next-lightbox {
	right: 2rem;
}

.close-lightbox {
	position: absolute;
	top: 2rem;
	right: 2rem;
	color: white;
	cursor: alias;
	font-size: 2rem;
	font-family: Arial, sans-serif;
	z-index: 10000;
}

  /* ----------- */
 /* bandeau bas */
/* ----------- */

.audio-player {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(10, 10, 10, 0.95);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.25rem 0.75rem;
	gap: 2rem;
	z-index: 1000;
	backdrop-filter: blur(5px);
	flex-wrap: wrap;
}

.audio-player img#cover {
	height: 50px;
	border-radius: 5px;
}

.audio-info {
	display: flex;
	flex-direction: column;
	color: var(--accent);
	flex-grow: 1;
	min-width: 200px;
}

.audio-info .title {
	font-size: 0.9rem;
	margin-bottom: 0.3rem;
}

.audio-info audio {
	width: 200px;
}

.controls {
	display: flex;
	gap: 0.5rem;
}

.controls button {
	background: none;
	color: var(--accent);
	font-size: 1.2rem;
	border: none;
	cursor: pointer;
}

#prev {
	position: absolute;
	left: 350px;
	bottom: 15%;
	height: 2vw;
	width: auto;
}

#stop {
	position: absolute;
	left: 380px;
	bottom: 15%;
	height: 2vw;
	width: auto;
}

#next {
	position: absolute;
	left: 410px;
	bottom: 15%;
	height: 2vw;
	width: auto;
}

#lourson {
	position: absolute;
	padding-right: 1%;
	right: 4%;
	height: 2vw;
	width: auto;
}
