/* ============================================
   SQUID TRIBUTE - CSS Statique
   Adapté du design squidband.uk pour Nathan Notkin
   ============================================ */

/* --- Google Fonts alternative (Gramatika-like) --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Couleurs du site original */
  --background: #000000;
  --foreground: rgba(255, 255, 255, 0.85);
  --primary: #ffffff;
  --primary-foreground: #000000;
  --caption-color: #ffffff;
  
  /* Layout */
  --nav-padding: 3rem;
  --nav-gap: 20px;
  --padding: 3rem;
  
  /* Transitions */
  --transition-fast: 150ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.2;
  min-height: 100vh;
  font-size: 2rem;
  font-weight: 400;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:active {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 13.5rem;
  line-height: 0.8;
  color: var(--primary);
  letter-spacing: -5px;
  margin: 0;
  padding: 0;
}

h1 a {
  color: var(--primary);
  text-decoration: none;
}

.bold {
  font-weight: 700;
}

/* --- Navigation Sidebar --- */
.nav {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: auto;
  padding: var(--nav-padding);
  padding-right: var(--nav-gap);
  display: flex;
  flex-direction: column;
  z-index: 100;
  background-color: transparent;
}

/* Logo/Titre au-dessus du menu */
.nav-logo {
  margin-bottom: 2rem;
}

.nav-logo h1 {
  display: inline-block;
  font-size: 6.75rem;
  letter-spacing: -2px;
}

.nav-links {
  display: flex;
  flex-direction: column;
}

.nav-link {
  font-size: 2rem;
  font-weight: 400;
  color: var(--foreground);
  line-height: 1.2;
  padding: 0;
  margin: 0;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-link.active {
  font-weight: bold;
}

.nav-separator {
  height: 1.2em;
}

/* Menu hamburger (mobile) */
.nav-toggle {
  display: none;
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 200;
  background: var(--background);
  border: none;
  color: var(--foreground);
  padding: 0.5rem;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

/* Bouton close caché sur desktop */
.nav-close {
  display: none;
}

/* Mobile header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background-color: var(--background);
  padding: 1.5rem;
  border-bottom: 1px solid var(--primary);
}

.mobile-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-header h1 {
  font-size: 3rem;
  letter-spacing: -1px;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
}

/* --- Main Content --- */
.main {
  margin-left: 420px; /* Ajusté pour être à 20px de la fin de Nathan */
  padding: var(--padding);
  padding-left: 0;
  min-height: 100vh;
}

.page-layout {
  width: 100%;
  max-width: 100%;
}

/* --- Hero Section --- */
.hero {
  margin-bottom: 2rem;
}

.hero-title {
  margin-bottom: 2rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 2rem;
}

.hero-links a {
  margin-right: 2rem;
  white-space: nowrap;
}

/* --- Gallery Slideshow --- */
.gallery-slideshow {
  margin-bottom: 2rem;
  max-width: 100%;
}

.gallery-slideshow img {
  width: 100%;
  height: auto;
}

/* Slideshow simple avec une seule image visible */
.slideshow-container {
  position: relative;
  width: 100%;
}

.slideshow-container img {
  display: none;
  width: 100%;
}

.slideshow-container img.active {
  display: block;
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(87, 87, 87, 0.35);
  color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-nav:active {
  opacity: 0.7;
}

.slideshow-nav.prev {
  left: 20px;
}

.slideshow-nav.next {
  right: 20px;
}

/* --- Tracklist Section --- */
.tracklist {
  margin-bottom: 2rem;
}

.lyrics-excerpt {
  margin-bottom: 2rem;
  max-width: 600px;
}

.lyrics-excerpt p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* ====================================
   SOCIAL ICONS
   ==================================== */

.footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.footer .social-icon:hover {
  color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.footer .social-icon svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

/* ====================================
   NAV SOCIAL ICONS
   ==================================== */

.nav-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.nav-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.nav-social .social-icon:hover {
  color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.nav-social .social-icon svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

/* --- Videos Section --- */
.videos {
  margin-bottom: 2rem;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  margin-bottom: 2rem;
  background-color: #000;
}

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

/* --- Footer --- */
.footer {
  position: relative;
  padding: var(--padding);
  display: flex;
  justify-content: center;
  margin-top: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer a {
  pointer-events: auto;
  cursor: pointer;
}

.footer, .footer a {
  font-size: 1.1rem;
  color: #ffffff;
}

.caption {
  font-size: 1.1rem;
  color: var(--caption-color);
}

.caption a {
  color: #ffffff;
}

/* --- Page Content (pages secondaires) --- */
.page-content {
  max-width: 100%;
}

.page-title {
  font-size: 13.5rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -5px;
  line-height: 0.8;
  margin-bottom: 2rem;
}

.page-description {
  font-size: 2rem;
  color: var(--foreground);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.placeholder-text {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* --- Lyrics / Scriptures --- */
.lyrics-section {
  margin-bottom: 6rem;
}

.song-title {
  font-size: 13.5rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2rem;
  letter-spacing: -5px;
  line-height: 0.8;
}

.lyrics {
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 2.2;
}

/* Responsive song titles */
@media (max-width: 1024px) {
  .song-title {
    font-size: 10rem;
    letter-spacing: -3px;
  }
}

@media (max-width: 768px) {
  .song-title {
    font-size: 5rem;
    letter-spacing: -2px;
    line-height: 1;
  }
}

@media (max-width: 480px) {
  .song-title {
    font-size: 4rem;
    letter-spacing: -1px;
  }
}

/* --- Archive Grid (3 colonnes) --- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.archive-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.archive-item {
  width: 100%;
}

.archive-item img {
  width: 100%;
  height: auto;
  display: block;
}

.archive-item.archive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.archive-item.archive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.archive-item.archive-spotify {
  width: 100%;
  margin: 1rem 0;
}

.archive-item.archive-spotify iframe {
  border-radius: 12px;
}

.archive-item.archive-text {
  padding: 1.5rem 0;
}

.archive-item.archive-text p {
  font-size: 1.25rem;
  color: var(--foreground);
  line-height: 1.5;
  font-style: italic;
}

/* Archive responsive */
@media (max-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Visions (Videos empilées) --- */
.visions-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

.vision-video {
  width: 100%;
}

.vision-video .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
}

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

.video-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: var(--foreground);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background: var(--primary);
  color: #000000;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.9;
}

.submit-btn:active {
  opacity: 0.7;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  .main {
    margin-left: 370px;
  }
  
  h1 {
    font-size: 10rem;
    letter-spacing: -3px;
  }
  
  .page-title {
    font-size: 10rem;
    letter-spacing: -3px;
  }
  
  .nav-logo h1 {
    font-size: 5rem;
  }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --padding: 1.5rem;
  }
  
  body {
    font-size: 1.5rem;
  }
  
  /* Cacher la nav desktop */
  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--background);
    padding: 4rem var(--padding) var(--padding);
    transition: left 0.3s ease;
    z-index: 200;
  }
  
  .nav.open {
    left: 0;
  }
  
  .nav-logo h1 {
    font-size: 4rem;
    letter-spacing: -1px;
  }
  
  .nav-link {
    font-size: 1.5rem;
    padding: 0.5rem 0;
  }
  
  .nav-separator {
    height: 1rem;
  }
  
  /* Afficher le header mobile */
  .mobile-header {
    display: block;
  }
  
  /* Bouton close dans nav mobile */
  .nav-close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 2rem;
    cursor: pointer;
  }
  
  /* Main content */
  .main {
    margin-left: 0;
    padding-top: 6rem;
    justify-content: flex-start;
  }
  
  .page-layout {
    width: 100%;
    max-width: 100%;
  }
  
  /* Hero */
  h1, .hero-title h1 {
    font-size: 7rem;
    letter-spacing: -2px;
    line-height: 1;
  }
  
  .page-title {
    font-size: 5rem;
    letter-spacing: -2px;
    line-height: 1;
  }
  
  .hero-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero-links a {
    margin-right: 0;
  }
  
  /* Footer mobile */
  .footer {
    position: relative;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem var(--padding);
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* --- Mobile Small (max 480px) --- */
@media (max-width: 480px) {
  h1, .hero-title h1 {
    font-size: 5rem;
    letter-spacing: -1px;
  }
  
  .page-title {
    font-size: 4rem;
    letter-spacing: -1px;
  }
  
  .mobile-header h1 {
    font-size: 2.5rem;
  }
  
  body {
    font-size: 1.25rem;
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
}

/* --- Utilitaires --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

hr {
  border: 0;
  height: 1px;
  background: var(--primary);
  margin: 0;
}

/* --- Placeholder Rectangles (remplace les images) --- */
.placeholder-rect {
  display: block;
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  font-weight: 500;
}

.slideshow-container .placeholder-rect {
  aspect-ratio: 1 / 1;
}

.archive-item .placeholder-rect {
  min-height: 300px;
}

/* Differentes couleurs pour les rectangles */
.rect-color-1 { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); }
.rect-color-2 { background: linear-gradient(135deg, #0d0d0d 0%, #262626 100%); }
.rect-color-3 { background: linear-gradient(135deg, #333333 0%, #1f1f1f 100%); }
.rect-color-4 { background: linear-gradient(135deg, #404040 0%, #1a1a1a 100%); }
.rect-color-5 { background: linear-gradient(135deg, #2a2a2a 0%, #151515 100%); }
.rect-color-6 { background: linear-gradient(135deg, #353535 0%, #0d0d0d 100%); }
.rect-color-7 { background: linear-gradient(135deg, #1f1f1f 0%, #2d2d2d 100%); }
.rect-color-8 { background: linear-gradient(135deg, #262626 0%, #404040 100%); }
.rect-color-9 { background: linear-gradient(135deg, #151515 0%, #333333 100%); }

/* ====================================
   RELEASE VISUALS (Homepage)
   ==================================== */

.release-visuals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.release-visuals img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .release-visuals {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ====================================
   RELEASES PAGE
   ==================================== */

.release-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.release-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.release-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotify-player {
  margin-top: 30px;
  width: 100%;
}

.spotify-player iframe {
  border-radius: 12px;
}

.home-spotify-player {
  margin: 60px 0;
  width: 100%;
}

.home-spotify-player iframe {
  border-radius: 12px;
}

.release-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.release-year {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 5px;
}

.release-format {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.release-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

@media (max-width: 768px) {
  .release-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .release-cover img {
    max-width: 250px;
  }
  
  .release-title {
    font-size: 1.5rem;
  }
}
