
/* PUPPY LEAFLET INTERACTIVE IMAGE */

.puppy-leaflet-map {
    position: relative;
    width: 100%;
    max-width: 1214px;
    margin: 0 auto;
    line-height: 0;
    overflow: hidden;
}

.puppy-leaflet-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    margin: 0 auto;
    filter: drop-shadow(9px 11px 10px rgba(55, 45, 30, 0.25));
}

/* PUPPY LEAFLET VIDEO OVERLAY — SLIGHTLY EXTENDED DOWNWARD */

.puppy-leaflet-video {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: calc(100% + 4px);
    object-fit: fill;
    object-position: center;
    z-index: 2;
    pointer-events: none;
}
/* STATIC TRANSPARENT CLOUDS OVERLAY */

.puppy-leaflet-clouds {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 3;
    pointer-events: none;
}
/* PUPPY GUIDE OUTER SHADOW */

.puppy-leaflet-wrapper {
    width: 100%;
    max-width: 1214px;
    margin: 0 auto;
    filter: drop-shadow(7px 10px 14px rgba(45, 35, 20, 0.35));
}
/* LEAFLET LINKS */

.puppy-leaflet-link {
    position: absolute;
    display: block;
    box-sizing: border-box;
    z-index: 4;

    border: 2px solid #59351f;
    border-radius: 5px;
    background: rgba(89, 53, 31, 0.035);

    box-shadow:
        0 0 0 1px rgba(184, 134, 11, 0.4),
        0 0 6px rgba(89, 53, 31, 0.4),
        inset 0 0 4px rgba(89, 53, 31, 0.15);

    animation: puppy-leaflet-pulse 1.7s ease-in-out infinite;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    line-height: normal;
    -webkit-tap-highlight-color: transparent;
}

/* DESKTOP PULSE */

@keyframes puppy-leaflet-pulse {
    0%, 100% {
        border-color: #59351f;
        box-shadow:
            0 0 0 1px rgba(184, 134, 11, 0.35),
            0 0 5px rgba(89, 53, 31, 0.35),
            inset 0 0 3px rgba(89, 53, 31, 0.12);
    }

    50% {
        border-color: #b8860b;
        box-shadow:
            0 0 0 2px rgba(184, 134, 11, 0.8),
            0 0 12px rgba(89, 53, 31, 0.65),
            inset 0 0 6px rgba(89, 53, 31, 0.22);
    }
}

/* HOVER AND KEYBOARD FOCUS */

.puppy-leaflet-link:hover,
.puppy-leaflet-link:focus-visible {
    border-color: #b8860b;
    background: rgba(184, 134, 11, 0.1);
    box-shadow:
        0 0 0 2px rgba(184, 134, 11, 0.85),
        0 0 15px rgba(89, 53, 31, 0.7),
        inset 0 0 6px rgba(89, 53, 31, 0.2);

    animation: none;
    outline: none;
}

/* ACTIVE LINK */

.puppy-leaflet-link:active {
    border-color: #c18b32;
    background: rgba(184, 134, 11, 0.18);
    box-shadow:
        0 0 0 3px rgba(184, 134, 11, 0.9),
        0 0 18px rgba(89, 53, 31, 0.8),
        inset 0 0 7px rgba(89, 53, 31, 0.25);
}

/* LEAFLET POSITIONS */

/* FIRST LEAFLET */

.puppy-leaflet-1 {
    left: 58%;
    top: 11%;
    width: 11%;
    height: 15%;
    transform: rotate(-9deg);
    transform-origin: center center;
}

/* SECOND LEAFLET */

.puppy-leaflet-2 {
    left: 71%;
    top: 10%;
    width: 11%;
    height: 16%;
    transform: rotate(-5deg);
    transform-origin: center center;
}

/* THIRD LEAFLET */

.puppy-leaflet-3 {
    left: 85%;
    top: 11%;
    width: 11%;
    height: 16%;
    transform: rotate(1deg);
    transform-origin: center center;
}

/* FOURTH LEAFLET */

.puppy-leaflet-4 {
    left: 67%;
    top: 42%;
    width: 11%;
    height: 14%;
    transform: rotate(-6deg);
    transform-origin: center center;
}

/* FIFTH LEAFLET */

.puppy-leaflet-5 {
    left: 82%;
    top: 42%;
    width: 11%;
    height: 14%;
    transform: rotate(6deg);
    transform-origin: center center;
}

/* MOBILE SETTINGS */

@media (max-width: 600px) {

    .puppy-leaflet-link {
        border-width: 1px;
        border-radius: 4px;
        animation: puppy-leaflet-pulse-mobile 1.45s ease-in-out infinite;
    }

    .puppy-leaflet-link:hover,
    .puppy-leaflet-link:focus-visible {
        animation: none;
    }

    /* STRONGER PULSE FOR SMALL SCREENS */

    @keyframes puppy-leaflet-pulse-mobile {
        0%, 100% {
            border-color: #59351f;
            box-shadow:
                0 0 0 1px rgba(184, 134, 11, 0.55),
                0 0 5px rgba(89, 53, 31, 0.45),
                inset 0 0 3px rgba(89, 53, 31, 0.15);
        }

        50% {
            border-color: #c18b32;
            box-shadow:
                0 0 0 2px rgba(184, 134, 11, 0.95),
                0 0 13px rgba(89, 53, 31, 0.8),
                inset 0 0 6px rgba(89, 53, 31, 0.25);
        }
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .puppy-leaflet-link {
        animation: none;
        border-color: #9b672e;
        box-shadow:
            0 0 0 2px rgba(184, 134, 11, 0.7),
            0 0 6px rgba(89, 53, 31, 0.45);
    }
}


/* INTERACTIVE GUIDES NAVIGATION CONTAINER */

.interactive-guides-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 5px 0;
    width: 100%;
    margin: 24px auto;
    padding: 10px 8px;
    box-sizing: border-box;
    font-family: Georgia, serif;
    text-align: left;
}

/* INTERACTIVE GUIDES NAVIGATION HEADING */

.interactive-guides-heading {
    display: block;
    width: 100%;
    margin: 0 12px 8px;
    color: #5f6433;
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.6px;
    line-height: 1.5;
    text-align: left;
}

/* INTERACTIVE GUIDES NAVIGATION LINKS */

.interactive-guides-nav .guide-nav-link {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 5px;
    color: #5f6433;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    letter-spacing: normal;
    transition: 0.3s;
}

/* SUBTLE HOVER EFFECT */

.interactive-guides-nav .guide-nav-link:hover {
    color: #b89b5e;
    background-color: #ebe8dc;
}

/* CURRENT GUIDE */

.interactive-guides-nav .guide-nav-link.is-current {
    background-color: #e4e6d8;
    color: #4e5833;
    font-weight: bold;
}

.interactive-guides-nav .guide-nav-link.is-current:hover {
    background-color: #dce0cd;
    color: #b89b5e;
}

/* GOLD VERTICAL DIVIDERS */

.interactive-guides-nav .guide-nav-divider {
    display: inline-block;
    flex: 0 0 1px;
    width: 1px;
    height: 21px;
    margin: 0 2px;
    background-color: #b89b5e;
}

/* MOBILE LAYOUT FOR INTERACTIVE GUIDES NAVIGATION */

@media (max-width: 600px) {

    .interactive-guides-nav {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 4px;
        text-align: left;
    }

    .interactive-guides-nav .interactive-guides-heading {
        display: block;
        margin: 0 12px 8px;
        color: #5f6433;
        font-family: Georgia, serif;
        font-size: 12px;
        font-weight: bold;
        letter-spacing: 0.6px;
        line-height: 1.5;
        text-align: left;
    }

    .interactive-guides-nav .guide-nav-link {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        font-size: 14px;
        line-height: 1.4;
        letter-spacing: normal;
        text-align: left;
        border-radius: 4px;
    }

    .interactive-guides-nav .guide-nav-link.is-current {
        background-color: #e4e6d8;
        color: #4e5833;
        font-weight: bold;
    }

    .interactive-guides-nav .guide-nav-divider {
        display: block;
        flex: none;
        width: 100%;
        height: 1px;
        margin: 2px 0;
        background-color: #b89b5e;
    }
}
