/* Colors
Gold: #ddbf5f;
Teal: #62b8c4;
Dark Teal: #0198b0;
Dark gold: #b9a462;
*/

@font-face {
  font-family: "Chewy";
  src: url("../webfonts/Chewy-Regular.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Knewave-Regular";
  src: url("../webfonts/Knewave-Regular.ttf") format("truetype");

  font-style: normal;
  font-display: swap;
}

/* Navigation */
#nav li:first-of-type {
  top: 0;
}
#nav li {
  position: relative;
  top: -15px;
}
#nav a:hover {
  background: none;
  color: #555 !important;
}
ul.social li:first-of-type {
  margin-left: 0;
}

ul.social li a:before {
  background: #ddbf5f;
  background: linear-gradient(
    173deg,
    rgba(221, 191, 95, 1) 0%,
    rgba(221, 191, 95, 1) 37%,
    rgba(209, 168, 86, 1) 40%,
    rgba(209, 168, 86, 1) 100%
  );
  box-shadow: none;
}
#nav {
  font-family: "Chewy";
}

#top {
  background: #62b8c4;
  padding: 2em 0 2em 0;
}
#top h1,
#top h3 {
  text-align: center;
}
#top h1 {
  text-transform: uppercase;
  -webkit-text-stroke: 4px #fff;
  paint-order: stroke fill;
  font-family: "Knewave-Regular";
  letter-spacing: 3px;
}
#top h3 {
  color: #000;
  font-size: 20px;
  font-family: "Chewy";
  font-weight: 400 !important;
}
.hero-container {
  position: relative;
  display: inline-block;
  margin: 15px;
  max-width: 400px;
}

/* The Twisted Teal Shadow */
.hero-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0198b0;
  transform: rotate(10deg);
  z-index: 1;
}

/* The Actual Image */
.hero-image {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  height: auto;
  border: 8px solid #000000;
  background: #b9a462;
}

.hero-wave-container {
  position: relative;
  width: 75%;
  max-width: 950px;
  height: 285px;
  overflow: hidden;
}

/* Main Wavy Text */
.curved-text-svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.curved-text-svg text {
  font-size: 26px;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: 0.5px;
}

/* Soundwave Positioning */
.soundwave {
  position: absolute;
  z-index: 1;
}

.wave-left {
  bottom: 15%;
  left: 8%;
  width: 220px;
}

.wave-right {
  top: 20%;
  right: 8%;
  width: 180px;
}

.confetti-bg {
  position: relative;
  background-color: #0198b0;
  overflow: hidden;
  padding: 6em 0;
}

/* Confetti overlay */
.confetti-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* Gold confetti pattern using SVG Data URI */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='%23ddbf5f'%3E%3Ccircle cx='30' cy='40' r='6'/%3E%3Crect x='120' y='80' width='10' height='6' rx='2' transform='rotate(45 120 80)'/%3E%3Ccircle cx='220' cy='30' r='4'/%3E%3Crect x='330' y='60' width='12' height='5' rx='1' transform='rotate(-20 330 60)'/%3E%3Ccircle cx='80' cy='150' r='5'/%3E%3Crect x='180' y='180' width='8' height='8' transform='rotate(15 180 180)'/%3E%3Ccircle cx='280' cy='140' r='6'/%3E%3Ccircle cx='360' cy='200' r='4'/%3E%3Crect x='40' y='260' width='10' height='4' rx='1' transform='rotate(60 40 260)'/%3E%3Ccircle cx='150' cy='310' r='5'/%3E%3Crect x='240' y='280' width='12' height='6' rx='2' transform='rotate(-35 240 280)'/%3E%3Ccircle cx='320' cy='350' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;

  /* Mask fades out the confetti layer from 100% opacity on the left to 0% by the 2/3rds mark (66%) */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 66%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 66%
  );

  pointer-events: none; /* Allows clicks to pass through to underlying content */
}
#demos {
  padding: 0;
}

#demos h2 {
  font-family: "Chewy", sans-serif;
}
.demo-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 440px; /* Adjust this to control how wide the buttons stretch */
  margin: 0 auto;
}

.demo-pill-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  color: #000000;
  font-family: "Chewy", sans-serif; /* Uses your newly registered font! */
  font-size: 18px;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 50px; /* Creates the pill shape */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.demo-pill-btn:hover {
  background-color: #f8f9fa;
  transform: scale(1.01);
}

.demo-title {
  flex-grow: 1;
  text-align: center;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Play Icon Styling (Black Circle with white play triangle) */
.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
}

.play-icon svg {
  margin-left: 2px; /* Centers the triangle optical balance */
}

/* Download Icon Styling */
.download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #000000;
  flex-shrink: 0;
}

.service-title {
  color: #fff;
  font-weight: bold;
}
.centered {
  text-align: center;
  position: relative;
}
.seemore {
  color: #fff;
  font-size: 25px;
  position: absolute;
  top: 140px;
}
#contact h2 {
  color: #ddbf5f;
}
#contact input[type="text"],
#contact textarea {
  background: #fff;
}
#contact input::placeholder,
#contact textarea::placeholder {
  /* color: #ddbf5f !important; */
  font-weight: bold;
}
