/* ==========================================================================
   01. HERO & MAP CONTAINER STYLES
   ========================================================================== */
   /* #hero-nh-4k {
    background: linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.95) 100%),
                url('../images/elephant_head.JPG') center/cover no-repeat;
  }
   */
  .map-section {
    margin-bottom: 4rem;
    width: 100%;
  }
  
  #map-container {
    padding: 0;
    height: 520px;
    position: relative;
  }
  
  #map {
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }
  
  /* Custom styling for Google Maps InfoWindow to match dark blue theme */
  .gm-style .gm-style-iw-c {
    background-color: #0f172a !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 12px !important;
    color: #f8fafc !important;
    padding: 12px 16px !important;
  }
  
  .gm-style .gm-style-iw-tc::after {
    background-color: #0f172a !important;
  }
  
  .gm-style .gm-style-iw-d {
    overflow: hidden !important;
  }
  
  /* ==========================================================================
     02. RESPONSIVE DIRECTORY TOGGLE (TABLE VS CARDS)
     ========================================================================== */
  .desktop-table-wrapper {
    display: none;
  }
  
  .mobile-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
  }
  
  @media (min-width: 768px) {
    .desktop-table-wrapper {
      display: block;
    }
    
    .mobile-cards-wrapper {
      display: none;
    }
  }
  
  /* ==========================================================================
     03. MOBILE CARDS COMPONENT
     ========================================================================== */
  .peak-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .peak-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .peak-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #ffffff;
  }
  
  .peak-card .rank-tag {
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.9rem;
  }
  
  .peak-card .elevation-tag {
    color: #d4b886;
    font-size: 0.95rem;
    font-weight: 600;
  }
  
  .peak-card .location {
    color: #a3a3a3;
    font-size: 0.85rem;
  }
  
  /* Modal Trigger Button */
  .btn-peak-details {
    background: transparent;
    border: 1px solid #38bdf8;
    color: #38bdf8;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
  }
  
  .btn-peak-details:hover {
    background: #38bdf8;
    color: #0d0d0d;
  }
  
  /* ==========================================================================
     04. MODAL OVERLAY STYLES
     ========================================================================== */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .modal-content {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: #141414;
    border: 1px solid #38bdf8;
    padding: 2rem;
  }
  
  .modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: #a3a3a3;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
  }
  
  .modal-close-btn:hover {
    color: #ffffff;
  }
  
  .modal-content h3 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    padding-right: 1.5rem;
  }
  
  .modal-address {
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .modal-airport-list h4 {
    font-size: 0.85rem;
    color: #d4b886;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
  }
  
  .modal-airport-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .modal-airport-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #e5e5e5;
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  }
  
  .modal-airport-list li span.val {
    color: #38bdf8;
    font-weight: 500;
  }