/*
 * Updated stylesheet for the 3D Mobbin' Entertainment website
 *
 * This version improves the navigation bar to be mobile responsive.  A hamburger
 * button appears on small screens and the navigation links collapse into a
 * vertical menu when toggled.  Existing styles for sections, buttons and
 * cards are preserved from the original CSS.
 */

@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary-colour: #ff7e00;       /* vivid orange for highlights */
  --secondary-colour: #ffb700;     /* warm yellow‑orange for contrast */
  --accent-colour: #f05454;        /* soft red accent */
  --dark-bg: #0a0c23;              /* deep navy for page background */
  --light-text: #f1f1f1;           /* off‑white for high contrast */
  --muted-text: #9a9cab;           /* muted grey for secondary copy */
}

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

body {
  font-family: 'Lato', sans-serif;
  background: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navigation bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 12, 35, 0.95);
  border-bottom: 1px solid var(--primary-colour);
  backdrop-filter: blur(6px);
}

.navbar .logo {
  height: 50px;
  width: auto;
}

/* Navigation links container */
.nav-links {
  display: flex;
  gap: 1.3rem;
}

.nav-links a {
  font-family: 'Audiowide', cursive;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-colour);
}

/* Hamburger button styles */
.nav-toggle {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  margin-left: auto;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary-colour);
  border-radius: 3px;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  background-image: url('assets/hero-bg.png');
  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);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

.hero-content img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

.hero-content h1 {
  font-family: 'Audiowide', cursive;
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-colour);
  text-shadow: 0 0 12px var(--secondary-colour);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--muted-text);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-buttons a {
  padding: 0.8rem 2rem;
  border: 2px solid var(--primary-colour);
  border-radius: 40px;
  color: var(--primary-colour);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.cta-buttons a:hover {
  background: var(--primary-colour);
  color: #fff;
  box-shadow: 0 0 10px var(--primary-colour);
}

/* Section general styles */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  font-family: 'Audiowide', cursive;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-colour);
  letter-spacing: 2px;
  text-shadow: 0 0 8px var(--secondary-colour);
}

.section h3 {
  font-family: 'Audiowide', cursive;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-colour);
  letter-spacing: 2px;
  text-shadow: 0 0 8px var(--secondary-colour);
}

.section-description {
  font-size: 1.1rem;
  text-align: center;
  color: var(--muted-text);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  background: var(--secondary-colour);
  color: #0a0c23;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: var(--primary-colour);
  color: #fff;
}

.klbtn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  background: var(--primary-colour);
  color: #fff;
  font-weight: 700;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.klbtn:hover {
  background: var(--secondary-colour);
  color: #0a0c23;
}

/* Products grid (for shop and teasers) */
.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--primary-colour);
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.product-card .product-image-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.3rem;
  font-family: 'Audiowide', cursive;
}

.product-card h3 {
  font-family: 'Audiowide', cursive;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-colour);
  text-align: center;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin-bottom: 1rem;
  text-align: center;
}

.product-card .price {
  font-size: 1.2rem;
  color: var(--primary-colour);
  margin-bottom: 1rem;
  font-weight: 600;
}

.product-card .btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  background: var(--secondary-colour);
  color: #0a0c23;
  font-weight: 700;
  transition: background 0.3s;
}

/* Generic button style used outside of product cards */

.product-card .btn:hover {
  background: var(--primary-colour);
  color: #fff;
}

/* Carousel (for video/series) */
.carousel {
  position: relative;
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--primary-colour);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

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

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-controls button {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  pointer-events: auto;
  transition: background 0.3s;
}

.carousel-controls button:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Gallery for artist page */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid var(--primary-colour);
}

.gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/* Audio players wrapper */
.audio-embeds {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

iframe.spotify-player {
  border-radius: 12px;
  width: 100%;
  height: 80px;
  border: none;
}

/* Team grid */
.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-member {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--primary-colour);
  border-radius: 12px;
  padding: 1.5rem;
  width: 260px;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member h3 {
  font-family: 'Audiowide', cursive;
  color: var(--secondary-colour);
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--muted-text);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: rgba(10, 12, 35, 0.95);
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--primary-colour);
}

.footer p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  /* Reduce heading size for the hero on small screens */
  .hero-content h1 {
    font-size: 2.8rem;
  }
  /* Reduce navigation link font size on small screens */
  .nav-links a {
    font-size: 0.9rem;
  }
  .section {
    padding: 3rem 1rem;
  }
  .product-card {
    width: 100%;
    max-width: 320px;
  }
  .team-member {
    width: 100%;
    max-width: 320px;
  }
  /* Mobile navigation adjustments */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 12, 35, 0.95);
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }
  .nav-links.open {
    max-height: 500px; /* enough height to show all links */
  }
  .nav-links a {
    padding: 1rem;
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--primary-colour);
  }
  /* Show the hamburger button */
  .nav-toggle {
    display: flex;
  }
}