* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.list::marker{
    content: "▶︎ ";
}

/* ---------------- NAVIGATION ---------------- */
nav {
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

li::marker {
  content: "• "; /*▶︎ */
  font-size: 1.2em;
}

nav ul li::marker { /* disable marker in nav*/
  content: none;
}

/* ------header------- */
header {
    background: url("assets/images/college2.jpg") no-repeat;
    background-attachment: fixed;
    background-position: center -250px;
    background-size: cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    top: 0;
}

header::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

header .overlay {
    position: relative;
    z-index: 1;
    padding: 20px 40px;
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header p {
    font-size: 1.3em;
}

/* Header spécifique podcasts */
.podcast-header {
    background: url("assets/images/studio.jpg") no-repeat ;
    background-attachment: fixed;
    background-position: center -450px;
    background-size: cover;
    height: 40vh; max-height: 40vh; min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.podcast-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.podcast-header .overlay {
    position: relative;
    z-index: 1;
}

/* Header spécifique vidéos */
.video-header {
    background: url("assets/images/camera.jpg") no-repeat;
    background-attachment: fixed;
    background-position: center 6.5rem;
    background-size: contain;
    height: 40vh; max-height: 40vh; min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.video-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.video-header .overlay {
    position: relative;
    z-index: 1;
}

/* ---------------- SECTIONS ---------------- */
main section {
    padding: 60px 20px 0px 20px; /*60px 20px*/
    max-width: 1000px;
    margin: auto;
    flex: 1;
}

/* Présentation */
.presentation h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.presentation p {
    font-size: 1.1em;
}

/* Podcasts & vidéos */
.list, .homepage-buttons {
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Boutons */
.homapage-link {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    margin: 0.5rem;
}

.homapage-link:hover {
    transform: scale(1.05);
}

/* Listes média */
.list li {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.list h3 {
    margin-bottom: 15px;
}

/* ---------------- VIDÉOS RESPONSIVES ---------------- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* ratio 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 12px;
}

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

/*---------------------- vera edits-----------------------*/
/*
.magazine-list li::marker {
    content: "• ";
    color: white;
    font-size: 1.2em;
}*/

.headline{
    width: 100%; height: 4rem;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.headline p{
    font-size: 1.5em;
}

ol {
  list-style-position: inside;
  font-size: 1.1em;
}

.magazine-list{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
 /* a faire bruh*/
.magazine-list li {
    display: grid;
    grid-template-columns: 1fr 1fr; /* left + right */
    grid-template-rows: auto auto;
    gap: 10px;
}

.magazine-list li::marker{
	content: "• ";
	font-size: 1.2em;
	background:red;
}

.magazine-list .preview-magasin{
    grid-column: 2;
    grid-row: 1 / span 2; /* takes both rows */
	background: red;
}

.media-links{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
}

.magazine-header{
    background: url("assets/images/college.jpg") no-repeat; /*MAGAZINE JPG*/
    background-attachment: fixed;
    background-position: center -250px;
    background-size: cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.overlay img{
    margin-bottom: 1rem;
}

a {
    text-decoration: underline;
}

.list-button{
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    margin: 0.5rem;
	width: 50%;
}

.list-button:hover {
    transform: scale(1.05);
}

/* ---------------- PIED DE PAGE ---------------- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    font-size: 0.9em;
    justify-self: flex-end;
}

/* Header équipe */
.equipe-header {
    background: url("assets/images/team3.jpg") no-repeat; /*EDIT: il ny a pas team.jpg*/
	background-position: center -425px;
    background-size: cover;
    height: 40vh; max-height: 40vh; min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}
.equipe-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.equipe-header .overlay {
    position: relative;
    z-index: 1;
}

/* Grille équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {    
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 45%;
    margin-bottom: 15px;
}

.team-member h3 {
    margin: 10px 0 5px;
}

.team-member p {
    font-size: 0.9em;
}