/*
==================================================================
BLUE DOME COLORADO - OPTIMIZED STYLESHEET
==================================================================
Website: bluedomecolorado.com
Author: Blue Dome LLC
Description: Clean, optimized CSS for Blue Dome LLC website
==================================================================
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover fixed;
    min-height: 100vh;
}

/* Property pages - remove body background */
body.rocky-mountain-chalet,
body.secluded-mountain-chalet,
body.rancho-la-chula,
body.forest-solitude,
body.nederland-mountain-getaway,
body.ned-ridgetop {
    background: #f8f9fa; /* Simple background instead of image */
}

/*
==================================================================
2. CSS CUSTOM PROPERTIES
==================================================================
*/
:root {
    /* Colors */
    --primary: #2d5016;
    --primary-dark: #1e3f73;
    --secondary: #f8f9fa;
    --accent: #e8f4f8;
    --text-dark: #333;
    --text-light: #666;
    --text-muted: #999;
    --white: #ffffff;
    --black: #000000;
    
    /* Shadows */
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Border Radius */
    --radius: 10px;
    --radius-lg: 15px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/*
==================================================================
3. TYPOGRAPHY
==================================================================
*/
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* High contrast text elements */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px var(--black);
    background: rgba(44, 90, 160, 0.95);
    padding: 20px 30px;
    border-radius: var(--radius);
    display: inline-block;
    border: 2px solid var(--white);
}

.page-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px var(--black);
    background: rgba(0,0,0,0.8);
    padding: 15px 25px;
    border-radius: 8px;
    display: block;
    border: 1px solid var(--white);
}

/*
==================================================================
4. LAYOUT & CONTAINERS
==================================================================
*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.page-content {
    padding-top: 50px;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    margin: 10px 20px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}



/* Grid Layouts */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/*
==================================================================
5. NAVIGATION
==================================================================
*/

.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0; /* Change from "padding: 15px 0;" to "padding: 0;" */
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    height: 90px;
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--container-padding);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 40px;
    width: 40px;
    margin-right: 12px;
    border-radius: 6px;
    background: var(--white);
    padding: 3px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 12px 18px;
    border-radius: 5px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
}

.nav-menu a.active {
    background: var(--primary);
}

/*
==================================================================
6. HERO SECTIONS
==================================================================
*/
.hero-header {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    margin-top: 100px;
    max-width: 800px;
    padding: var(--container-padding);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px var(--black);
    color: var(--white);
    background: var(--primary-dark);
    padding: 20px 30px;
    border-radius: var(--radius);
    display: inline-block;
    border: 2px solid var(--white);
    font-family: "Comic Sans MS", cursive;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px var(--black);
    background: rgba(0,0,0,0.8);
    padding: 15px 25px;
    border-radius: 8px;
    display: inline-block;
    color: var(--white);
    border: 1px solid var(--white);
}

.hero-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-bottom: 30px;
    border-radius: 20px;
    background: var(--white);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/*
==================================================================
7. BUTTONS & CALL-TO-ACTION
==================================================================
*/
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.cta-button.primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button.outline:hover {
    background: var(--primary);
    color: var(--white);
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/*
==================================================================
8. CARDS & CONTENT SECTIONS
==================================================================
*/
.services-section {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.95);
    margin: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card.detailed {
    text-align: left;
}

.service-card.detailed h3 {
    text-align: center;
}

.service-price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
    margin: 15px 0;
    text-align: center;
}

.service-features {
    text-align: left;
    margin: 20px 0;
    color: var(--text-light);
    padding-left: 20px;
}

.service-features li {
    margin-bottom: 8px;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    background: var(--white);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.payment-method {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    text-align: center;
    padding: 10px;
    background: rgba(44, 90, 160, 0.1);
    border-radius: 8px;
}

/* Contact Section */
.contact-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-section h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.contact-section p {
    margin-bottom: 25px;
    color: var(--text-light);
}

/*
==================================================================
9. PROPERTY-SPECIFIC STYLES
==================================================================
*/
.property-card {
    position: relative;
    background: var(--white);
}

.property-specs {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    color: var(--text-light);
}

.spec {
    font-size: 0.9rem;
    font-weight: 500;
}

.amenity-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-tag {
    background: #e9ecef;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Property Page Hero */
.property-hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                var(--hero-bg-image) center/cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    color: var(--white);
    margin-top: 0; /* Remove margin-top since breadcrumb handles spacing */
    padding: 20px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.property-hero .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.property-hero .hero-content h1 {
    align-self: flex-end;
    font-size: 2.0rem;
    margin-right: -75%;
    margin-top: 0;
    display: block;
}

.property-hero .hero-content p {
    align-self: flex-start;
    font-size: 1.0rem;
    margin-bottom: 0;
}

/* Property page background images */
body.nederland-mountain-getaway { --hero-bg-image: url('images/properties/nederland-mountain-getaway/Nederland Mountain Getaway.webp'); }
body.secluded-mountain-chalet { --hero-bg-image: url('images/properties/secluded-chalet/Secluded Chalet.webp'); }
body.rancho-la-chula { --hero-bg-image: url('images/properties/rancho-la-chula/RanchoLaChula1.webp'); }
body.forest-solitude { --hero-bg-image: url('images/properties/forest-solitude/Forest Solitude.webp'); }
body.rocky-mountain-chalet { --hero-bg-image: url('images/properties/rocky-mountain-chalet/Rocky Mountain Chalet.webp'); }
body.ned-ridgetop { --hero-bg-image: url('images/properties/ned-ridgetop/Ned Ridgetop.webp'); }



/* Specific background position adjustment for Secluded Mountain Chalet */
body.secluded-mountain-chalet .property-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                var(--hero-bg-image) center 25%/cover;
}

/* Specific background position adjustment for Nederland Mountain Getaway */
body.nederland-mountain-getaway .property-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                var(--hero-bg-image) center 40%/cover;
}

/* Property Details */
.property-details {
    padding: 80px 0;
    background: var(--white);
}

.property-info {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.property-info h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.property-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.property-details .property-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.property-details .spec {
    text-align: center;
    padding: 15px 10px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.spec-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.spec-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.property-description {
    margin: 40px 0;
}

.property-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.property-description p:first-child {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Amenities */
.amenities-section {
    margin: 50px 0;
}

.amenities-section h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}


.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.amenity {
    background: linear-gradient(135deg, var(--accent) 0%, #f0f8ff 100%);
    padding: 18px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid rgba(44, 90, 160, 0.1);
}

/* Reviews */
.property-reviews {
    padding: 80px 0;
    background: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 25px;
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
}

.review-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    padding-top: 20px;
}

.review-rating .star {
    color: #ffc107;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-author {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Video Tour */
.video-tour {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.video-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-container video {
    width: 100%;
    height: 600px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: var(--black);
    transition: transform 0.3s ease;
}

.video-controls {
    margin-top: 15px;
    text-align: center;
}

.fullscreen-button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

.fullscreen-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.4);
}

/* Booking */
.booking-section {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.booking-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.booking-section p {
    color: var(--white);
    margin-bottom: 20px;
}

.booking-cta {
    background: var(--white);
    color: var(--primary) !important;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 20px;
    transition: var(--transition);
}

.booking-cta:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
    text-decoration: none;
    color: var(--primary) !important;
}

/*
==================================================================
10. INTERACTIVE MAP
==================================================================
*/
.map-section {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 50px;
    box-shadow: var(--shadow);
}

.map-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

#property-map {
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.map-container {
    background: #e9ecef;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

/* Map styling */
.custom-map-icon {
    background: transparent;
    border: none;
}

.map-pin {
    background: var(--primary);
    color: var(--white);
    border-radius: 50% 50% 50% 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transform: rotate(-45deg);
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.map-pin::before {
    content: '';
    transform: rotate(45deg);
}

.fixed-label,
.property-label,
.clickable-label,
.smart-label {
    background: rgba(44, 90, 160, 0.9) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 4px 8px !important;
    font-weight: bold !important;
    font-size: 0.8rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    transition: none !important;
    animation: none !important;
}

/* Enhanced popup */
.custom-popup-container .leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 0;
}

.enhanced-popup {
    text-align: center;
    padding: 15px;
    min-width: 200px;
}

.enhanced-popup h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.popup-image-container {
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.popup-thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.popup-thumbnail:hover {
    transform: scale(1.05);
}

.popup-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 10px 0;
    line-height: 1.4;
}

.popup-buttons {
    margin-top: 10px;
}

.popup-button {
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.popup-button:hover {
    background: var(--primary-dark);
    text-decoration: none;
    color: var(--white);
}

/*
==================================================================
11. DIRECTORY & VENUE PAGES
==================================================================
*/
/* Header */
.header {
    text-align: center;
    padding: 10px 0;
    border-bottom: 3px solid var(--primary);
    margin-bottom: 5px;
}

.header h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

/* Category */
.category {
    margin-bottom: 40px;
}

.category-title {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 15px 25px;
    margin: 30px 0 20px 0;
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

/* Business/Venue Cards */
.business,
.venue {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-left: 4px solid var(--primary);
}

.business:hover,
.venue:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.business-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
    border: 2px solid #e0e0e0;
}

.business-content,
.venue-content {
    flex: 1;
}

.business-name,
.venue-name {
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.business-details,
.venue-details {
    margin-left: 10px;
}

.business-details div,
.venue-details div {
    margin-bottom: 5px;
}

.label {
    font-weight: bold;
    display: inline-block;
    width: 80px;
    color: var(--text-dark);
}

.website-link,
.venue-link {
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
    font-weight: 500;
}

.website-link:hover,
.venue-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.location-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.location-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.phone-number {
    color: var(--text-dark);
    font-weight: 500;
}

.location-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
}

/* Directory Cards */
.directory-card {
    background: var(--white);
}

.directory-list {
    text-align: left;
    margin: 20px 0;
    color: var(--text-light);
    padding-left: 20px;
}

.directory-list li {
    margin-bottom: 8px;
    list-style-type: disc;
}

/*
==================================================================
12. LOCAL INFO RESOURCES - TAB SYSTEM
==================================================================
*/
.tab-container {
    margin: 40px 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 0;
    margin: 0;
    border-bottom: 3px solid var(--primary-dark);
}

.tab-button {
    flex: 1;
    background: none;
    border: none;
    padding: 20px 15px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-height: 100px;
    font-family: inherit;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
    background: var(--white);
    color: var(--primary);
    font-weight: bold;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

.tab-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 5px;
}

.tab-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
}

.tab-description {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.1;
    font-weight: 400;
}

.tab-button.active .tab-description {
    opacity: 1;
}

.tab-content {
    background: var(--white);
}

.tab-panel {
    display: none;
    padding: 40px 30px;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
    display: block;
}

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

.tab-panel-content h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.tab-panel-content > p {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0 40px 0;
}

.feature-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-item h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.tab-action {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.tab-action .cta-button {
    font-size: 1.2rem;
    padding: 18px 40px;
    margin-bottom: 10px;
}

.tab-action-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.additional-resources {
    margin: 60px 0 40px 0;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.additional-resources h2 {
    color: var(--primary);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-item {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid #dee2e6;
    transition: var(--transition);
}

.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.resource-item h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.resource-item p {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}

.resource-link {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.resource-link:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: var(--white);
    text-decoration: none;
}

/*
==================================================================
13. ABOUT PAGE
==================================================================
*/
.about-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 63, 115, 0.7);
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px var(--black);
}

.about-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
    color: var(--white);
    text-shadow: 2px 2px 4px var(--black);
}

.about-main {
    padding-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    margin: 0 20px 20px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-section {
    padding: 10px 0;
}

.about-section:nth-child(even) {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.reid-profile {
    display: grid;
    grid-template-columns: 350px 1fr;
    grid-template-rows: auto auto;
    gap: 5px;
    align-items: start;
}

.reid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    grid-column: 1;
    grid-row: 1;
}

.reid-info h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    grid-column: 2;
    grid-row: 1 / 3;
}

.reid-location {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 5px;
    font-style: italic;
}

.reid-description {
    margin-bottom: 5px;
    grid-column: 1;
    grid-row: 2;
    text-align: center;
}

.morning-location {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.reid-credentials {
    margin-bottom: 40px;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.credential-icon {
    font-size: 2rem;
    margin-right: 20px;
    margin-top: 5px;
}

.credential-text h3 {
    font-size: 1.3rem;
    font-family: "Comic Sans MS", cursive;
    color: #09629c;
    margin-bottom: 5px;
}

.credential-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.reid-contact {
    background: #09629c;
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
}

.reid-contact h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.company-section {
    background: var(--white);
}

.company-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.service-highlight {
    padding: 30px;
    background: #f8f9fa;
    border-radius: var(--radius);
    text-align: center;
    border-left: 4px solid var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-highlight h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-highlight p {
    color: var(--text-light);
    line-height: 1.6;
}

.community-section {
    background: #f8f9fa;
}

.community-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
    line-height: 1.7;
}

.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.area-item {
    padding: 30px 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.area-item:hover {
    transform: translateY(-3px);
}

.area-item h4 {
    color: #005ce6;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.area-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-cta {
    background: var(--white);
    padding: 80px 0;
    text-align: center;
    margin: 0 20px 20px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-cta h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-cta p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/*
==================================================================
14. FOOTER
==================================================================
*/
.footer {
    background: #333;
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #3399ff;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 5px;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-about-link {
    display: inline-block;
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    margin: 15px 0;
    transition: background 0.3s ease;
    border: 2px solid var(--white);
}

.footer-about-link:hover {
    background: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-2px);
}

/*
==================================================================
15. RESPONSIVE DESIGN
==================================================================
*/
@media (max-width: 768px) {
    :root {
        --container-padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        padding: 15px 20px;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        padding: 12px 16px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .property-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .property-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .reid-profile {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .services-overview {
        grid-template-columns: 1fr;
    }
    
    .service-areas {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo img {
        height: 32px;
        width: 32px;
        margin-right: 10px;
        padding: 2px;
    }
    
    .about-main,
    .page-content,
    .about-cta {
        margin: 10px;
    }
    
    #property-map {
        height: 400px;
    }

    .business,
    .venue {
        flex-direction: column;
        text-align: center;
    }
    
    .business-image {
        width: 80px;
        height: 80px;
        align-self: center;
    }
    
    .business-details,
    .venue-details {
        margin-left: 0;
    }

    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-button {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        min-height: 70px;
        gap: 15px;
        text-align: left;
        padding: 20px 25px;
    }
    
    .tab-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .tab-content-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .tab-text {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .tab-description {
        font-size: 0.8rem;
    }
    
    .tab-panel {
        padding: 30px 20px;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .video-container video {
        border-radius: 10px;
    }
    
    .fullscreen-button {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        padding: 10px 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 8px 12px;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .property-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .property-specs {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .service-card,
    .credential-item,
    .service-highlight {
        padding: 20px;
    }
    
    .reid-contact {
        padding: 20px;
    }
    
    #property-map {
        height: 350px;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .reid-info h2 {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
        padding: 12px 20px;
    }
    
    .business,
    .venue {
        padding: 15px;
    }
    
    .business-name,
    .venue-name {
        font-size: 1.2rem;
    }

    .tab-button {
        min-height: 60px;
        padding: 15px 20px;
        gap: 10px;
    }
    
    .tab-icon {
        font-size: 1.3rem;
    }
    
    .tab-text {
        font-size: 1rem;
    }
    
    .tab-description {
        font-size: 0.75rem;
    }
    
    .tab-panel {
        padding: 25px 15px;
    }
    
    .tab-panel-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .resource-item {
        padding: 20px;
    }
    
    .additional-resources {
        margin: 40px 0 30px 0;
        padding: 30px 20px;
    }
}

/*
==================================================================
16. ACCESSIBILITY & PERFORMANCE
==================================================================
*/
@media (prefers-contrast: high) {
    :root {
        --primary: #000080;
        --text-dark: var(--black);
        --text-light: #333;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-logo:hover,
    .service-card:hover,
    .cta-button:hover,
    .area-item:hover {
        transform: none;
    }
}

.cta-button:focus,
.popup-button:focus,
.service-card:focus,
.footer-about-link:focus,
.booking-cta:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/*
==================================================================
17. PRINT STYLES
==================================================================
*/
@media print {
    .navigation,
    .cta-button,
    .footer,
    #property-map {
        display: none;
    }
    
    .hero-header,
    .about-hero,
    .property-hero {
        height: auto;
        background: var(--white);
        color: var(--text-dark);
    }
    
    .hero-content h1,
    .hero-content p,
    .about-hero h1,
    .about-hero .hero-subtitle,
    .property-hero .hero-content h1,
    .property-hero .hero-content p {
        color: var(--text-dark);
        text-shadow: none;
        background: transparent;
        display: block;
    }
    
    .service-card,
    .credential-item {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    body,
    .page-content,
    .about-main {
        background: var(--white);
    }
}

/*
==================================================================
18. TRAILHEADS PAGE SPECIFIC STYLES
==================================================================
*/

/* Trailheads Instructions */
.trailhead-instructions {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: var(--radius);
    margin: 30px 0;
    text-align: center;
    border-left: 4px solid var(--primary);
}

.trailhead-instructions p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Trailheads Map Container */
#trailheads-map {
    height: 600px;
    border-radius: var(--radius);
    overflow: hidden;
    z-index: 1;
    position: relative;
    box-shadow: var(--shadow-lg);
}

/* Trail Safety Section */
.trail-safety-section {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin: 40px 0;
}

.trail-safety-section h3 {
    color: var(--primary);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Custom Trailhead Map Icons */
.trailhead-icon {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiker-pin {
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 3px solid var(--white);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.hiker-pin:hover {
    transform: scale(1.1);
}

/* Trailhead Map Tooltips */
.trailhead-tooltip {
    background: rgba(44, 90, 160, 0.95) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3) !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.trailhead-tooltip:hover {
    background: rgba(30, 63, 115, 0.95) !important;
    transform: translateY(-2px) !important;
}

/* Enhanced Trailhead Popup */
.trailhead-popup-container .leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
    padding: 0 !important;
    max-width: 280px !important;
}

.enhanced-trailhead-popup {
    text-align: center;
    padding: 20px;
    min-width: 200px;
}

.enhanced-trailhead-popup h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
}

.trailhead-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 15px 0;
    line-height: 1.5;
}

.trailhead-buttons {
    margin-top: 15px;
}

.trailhead-button {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
}

.trailhead-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
    text-decoration: none;
    color: var(--white);
}

/* Map Loading Indicator */
#trailheads-loading {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

#trailheads-loading p {
    color: var(--primary);
    font-weight: bold;
    margin: 0;
    font-size: 1.1rem;
}

/* Map Controls Enhancement */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.leaflet-control-zoom a {
    background: var(--white) !important;
    border: 1px solid #ccc !important;
    color: var(--primary) !important;
    font-weight: bold !important;
}

.leaflet-control-zoom a:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* Mobile Responsiveness for Trailheads */
@media (max-width: 768px) {
    #trailheads-map {
        height: 500px;
    }
    
    .trailhead-instructions {
        padding: 20px;
        margin: 20px 0;
    }
    
    .trailhead-instructions p {
        font-size: 1rem;
    }
    
    .trail-safety-section {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .trail-safety-section h3 {
        font-size: 1.7rem;
    }
    
    .hiker-pin {
        width: 30px;
        height: 30px;
        font-size: 14px;
        border: 2px solid var(--white);
    }
    
    .trailhead-tooltip {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }
    
    .enhanced-trailhead-popup {
        padding: 15px;
    }
    
    .enhanced-trailhead-popup h4 {
        font-size: 1.1rem;
    }
    
    .trailhead-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    #trailheads-map {
        height: 400px;
    }
    
    .trailhead-instructions {
        padding: 15px;
    }
    
    .trail-safety-section {
        padding: 25px 15px;
    }
    
    .enhanced-trailhead-popup {
        padding: 12px;
    }
    
    .trailhead-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/*
==================================================================
19. BUSINESS DIRECTORY MAP - COMPACT SINGLE ROW LEGEND
==================================================================
*/

/* Business Map Instructions */
.business-map-instructions {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: var(--radius);
    margin: 30px 0;
    text-align: center;
    border-left: 4px solid var(--primary);
}

.business-map-instructions p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Business Directory Map Container */
#business-directory-map {
    height: 600px;
    border-radius: var(--radius);
    overflow: hidden;
    z-index: 1;
    position: relative;
    box-shadow: var(--shadow-lg);
}

/* COMPACT SINGLE-ROW LEGEND STYLES - NO DUPLICATES */
.map-legend-section {
    background: var(--white);
    padding: 5px 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 5px 0;
    overflow: visible !important;
    position: relative;
}

.map-legend-section h3 {
    color: var(--primary);
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1px;
}

.legend-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
    margin: 5px 0;
    flex-wrap: nowrap;
    overflow: visible !important;
    /* ADD THESE TWO LINES: */
    padding-top: 10px;
    padding-bottom: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 2px;
    height: 28px;
    padding: 4px 6px;
    background: #f8f9fa;
    border-radius: 50%;
    border: 1px solid var(--primary);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.legend-item:hover {
    transform: scale(1.05);
    background: var(--primary);
    border-color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

.legend-item.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(44, 90, 160, 0.4);
}

.legend-item.active .legend-icon,
.legend-item:hover .legend-icon {
    color: white;
}

.legend-icon {
    font-size: 1rem;
    transition: color 0.2s ease;
}

/* Tooltip on hover */
.legend-item:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
}

.legend-item:hover::before {
    content: '';
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0,0,0,0.95);
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

@keyframes fadeInTooltip {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Custom Business Map Icons */
.business-category-icon {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-pin {
    transition: transform 0.2s ease;
}

.category-pin:hover {
    transform: scale(1.1);
}

/* Business Map Tooltips */
.business-tooltip {
    background: rgba(44, 90, 160, 0.95) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3) !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
    transition: all 0.2s ease !important;
}

.business-tooltip:hover {
    background: rgba(30, 63, 115, 0.95) !important;
    transform: translateY(-2px) !important;
}

/* Map Loading Indicator */
#business-map-loading {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

#business-map-loading p {
    color: var(--primary);
    font-weight: bold;
    margin: 0;
    font-size: 1.1rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #business-directory-map {
        height: 500px;
    }
    
    .business-map-instructions {
        padding: 20px;
        margin: 20px 0;
    }
    
    .business-map-instructions p {
        font-size: 1rem;
    }
    
    .map-legend-section {
        padding: 8px 12px;
        margin: 12px 0;
    }
    
    .map-legend-section h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .legend-grid {
        gap: 0px;
        margin: 3px 0;
    }
    
    .legend-item {
        min-width: 26px;
        height: 26px;
        padding: 3px 5px;
    }
    
    .legend-icon {
        font-size: 0.9rem;
    }
    
    .category-pin {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
    
    .business-tooltip {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }
}

@media (max-width: 480px) {
    #business-directory-map {
        height: 400px;
    }
    
    .business-map-instructions {
        padding: 15px;
    }
    
    .legend-grid {
        gap: 0px;
        justify-content: center;
    }
    
    .legend-item {
        min-width: 24px;
        height: 24px;
        padding: 2px 4px;
    }
    
    .legend-icon {
        font-size: 0.8rem;
    }
    
    .category-pin {
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }
}


/*
==================================================================
20. BREADCRUMBS
==================================================================
*/


/* Override spacing for pages with breadcrumbs */
.breadcrumb + .page-content {
    margin-top: 10px;
}



/* Breadcrumb styles */

.breadcrumb {
    background: var(--primary-dark);
    color: white;
    padding: 5px 5px; /* Reduced top margin to 10px, removed bottom margin */
    margin: 90px 0px 0px 0px; /* Reduced top margin, removed bottom margin */
    border: 300px #2596be; /* Reduced border thickness */
    border-radius: 0px;
    font-size: 0.9rem;
    z-index: 999;
    position: relative;
    width: calc(100%); /* Better width calculation */
    display: block;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--primary-light);          /* ADD THIS FOR CURRENT PAGE */
}

/*
==================================================================
21. CONCISE INTERNAL LINKING STYLES -
==================================================================
*/

/* Compact Transportation Notice */
.transport-link {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
    font-size: 0.95rem;
}

.transport-link a {
    color: #e8f4f8;
    text-decoration: underline;
    font-weight: 600;
}

.transport-link a:hover {
    color: white;
    text-decoration: none;
}

/* Compact Related Properties */
.related-compact {
    background: #f8f9fa;
    padding: 25px;
    margin: 40px 0;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.related-compact h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.related-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.related-link:hover {
    background: var(--accent);
    border-color: var(--primary);
    text-decoration: none;
    color: var(--primary);
    transform: translateY(-2px);
}

.related-link .link-icon {
    margin-right: 8px;
    font-size: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .navigation {
        display: none !important;
    }
    
    .transport-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .related-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .related-link {
        padding: 10px 12px;
    }
}

.tesla-icon::before {
    content: "🚗";
    filter: grayscale(100%) brightness(0);
}



