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

body {
  font-family: 'Rambla', sans-serif;
  background-color: #fff; /* switched to white background */
  color: #111; /* dark text for readability */
  overflow-x: hidden;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;
  min-height: 100vh;
  background-color: #fff; /* white hero background */
  position: relative; /* for absolute positioning of nav */
}

/* ✅ Move text and image upward */
.content,
.image {
  transform: translateY(-30px); /* You can adjust (-20px, -40px etc.) */
}

.top-nav {
  position: absolute;
  top: 10px;
  right: 40px;
  display: flex;
  gap: 24px;
}

.text-link {
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.text-link:hover {
  color: #666;
  text-decoration: underline;
}

.content {
  max-width: 50%;
}

.logo {
  width: 100px;
  margin-bottom: 20px;
}

h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
}

.buttons img {
  width: 160px;
  margin-right: 15px;
  transition: transform 0.3s;
}

.buttons img:hover {
  transform: scale(1.05);
}


.image {
  flex: 1;
  text-align: right;
}

.mic {
  width: 100%;
  max-width: 480px; /* cap size so it fits cleanly */
  height: auto;
  display: inline-block;
  filter: none; /* remove glow/drop-shadow */
}

/* Image Slider Styles */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.slide {
  display: none;
  animation: fadeIn 0.8s ease-in-out;
}

.slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Navigation Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #111;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 32px;
  font-weight: bold;
  transition: color 0.3s, transform 0.2s;
  z-index: 10;
}

.slider-btn:hover {
  color: #666;
  transform: translateY(-50%) scale(1.2);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* Dots Indicator */
.slider-dots {
  text-align: center;
  padding: 20px 0;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.dot:hover {
  background-color: rgba(0, 0, 0, 0.5);
  transform: scale(1.2);
}

.dot.active {
  background-color: #111;
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    height: auto;
    padding: 40px 5%;
  }

  .content,
  .image {
    transform: translateY(0); /* reset for mobile for better spacing */
  }
  
  .top-nav {
    position: static;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
  }

  .top-links {
    position: static;
    margin-bottom: 12px;
    gap: 12px;
    justify-content: center;
  }

  .content {
    max-width: 100%;
  }

  h1 {
    font-size: 42px;
  }

  .mic {
    width: 90%;
    max-width: 420px;
    margin-bottom: 30px;
  }

  .slider-container {
    max-width: 420px;
  }

  .slider-btn {
    padding: 8px 12px;
    font-size: 24px;
  }

  .slider-btn.prev {
    left: 0px;
  }

  .slider-btn.next {
    right: 0px;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
  }
}
