Files
redscapefactory.com/style.css
2026-01-16 11:20:54 +01:00

608 lines
13 KiB
CSS

html {
scroll-behavior: smooth;
}
/* ==========================================
1. BASES & TYPOGRAPHIE (Le look "classe")
========================================== */
:root {
--border-color: #333333; /* Bordures sombres et discrètes */
--text-color: #e0e0e0; /* Blanc cassé pour ne pas fatiguer les yeux */
--bg-color: #0a0a0a; /* Noir presque pur */
--white: #111111; /* Gris très sombre pour les cartes/header */
--accent-color: #ffffff;
}
::selection {
background: #333; /* Un gris acier */
color: #fff;
}
* {
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
margin: 0;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
main {
flex: 1;
}
/* ==========================================
2. HEADER & NAVIGATION
========================================== */
header {
background-color: var(--bg-color);
border-bottom: 1px solid var(--border-color);
padding: 10px 40px;
position: sticky;
top: 0;
z-index: 1000;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo img {
height: 60px;
width: auto;
display: block;
transition: transform 0.3s ease;
}
/* Configuration de la liste principale */
.nav-links {
display: flex;
list-style: none;
gap: 30px;
margin: 0;
padding: 0;
align-items: center;
}
/* Style des liens principaux */
.nav-links > li > a {
text-decoration: none;
color: var(--accent-color);
text-transform: uppercase;
font-size: 0.65rem;
letter-spacing: 2px;
font-weight: 600;
position: relative;
padding-bottom: 5px;
}
/* Effet de soulignement (uniquement sur les liens principaux) */
.nav-links > li > a::after {
content: '';
position: absolute;
width: 0;
height: 1px;
bottom: 0;
left: 0;
background-color: var(--accent-color);
transition: width 0.3s ease;
}
.nav-links > li:hover > a::after {
width: 100%;
}
/* --- Gestion du Dropdown --- */
.has-dropdown {
position: relative; /* Référentiel pour le sous-menu */
}
.dropdown {
position: absolute;
top: 100%;
left: 0;
background-color: #000;
border: 1px solid var(--border-color);
padding: 8px 0; /* Réduit (était à 15px) */
margin: 0;
min-width: 200px; /* Plus étroit */
display: none;
z-index: 999;
list-style: none; /* FORCE la suppression du point/puce */
}
/* On s'assure que les éléments internes n'ont pas de puce non plus */
.dropdown li {
list-style: none;
margin: 0;
padding: 0;
}
/* On crée un "pont" invisible pour que la souris ne quitte jamais la zone active */
.has-dropdown::after {
content: "";
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 35px; /* Doit correspondre à la distance à combler */
display: block;
}
/* Affiche au survol */
.has-dropdown:hover .dropdown {
display: block;
}
.dropdown li a {
padding: 8px 20px; /* Moins d'espace vertical pour un menu plus fin */
display: block;
color: #fff;
text-decoration: none;
font-size: 0.7rem; /* Taille plus discrète */
letter-spacing: 1px;
text-transform: uppercase;
transition: background 0.3s;
}
.dropdown li a:hover {
background-color: #111;
color: var(--accent-color);
}
/* On désactive l'effet de soulignement dans le sous-menu */
.dropdown li a::after {
display: none;
}
/* ==========================================
3. STRUCTURES DE PAGES (Centrage & Largeur)
========================================== */
.home-hero,
.project-intro-section,
.release-entry,
.project-container,
.zake-footer {
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
/* ==========================================
4. PAGE D'ACCUEIL (Hero & Projets)
========================================== */
.home-hero {
padding: 120px 40px 100px 40px;
}
.hero-container {
display: flex;
grid-template-columns: 1fr 1.1fr;
gap: 80px;
align-items: stretch;
}
.hero-description {
display: flex;
flex-direction: column;
justify-content: space-between; /* Centre le texte verticalement par rapport à l'image */
font-size: 1.1rem;
font-weight: 300;
line-height: 1.8;
margin: 0; /* Nettoie les marges par défaut */
}
.hero-visual img {
width: 100%;
border: 1px solid var(--border-color);
}
/* Liste Projets Horizontale */
.home-projects-list {
padding: 60px 40px 20px 40px;
margin-bottom: 20px;
}
.projects-horizontal-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 40px;
}
.project-item {
text-decoration: none;
color: var(--text-color);
display: flex;
flex-direction: column;
gap: 15px;
transition: transform 0.3s ease;
}
.project-top { display: flex; flex-direction: column; gap: 4px; }
.project-name { font-size: 0.7rem; letter-spacing: 2px; font-weight: 600; }
.project-genre { font-size: 0.6rem; color: #999; text-transform: uppercase; }
.project-action { font-size: 0.6rem; letter-spacing: 1.5px; opacity: 0; transition: 0.3s; }
.project-item:hover { transform: translateY(-5px); }
.project-item:hover .project-action { opacity: 1; }
/* ==========================================
5. PAGE PROJET (ex: Asceptic Siliceum)
========================================== */
.project-intro-section {
padding: 100px 40px 60px 40px;
border-bottom: 1px solid var(--border-color);
margin-bottom: 100px;
}
.brand-line {
display: flex;
align-items: center;
gap: 10px;
font-size: 0.65rem;
letter-spacing: 2px;
color: #888;
margin-bottom: 20px;
}
.intro-text {
font-size: 1.1rem;
line-height: 1.8;
font-weight: 300;
max-width: 800px;
}
.project-container {
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 100px; /* Aération entre texte et image */
padding: 0 40px 6cm 40px;
align-items: start;
}
.project-info h1 {
font-size: 2.2rem;
font-weight: 200;
margin: 0 0 20px 0;
}
.description p {
font-size: 0.9rem;
line-height: 1.7;
color: #666;
font-weight: 300;
margin-bottom: 30px;
}
.project-visual img {
width: 100%;
border: 1px solid var(--border-color);
}
.back-link {
display: inline-block;
margin-top: 40px;
font-size: 0.65rem;
text-decoration: none;
color: #888;
letter-spacing: 1px;
}
/* ==========================================
6. FOOTER (Centré et Noir)
========================================== */
.footer-wrapper {
background-color: var(--bg-color);
border-top: 1px solid var(--border-color);
}
.zake-footer {
display: grid;
grid-template-columns: repeat(3, 1fr);
padding: 40px;
text-align: center;
}
.footer-col h4 {
font-size: 0.65rem;
letter-spacing: 2px;
color: #666;
margin-bottom: 15px;
}
.footer-col p, .footer-col a {
font-size: 0.8rem;
text-decoration: none;
color: var(--text-color);
}
/* ==========================================
7. RESPONSIVE
========================================== */
@media (max-width: 900px) {
.hero-container, .project-container { grid-template-columns: 1fr; gap: 40px; }
.projects-horizontal-container { grid-template-columns: repeat(2, 1fr); }
.project-visual { order: -1; }
.zake-footer { grid-template-columns: 1fr; gap: 40px; }
}
/* --- Grille des Podcasts Unifiée --- */
.podcasts-grid-container {
max-width: 1200px;
margin: 0 auto 100px auto;
padding: 0 40px;
}
.podcasts-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 40px;
padding: 60px 0;
}
.podcast-card {
background: #000;
border: 1px solid var(--border-color);
text-decoration: none;
display: flex;
flex-direction: column;
transition: border-color 0.3s ease;
/* On enlève le transform global qui peut causer des bugs de collision */
}
/* Conteneur d'image pour isoler le zoom */
.podcast-image-wrapper {
position: relative;
overflow: hidden;
background-color: #000; /* Fond noir pour l'assombrissement */
}
/* Superposition VIEW PODCAST */
.podcast-image-wrapper::after {
content: "VIEW PODCAST";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7); /* Assombrissement fort */
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.7rem;
letter-spacing: 3px;
font-weight: 700;
opacity: 0;
transition: opacity 0.3s ease;
z-index: 2;
border: 1px solid rgba(255, 255, 255, 0.2); /* Petit liseré interne optionnel */
}
/* Assombrissement au survol */
.podcast-card:hover .podcast-image-wrapper::after {
opacity: 1;
}
.podcast-card:hover img {
transform: scale(1.1);
filter: blur(2px); /* Optionnel : un léger flou pour faire ressortir le texte */
}
.podcast-card img {
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(20%);
transition: transform 0.5s ease, filter 0.5s ease;
}
/* Effets au survol de la carte */
.podcast-card:hover {
border-color: #666;
}
.podcast-card:hover img {
transform: scale(1.05);
filter: grayscale(0%);
}
/* Infos sous l'image */
.podcast-info {
padding: 20px;
background: #0a0a0a;
}
.podcast-info h3 {
font-size: 0.8rem;
letter-spacing: 2px;
text-transform: uppercase;
margin: 0 0 10px 0;
color: var(--accent-color);
}
.podcast-info p {
font-size: 0.7rem;
color: #666;
margin: 0;
line-height: 1.4;
}
/* --- Styles de la Galerie --- */
.gallery-container {
max-width: 1200px;
margin: 60px auto;
padding: 0 20px;
}
.gallery-grid {
display: grid;
/* Crée 3 colonnes de taille égale */
grid-template-columns: repeat(3, 1fr);
gap: 20px; /* Espace entre les photos */
}
.gallery-item img {
width: 100%;
height: auto;
display: block;
border: 1px solid var(--border-color);
transition: transform 0.3s ease;
}
.gallery-item img:hover {
transform: scale(1.02);
border-color: #666;
}
/* Version Mobile : 1 seule colonne */
@media (max-width: 768px) {
.gallery-grid {
grid-template-columns: 1fr;
}
}
/* --- Styles Contact --- */
.contact-container {
max-width: 800px;
margin: 0 auto 100px auto;
padding: 0 40px;
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
border-top: 1px solid var(--border-color);
padding-top: 40px;
}
.contact-method h3 {
text-transform: uppercase;
font-size: 0.8rem;
letter-spacing: 2px;
color: #666;
margin-bottom: 20px;
}
.contact-link {
font-size: 1.5rem;
color: var(--accent-color);
text-decoration: none;
transition: opacity 0.3s;
}
.contact-link:hover {
opacity: 0.7;
}
.social-list {
list-style: none;
padding: 0;
}
.social-list li {
margin-bottom: 10px;
}
.social-list a {
color: var(--text-color);
text-decoration: none;
font-size: 1.1rem;
transition: color 0.3s;
}
.social-list a:hover {
color: var(--accent-color);
}
/* Responsive Contact */
@media (max-width: 600px) {
.contact-grid {
grid-template-columns: 1fr;
gap: 40px;
}
}
.btn-play {
background: #00f0ff;
color: black;
border: none;
padding: 8px 15px;
font-weight: bold;
cursor: pointer;
margin-top: 10px;
}
.btn-play:hover {
background: white;
}
.player-fixed {
display: none;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: rgba(5, 5, 5, 0.98);
backdrop-filter: blur(10px); /* Effet de verre dépoli */
border-top: 1px solid #222;
padding: 15px 40px;
z-index: 9999;
}
.player-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}
.player-status {
display: block;
font-size: 0.6rem;
color: #00f0ff; /* Ton bleu néon */
letter-spacing: 2px;
margin-bottom: 4px;
}
.player-title {
font-size: 0.85rem;
color: #fff;
font-weight: 500;
}
/* Customisation du player audio (Webkit) */
#player-core {
height: 32px;
filter: invert(100%) hue-rotate(180deg) brightness(1.5); /* Aligne le player sur ton bleu */
opacity: 0.8;
}
.player-close {
background: none;
border: none;
color: #444;
font-size: 1.5rem;
cursor: pointer;
transition: color 0.3s;
}
.player-close:hover {
color: #fff;
}
@media (max-width: 768px) {
.player-content { flex-direction: column; gap: 15px; text-align: center; }
.player-fixed { padding: 20px; }
}