/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #333333;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Abstract Background Graphic Approximation */
.bg-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(circle at 100% 0%, #f4f4f4 0%, transparent 40%),
                    radial-gradient(circle at 0% 100%, #f9f9f9 0%, transparent 40%);
  opacity: 0.8;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  z-index: 10;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 96px;
  max-height: 96px;
  width: auto;
  max-width: 400px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

nav {
  display: flex;
  gap: 3rem;
}

nav a {
  text-decoration: none;
  color: #777;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
}

nav a:hover, nav a.active-nav {
  color: #222;
}

/* Hero Section */
.hero {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  padding: 0 6rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  gap: 4rem;
}

/* Left Content */
.hero-content {
  flex: 1;
  max-width: 500px;
}

.hero-content h1 {
  font-family: 'Waterfall', cursive;
  font-size: 9.5rem;
  font-weight: 400;
  line-height: 0.65;
  letter-spacing: 0px;
  color: #444;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  font-weight: 400;
  color: #888;
}

.hero-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #888;
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #888;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cta-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-button.secondary-cta {
  background-color: transparent;
  border: 1px solid #888;
  color: #888;
  box-shadow: none;
}

.cta-button.secondary-cta:hover {
  background-color: #888;
  border-color: #888;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Right Content (SVG Graphic) */
.hero-graphic {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 700px;
}

.hero-graphic svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.05));
}

/* Harp String Hover Animation */
@keyframes vibrate {
  0% { transform: translateX(0); }
  25% { transform: translateX(1.5px); }
  50% { transform: translateX(0); }
  75% { transform: translateX(-1.5px); }
  100% { transform: translateX(0); }
}

/* When hovering over individual strings, animate only that string */
.interactive-harp {
  cursor: default;
}

.harp-string {
  cursor: crosshair;
  transition: stroke 0.2s;
}

.harp-string:hover, .harp-string.is-playing {
  animation: vibrate 0.08s linear infinite;
  transform-origin: center;
  stroke: #888; /* Highlight the string visually on pluck */
}

/* Add slight variation to strings so they don't look like a single block vibrating */
#HARP-STRING1:hover, #HARP-STRING1.is-playing { animation-duration: 0.07s; }
#HARP-STRING2:hover, #HARP-STRING2.is-playing { animation-duration: 0.11s; }
#HARP-STRING3:hover, #HARP-STRING3.is-playing { animation-duration: 0.09s; }
#HARP-STRING4:hover, #HARP-STRING4.is-playing { animation-duration: 0.13s; }
#HARP-STRING5:hover, #HARP-STRING5.is-playing { animation-duration: 0.08s; }
#HARP-STRING6:hover, #HARP-STRING6.is-playing { animation-duration: 0.12s; }
#HARP-STRING7:hover, #HARP-STRING7.is-playing { animation-duration: 0.09s; }
#HARP-STRING8:hover, #HARP-STRING8.is-playing { animation-duration: 0.14s; }
#HARP-STRING9:hover, #HARP-STRING9.is-playing { animation-duration: 0.07s; }
#HARP-STRING10:hover, #HARP-STRING10.is-playing { animation-duration: 0.11s; }
#HARP-STRING11:hover, #HARP-STRING11.is-playing { animation-duration: 0.09s; }
#HARP-STRING12:hover, #HARP-STRING12.is-playing { animation-duration: 0.13s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-graphic {
    margin-top: 3rem;
    justify-content: center;
  }
}

/* Subtle Floating Animations for SVG Groups */
@keyframes floatY {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.float-anim {
  animation: floatY ease-in-out infinite;
  transform-origin: center;
}

/* Offset the floating animations so they move independently like they are breathing */
.float-1 { animation-duration: 8s; animation-delay: 0s; }
.float-2 { animation-duration: 9s; animation-delay: -1.5s; }
.float-3 { animation-duration: 7.5s; animation-delay: -3s; }
.float-4 { animation-duration: 8.5s; animation-delay: -4.5s; }

/* Mobile adjustments */
@media (max-width: 768px) {
  .navbar {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .logo-img {
    height: 64px;
  }
  
  nav {
    gap: 1.5rem;
  }
  
  .hero {
    padding: 1.5rem;
    gap: 2rem;
  }
  
  .hero-content h1 {
    font-size: 5rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  
  .cta-button {
    padding: 0.8rem 2rem;
  }
  
  .about-container h1 {
    font-size: 3.5rem;
  }
}
