/* FlowerTree IT — tech / dark mode styles */

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #050810;
}

/* Tech grid background (dark mode) */
.tech-grid {
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 30%, transparent 80%);
}

/* Lighter grid for portfolio cards */
.tech-grid-light {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Sticky-nav state */
#site-header.is-scrolled nav {
  background-color: rgba(5, 8, 16, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

@keyframes fadeUp { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: translateY(0); } }
.fade-up { animation: fadeUp 350ms cubic-bezier(0.21,0.61,0.35,1); }

select::-ms-expand { display: none; }
input:focus, select:focus, textarea:focus { outline: none; }

/* Subtle hover lift on cards */
.hover-lift { transition: transform 200ms ease, box-shadow 200ms ease; }
.hover-lift:hover { transform: translateY(-2px); }

/* Hero video overlay fade */
#hero-video-play {
  transition: opacity 300ms ease;
}
#hero-video {
  background-color: #000;
}
#hero-video::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { animation: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
