body {
    background-color: #83C0CF;
}

/*navbar styling*/

.brand {
    font-family: Lato, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #4F6A6E;
}

.custom-navbar {
    background-color:#D2C0A7; 
    color: #fff;
    padding: 0.75rem 1rem;
}

.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
    color: #fff;
    font-weight: 600;
}

.custom-navbar .nav-link:hover {
    color:  #83C0CF;
    text-decoration: underline;
}

.custom-navbar .navbar-toggler {
    border-color:  #83C0CF;
}


.navbar-toggler .fa-bars {
    font-size: 1.4rem;
    color: #fff;
}

/*branding */

.d-o {
    color: #098D8A;
}

.thin {
    font-weight: 300;
}

.light-bg {
    background-color: #fff;
}

.dark-bg {
    background-color: #445261;
}

.main-bg {
    background-color: rgba(113, 169, 183, 1)
}

.card {
    border: none;
    background-color: transparent;
}

.image-container {
    position: relative;
}

.image-flash {
    position: absolute;
    bottom: 5%;
    min-width: 30%;
    left: -2px;
    background-color: #188181;
}

.scale {
    width: 100%;
    height: auto;
}

.author {
    color: white;
    margin: 4px;
    text-transform: uppercase;
}

/*post-detail.html*/
.masthead {
    margin-top: 10px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    height: 33vh;
    width: 100%;
}

.masthead-text {
    background-color: #D2C0A7;
    color: white;
    position: relative;
}

.masthead-image {
    position: relative;
    overflow: hidden;
}

.masthead-image:after {
    content: "";
    position: absolute;
    top: 0;
    right: 90%;
    height: 100%;
    width: 150%;
    background:  #D2C0A7;
    -webkit-transform: skew(15deg);
    -moz-transform: skew(15deg);
    transform: skew(15deg);
    z-index: 100;
}

.post-link {
    text-decoration: none;
    color: #fff;
}

.post-link:hover,
.page-link {
    color: #098D8A;
}

.post-title {
    margin-top: 10%;
    margin-left: 5%;
}

.post-subtitle {
    margin-left: 5%;
    color: #098D8A;
    font-weight: 600;
}

.btn-signup,
.btn-edit {
    background-color: #188181;
    color: #fff;
}

.btn-signup:hover,
.btn-signup:active {
    background-color: #fff;
    color: #23BBBB;
}

.link {
    color: #23BBBB;
    text-decoration: none;
}

.link:hover,
.link:active {
    color: #445261;
    text-decoration: underline;
}

.btn-like {
    color: #E84610;
    border: none;
    background: transparent;
}

.btn-delete {
    color: #fff;
    background: #E84610;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    background: #2E7D32;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-directions:hover,
.btn-directions:active {
    background: #1B5E20;
    color: #fff;
    text-decoration: none;
}

.btn-like:hover,
.btn-like:active {
    color: #E84610;
    background: transparent;
    border: none;
}

.faded {
    color: rgb(172, 175, 175);
}

.approval {
    color: rgb(222, 146, 168);
}

/*filter bar styling*/
.btn-filter {
    background-color: #098D8A;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-filter:hover {
    background-color: #067170;
    color: #fff;
}

.btn-reset {
    background-color: #D2C0A7;
    color: #333;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-left: 0.5rem;
}

.btn-reset:hover {
    background-color: #c4b199;
    color: #222;
}

.filter-bar {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.filter-bar label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #445261;
    margin-bottom: 0.25rem;
}

.filter-bar .form-control,
.filter-bar .form-select {
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
}

.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
    border-color: #098D8A;
    box-shadow: 0 0 0 0.2rem rgba(9, 141, 138, 0.15);
}

.filter-bar .form-check-input:checked {
    background-color: #098D8A;
    border-color: #098D8A;
}

.filter-toggle-btn {
    background-color: #098D8A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: none;
}

.filter-toggle-btn:hover,
.filter-toggle-btn:focus {
    background-color: #067170;
    color: #fff;
}

.more-filters-toggle {
    background: none;
    border: none;
    color: #098D8A;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.4rem 0;
}

.more-filters-toggle:hover {
    color: #067170;
    text-decoration: underline;
}

/* Alerts / Messages */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #098D8A;
}

.alert-success {
    background-color: #098D8A;
    color: #fff;
}

.alert-info {
    background-color: #83C0CF;
    color: #fff;
}

.alert-warning {
    background-color: #D2C0A7;
    color: #222;
}

.alert-danger {
    background-color: #E84610;
    color: #fff;
}

.btn-close {
    color: #fff;
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

/*tag badge styling*/
.tag-box {
    display: inline-block;
    background-color: #D2C0A7;
    color: #fff;
    padding: 0.4rem 0.8rem;
    margin: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.tag-box:hover {
    background-color: #098D8A;
    color: #fff;
    text-decoration: none;
}

.tag-box a {
    color: #fff;
    text-decoration: none;
}

.tag-box a:hover {
    color: #fff;
    text-decoration: none;
}

.tag-badge {
    display: inline-block;
    background-color: #098D8A;
    color: #fff;
    padding: 0.3rem 0.7rem;
    margin: 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 2rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tag-badge:hover {
    background-color: #067170;
    color: #fff;
    text-decoration: none;
}

/*hike card styles*/
.hike-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hike-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hike-card .card-img-top {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 0;
}

.hike-card .card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hike-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #445261;
    margin-bottom: 0.4rem;
}

.hike-card .card-title a {
    color: #445261;
    text-decoration: none;
}

.hike-card .card-title a:hover {
    color: #098D8A;
}

.hike-card .card-text {
    font-size: 0.9rem;
    color: #666;
    flex: 1;
}

.hike-card .card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.hike-card .card-meta i {
    color: #098D8A;
    margin-right: 0.2rem;
}

.hike-card .card-footer {
    background-color: transparent;
    border-top: 1px solid #eee;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hike-card .county-label {
    font-size: 0.8rem;
    color: #098D8A;
    font-weight: 600;
    text-decoration: none;
}

.hike-card .county-label:hover {
    text-decoration: underline;
}

.hike-card .btn-details {
    background-color: #098D8A;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.hike-card .btn-details:hover {
    background-color: #067170;
    color: #fff;
}

.hike-card .vimeo-icon {
    color: #1ab7ea;
    font-size: 1rem;
}

/*difficulty badges*/
.badge-difficulty {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-easy {
    background-color: #28a745;
    color: #fff;
}

.badge-moderate {
    background-color: #fd7e14;
    color: #fff;
}

.badge-hard {
    background-color: #dc3545;
    color: #fff;
}

/*home listing page*/
.hike-listing-wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/*hike detail page*/
.hike-detail-wrap {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hike-hero {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.hike-hero img {
    width: 100%;
    height: 320px;
    max-height: 320px;
    object-fit: cover;
}

.hike-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 2rem 1.5rem 1rem;
    color: #fff;
}

.hike-hero-overlay h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hike-breadcrumb {
    font-size: 0.9rem;
}

.hike-breadcrumb a {
    color: #83C0CF;
    text-decoration: none;
}

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

/*info panel*/
.info-panel {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.info-panel .info-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-panel .info-item:last-child {
    border-bottom: none;
}

.info-panel .info-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(9, 141, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.info-panel .info-icon i {
    color: #098D8A;
    font-size: 1rem;
}

.info-panel .info-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    line-height: 1.2;
}

.info-panel .info-value {
    font-size: 0.95rem;
    color: #445261;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.3;
}

.info-panel .info-bool {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #666;
}

.info-panel .info-bool .fa-check-circle {
    color: #28a745;
}

.info-panel .info-bool .fa-times-circle {
    color: #dc3545;
}

/*photo gallery*/
.photo-gallery {
    margin-bottom: 1.5rem;
}

.photo-gallery .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.photo-gallery .gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-gallery .gallery-item img:hover {
    transform: scale(1.05);
}

.photo-gallery .gallery-caption {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    padding: 0.4rem;
}

/*hike description*/
.hike-description {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #445261;
}

.hike-description h2,
.hike-description h3 {
    color: #445261;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/*Google Maps prominent button*/
.btn-gmaps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: #1a73e8;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-gmaps:hover,
.btn-gmaps:active {
    background: #1558b0;
    color: #fff;
    text-decoration: none;
}

.hike-location-panel {
    text-align: center;
}

/*references section*/
.references-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.references-section h5 {
    color: #445261;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.references-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.references-list li {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 0.3rem;
    word-break: break-all;
}

.references-list li a {
    color: #888;
    text-decoration: none;
}

.references-list li a:hover {
    color: #098D8A;
    text-decoration: underline;
}

/*video embed*/
.video-embed {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.video-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/*related hikes*/
.related-hikes {
    margin-top: 2rem;
}

.related-hikes h3 {
    color: #445261;
    font-weight: 700;
    margin-bottom: 1rem;
}

/*county grid cards*/
.county-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.county-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.county-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.county-card .county-card-body {
    padding: 1rem;
}

.county-card .county-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #445261;
    margin-bottom: 0.4rem;
}

.county-card .county-card-body h3 a {
    color: #445261;
    text-decoration: none;
}

.county-card .county-card-body h3 a:hover {
    color: #098D8A;
}

.county-card .county-card-body p {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.county-card .hike-count {
    font-size: 0.8rem;
    color: #098D8A;
    font-weight: 600;
}

/*category page styling*/
.category-header {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.category-header h1 {
    color: #445261;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-header p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.category-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.category-card .category-card-body {
    padding: 1rem;
}

.category-card .category-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #445261;
}

.category-card .category-card-body h3 a {
    color: #445261;
    text-decoration: none;
}

.category-card .category-card-body h3 a:hover {
    color: #098D8A;
}

.category-card .category-card-body p {
    font-size: 0.88rem;
    color: #666;
}

/*seo page headers*/
.seo-page-header {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.seo-page-header h1 {
    color: #445261;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.seo-page-header p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

/*results count*/
.results-count {
    font-size: 0.95rem;
    color: #445261;
    font-weight: 600;
    margin-bottom: 1rem;
}

/*comments section*/
.comment-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-top: 1.5rem;
}

.comment-section h3 {
    color: #445261;
    font-weight: 700;
    margin-bottom: 1rem;
}

/*pagination*/
.pagination {
    justify-content: center;
    gap: 0.25rem;
}

.pagination .page-link {
    border-radius: 8px;
    border: none;
    color: #098D8A;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
}

.pagination .page-item.active .page-link {
    background-color: #098D8A;
    color: #fff;
}

.pagination .page-link:hover {
    background-color: rgba(9, 141, 138, 0.1);
    color: #098D8A;
}

/*map view*/
#hike-map {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    margin-bottom: 2rem;
}

/*list/map view toggle*/
.view-toggle-group {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #098D8A;
}

.view-toggle-btn {
    background: #fff;
    color: #098D8A;
    border: none;
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
}

.view-toggle-btn:hover {
    background: rgba(9, 141, 138, 0.12);
}

.view-toggle-btn.active {
    background: #098D8A;
    color: #fff;
}

/*responsive: mobile filter drawer*/
@media (max-width: 991.98px) {
    #hike-map {
        height: 420px;
    }

    .filter-toggle-btn {
        display: inline-block;
        margin-bottom: 1rem;
    }

    .filter-bar {
        display: none;
    }

    .filter-bar.show {
        display: block;
    }

    .hike-hero img {
        height: 220px;
    }

    .hike-hero-overlay h1 {
        font-size: 1.4rem;
    }

    .video-embed iframe {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .county-card img {
        height: 140px;
    }

    .category-card img {
        height: 140px;
    }

    .info-panel {
        padding: 1rem;
    }

    .seo-page-header {
        padding: 1rem 1.25rem;
    }

    .seo-page-header h1 {
        font-size: 1.4rem;
    }

    .hike-description {
        padding: 1rem;
    }

    .photo-gallery .gallery-item img {
        height: 160px;
    }

    .filter-bar {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hike-hero img {
        height: 180px;
    }

    .hike-hero-overlay {
        padding: 1rem;
    }

    .hike-hero-overlay h1 {
        font-size: 1.2rem;
    }

    .video-embed iframe {
        height: 200px;
    }
}

/*auth pages: login & signup*/
.auth-card {
    background-color: #fff;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.auth-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #445261;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.auth-link {
    color: #098D8A;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    color: #067170;
    text-decoration: underline;
}

.auth-field {
    margin-bottom: 1.1rem;
}

.auth-label {
    display: block;
    font-family: Lato, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #445261;
    letter-spacing: 0.3px;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.auth-field input,
.auth-field select {
    display: block;
    width: 100%;
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.auth-field input:focus,
.auth-field select:focus {
    border-color: #098D8A;
    box-shadow: 0 0 0 0.2rem rgba(9, 141, 138, 0.18);
    background-color: #fff;
}

.auth-help {
    font-size: 0.78rem;
    color: #888;
    margin-top: 0.3rem;
}

.auth-error {
    font-size: 0.82rem;
    color: #E84610;
    margin-top: 0.3rem;
    font-weight: 600;
}

.auth-check-field {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    padding: 0.85rem 1rem;
    background-color: rgba(9, 141, 138, 0.06);
    border: 1px solid rgba(9, 141, 138, 0.2);
    border-radius: 8px;
}

.newsletter-checkbox {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    accent-color: #098D8A;
    cursor: pointer;
}

.auth-check-label {
    font-size: 0.88rem;
    color: #445261;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .auth-card {
        padding: 1.5rem 1.1rem;
    }
}
