  /* Custom Styles for Denise Mann Real Estate */

  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
  }

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #1a0a2e;
  }
  ::-webkit-scrollbar-thumb {
    background: #5a2d8a;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
  }

  /* Selection */
  ::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
  }

  /* Nav */
  #navbar {
    background: transparent;
  }
  #navbar.scrolled {
    background: rgba(26, 10, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after {
    width: 100%;
  }
  .nav-link:hover {
    color: #d4a843 !important;
  }

  /* Hero Animations */
  .hero-subtitle {
    animation: fadeSlideUp 0.8s ease forwards 0.2s;
  }
  .hero-title {
    animation: fadeSlideUp 0.8s ease forwards 0.4s;
  }
  .hero-desc {
    animation: fadeSlideUp 0.8s ease forwards 0.6s;
  }
  .hero-cta {
    animation: fadeSlideUp 0.8s ease forwards 0.8s;
  }
  #scrollIndicator {
    animation: fadeIn 0.8s ease forwards 1.2s;
  }

  @keyframes fadeSlideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Reveal Animations */
  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal-left {
    transform: translateX(-40px);
  }
  .reveal-right {
    transform: translateX(40px);
  }
  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
  }

  /* Service Cards */
  .service-card {
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(201, 168, 76, 0.05);
  }

  /* Testimonial Cards */
  .testimonial-card {
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }
  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }

  /* Area Items */
  .area-item {
    transition: transform 0.3s ease, border-color 0.3s ease;
  }
  .area-item:hover {
    transform: translateX(4px);
  }

  /* Mobile Menu */
  #mobileMenu.open {
    opacity: 1 !important;
    pointer-events: all !important;
  }

  /* Gold shimmer on hover for CTA buttons */
  .bg-amber-500 {
    position: relative;
    overflow: hidden;
  }
  .bg-amber-500::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
  }
  .bg-amber-500:hover::before {
    left: 100%;
  }

  /* Form focus styles */
  input:focus,
  select:focus,
  textarea:focus {
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.3);
  }

  /* Select arrow */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  /* Responsive adjustments */
  @media (max-width: 640px) {
    .font-serif {
      line-height: 1.1;
    }
    #hero h1 {
      font-size: 2.75rem;
    }
  }
