/* ========== RESET & GLOBALS ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: radial-gradient(circle at top left, #111 0%, #000 100%);
  color: #eee;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  scroll-behavior: smooth;
}


h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-left: 4px solid #ff3b3b;
  padding-left: 10px;
  color: #fff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(0,0,0,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ========== HEADER ========== */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 15px 25px;
  border-bottom: 2px solid #d32f2f;
  position: sticky;
  top: 0;
  z-index: 100;
}

.store-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff3b3b;
  letter-spacing: 1px;
}

.local-time {
  font-size: 1rem;
  color: #fff;
  text-align: center;
}

.header-icons {
  display: flex;
  gap: 15px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: #e0e0e0;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.icon-btn:hover {
  color: #ff3b3b;
}

/* EXPERIENCE SECTION (VIDEO BACKGROUND) */
.experience {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  border-bottom: 2px solid #2e2e2e;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
}

.video-overlay h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ff3b3b;
  letter-spacing: 2px;
}

.video-overlay p {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-top: 10px;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
  .experience {
    height: 50vh;
  }

  .video-overlay h2 {
    font-size: 1.6rem;
  }

  .video-overlay p {
    font-size: 1rem;
  }
}

/* EVENTS SECTION */
.events {
  padding: 50px 10%;
}

.events h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  border-left: 4px solid #ff3b3b;
  padding-left: 10px;
  margin-bottom: 30px;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.event-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2e2e2e;
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.05);
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: #ff3b3b;
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #2e2e2e;
}

.event-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-info h3 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.event-info p {
  font-size: 0.9rem;
  color: #cfcfcf;
}

.event-info .artist {
  font-weight: 600;
  color: #ffffff;
}

.book-btn {
  background: #ff3b3b;
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 10px;
  align-self: flex-start;
}

.book-btn:hover {
  background: #ff6b6b;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #000;
  font-weight: 500;
  margin-top: 5px;
  align-self: flex-start;
}

.tag.techno { background: #ff8ff0; }
.tag.rock { background: #ffb84d; }
.tag.calm { background: #9ee6f8; }

/* Responsive */
@media (max-width: 768px) {
  .event-info {
    text-align: left;
  }
}

/* ========== RECORD STORE ========== */
.record-store {
  padding: 50px 10%;
}

.record-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.record-card {
  background: #574b4b;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid #2e2e2e;
}

.record-card:hover {
  transform: translateY(-5px);
  border-color: #ff3b3b;
}

.record-card, .event-card {
  background: rgba(30, 30, 30, 0.9);
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.record-card:hover, .event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(211, 179, 179, 0.3);
}

.record-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin: 10px 0;
}

.price {
  color: #ff3b3b;
  font-weight: 600;
  margin-bottom: 10px;
}

.record-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #2e2e2e;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.record-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ---------- TOP 5 SOLD TAPES (Aligned Version) ---------- */
.top-sold {
  padding: 60px 0;
  width: 90%;
  margin: 0 auto;
  max-width: 1100px; /* Keeps width consistent with other mid sections */
}

.top-sold h2 {
  text-align: left;
  color: #ff1e1e;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
  font-size: 1.6rem;
  border-left: 3px solid #ff1e1e;
  padding-left: 12px;
}

/* Tape list stacked vertically */
.tape-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tape card styling */
.tape-card {
  display: flex;
  align-items: center;
  background: rgba(25, 25, 25, 0.92);
  border-radius: 12px;
  padding: 16px 22px; /* Added 22px horizontal padding for balance */
  box-shadow: 0 0 10px rgba(255, 30, 30, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tape-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px rgba(255, 30, 30, 0.3);
}

/* Tape image */
.tape-card img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 20px;
}

/* Tape text info */
.tape-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tape-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #fff;
}

.tape-info .genre {
  color: #bbb;
  font-size: 0.9rem;
}

.tape-info .price {
  margin-top: 4px;
  color: #ff1e1e;
  font-weight: 600;
}

/* Play button to right */
.play-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #ff1e1e;
  transition: transform 0.2s ease, color 0.3s;
  margin-left: 18px;
}

.play-btn:hover {
  transform: scale(1.2);
  color: #fff;
}

/* Mobile tweak — keep neat alignment */
@media (max-width: 600px) {
  .tape-card {
    flex-direction: row;
    padding: 14px 18px;
  }
  .tape-card img {
    width: 75px;
    height: 75px;
    margin-right: 14px;
  }
  .play-btn {
    font-size: 1.4rem;
    margin-left: 10px;
  }
}


/* MINI PLAYER */
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.95);
  border-top: 2px solid #ff3b3b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  color: #fff;
  z-index: 999;
  backdrop-filter: blur(6px);
  display: none; /* hidden by default */
}

.audio-player.playing {
  box-shadow: 0 0 20px rgba(255, 59, 59, 0.4);
  transition: box-shadow 0.3s ease;
}


.player-info {
  font-weight: 600;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

#play-toggle {
  background: #ff3b3b;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}

#play-toggle:hover {
  background: #ff6b6b;
}

#progress-bar {
  width: 150px;
  cursor: pointer;
}

/* AUDIO VISUALIZER */
.visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  width: 60px;
  margin-right: 10px;
}

.bar {
  flex: 1;
  background: #ff3b3b;
  border-radius: 3px;
  height: 5px;
  transition: height 0.1s ease;
}

/* About and History Section */
.history-section {
  position: relative;
  color: #fff;
  padding: 120px 0;
  overflow: hidden;
  background: #0b0b0b;
}

.history-bg {
  position: absolute;
  inset: 0;
  background: url("assets/images/berlin-street-dark.jpg") center/cover no-repeat;
  opacity: 0.25;
  filter: blur(6px);
  z-index: 0;
}

.history-content {
  position: relative;
  z-index: 2;
  width: 80%;
  margin: auto;
  text-align: left;
}

.history-content h2 {
  color: #ff1e1e;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.intro-text {
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 70px;
  max-width: 800px;
}

.timeline {
  border-left: 2px solid #ff1e1e;
  margin-left: 40px;
  padding-left: 30px;
}

.year-block {
  margin-bottom: 60px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.year-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.year-block::before {
  content: "";
  position: absolute;
  left: -43px;
  top: 10px;
  width: 18px;
  height: 18px;
  background: #ff1e1e;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff1e1e;
}

.year-block h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.year-block p {
  color: #aaa;
  line-height: 1.6;
  font-size: 1rem;
  max-width: 600px;
}

.final-quote {
  text-align: center;
  font-size: 1.4rem;
  color: #ff1e1e;
  margin-top: 100px;
  font-style: italic;
  letter-spacing: 1px;
}


/* ========== CONTACT FORM ========== */
/* CONTACT SECTION */
.contact {
  padding: 50px 10%;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Ensures equal height */
  gap: 30px;
  margin-top: 20px;
}

/* LEFT SIDE FORM */
.contact form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #2e2e2e;
  box-shadow: 0 0 15px rgba(255, 59, 59, 0.1);
}

.contact input,
.contact textarea {
  background: #0e0e0e;
  border: 1px solid #2e2e2e;
  color: #e0e0e0;
  padding: 10px;
  border-radius: 8px;
  resize: none;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #ff3b3b;
}

.contact button {
  background: #ff3b3b;
  border: none;
  color: #fff;
  padding: 10px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact button:hover {
  background: #ff6b6b;
}

/* RIGHT SIDE MAP */
.map-container {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2e2e2e;
  box-shadow: 0 0 15px rgba(255, 59, 59, 0.1);
}

/* Equal height for iframe */
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* MAP OVERLAY LABEL */
.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 14, 14, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
  pointer-events: none; /* Let clicks go through */
}

.map-overlay p {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  background: rgba(255, 59, 59, 0.8);
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

/* RESPONSIVE VIEW */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact form {
    max-width: 100%;
  }

  .map-container iframe {
    min-height: 300px;
  }

  .map-overlay p {
    font-size: 1rem;
  }
}

/* ========== FOOTER ========== */
.app-footer {
  background: #1a1a1a;
  text-align: center;
  padding: 20px 10%;
  border-top: 2px solid #d32f2f;
  font-size: 0.9rem;
}

.app-footer a {
  color: #ff3b3b;
  text-decoration: none;
}

.app-footer a:hover {
  text-decoration: underline;
}

/* 2nd edits */
/* Scroll Reveal Animation */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FILTER BAR */
.filter-bar {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-bar label {
  font-weight: 500;
  color: #e0e0e0;
}

.filter-bar select {
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  color: #e0e0e0;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-bar select:hover,
.filter-bar select:focus {
  border-color: #ff3b3b;
  outline: none;
}

/* MODAL OVERLAY */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

/* MODAL BOX */
.modal-content {
  background: #1a1a1a;
  padding: 25px 30px;
  border-radius: 12px;
  border: 1px solid #2e2e2e;
  box-shadow: 0 0 30px rgba(255, 59, 59, 0.15);
  width: 100%;
  max-width: 420px;
  color: #fff;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #ff3b3b;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.close:hover {
  color: #fff;
}

/* FORM FIELDS */
#booking-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

#booking-form input {
  background: #0e0e0e;
  border: 1px solid #2e2e2e;
  color: #e0e0e0;
  padding: 10px;
  border-radius: 8px;
}

#booking-form input:focus {
  border-color: #ff3b3b;
  outline: none;
}

#booking-form button {
  background: #ff3b3b;
  border: none;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

#booking-form button:hover {
  background: #ff6b6b;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
