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

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

.black-header {
   position: relative;
   padding-top: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;

}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}


.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.background-video.active {
  opacity: 1;
  z-index: 1;
}


.overlay-content {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 20px; 
}

.logo {
  max-width: 280px;
  width: auto;
  height: auto;
  display: block;
}

.sub-tagline {
  font-size: 20px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
}


.capsule-container {
  position: relative;
  width: 180px;      
  height: 50px;      
  margin-top: -8px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.capsule-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.capsule-fill-path {
  fill: rgba(255, 255, 255, 0);
  transition: fill 0.4s ease;
}

.capsule-container:hover .capsule-fill-path {
  fill: rgba(255, 255, 255, 0.5);
}

.capsule-outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.capsule-path {
  fill: none;
  stroke: white;
  stroke-width: 2.5;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capsule-path.left {
  animation: drawCapsuleLeft 2.5s ease-out forwards;
  animation-delay: 1.2s;
}

.capsule-path.right {
  animation: drawCapsuleRight 2.5s ease-out forwards;
  animation-delay: 1.2s;
}

@keyframes drawCapsuleLeft {
  to { stroke-dashoffset: 0; }
}
@keyframes drawCapsuleRight {
  to { stroke-dashoffset: 0; }
}

.local-tagline {
  font-size: 16px;
  color: white;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}

.scroll-line {
  position: absolute;
  top: calc(50vh + 68px);
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background-color: white;
  opacity: 0;
  animation: growScrollLine 1.6s ease-out 2.7s forwards;
  z-index: 5;
}

@keyframes growScrollLine {
  from { height: 0; opacity: 0; }
  to {
    height: calc(100vh - 50% - 65px);
    opacity: 1;
  }
}


.top-nav {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
}

.top-nav ul {
  list-style: none;
  display: flex;
  gap: 60px;
  padding: 0;
  margin: 0;
}

.top-nav li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.top-nav li a:hover {
  color: #2a9d8f;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 11;
}

.hamburger {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;


   opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 1.5s ease-out forwards;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.4s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  transform: translateY(-10.5px) rotate(-45deg);
}



/* .mobile-menu {
  position: absolute;
  top: 40px;          
  right: 5px;        
  background: none;    
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;   
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.4s ease;
} */

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #2a9d8f;
}



.mobile-menu {
  position: absolute;
  top: 40px;
  right: 0;
  background: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-menu.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}


/* .mobile-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
} */


.about,
.preview,
.footer {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.store-badge-section {
  display: flex;
  justify-content: center;
  margin: 40px 0 20px;
}

.app-store-badge {
  height: 48px;
}

.footer p,
.legal {
  color: #888;
  font-size: 14px;
}

.legal {
  margin-top: 10px;
}


.features {
  max-width: 1000px;
  margin: 60px auto;
  display: flex;
  gap: 80px;
  padding: 0 20px;
  justify-content: center;
}

.feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.feature .text h3 {
  font-size: 28px;
  color: #2a9d8f;
}

.feature .text p {
  font-size: 18px;
}
.feature-img {
  width: 100%;
  max-width: 400px;
  filter:
    drop-shadow(0px 12px 24px rgba(0, 0, 0, 0.3))
    drop-shadow(0px 8px  16px rgba(0, 0, 0, 0.2));
  border-radius: 0;
 
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1.5s ease-out,
              transform 1.5s ease-out;

  will-change: opacity, transform, filter;
}
.feature-img.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .feature-img.in-view:hover {
    transform: translateY(-5px) scale(1.02);
    filter:
      drop-shadow(0px 16px 32px rgba(0, 0, 0, 0.32))
      drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.22));
  }
}

@keyframes shake {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  10% { transform: translateY(0) rotate(-2deg); }
  20% { transform: translateY(0) rotate(2deg); }
  30% { transform: translateY(0) rotate(-2deg); }
  40% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(0) rotate(-1deg); }
  60% { transform: translateY(0) rotate(1deg); }
  70% { transform: translateY(0) rotate(-1deg); }
  80% { transform: translateY(0) rotate(1deg); }
  90% { transform: translateY(0) rotate(0deg); }
}

.feature-img.shake {
  animation: shake 0.8s ease-in-out;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* start everything hidden and nudged down */
.about,
.store-badge-section,
.feature .text {
  opacity: 0;
  transform: translateY(15px);
}

/* when .in-view is added, run the animation */
.about.in-view,
.store-badge-section.in-view,
.feature .text.in-view {
  animation: fadeInUp 1.5s ease-out forwards;
}



.logo,
.sub-tagline,
.local-tagline {
  opacity: 0;
  animation: fadeInUp 1.5s ease-out forwards;
}

#animated-word {
  display: inline-block;
  border-right: 2px solid white;
  padding-left: 6px;
  animation: blinkCursor 1s infinite;
}

@keyframes blinkCursor {
  0%, 49% { border-color: white; }
  50%, 100% { border-color: transparent; }
}


@media (max-width: 768px) {
  .features {
    flex-direction: column;
  }
  .feature {
    margin-bottom: 5px;
  }


  .top-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  
  
}

.mobile-blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.3);
  z-index: 9;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.mobile-blur-overlay.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.3s ease;
}








/* fix the hamburger not working on subpages.  */

.mini-header {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;

  /* show your new image instead of a video */
  background-image: url('/images/pexels-hermaion-173552.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* hide the old video markup */
.mini-header .video-container,
.mini-header .background-video {
  display: none;
}

/* still keep your overlay/content hidden */
.mini-header .overlay-content,
.mini-header .scroll-line {
  display: none;
}




