@charset "UTF-8";
/*
Theme Name: Mallows Bay
Theme URI:
Author: Ryan Abrahamsen
Author URI:
Description: Mallows Bay-Potomac River National Marine Sanctuary WordPress Theme
Version: 3.0
*/

/* ========================================
   1. RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    /* Primary Colors - Nature/Green Theme */
    --color-primary: #2d8a4e;
    --color-primary-light: #3ba864;
    --color-primary-dark: #1e6b3a;
    --color-secondary: #068dbf;
    --color-accent: #2d8a4e;

    /* Dark Theme Colors */
    --color-dark: #000000;
    --color-dark-light: #1a1a1a;
    --color-dark-lighter: #2a2a2a;

    /* Text Colors */
    --color-white: #ffffff;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-text-subtle: rgba(255, 255, 255, 0.4);

    /* Legacy colors for compatibility */
    --color-water: #068dbf;
    --color-light: #e5f3f3;
    --color-gray: #929292;
    --color-gray-dark: #333333;
    --color-yellow: #FFFF00;

    /* Typography */
    --font-primary: colfax-web, 'Nunito', sans-serif;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 40px;

    /* Border Radius */
    --radius-sm: 3px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0px 2px 4px 2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body {
    font-family: var(--font-primary);
    font-weight: 500;
    font-style: normal;
    background-color: #000000;
    min-height: 100vh;
    padding-top: 80px;
    color: var(--color-white);
}

/* Home page specific - no padding for full-height hero */
body.home-page {
    background-color: #000000;
    position: relative;
    padding-top: 0;
}

h1 {
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
}

h2 {
    font-weight: 700;
    font-size: 30px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-weight: 600;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
}

p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-light);
}

strong {
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-primary {
    color: var(--color-primary) !important;
}

/* ========================================
   2. NAVIGATION / HEADER
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled-more {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-white) !important;
}

.navbar-brand:hover {
    color: var(--color-primary-light) !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: var(--spacing-sm) var(--spacing-md);
    transition: color 0.3s ease;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
}

.nav-link:hover {
    color: var(--color-primary-light) !important;
}

.nav-link.active {
    color: var(--color-white) !important;
    font-weight: 600;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.navbar-toggler i {
    color: white;
}

/* Header weather display */
.temps {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.header_temp {
    font-weight: 600;
    color: var(--color-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
}

.condition-txt {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
}

/* ========================================
   3. BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    background-color: var(--color-primary);
    font-weight: 700;
    border: 1px solid var(--color-primary);
    border-radius: 15px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    color: #ffffff;
    font-size: 12px;
    padding: .5em 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: #000000;
    border: 1px solid var(--color-primary);
    color: #ffffff;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    box-shadow: 0 10px 25px rgba(45, 138, 78, 0.3);
    color: #ffffff;
}

.btn-mallows {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--spacing-sm);
    padding: 10px 20px;
    border-radius: 15px;
}

.btn-mallows:hover {
    background-color: var(--color-primary-light);
    color: var(--color-white);
    text-decoration: none;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    color: white;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.btn-outline-danger {
    border: 2px solid #dc3545;
    font-weight: 600;
    color: #dc3545;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 14px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

/* ========================================
   4. HERO SECTION
   ======================================== */
.hero-section,
.video_vtour {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-container,
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-container video,
.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero overlay gradient */
.hero-overlay,
.video_vtour::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
    padding-top: 120px; /* Account for fixed navbar */
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 200px;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.hero-scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.hero-scroll-indicator:hover i {
    color: rgba(255, 255, 255, 1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Page Hero (Internal Pages) */
.page-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0;
    margin-top: -90px;
    padding-top: 120px;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-breadcrumb a:hover {
    color: var(--color-primary-light);
}

.hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 35vh;
        padding-top: 100px;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }
}

.banner-card {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}

.banner_title {
    max-width: 700px;
}

.banner_title h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner_title h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cc-p {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-cc-p:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* ========================================
   5. GLASS CARD EFFECT
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   6. CONTENT SECTIONS
   ======================================== */
.content {
    position: relative;
    z-index: 1;
    background: transparent;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.content_block {
    margin: var(--spacing-xl) 0;
}

.content_area {
    padding: var(--spacing-md);
}

.content_area h2 {
    color: var(--color-white);
}

.content_area p {
    color: rgba(255, 255, 255, 0.8);
}

/* Section backgrounds */
section {
    scroll-margin-top: 80px;
}

/* Horizontal rules */
hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* ========================================
   7. HOME TOUR SECTION
   ======================================== */
.home_tour_main {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.home_tour_main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home_tour_main:hover img {
    transform: scale(1.05);
}

.home_tour_main .content_sec {
    margin: auto;
    position: absolute;
    padding-top: 0px;
    padding-left: var(--spacing-lg);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
}

.home_tour_main .content_sec_in {
    color: var(--color-white);
}

.home_tour_main .content_sec_in h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.home_tour_main .content_sec_in p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

/* ========================================
   8. CARDS
   ======================================== */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: none;
    margin-bottom: var(--spacing-lg);
    min-height: 160px;
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.card-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.card-link {
    color: var(--color-primary);
}

.card-link:hover {
    color: var(--color-primary-light);
}

/* Card Images */
.card img {
    object-fit: cover;
    border-radius: var(--radius-md);
    width: 100%;
    height: 200px;
}

.card-img-top {
    object-fit: cover;
    width: 100%;
    height: 250px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Safety List */
.safety-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.safety-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.safety-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Tour Cards */
.tour-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.tour-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.05);
}

.tour-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.tour-card-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: var(--spacing-xl);
}

.tour-card-content h3 {
    color: var(--color-white);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.tour-card-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

/* ========================================
   8B. SHIPWRECK CARDS
   ======================================== */
.shipwreck-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shipwreck-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.shipwreck-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shipwreck-card:hover .shipwreck-card-image img {
    transform: scale(1.05);
}

.shipwreck-number {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.shipwreck-card-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shipwreck-card-content h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.shipwreck-type {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
}

.shipwreck-card-buttons {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.shipwreck-card-buttons .btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
}

/* Legend marker indicator */
.legend-marker {
    background-color: var(--color-secondary);
    border: 2px solid var(--color-white);
}

/* ========================================
   8C. ECOLOGY CARDS
   ======================================== */
.ecology-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ecology-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ecology-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ecology-card:hover .ecology-card-image img {
    transform: scale(1.05);
}

.ecology-number {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ecology-media-icons {
    position: absolute;
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-xs);
}

.ecology-media-icons i {
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    padding: 6px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.ecology-card-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ecology-card-content h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.ecology-excerpt {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.ecology-card-buttons {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.ecology-card-buttons .btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
}

/* ========================================
   9. MAP & MAPBOX STYLES
   ======================================== */
#map {
    width: 100%;
    height: 500px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mapboxgl-canvas {
    cursor: grab;
}

.mapboxgl-canvas:active {
    cursor: grabbing;
}

/* Mapbox Markers */
.mapboxgl-marker {
    cursor: pointer !important;
    z-index: 10 !important;
}

.mapboxgl-marker,
.marker {
    cursor: pointer;
    opacity: 1;
    background-color: var(--color-yellow);
    border-radius: var(--radius-full);
    width: 15px;
    height: 15px;
    border: 2px solid var(--color-white);
}

/* Numbered markers for shipwrecks and POIs */
.marker {
    width: 38px;
    height: 38px;
    background-color: var(--color-secondary);
    border: 3px solid var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    z-index: 10 !important;
    position: relative;
}

.marker:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 20 !important;
}

.mapboxgl-marker.shipwreck-marker {
    background-color: var(--color-water);
}

.mapboxgl-marker.ecology-marker {
    background-color: var(--color-secondary);
}

/* Mapbox Popups */
.mapboxgl-popup {
    max-width: 300px;
    z-index: 100 !important;
}

/* Fade effect only for route hover popups */
.mapboxgl-popup.route-popup {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mapboxgl-popup.route-popup.fade-in {
    opacity: 1;
}

.mapboxgl-popup-content {
    position: relative;
    background: var(--color-dark-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm);
    pointer-events: auto;
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

/* Popup with image tooltip - minimal padding */
.mapboxgl-popup-content:has(.tooltip-thumb) {
    padding: 0;
    overflow: hidden;
}

.mapboxgl-popup-content strong {
    color: var(--color-primary-light);
    font-weight: 600;
}

.mapboxgl-popup-content h3 {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: bold;
    padding-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.mapboxgl-popup-content img {
    position: relative;
    object-fit: cover;
    width: 100%;
    height: 80px;
    border-radius: var(--radius-sm);
}

.mapboxgl-popup-content a {
    text-decoration: none;
    cursor: pointer;
    color: var(--color-primary);
}

.mapboxgl-popup-close-button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--color-white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    z-index: 10;
}

.mapboxgl-popup-close-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.mapboxgl-popup-tip {
    display: none;
}

/* Marker popup tooltip content */
.mapboxgl-popup-content .link {
    display: block;
    position: relative;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.mapboxgl-popup-content .tooltip-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin: 0;
}

.mapboxgl-popup-content .text-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-sm);
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Map Controls */
.zoom-level-reset-custom-btn {
    position: absolute;
    top: 2%;
    left: 1%;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.zoom-level-reset-custom-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   10. WATER TRAILS & LEGEND
   ======================================== */
.dot {
    height: 20px;
    width: 20px;
    margin-right: 3px;
    border-radius: var(--radius-full);
    display: inline-block;
}

.dot.dot-lg {
    height: 50px;
    width: 50px;
}

.dot.dot-md {
    height: 30px;
    width: 30px;
}

.line {
    height: 15px;
    width: 20px;
    margin-right: 3px;
    display: inline-block;
    background-color: var(--color-water);
}

.tr_led,
.tr_ship,
.tr_water {
    font-size: 14px;
    text-transform: uppercase;
    padding: 2px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.tr_led a,
.tr_ship a,
.tr_water a {
    color: rgba(255, 255, 255, 0.8);
}

.tr_led a:hover,
.tr_ship a:hover,
.tr_water a:hover {
    color: var(--color-primary-light);
}

/* Map Legend - New Style */
.map-legend {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-legend-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.map-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.tr_ship .line {
    background-color: var(--color-water);
    height: 20px;
    width: 20px;
    border-radius: var(--radius-full);
}

.tr_water .line {
    background-color: #FF6400;
    height: 20px;
    width: 20px;
    border-radius: var(--radius-full);
}

/* ========================================
   11. WATER DATA SECTION
   ======================================== */
.water_data_holder {
    position: relative;
    width: 100%;
    overflow-x: auto;
}

#chart_container2 {
    font-size: 12px;
    min-width: 700px;
    background: transparent;
}

#tides,
#chart_water {
    width: 100%;
    height: 300px;
}

/* Weather Data Cards */
.air-temp-txt,
.water-txt,
.water-level-txt {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primary);
}

.day1-temp {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.condition-txt {
    color: rgba(255, 255, 255, 0.8);
}

.next-tide-txt,
.pressure-txt,
.wind-txt,
.gusting-txt,
.water-temp-txt {
    margin-bottom: var(--spacing-xs);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Data Sources Logos */
.data-sources-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
}

.data-sources-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
}

.data-sources-logos a:hover {
    transform: scale(1.1);
    opacity: 1;
}

.data-sources-logos img {
    height: 72px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Weather data grid */
.weather-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (max-width: 576px) {
    .weather-data-grid {
        grid-template-columns: 1fr;
    }

    .data-sources-logos {
        gap: 1.5rem;
    }

    .data-sources-logos img {
        height: 40px;
    }
}

/* ========================================
   12. FOOTER
   ======================================== */
.footer {
    background: linear-gradient(
        180deg,
        rgba(20, 35, 30, 1) 0%,
        rgba(10, 20, 18, 1) 50%,
        rgba(5, 10, 8, 1) 100%
    );
    border-top: 1px solid rgba(45, 138, 78, 0.3);
    color: white;
    margin-top: 0;
    padding: 3rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(45, 138, 78, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 100%, rgba(6, 141, 191, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer h3,
.footer h4,
.footer h5 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--color-primary-light);
}

.footer .btn-mallows {
    background-color: var(--color-primary);
}

.footer .btn-mallows:hover {
    background-color: var(--color-primary-light);
}

.lightbluebox {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Links */
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary-light);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--color-primary-light);
}

/* Social Links */
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.hover-primary:hover {
    color: var(--color-primary-light) !important;
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ========================================
   13. TABLES
   ======================================== */
.table {
    width: 100%;
    margin-bottom: var(--spacing-lg);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.table th {
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: bold;
    padding: var(--spacing-sm);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.table td {
    padding: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-primary {
    background-color: rgba(45, 138, 78, 0.2) !important;
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ========================================
   14. FORMS
   ======================================== */
.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: var(--spacing-sm);
    font-size: 14px;
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: white;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 138, 78, 0.25);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-label {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   15. MODALS
   ======================================== */
.modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-header .modal-title {
    color: white;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    color: rgba(255, 255, 255, 0.8);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   16. UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }
.text-capitalize { text-transform: capitalize; }
.font-italic { font-style: italic; }
.font-bold { font-weight: bold; }

.text-white { color: #ffffff !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-muted { color: rgba(255, 255, 255, 0.6) !important; }
.text-warning { color: #ffc107 !important; }
.text-danger { color: #dc3545 !important; }

.bg-dark { background-color: #000000 !important; }
.bg-transparent { background-color: transparent !important; }

.img-fluid {
    max-width: 100%;
    height: auto;
}

.d-none { display: none; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

.px-1 { padding-left: var(--spacing-xs); padding-right: var(--spacing-xs); }
.px-2 { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
.px-3 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-4 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.px-5 { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }

.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }

/* ========================================
   17. MISCELLANEOUS
   ======================================== */
.feedback_button {
    position: fixed;
    bottom: 150px;
    right: 20px;
    z-index: 1000;
}

.feedback_button .btn {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.feedback_button .btn:hover {
    background: var(--color-primary-light);
}

/* Emergency */
.emergency-phone {
    color: #ff4444 !important;
    font-size: 18px !important;
}

/* Error Message */
.error-message {
    color: #ff4444;
}

/* Color Dots */
.dot-water { background-color: #068dbf; }
.dot-ecology { background-color: #FF6400; }

/* Highcharts */
.highcharts-background {
    fill: transparent;
}

.highcharts-legend { display: none; }
.highcharts-credits { display: none; }

/* ========================================
   18. OBSERVATION SECTION
   ======================================== */
.obs-popup {
    width: 100%;
    height: 100%;
    padding: var(--spacing-xs);
}

.obs-popup img {
    max-height: 100px;
    max-width: 100px;
    float: left;
    object-fit: cover;
}

.popups-content {
    height: 100%;
    margin-left: 110px;
    padding-left: var(--spacing-xs);
}

.popups-title {
    font-weight: bold;
    display: block;
    font-size: 16px;
    color: var(--color-white);
    width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    font-family: var(--font-primary);
}

.popups-taxon {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-primary);
    font-size: 14px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.popups-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* ========================================
   19. ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

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

/* ========================================
   20. RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }

    .banner_title h1 {
        font-size: 2.5rem;
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: var(--radius-md);
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem;
    }

    .banner_title h1 {
        font-size: 2rem;
    }

    .banner_title h2 {
        font-size: 1rem;
    }

    .hero-section,
    .video_vtour {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-buttons .btn {
        min-width: 100%;
    }

    #map {
        height: 400px;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }

    .btn-lg {
        width: 100%;
    }

    .footer h5 {
        margin-top: 2rem;
    }

    .footer h5:first-child {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .card-body {
        padding: var(--spacing-md);
    }

    #map {
        height: 350px;
    }

    .home_tour_main .content_sec {
        padding-left: var(--spacing-md);
    }

    .home_tour_main .content_sec_in h2 {
        font-size: 1.25rem;
    }
}

/* ========================================
   21. PRINT STYLES
   ======================================== */
@media print {
    body {
        background: white;
        color: black;
        padding-top: 0;
    }

    .no-print,
    .navbar,
    .feedback_button {
        display: none;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .card {
        border: 1px solid black;
        box-shadow: none;
        background: white;
    }

    h1, h2, h3, h4, p {
        color: black;
    }
}

/* ========================================
   22. HOTSPOT DETAIL PAGE STYLES
   ======================================== */

/* Gallery Thumbnails */
.gallery-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
    opacity: 0.8;
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--color-primary);
}

/* Video Thumbnails */
.video-thumbnail {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    opacity: 0.8;
}

.video-thumbnail.active {
    opacity: 1;
    border-color: var(--color-primary);
}

/* Carousel Caption Styling */
.carousel-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Hotspot Map Marker */
.hotspot-marker {
    width: 40px !important;
    height: 40px !important;
    background-color: var(--color-secondary) !important;
    border: 3px solid var(--color-white) !important;
    border-radius: var(--radius-full) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hotspot-marker i {
    color: var(--color-white);
    font-size: 18px;
}

.hotspot-popup {
    padding: var(--spacing-sm);
    text-align: center;
}

.hotspot-popup strong {
    color: var(--color-dark);
    font-size: 14px;
}

/* Hotspot popup close button */
#maphot .mapboxgl-popup-close-button {
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-full);
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    right: 5px;
    top: 5px;
    padding: 0;
}

#maphot .mapboxgl-popup-close-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Audio Player Styling */
.audio-icon {
    width: 50px;
    height: 50px;
    background: rgba(45, 138, 78, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

audio::-webkit-media-controls-panel {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Location Map on Hotspot Detail */
#maphot {
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* ========================================
   23. HIKING TRAIL CARDS
   ======================================== */
.hiking-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hiking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hiking-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hiking-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hiking-card:hover .hiking-card-image img {
    transform: scale(1.05);
}

.hiking-trail-color {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.hiking-number {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.hiking-card-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hiking-card-content h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.hiking-excerpt {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.hiking-card-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Form select dark styling */
.form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 0 0.25rem rgba(45, 138, 78, 0.25);
}

.form-select option {
    background-color: var(--color-dark-light);
    color: var(--color-white);
}

/* ========================================
   24. HIGHLIGHT CARDS (Trail Hotspots)
   ======================================== */
.highlight-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.highlight-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.highlight-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-card-image img {
    transform: scale(1.05);
}

.highlight-number {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background-color: var(--color-secondary);
    color: var(--color-white);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.highlight-media-icons {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-xs);
}

.highlight-media-icons i {
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    padding: 6px;
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.highlight-card-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.highlight-card-content h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.highlight-excerpt {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.highlight-card-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Trail Color Indicator in Hero */
.trail-color-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.trail-color-dot {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-white);
}

/* Map container wrapper */
.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Map container for hiking pages */
#newmap,
#postmap,
#map > div:first-of-type {
    height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Remove double border radius when inside container */
.map-container #newmap,
.map-container #postmap {
    border-radius: 0;
}

/* ========================================
   Partner Page Styles
   ======================================== */

/* Shorter page hero variant for partners */
.page-hero-short {
    min-height: 30vh;
}

@media (max-width: 768px) {
    .page-hero-short {
        min-height: 25vh;
    }
}

/* Partner Cards */
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: var(--radius-md);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    padding: var(--spacing-sm);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo img {
    transform: scale(1.05);
}

.partner-name {
    color: var(--color-dark);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    margin-top: var(--spacing-sm);
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: var(--color-primary);
}
