﻿body {
    margin: 0;
    padding: 0;
    background-color: #F4F2EA
}

#sitelogo {
    background-color: #243D32;
    width: 100%;
    padding: 10px;
}

#hero {
    position: relative;
    container-type: inline-size; /* makes .hero a size container */
}

    #hero img {
        display: block;
        width: 100%;
        height: auto;
    }
/* Body text links */
#hike-body {
    margin-top: 1em;
}
#hike-body a {
    color: #354C43;
    text-decoration: underline;
    text-decoration-color: #D5B36A;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

    /* Hover */
    #hike-body a:hover {
        color: #A17D37;
        text-decoration-color: #A17D37;
    }

    /* Visited */
    #hike-body a:visited {
        color: #243D32;
    }

    /* Keyboard focus */
    #hike-body a:focus-visible {
        outline: 2px solid #A17D37;
        outline-offset: 3px;
    }

.content-block a {
    color: #354C43;
    text-decoration: underline;
    text-decoration-color: #D5B36A;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

    .content-block a:hover {
        color: #A17D37;
        text-decoration-color: #A17D37;
    }

/* Visited */
    .content-block a:visited {
        color: #243D32;
    }

/* Keyboard focus */
    .content-block a:focus-visible {
        outline: 2px solid #A17D37;
        outline-offset: 3px;
    }

h1 {
    color: #243D32;
}

h2, h3 {
    color: #354C43;
}

.walk-highlights h2 {
    display: flex-inline; 
    align-items: center; 
    gap: 0.35em; 
}

    .walk-highlights h2 svg {
        width: 1em;
        height: 1em;
        flex-shrink: 0;
        transform: translateY(-0.05em)
    }

h4 {
    color: #A17D37;
}

h5 {
    color: #52665B;
}

hr {
    border: 0;
    border-top: 1px solid #D5B36A;
    margin: 16px 0;
    opacity: 0.8;
}
/* Hiking information list */
ul.walk-info {
    list-style: none;
    margin: 25px 0;
    padding: 20px;
    background: #F4F2EA;
    border-radius: 8px;
    border-left: 4px solid #D5B36A;
}

    /* Individual items */
    ul.walk-info li {
        margin: 0;
        padding: 12px 15px;
        background: #FFFFFF;
        border-radius: 5px;
        margin-bottom: 8px;
    }

        /* Remove final spacing */
        ul.walk-info li:last-child {
            margin-bottom: 0;
        }

        /* Paragraphs */
        ul.walk-info li p {
            margin: 0;
            line-height: 1.6;
            color: #354C43;
        }

        /* Strong labels */
        ul.walk-info li strong {
            color: #243D32;
            font-weight: 700;
        }

/* Standard article lists */
ul.walk-list,
ol.walk-list {
    margin: 20px 0 25px;
    padding-left: 25px;
    color: #354C43;
    line-height: 1.8;
}

    /* List spacing */
    ul.walk-list li,
    ol.walk-list li {
        padding-left: 6px;
        margin-bottom: 10px;
    }

/* Gold bullet points */
ul.walk-list {
    list-style: none;
    padding-left: 5px;
}

    ul.walk-list li {
        position: relative;
        padding-left: 25px;
    }

        ul.walk-list li::before {
            content: "";
            position: absolute;
            left: 3px;
            top: 12px;
            width: 7px;
            height: 7px;
            background: #D5B36A;
            border-radius: 50%;
        }

/* Ordered list numbering */
ol.walk-list li::marker {
    color: #A17D37;
    font-weight: 700;
}

/* Nested lists */
.walk-list ul,
.walk-list ol {
    margin-top: 8px;
}

/* Highlight panels */
.walk-highlights {
    background: #ffffff;
    border-left: 5px solid #243D32;
    border-radius: 6px;
    padding: 20px 25px;
    margin: 25px 0;
    color: #354C43;
    line-height: 1.7;
}

    /* Highlight headings */
    .walk-highlights h3,
    .walk-highlights h4 {
        color: #A17D37;
        margin-top: 0;
        margin-bottom: 12px;
    }

    /* Highlight paragraphs */
    .walk-highlights p {
        margin: 8px 0;
    }

    /* Highlight lists */
    .walk-highlights ul {
        list-style: none;
        padding-left: 5px;
        margin: 12px 0;
    }

        .walk-highlights ul li {
            position: relative;
            padding-left: 22px;
            margin-bottom: 8px;
        }

            .walk-highlights ul li::before {
                content: "✓";
                position: absolute;
                left: 0;
                color: #A17D37;
                font-weight: 700;
            }



.hero-text {
    position: absolute;
    top: 3em;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    text-align: center;
    overflow-wrap: break-word;
}

    .hero-text h1 {
        margin: 0;
        font-size: clamp(2rem, 8cqw, 5rem);
        color: white;
        -webkit-text-stroke: 2px red;
        paint-order: stroke fill;
    }

    .hero-text p {
        margin: 0.5em 0 0;
        -webkit-text-stroke: 2px red;
        paint-order: stroke fill;
        color: white;
        font-size: clamp(1.1rem, 4cqw, 3rem);
        font-weight: 600;
    }

.content-block {
    display: flow-root; /* Keeps the container from collapsing around the floated image */
}

.responsive-float {
    float: left;
    width: 45%; /* Scales proportionally with the container */
    max-width: 300px; /* Prevents the image from getting too huge on wide screens */
    height: auto;
    margin: 0 24px 16px 0; /* Spacing on the right and bottom */
}




/* Header containing logo and navigation */
#sitelogo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 25px;
}

    /* Logo */
    #sitelogo > a {
        display: block;
        flex-shrink: 0;
    }

    #sitelogo img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    /* Navigation */
    #sitelogo .right-align {
        margin-left: auto;
    }

        #sitelogo .right-align ul {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 25px;
            list-style: none;
            margin: 0;
            padding: 0;
        }

            #sitelogo .right-align ul li {
                margin: 0;
                padding: 0;
            }

                #sitelogo .right-align ul li a {
                    color: #FFFFFF;
                    text-decoration: none;
                    font-weight: 500;
                    transition: color 0.3s ease;
                }

                    #sitelogo .right-align ul li a:hover {
                        color: #D5B36A;
                    }


.video-responsive {
    display: block;
    position: relative;
    width: 100%;
    max-width: 850px;
    aspect-ratio: 16 / 9;
    margin: 1.5rem auto;
    overflow: hidden;
}

    .video-responsive p,
    .video-responsive .umb-embed-holder {
        display: block;
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .video-responsive iframe {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        border: 0;
    }

.youtube-action-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.youtube-like-btn {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

    .youtube-like-btn:hover,
    .youtube-like-btn:focus {
        background-color: transparent;
        color: #ffffff;
        text-decoration: none;
    }

/* Constrain Umbraco's outer embed wrapper as well as the facade */
.umb-embed-holder,
.yt-facade {
    display: block;
    position: relative;
    width: 100%;
    max-width: 680px; /* Adjust this number (e.g., 560px, 640px, 720px) to your preferred size */
    margin: 1.5rem auto;
}

.yt-facade {
    cursor: pointer;
    background-color: #000;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.yt-facade-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease; /* Removed scale zoom */
}

.yt-facade:hover .yt-facade-thumb {
    opacity: 0.9; /* Subtle darken on hover without expanding */
}

.yt-facade-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 68px;
    height: 48px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-facade:hover .yt-facade-play-bg {
    fill: #ff0000;
    fill-opacity: 1;
}

.yt-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.walk-highlights {
    display: flow-root;
}

    .walk-highlights > img {
        float: none !important;
        display: block;
        max-width: 100%;
        height: auto;
        margin: 1rem 0 0.25rem;
    }


/* Main footer */
#sitefooter {
    background-color: #354C43;
    color: #FFFFFF;
    padding: 35px 20px 20px;
    text-align: center;
    width: 100%;
}

    /* Footer navigation */
    #sitefooter .footer-nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 25px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

        #sitefooter .footer-nav ul li {
            margin: 0;
            padding: 0;
        }

            #sitefooter .footer-nav ul li a {
                color: #FFFFFF;
                text-decoration: none;
                font-weight: 500;
                transition: color 0.3s ease;
            }

                #sitefooter .footer-nav ul li a:hover {
                    color: #D5B36A;
                }


.benefits-section {
    background-color: #f3f3f0;
    padding: 3rem 2.5rem;
    margin: 2.5rem 0;
}

.benefits-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1c221d;
    margin: 0 0 2.5rem 0;
    letter-spacing: -0.02em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem 3.5rem;
}

.benefit-card {
    border-top: 3px solid #59358c;
    padding-top: 1.15rem;
}

.benefit-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1c221d;
    margin: 0 0 0.75rem 0;
}

.benefit-card__text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555956;
    margin: 0;
}

@media (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 2.5rem;
    }
}

@media (max-width: 575px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.clear-both {
    clear: both;
}

    /* Footer text */
    #sitefooter .footer-text {
        margin-top: 25px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

        #sitefooter .footer-text p {
            margin: 5px 0;
            color: #FFFFFF;
            font-size: 14px;
            line-height: 1.6;
        }

            #sitefooter .footer-text p:first-child {
                color: #D5B36A;
                font-weight: 500;
            }



footer {
    background-color: #354C43;
    color: white;
    text-align: center;
    padding: 1em 0;
}

@media (max-width: 600px) {
    .responsive-float {
        float: none;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 0 16px 0; /* Removes right margin, keeps bottom spacing */
    }

    #sitelogo {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

        #sitelogo .right-align {
            width: 100%;
            margin-left: 0;
        }

            #sitelogo .right-align ul {
                flex-direction: column;
                align-items: flex-end;
                gap: 12px;
            }

    #sitefooter {
        padding: 25px 15px 15px;
    }

        #sitefooter .footer-nav ul {
            flex-direction: column;
            gap: 15px;
        }

        #sitefooter .footer-text {
            margin-top: 20px;
            padding-top: 15px;
        }

            #sitefooter .footer-text p {
                font-size: 13px;
            }

    ul.walk-info {
        padding: 12px;
    }

        ul.walk-info li {
            padding: 10px;
        }

    
        .walk-highlights {
            padding: 15px 18px;
    }
}
