@font-face {
  font-family: 'Tribeca';
  src: url('../fonts/Tribeca.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  /* If you have bold / italic variants, add more rules here */
}

@font-face {
  font-family: 'Rafika';
  src: url('../fonts/Rafika.woff2') format('woff2'),
       url('../fonts/Rafika.woff')  format('woff'),
       url('../fonts/Rafika.otf')   format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* === RESET === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === BASE === */
body {
  font-family: 'Rafika', sans-serif;
  background-color: #111;
  color: #fff;
  line-height: 1.6;
}

/* === NAVBAR === */
nav {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 40px;
  z-index: 1000;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}
nav ul li a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 0;
}

.hero {
  position: relative;
  height: 100vh;
  background: url('/assets/img/pic.jpeg') center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.hero-content {
  position: absolute;
  bottom: 20%;
  left: 10%;
  z-index: 10;
  color: #fff;
}
.hero-content .logo {
  width: 100px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.hero-content .btn {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  overflow: hidden;
  transition: 
    color 0.4s ease, 
    background-color 0.4s ease, 
    box-shadow 0.4s ease;
  text-decoration: none;      
}

.hero-content .btn::before {
  content: '';
  position: absolute;
  top: 0; 
  left: -100%;
  width: 100%; 
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0.1) 100%
  );
  transform: skewX(-25deg);
  transition: transform 0.6s ease, left 0.6s ease;
}

.hero-content .btn:hover {
  background-color: #fff;
  color: #111;
  box-shadow:
    0 0 8px rgba(255,255,255,0.6),
    0 0 16px rgba(255,255,255,0.4);
}

.hero-content .btn:hover::before {
  left: 100%;
  transform: skewX(-25deg) translateX(50%);
}

.hero-content .btn:active {
  transform: scale(0.96);
  transition: transform 0.1s ease;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.event-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* zoom‑in on hover */
.event-card:hover img {
  transform: scale(1.05);
}

/* date badge in top corner */
.date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #78658b;
  color: #fff;
  padding: 6px 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* bottom overlay for title/venue */
.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 12px;
}

.card-info h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-info p {
  margin: 0;
  font-size: 0.9rem;
}

.mixes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

/* card with cover‑art background */
.mix-card {
  position: relative;
  height: 0;
  padding-bottom: 100%; /* 1:1 aspect ratio */
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mix-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

/* overlay at the bottom for title + button */
.mix-card .card-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mix-card h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  color: #fff;
  flex: 1;
}

/* the custom play button */
.play-btn {
  background: rgba(255,255,255,0.9);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  color: #78658b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

/* hide the built-in controls */
#audio-player {
  display: none;
}

.media-gallery {
  cursor: grab;
}
.media-gallery.dragging {
  cursor: grabbing;
}

/* Responsive tweak: smaller cards on narrow screens */
@media (max-width: 500px) {
  .event-card img {
    height: 150px;
  }
}

/* === DIAGONAL SECTIONS === */
.section-diagonal {
  position: relative;
  overflow: hidden;
}
.section-diagonal::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  top: -10%;
  left: -5%;
  z-index: 1;
}
/* red slanted background */
.section-diagonal.bg-red::before {
  background-color: #78658b;
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
}
/* white slanted background */
.section-diagonal.bg-white::before {
  background-color: #fff;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
}
/* container inside each diagonal */
.section-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* split into text / image columns */
.section-content .text,
.section-content .image {
  flex: 1;
}
.section-content .text {
  padding-right: 40px;
}
.section-content .image img {
  display: block;
  width: 100%;
  height: auto;
}
/* heading style inside sections */
.section-content .text h2 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: inherit; /* white on red bg, black on white bg */
}
/* paragraph on light bg should be dark */
.bg-white .section-content .text {
  color: #111;
}
/* links inside sections */
.section-content .text a {
  color: #78658b;
  text-decoration: none;
  font-weight: bold;
}

/* === AUDIO / EVENTS LIST === */
audio {
  width: 100%;
  margin: 20px 0;
}
ul.events-list,
ul.social-list {
  list-style: none;
  padding-left: 0;
}
ul.events-list li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 10px 0;
}
.bg-white ul.events-list li {
  border-color: rgba(0,0,0,0.1);
}

/* === FOOTER === */
footer {
  background-color: #252525;
  padding: 1px 1px;
  text-align: center;
}
footer p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}
footer .social-list li {
  display: inline-block;
  margin: 0 15px;
}
footer .social-list li a {
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .section-content {
    flex-direction: column;
    text-align: center;
  }
  .section-content .text,
  .section-content .image {
    width: 100%;
    padding: 0;
  }
  .section-content .text { margin-bottom: 40px; }
}
