/* PROGENY COLLAGE */

/* COLLAGE */

.progeny-collage {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: visible;

    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.22),
        0 12px 20px rgba(0, 0, 0, 0.16),
        0 4px 8px rgba(0, 0, 0, 0.10);
}

.progeny-collage img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
}


/* PULSE ANIMATION FOR REMAINING HOTSPOTS */

@keyframes progenyPulse {
    0%, 100% {
        opacity: 0.65;
        transform: scale(0.88);
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}




/* SOFT FLOATING LABEL */

.history-close-label {
    position: relative;

    opacity: 0;

    padding: 7px 4px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-style: italic;
    letter-spacing: 0.3px;

    color: #4a4a4a;
    white-space: nowrap;

    pointer-events: none;
    transform: translateX(12px);

    text-shadow:
        0 1px 2px rgba(255, 255, 255, 1),
        0 0 7px rgba(255, 255, 255, 0.95),
        0 0 16px rgba(170, 170, 170, 0.75),
        0 0 28px rgba(130, 130, 130, 0.45);

    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}


/* ATMOSPHERIC GLOW BEHIND THE LABEL */

.history-close-label::before {
    content: "";
    position: absolute;

    top: 50%;
    left: 50%;

    width: 125%;
    height: 170%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        ellipse,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(225, 225, 225, 0.55) 35%,
        rgba(180, 180, 180, 0.22) 60%,
        rgba(150, 150, 150, 0) 78%
    );

    filter: blur(8px);

    z-index: -1;
}


/* RETURN LINK HOVER */

.history-close:hover .history-close-icon,
.history-close:focus .history-close-icon {
    color: #292929;
    transform: scale(1.12);

    text-shadow:
        0 1px 2px rgba(255, 255, 255, 1),
        0 0 8px rgba(255, 255, 255, 1),
        0 0 16px rgba(195, 195, 195, 1),
        0 0 30px rgba(120, 120, 120, 0.85);
}

.history-close:hover .history-close-label,
.history-close:focus .history-close-label {
    opacity: 1;
    transform: translateX(0);
}


/* PROGENY HINT */

.progeny-hint {
    margin: 0 auto 18px;
    padding: 0 20px;
    box-sizing: border-box;

    text-align: center;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.4;

    color: #5a5a5a;
}


/* PROGENY TEXT LINKS */

.progeny-children-link,
.progeny-litter-a-link,
.progeny-litter-e-link,
.progeny-litter-u-link,
.progeny-puppies-link {
    position: absolute;
    transform: translate(-50%, -50%);

    display: block;
    width: max-content;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.3;

    color: #4d3020;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;

    text-shadow:
        0 0 2px #fffdf5,
        0 0 5px #fffdf5,
        0 0 9px rgba(77, 48, 32, 0.85),
        0 0 17px rgba(77, 48, 32, 0.65),
        0 0 28px rgba(77, 48, 32, 0.45);

    opacity: 0.85;
    animation: progenyLinkPulse 2.6s ease-in-out infinite;

    z-index: 10;
    cursor: pointer;

    transition:
        color 0.25s ease,
        opacity 0.25s ease,
        text-shadow 0.25s ease;
}


/* LINK POSITIONS */

.progeny-children-link {
    left: 50%;
    top: 37%;
}

.progeny-litter-a-link {
    left: 80%;
    top: 61%;
}

.progeny-litter-e-link {
    left: 25%;
    top: 61%;
}

.progeny-litter-u-link {
    left: 40%;
    top: 15%;
}

/* Puppies link replaces the former estate orb */

.progeny-puppies-link {
    left: 50%;
    top: 57%;
}


/* PROGENY LINK PULSE */

@keyframes progenyLinkPulse {
    0%, 100% {
        opacity: 0.78;
        transform: translate(-50%, -50%) scale(0.92);

        text-shadow:
            0 0 2px #fffdf5,
            0 0 5px #fffdf5,
            0 0 9px rgba(77, 48, 32, 0.75),
            0 0 17px rgba(77, 48, 32, 0.55),
            0 0 27px rgba(77, 48, 32, 0.35);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.10);

        text-shadow:
            0 0 2px #fffdf5,
            0 0 6px #fffdf5,
            0 0 12px rgba(77, 48, 32, 1),
            0 0 23px rgba(77, 48, 32, 0.9),
            0 0 36px rgba(77, 48, 32, 0.7),
            0 0 48px rgba(77, 48, 32, 0.45);
    }
}


/* PROGENY LINK HOVER */

.progeny-children-link:hover,
.progeny-children-link:focus-visible,
.progeny-litter-a-link:hover,
.progeny-litter-a-link:focus-visible,
.progeny-litter-e-link:hover,
.progeny-litter-e-link:focus-visible,
.progeny-litter-u-link:hover,
.progeny-litter-u-link:focus-visible,
.progeny-puppies-link:hover,
.progeny-puppies-link:focus-visible {
    color: #fffdf5;
    opacity: 1;

    text-shadow:
        0 0 2px #4d3020,
        0 0 6px #4d3020,
        0 0 13px rgba(77, 48, 32, 1),
        0 0 24px rgba(77, 48, 32, 0.98),
        0 0 38px rgba(77, 48, 32, 0.85),
        0 0 52px rgba(77, 48, 32, 0.65);

    animation: none;
}


/* STORY BELOW THE COLLAGE */

.progeny-history-text {
    position: relative;
    box-sizing: border-box;

    width: 100%;
    max-width: 900px;
    margin: 38px auto 0;
    padding: 26px 30px 24px;

    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
    color: #4a4a4a;

    background: #f6f3ee;
    border-top: 1px solid rgba(184, 155, 94, 0.55);
    border-bottom: 1px solid rgba(184, 155, 94, 0.35);
}

.progeny-history-text h2 {
    margin: 0 0 18px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.3;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 1px;

    color: #5a4218;
}

.progeny-history-text p {
    margin: 0 0 14px;

    font-size: 17px;
    line-height: 1.7;
    font-weight: normal;
    color: #4a4a4a;
}

.progeny-history-text .progeny-history-final {
    margin: 20px 0 0;

    font-size: 17px;
    line-height: 1.5;
    font-weight: bold;
    font-style: italic;

    color: #b8860b;

    text-shadow:
        0 0 2px rgba(255, 255, 255, 0.95),
        0 0 7px rgba(212, 175, 55, 0.35);
}


/* MOBILE */

@media (max-width: 700px) {

    /* RETURN LINK */

    .history-close {
        top: 8px;
        right: 8px;
        gap: 8px;
    }

    .history-close-label {
        display: block;

        padding: 5px 3px;

        font-size: 11px;
        letter-spacing: 0;

        opacity: 1;
        transform: none;

        white-space: nowrap;
    }


    /* PROGENY TEXT LINKS */

    .progeny-children-link,
    .progeny-litter-a-link,
    .progeny-litter-e-link,
    .progeny-litter-u-link,
    .progeny-puppies-link {
        font-size: 13px;
    }


    /* STORY BELOW THE COLLAGE */

    .progeny-history-text {
        margin-top: 24px;
        padding: 20px 16px 18px;
    }

    .progeny-history-text h2 {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .progeny-history-text p {
        margin-bottom: 12px;
        font-size: 15px;
        line-height: 1.6;
    }

    .progeny-history-text .progeny-history-final {
        margin-top: 16px;
        font-size: 15px;
    }
}

/* Visually hidden heading for accessibility and SEO */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* Interactive guide to the history of VLANTI DELIMAR */

.guide-navigation {
    width: 100%;
    margin: 22px auto 26px;
    padding: 0;
    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
}

.guide-navigation-title {
    margin: 0 0 12px;
    padding: 0;
    color: #8b7952;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.3px;
    text-align: center;
}

.guide-navigation ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 12px 10px;
    list-style: none;
}

.guide-navigation li {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.guide-navigation .guide-nav-diamond {
    display: inline-block;
    flex: 0 0 auto;
    color: #b89b5e;
    font-size: 10px;
    line-height: 1;
}

.guide-navigation a {
    color: #5f6433;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.guide-navigation a:hover {
    color: #b89b5e;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .guide-navigation ul {
        flex-wrap: wrap;
        gap: 8px 16px;
    }
}
