/*
 * Custom stylesheet for the PHP implementation of the $TAG ONE website.
 *
 * Mobile-first CSS with responsive navigation including burger menu
 */

@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Modern+Antiqua&display=swap");

/* Root variables */
:root {
  --color-bg: #000000;
  --color-dark: #1a1a1a;
  --color-gray: #111827;
  --color-light: #f3f4f6;
  --color-accent: #fcd34d; /* Tailwind yellow-400 */
  --color-accent-dark: #fbbf24; /* Tailwind yellow-500 */
  --color-success: #34d399;
  --color-warning: #f59e0b;
  --color-danger: #f87171;
  --text-base: #ffffff;
  --text-muted: #9ca3af;
  --border-radius: 8px;
  --container-width: 1200px;
}

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

html,
body {
  height: 100%;
}

body {
  background: var(--color-bg);
  color: var(--text-base);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-dark);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header and navigation - Mobile first */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid #27272a;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
}

.brand-link {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-left: 1rem;
}

/* Burger menu styles */
.burger-menu {
  display: block;
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  background: var(--color-bg);
  margin-right: 1rem;
  border: none;
}

.burger-menu span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-accent);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
  border: none;
}

.burger-menu span:nth-child(1) {
  top: 0;
}

.burger-menu span:nth-child(2) {
  top: 7px;
}

.burger-menu span:nth-child(3) {
  top: 14px;
}

.burger-menu span:nth-child(4) {
  top: 21px;
}

.burger-menu.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
  opacity: 0;
}

.burger-menu.open span:nth-child(2) {
  top: 10px;
  transform: rotate(45deg);
}

.burger-menu.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

.burger-menu.open span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
  opacity: 0;
}

/* Navigation styles */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: var(--color-bg);
  border-left: 1px solid #27272a;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  padding: 5rem 1.5rem 1.5rem;
  overflow-y: auto;
}

.nav.open {
  right: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1rem;
}

.nav-link {
  color: var(--text-base);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  display: block;
}

.nav-link:hover {
  background: var(--color-gray);
  color: var(--color-accent);
}

/* Overlay when menu is open */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Desktop styles */
@media (min-width: 768px) {
  .burger-menu {
    display: none;
  }

  .menu-overlay {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    border-left: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }

  .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* The rest of your existing CSS remains the same */
/* Footer */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid #27272a;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Utility classes */
.section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--color-gray);
}

.section-black {
  background: var(--color-bg);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}

.py-10 {
  padding: 2.5rem 0;
}
.py-20 {
  padding: 5rem 0;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  justify-content: space-between;
}

.flex-center {
  justify-content: center;
}

.flex-col {
  flex-direction: column;
}

.rounded {
  border-radius: var(--border-radius);
}

.rounded-full {
  border-radius: 9999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
}

.badge-success {
  background: rgba(52, 211, 153, 0.2);
  color: var(--color-success);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-warning);
}

.badge-danger {
  background: rgba(248, 113, 113, 0.2);
  color: var(--color-danger);
}

.badge-info {
  background: rgba(253, 224, 71, 0.2);
  color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Expression Card Enhancements */
.expression-card {
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.expression-card:hover {
  transform: translateY(-5px);
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.icon-circle i {
  font-size: 1.5rem; /* Adjust based on your icon size */
  color: var(--color-bg); /* Match background for contrast */
}

.expression-card:hover .icon-circle {
  transform: scale(1.2) rotate(15deg);
}

/* Timeline Styling */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--color-accent),
    rgba(252, 211, 77, 0.3)
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: translateX(-50%) scale(1.2);
}

.timeline-content {
  width: 45%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 55%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .timeline::before {
    left: 15px;
  }

  .timeline-marker {
    left: 15px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-content {
    width: 100%;
    margin-left: 30px !important;
    margin-right: 0;
  }
}

/* Track list */
/* Music Page Specific Styles */
.music-hero {
  background-attachment: fixed;
  background-position: center 30%;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid var(--color-accent);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.hero-scroll-indicator span {
  display: block;
  width: 4px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: var(--color-accent);
  margin: 0 auto;
  border-radius: 2px;
}

/* Album Cards */
.album-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.album-card:hover {
  transform: translateY(-5px);
}

.album-cover-container {
  position: relative;
  overflow: hidden;
}

.album-cover {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.album-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.album-play-overlay svg {
  fill: var(--color-accent);
}

.album-cover-container:hover .album-play-overlay {
  opacity: 1;
}

.album-cover-container:hover .album-cover {
  transform: scale(1.05);
}

.album-info {
  padding: 2rem;
}

.album-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.album-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.album-desc {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.album-tracks {
  margin-bottom: 2rem;
}

.track-row {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.track-row:hover {
  background: rgba(255, 255, 255, 0.1);
}

.track-number {
  width: 24px;
  text-align: center;
  color: var(--text-muted);
  margin-right: 1rem;
}

.track-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.track-play-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-play-icon svg {
  fill: var(--color-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.track-row:hover .track-play-icon svg {
  opacity: 1;
}

.track-title {
  font-weight: 500;
}

.track-duration {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.album-links {
  display: flex;
  gap: 1rem;
}

.streaming-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.streaming-link.spotify {
  background: #1db954;
  color: white;
}

.streaming-link.spotify:hover {
  background: #1ed760;
}

.streaming-link.youtube {
  background: #ff0000;
  color: white;
}

.streaming-link.youtube:hover {
  background: #ff3333;
}

/* Singles Grid */
/* Enhanced Singles Section */
.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Singles Grid - Enhanced */
.singles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.single-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.single-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.single-cover {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.single-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.single-card:hover .single-cover-img {
  transform: scale(1.05);
}

.single-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(252, 211, 77, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.single-play-btn svg {
  fill: var(--color-bg);
  width: 24px;
  height: 24px;
}

.single-card:hover .single-play-btn {
  opacity: 1;
}

.single-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
  z-index: 1;
}

.single-card:hover .single-overlay {
  opacity: 1;
}

.single-info {
  padding: 1.5rem;
}

.single-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.single-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Collaborations Grid - Enhanced */
.collabs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.collab-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.collab-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.collab-cover {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.collab-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collab-card:hover .collab-cover-img {
  transform: scale(1.05);
}

.collab-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(252, 211, 77, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.collab-play-btn svg {
  fill: var(--color-bg);
  width: 24px;
  height: 24px;
}

.collab-card:hover .collab-play-btn {
  opacity: 1;
}

.collab-info {
  padding: 1.5rem;
}

.collab-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-accent);
}

.collab-artist {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.collab-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.collab-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .singles-grid,
  .collabs-grid {
    grid-template-columns: 1fr;
  }

  .single-card,
  .collab-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Progress bar styles */
.progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border-radius: 0 0 4px 4px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 0.1s linear;
  border-radius: 0 0 4px 4px;
}

/* Add progress container to track elements */
.track-row,
.single-card,
.collab-card {
  position: relative;
  overflow: hidden;
}

.track-row {
  padding-bottom: 4px; /* Make room for progress bar */
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .album-card {
    grid-template-columns: 1fr 2fr; /* Adjust the ratio as needed */
    align-items: center; /* Vertically center content */
  }

  .album-cover-container {
    display: flex;
    justify-content: center; /* Horizontally center the cover */
    padding: 2rem; /* Add some spacing around the cover */
  }

  .album-cover {
    max-width: 300px; /* Set a maximum width */
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .section-divider {
    width: 150px;
  }
}

/* Animation for currently playing track */
.track-row.playing {
  background: rgba(252, 211, 77, 0.1);
}

.track-row.playing .track-number {
  color: var(--color-accent);
  font-weight: 700;
}

.track-row.playing .track-title {
  color: var(--color-accent);
  font-weight: 700;
}

/* Forms */
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-gray);
  border: 1px solid #374151;
  border-radius: 4px;
  color: var(--text-base);
  font-size: 1rem;
  transition: border 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

textarea {
  resize: vertical;
}

/* Utilities for quotes and citations */
.quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-base);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.25rem;
  font-size: 3rem;
  color: var(--color-accent);
}

.cite {
  display: block;
  font-weight: bold;
  color: var(--color-accent);
  margin-top: 0.5rem;
}

/* Simple loading spinner */
.spinner {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: 4px solid rgba(252, 211, 77, 0.5);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
