:root {
    --bg-dark: #070707;
    --bg-darker: #000000;
    --bg-card: #141414;
    --text-main: #f4f4f4;
    --text-muted: #a0a0a0;
    --brand-red: #d90429;
    --brand-red-glow: rgba(217, 4, 41, 0.6);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  *::selection{
    background-color:var(--brand-red-glow);
    color:var(--text-main);
  }
  
  body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 10% 0 0 0;
  }
  
  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-speed);
  }
  
  a:hover {
    color: var(--brand-red);
  }
  
  /* Animations */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  @keyframes pulseGlow {
    0% { box-shadow: 0 0 5px var(--brand-red-glow); }
    50% { box-shadow: 0 0 20px var(--brand-red-glow); }
    100% { box-shadow: 0 0 5px var(--brand-red-glow); }
  }
  
  /* Navigation */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(217, 4, 41, 0.2);
  }
  
  .logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-red);
    letter-spacing: 3px;
    width:5%;
  }
  .logo img{
    width:100%;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links .selected {
    color: var(--brand-red);
    text-shadow: 0 0 20px var(--brand-red);
  }
  
  .nav-links li a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  .social-icons a {
    font-size: 1.2rem;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--brand-red);
  }
  
  /* Buttons */
  .btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all var(--transition-speed);
    cursor: pointer;
  }
  
  .btn-primary {
    background-color: var(--brand-red);
    color: #fff;
    border: none;
    animation: pulseGlow 3s infinite;
  }
  
  .btn-primary:hover {
    background-color: #fff;
    color: var(--brand-red);
    animation: none;
    box-shadow: 0 0 20px var(--brand-red);
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--brand-red);
    border: 2px solid var(--brand-red);
  }
  
  .btn-secondary:hover {
    background-color: var(--brand-red);
    color: #fff;
  }
  
  /* Layout Utilities */
  main {
    min-height: 100vh;
    padding-top: 10px; /* offset for header */
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
  }
  
  /* Home Page */
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    padding: 0 5%;
  }
  
  .hero-content {
    flex: 1;
    padding-right: 2rem;
  }
  
  .hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
  }
  
  .hero-listen-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    font-size: 1.8rem;
  }
  
  .hero-image-wrapper {
    flex: 1;
    position: relative;
  }
  
  .hero-image-wrapper img {
    width: 100%;
    border-radius: 8px;
    box-shadow: -15px 15px 0px rgba(217, 4, 41, 0.2);
    filter: grayscale(30%) contrast(1.2);
  }
  
  /* Music Page Modular Grid */
  .music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .song-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition-speed);
  }
  
  .song-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-red);
  }
  
  .song-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
  }
  
  .song-info {
    padding: 1.5rem;
    text-align: center;
  }
  
  .song-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .song-info .genre {
    color: var(--brand-red);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  /* Song Detail Page */
  .song-detail {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
  }
  
  .song-detail-art {
    flex: 1;
    position: sticky;
    top: 120px;
  }
  
  .song-detail-art img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  }
  
  .song-detail-content {
    flex: 1.5;
  }
  
  .song-detail-content h1 {
    font-size: 3rem;
    color: var(--brand-red);
    margin-bottom: 1rem;
  }
  
  .insights {
    background: var(--bg-card);
    padding: 1.5rem;
    border-left: 4px solid var(--brand-red);
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--text-muted);
  }
  
  .lyrics-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    height: 400px;
    overflow-y: auto;
    white-space: pre-line;
    font-family: var(--font-body);
    line-height: 2;
  }
  
  /* Beats Page */
  .beats-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .beats-container p {
    font-size: 1.2rem;
    margin: 2rem 0;
    color: var(--text-muted);
  }
  
  .beats-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  /* Contact Page */
  .contact-split {
    display: flex;
    align-items: center;
    gap: 4rem;
  }
  
  .contact-image {
    flex: 1;
  }
  
  .contact-image img {
    width: 100%;
    border-radius: 8px;
    filter: grayscale(100%);
    transition: filter 0.5s;
  }
  
  .contact-image img:hover {
    filter: grayscale(0%);
  }
  
  .contact-info {
    flex: 1;
  }
  
  .email-link {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--brand-red);
    font-weight: 800;
    word-break: break-all;
    position: relative;
    display: inline-block;
    margin-top: 1rem;
  }
  
  .email-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s;
  }
  
  .email-link:hover::after {
    width: 100%;
  }
  
  /* About Page */
  .about-narrative {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
    font-size: 1.1rem;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.4s;
  }
  
  .gallery img:hover {
    transform: scale(1.05);
    z-index: 2;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }
  
  /* Footer */
  footer {
    background: var(--bg-darker);
    text-align: center;
    padding: 3rem 5%;
    border-top: 1px solid #1a1a1a;
    margin-top: 4rem;
  }
  
  footer .social-icons {
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }
  
  footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
  }
  
  /* Custom Scrollbar for dark theme */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg-dark);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--brand-red);
    border-radius: 4px;
  }
  @media (max-width: 768px) {
    .hamburger {
      display: block;
      position: relative;
      z-index: 1010; /* Keeps the hamburger icon on top so you can close the menu */
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100vh;
      background: rgba(7, 7, 7, 0.98); /* Solid dark atmospheric backdrop */
      backdrop-filter: blur(15px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1.5rem;
      padding: 2rem;
      transition: 0.4s ease-in-out;
      z-index: 1000;
      overflow-y: auto; /* Ensures users on tiny phones can scroll if needed */
    }
    
    header .social-icons {
      position: fixed;
      bottom: 8%; /* Safely anchors icons near the bottom of the screen */
      left: -100%;
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: center;
      gap: 1.5rem;
      transition: 0.4s ease-in-out;
      z-index: 1000;
      background: transparent;
      padding: 0;
    }
  
    .nav-links.active {
      left: 0;
    }
  
    header .social-icons.active {
      left: 0;
    }
  
    /* Core Layout Adjustments */
    .hero, .song-detail, .contact-split {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-content {
      padding-right: 0;
      margin-bottom: 3rem;
    }
  
    .hero-content h1 {
      font-size: 3rem;
    }
  
    .hero-listen-links {
      justify-content: center;
    }
  
    .song-detail-art {
      position: relative;
      top: 0;
    }
    
    .beats-actions {
      flex-direction: column;
    }
  }
  
  /* Mobile Responsiveness */
  /* @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
    
    .nav-links, header .social-icons {
      position: absolute;
      top: 100%;
      left: -100%;
      flex-direction: column;
      background: var(--bg-darker);
      width: 100%;
      text-align: center;
      padding: 2rem 0;
      transition: 0.3s;
    }
    
    header .social-icons {
      top: calc(100% + 250px);
      flex-direction: row;
      justify-content: center;
    }
  
    .nav-links.active, header .social-icons.active {
      left: 0;
    }
  
    .hero, .song-detail, .contact-split {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-content {
      padding-right: 0;
      margin-bottom: 3rem;
    }
  
    .hero-content h1 {
      font-size: 3rem;
    }
  
    .hero-listen-links {
      justify-content: center;
    }
  
    .song-detail-art {
      position: relative;
      top: 0;
    }
    
    .beats-actions {
      flex-direction: column;
    }
  } */