/*
 * RiseWave Media website stylesheet
 *
 * This stylesheet defines the dark, neon‑infused aesthetic for
 * RiseWave Media’s website. It uses CSS variables for easy colour
 * management, responsive layouts for multiple screen sizes, and
 * interactive hover/toggle effects without relying on external
 * libraries. The goal is to present a slick, modern interface
 * tailored to creative professionals like YouTubers and TikTokers.
 */

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

:root {
  --primary: #ff007f;      /* neon pink accent */
  --background: #000000;   /* deep black for backgrounds */
  --card-bg: #0d0d0d;      /* slightly lighter panel colour */
  --text-color: #ffffff;   /* bright white for high contrast */
  --muted: #aaaaaa;        /* muted grey for secondary text */
}

/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--background);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navigation bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 999;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

header nav .logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 6px var(--primary));
}

/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--primary);
}

/* Mobile menu toggle (hamburger icon) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate hamburger into an “X” when active */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive navigation menu */
.nav-links.open {
  display: block;
  position: absolute;
  top: 100%;
  right: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 1rem;
  width: 200px;
}

.nav-links.open li {
  margin-bottom: 0.75rem;
}

.nav-links.open li:last-child {
  margin-bottom: 0;
}

.nav-links.open li a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
}

/* Hero section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
  padding-top: 80px; /* offset for fixed nav */
  background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
}

.hero img {
  width: 220px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 12px var(--primary));
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
  color: var(--primary);
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-weight: 300;
}

.scroll-down {
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}

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

.section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.section p {
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

/* Services layout */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 2rem;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px var(--primary);
}

/* List styling for track record and specialties */
.track-record ul,
.specialties ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 1rem;
}

.track-record li,
.specialties li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1rem;
  color: var(--muted);
}

/* Pink dot before each list item */
.track-record li::before,
.specialties li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.5em;
  height: 0.5em;
  background: var(--primary);
  border-radius: 50%;
}

/* Contact form styling */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 1rem;
  resize: vertical;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: var(--muted);
}

.contact button {
  padding: 0.9rem 1.5rem;
  border: none;
  background: var(--primary);
  color: var(--background);
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.contact button:hover {
  background: #ff3399;
  box-shadow: 0 0 10px var(--primary);
}

/* Social links styling */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--background);
  box-shadow: 0 0 12px var(--primary);
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--card-bg);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--card-bg);
    border-radius: 6px;
  }
  .menu-toggle {
    display: flex;
  }
  .services-container {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    width: 90%;
  }
}