  /* Custom Styles for Nana Nails */

  /* Smooth Scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #102a43;
  }
  ::-webkit-scrollbar-thumb {
    background: #38a169;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #5ec48a;
  }

  /* Selection Color */
  ::selection {
    background: rgba(94, 196, 138, 0.3);
    color: #f2fbf9;
  }

  /* Navbar Transition */
  #navbar {
    backdrop-filter: blur(0px);
    transition: all 0.5s ease;
  }
  #navbar.scrolled {
    background: rgba(10, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Nav Links */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #5ec48a;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile Menu */
  .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
  }

  /* Mobile Menu Button */
  .menu-line {
    transition: all 0.3s ease;
  }
  #menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  #menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
  }
  #menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.5rem;
  }

  /* Service Cards */
  .service-card {
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
  }
  .service-card:hover::before {
    opacity: 1;
  }

  /* Reveal Animations */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .service-card,
    .group img {
      transition: none;
    }
    .service-card:hover {
      transform: none;
    }
    .group:hover img {
      transform: none;
    }
    .animate-pulse {
      animation: none;
    }
  }

  /* Form Focus States */
  input:focus,
  textarea:focus,
  select:focus {
    outline: none;
  }

  /* Select Arrow */
  select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235ec48a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  /* Gallery Hover Overlay */
  .aspect-square {
    position: relative;
  }
  .aspect-square::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 26, 46, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
  }
  .aspect-square:hover::after {
    opacity: 1;
  }

  /* Floating Card Animation */
  @media (prefers-reduced-motion: no-preference) {
    .aspect-\[4\/5\] {
      animation: float 6s ease-in-out infinite;
    }
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
  }
</style>
