.bg-hampton-red { background-color: #bc211d; }
    .text-hampton-red { color: #bc211d; }

    @media (max-width: 767px) {
      header {
        background-color: #bc211d !important;
        height: 80px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
      }

      .video-background {
        position: relative;
        height: 100vh; /* Full viewport height */
        margin-top: 80px; /* Push content down below header */
        padding-top: 0; /* Remove any padding */
      }
      
      .video-background video {
        position: absolute;
        top: -80px; /* Pull video up behind header */
        left: 0;
        width: 100%;
        height: calc(100% + 80px); /* Extend video to cover header area */
        object-fit: cover;
      }
      
      .overlay-text {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        margin-left: 50px;
        margin-top: 40px;
        text-align: left;
        width: 100%;
        max-width: 600px; /* Optional: control width */
      }


    }

    /* Header transition effects */
    header {
      transition: background 0.3s ease, box-shadow 0.3s ease;
      
    }

    .video-background {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }

    .video-background video {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      min-width: 100%;
      min-height: 100%;
      z-index: -1;
    }

    .overlay-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: white;
      z-index: 1;
    }

    .overlay-text h1 {
      margin: 0;
      font-size: 2rem;
    }

    @media (min-width: 768px) {
      .overlay-text h1 {
        font-size: 3rem;
      }
    }

    /* Chevron Icon */
    .chevron {
      display: inline-block;
      transition: transform 0.3s ease;
      margin-left: 4px;
      vertical-align: middle;
      width: 16px;
      height: 16px;
      stroke-width: 2.5;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: none;
    }

    nav .group {
      position: relative;
      border-bottom: 5px solid transparent; /* keeps hover active */
    }

    /* Desktop submenu arrow rotate on hover */
    nav .group:hover > a .chevron,
    nav .group:focus-within > a .chevron {
      transform: rotate(180deg);
    }

    /* Desktop submenu */
    nav .submenu {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      position: absolute;
      top: 100%;
      left: 0;
      margin-top: 0;
      padding-top: 0.5rem;
    }

    nav .group:hover > .submenu,
    nav .group:focus-within > .submenu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    /* Mobile details summary arrow rotate */
    details > summary {
      list-style: none;
      cursor: pointer;
      position: relative;
      padding-right: 20px;
    }
    details > summary::-webkit-details-marker {
      display: none;
    }
    details > summary::after {
      content: '';
      position: absolute;
      right: 4px;
      top: 50%;
      transform: translateY(-50%) rotate(0deg);
      border: solid white;
      border-width: 0 2px 2px 0;
      display: inline-block;
      padding: 3px;
      transition: transform 0.3s ease;
      transform-origin: center;
      border-color: white;
    }
    details[open] > summary::after {
      transform: translateY(-50%) rotate(45deg);
      border-color: white;
    }

    /* Unmute button styling */
    #unmuteButton {
      position: absolute;
      bottom: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.8);
      color: black;
      padding: 8px 16px;
      border-radius: 20px;
      cursor: pointer;
      z-index: 10;
      font-weight: bold;
    }