/* ===== Global CSS - Common styles shared across all pages ===== */

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===== Base Styles ===== */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #111;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

button,
a {
  font-family: "Times New Roman", Times, serif;
}

@media (min-width: 769px) {
  body {
    padding-top: 80px;
  }
}

/* ===== Layout & Common Sections ===== */
.main-content {
  --content-max-width: 1200px;
  --viewport-padding: 16px;

  /* Standardized Spacing Variables */
  --section-padding-y: 20px;
  --section-padding-y-mobile: 30px;
  --section-title-margin: 25px;
  --section-title-margin-mobile: 15px;

  display: grid;
  grid-template-columns:
    minmax(var(--viewport-padding), 1fr) min(
      var(--content-max-width),
      100% - var(--viewport-padding) * 2
    )
    minmax(var(--viewport-padding), 1fr);
}

/* All direct children go to center column by default */
.main-content > * {
  grid-column: 2;
}

/* Full-bleed elements span all columns */
.main-content > .full-bleed {
  grid-column: 1 / -1;
}

section {
  padding-block: var(--section-padding-y);
  padding-inline: var(--viewport-padding, 20px);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--section-title-margin);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title span {
  color: #ffbf00;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto var(--section-title-margin);
}

.section-header .section-title {
  margin-bottom: 0;
  text-align: left;
}

.see-all-btn {
  color: #ffbf00;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.see-all-btn:hover {
  color: #fff;
  transform: translateX(5px);
}

/* ===== Navbar ===== */
header.navbar {
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding-inline: 3rem;
  position: fixed;
  top: 0;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 80px;
  width: 100%;
  max-width: 100vw;
  left: 0;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Times New Roman", Times, serif;
}

.logo a {
  height: 60px;
  overflow: hidden;
}

.logo img {
  translate: 0 5px;
  transition: translate 1s ease;
}

.logo p {
  margin: 0;
  font-size: 0.65rem;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 300;
  white-space: nowrap;
}

/* ===== Nav Menu ===== */
.nav-center ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-center ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-center ul li a.active {
  color: #ffbf00;
}

.nav-center ul li a:hover {
  color: #00c3ff;
}

/* ===== Call Button ===== */
.call-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 8px 24px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background,
    transform 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 217, 0, 0.5);
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 10001;
}

.hamburger span {
  height: 2px;
  width: 24px;
  background-color: #fff;
  border-radius: 2px;
}

/* ===== Footer ===== */
footer {
  background: #111;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #222;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ffbf00;
}

.copyright {
  color: #666;
  font-size: 0.9rem;
}

/* ===== Artists Section ===== */
.artists-section {
  text-align: center;
  background: #111;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.artist-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  display: block;
  text-decoration: none;
}

.artist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 191, 0, 0.15);
}

.artist-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.artist-info {
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

.artist-info h3 {
  margin: 0;
  color: #ffbf00;
  font-size: 1.2rem;
}

/* ===== Music Player ===== */
.music-player {
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 1000;
}

#musicBtn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #ffbf00;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

#musicBtn:hover {
  transform: scale(1.1);
}

/* ===== Offer Ticker ===== */
.offer-ticker {
  background: #d32f2f;
  color: #fff;
  overflow: hidden;
  width: 100%;
  padding: 2px 0;
  box-sizing: border-box;
  text-align: center;
  position: relative;
}

.offer-ticker__track {
  display: flex;
  width: max-content;
  animation: scrollLoop 30s linear infinite;
}

.offer-ticker__content {
  display: flex;
}

.offer-ticker__track span {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 0 3rem;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .offer-ticker {
    padding: 5px 0;
  }

  .offer-ticker__track span {
    font-size: 14px;
    padding: 0 1.5rem;
  }
}

/* ===== Mobile Responsive - Common ===== */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: var(--section-title-margin-mobile);
  }

  header.navbar {
    padding: 0 1.5rem;
    height: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  .navbar .logo p {
    display: none;
  }

  .navbar .logo img {
    translate: 0;
  }

  .hamburger {
    display: flex;
    justify-self: start;
  }

  .logo {
    justify-self: center;
  }

  .call-btn {
    justify-self: end;
    padding: 5px 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .nav-center {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 1.5rem;
    padding-block: 5vh;
    height: calc(100vh - 60px);
    background: #000;
    transition: left 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-center.active {
    left: 0;
  }

  .nav-center ul {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .nav-center ul li a {
    font-size: 1.5rem;
  }

  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .artist-card img {
    height: 200px;
  }

  .artist-info {
    padding: 8px 5px;
  }

  .artist-info h3 {
    font-size: 0.9rem;
  }
}
