﻿/* ============================================
   MEMORIAL.CSS - MEMORIAL SPECIFIC STYLES
   "I Am Everywhere" - Alicia Mae Foundation
   Cosmic Universe Theme
   ============================================ */

/* ===== NAVIGATION ===== */
.memorial-nav {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 126, 200, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(139, 126, 200, 0.3);
    padding: 12px 25px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

    .memorial-nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(139, 126, 200, 0.1), transparent );
        animation: nav-shimmer 3s ease-in-out infinite;
    }

@keyframes nav-shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.memorial-nav-brand {
    font-family: 'Georgia', serif;
    font-size: 28px;
    color: var(--nebula-soft);
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    text-shadow: 0 0 10px rgba(139, 126, 200, 0.5);
}

    .memorial-nav-brand::before {
        content: '🌟';
        display: inline-block;
        font-size: 35px;
        animation: star-rotate 8s linear infinite;
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    }

@keyframes star-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.memorial-nav-brand:hover {
    color: var(--cosmic-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: scale(1.02);
}

.memorial-nav-items .nav-link {
    font-family: 'Georgia', serif;
    font-size: 18px;
    color: var(--starlight);
    margin-left: 15px;
    padding: 8px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

    .memorial-nav-items .nav-link .nav-icon {
        margin-right: 8px;
        font-size: 20px;
    }

    .memorial-nav-items .nav-link:hover {
        background: rgba(139, 126, 200, 0.2);
        color: var(--nebula-soft);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(139, 126, 200, 0.3);
    }

/* Navbar toggler */
.navbar-toggler {
    border: 2px solid var(--nebula-purple);
    border-radius: 12px;
    background: rgba(139, 126, 200, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%238b7ec8' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ===== FOOTER ===== */
.nav-footer {
    background: rgba(26, 31, 58, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(139, 126, 200, 0.2);
    padding: 60px 20px;
    margin-top: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .nav-footer::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient( circle, rgba(139, 126, 200, 0.05) 0%, transparent 70% );
        animation: footer-cosmic-drift 20s infinite ease-in-out;
        z-index: 0;
    }

@keyframes footer-cosmic-drift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(15px, 15px) rotate(180deg);
    }
}

.nav-footer-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-message-container {
    margin-bottom: 40px;
}

.footer-message {
    font-size: 22px;
    color: var(--nebula-soft);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.footer-tagline {
    font-size: 18px;
    color: var(--cosmic-pink);
    font-style: italic;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.divider-star {
    font-size: 16px;
    color: var(--cosmic-gold);
    opacity: 0.8;
}

.divider-line {
    flex: 1;
    max-width: 400px;
    height: 1px;
    background: linear-gradient( to right, transparent, rgba(139, 126, 200, 0.5), transparent );
}

.footer-cosmos {
    font-size: 32px;
    margin: 40px 0;
    opacity: 0.6;
}

.footer-foundation-info {
    margin: 40px 0;
}

.foundation-name {
    font-size: 20px;
    color: var(--nebula-lavender);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.foundation-tagline {
    font-size: 16px;
    color: var(--starlight);
    font-style: italic;
    margin-bottom: 12px;
    opacity: 0.9;
}

.foundation-dates {
    font-size: 17px;
    color: var(--cosmic-gold);
    font-weight: 500;
}

.footer-divider-small {
    margin: 30px auto;
    width: 200px;
}

.divider-line-small {
    display: block;
    height: 1px;
    background: linear-gradient( to right, transparent, rgba(139, 126, 200, 0.4), transparent );
}

.footer-copyright {
    margin-top: 30px;
}

    .footer-copyright p {
        font-size: 14px;
        color: var(--nebula-purple);
        margin: 10px 0;
        opacity: 0.8;
    }

.footer-memorial-note {
    font-style: italic;
    color: var(--nebula-lavender);
    margin-top: 15px;
}

.memorial-icon {
    margin: 0 8px;
    font-size: 16px;
}

/* ===== MEMORIAL CONTAINER ===== */
.memorial-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    flex: 1;
}

.memorial-content {
    max-width: 900px;
    width: 100%;
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 126, 200, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 126, 200, 0.3);
}

    .memorial-content::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient( circle, rgba(139, 126, 200, 0.15) 0%, transparent 60% );
        animation: content-aurora 25s infinite ease-in-out;
        z-index: 0;
    }

@keyframes content-aurora {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }

    33% {
        transform: translate(15%, 10%) rotate(120deg);
        opacity: 0.6;
    }

    66% {
        transform: translate(-10%, 15%) rotate(240deg);
        opacity: 0.5;
    }
}

.memorial-content > * {
    position: relative;
    z-index: 1;
}

/* ===== STARS & CELESTIAL ELEMENTS ===== */
.stars {
    font-size: 50px;
    color: var(--cosmic-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: stars-twinkle 3s infinite;
}

@keyframes stars-twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

/* ===== MEMORIAL HEADINGS ===== */
.memorial-content h1 {
    font-size: 52px;
    color: var(--nebula-soft);
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(139, 126, 200, 0.6);
    font-family: 'Fredoka', 'Comic Neue', cursive, sans-serif;
}

.subtitle {
    font-size: 24px;
    color: var(--nebula-lavender);
    margin-bottom: 30px;
    font-style: italic;
    text-shadow: 0 0 10px rgba(139, 126, 200, 0.4);
    font-family: 'Fredoka', 'Comic Neue', cursive, sans-serif;
    font-weight: 400;
}

/* ===== PHOTO FRAME ===== */
.photo-frame {
    width: 220px;
    height: 220px;
    margin: 30px auto;
    border-radius: 50%;
    border: 4px solid var(--nebula-purple);
    background: var(--gradient-nebula);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(139, 126, 200, 0.4), 0 0 60px rgba(139, 126, 200, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

    .photo-frame::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient( from 0deg, transparent, rgba(139, 126, 200, 0.3), transparent, rgba(139, 126, 200, 0.3), transparent );
        animation: frame-rotate 6s linear infinite;
    }

@keyframes frame-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* ===== MESSAGE BLOCKS ===== */
.message {
    font-size: 18px;
    line-height: 1.8;
    color: var(--starlight);
    margin: 30px 0;
    padding: 0 20px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    font-family: 'Fredoka', 'Comic Neue', cursive, sans-serif;
    font-weight: 400;
}

/* ===== QUOTE BLOCKS ===== */
.quote {
    font-size: 22px;
    color: var(--cosmic-gold);
    font-style: italic;
    margin: 35px 0;
    padding: 25px;
    background: rgba(139, 126, 200, 0.1);
    border-radius: 15px;
    font-weight: 500;
    position: relative;
    border: 2px solid rgba(139, 126, 200, 0.3);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    font-family: 'Fredoka', 'Comic Neue', cursive, sans-serif;
}

    .quote::before {
        content: '"';
        position: absolute;
        top: -20px;
        left: 20px;
        font-size: 80px;
        color: var(--nebula-purple);
        opacity: 0.3;
    }

    .quote::after {
        content: '"';
        position: absolute;
        bottom: -50px;
        right: 20px;
        font-size: 80px;
        color: var(--nebula-purple);
        opacity: 0.3;
    }

/* ===== COSMIC SYMBOLS ===== */
.animals {
    font-size: 50px;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.animal {
    display: inline-block;
    animation: cosmic-float 4s ease-in-out infinite;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(139, 126, 200, 0.5));
}

.elephant {
    animation-delay: 0s;
}

.bear {
    animation-delay: 2s;
}

@keyframes cosmic-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-15px) rotate(5deg);
    }

    66% {
        transform: translateY(-8px) rotate(-5deg);
    }
}

/* ===== DIVIDERS ===== */
.divider {
    margin: 30px auto;
    width: 60%;
    height: 2px;
    background: linear-gradient( to right, transparent, var(--nebula-purple), var(--cosmic-cyan), var(--nebula-purple), transparent );
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(139, 126, 200, 0.3);
}

/* ===== FOOTER MESSAGE ===== */
.footer {
    margin-top: 40px;
    font-size: 16px;
    color: var(--nebula-lavender);
    font-style: italic;
    font-family: 'Fredoka', 'Comic Neue', cursive, sans-serif;
    font-weight: 400;
}

.heart {
    color: var(--cosmic-pink);
    font-size: 24px;
    margin: 0 5px;
    display: inline-block;
    animation: heart-pulse 2s infinite;
    filter: drop-shadow(0 0 8px rgba(255, 158, 201, 0.6));
}

@keyframes heart-pulse {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }
}

/* ===== FLOATING ACTION BUTTON ===== */
.donation-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--gradient-nebula);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(139, 126, 200, 0.6), 0 0 40px rgba(139, 126, 200, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    border: 3px solid rgba(255, 255, 255, 0.2);
    animation: fab-glow 3s ease-in-out infinite;
}

@keyframes fab-glow {
    0%, 100% {
        box-shadow: 0 6px 30px rgba(139, 126, 200, 0.6), 0 0 40px rgba(139, 126, 200, 0.3);
    }

    50% {
        box-shadow: 0 8px 40px rgba(139, 126, 200, 0.8), 0 0 60px rgba(139, 126, 200, 0.5);
    }
}

.donation-fab:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 10px 40px rgba(139, 126, 200, 0.8), 0 0 60px rgba(139, 126, 200, 0.6);
}

.donation-fab:active {
    transform: scale(1.05) translateY(-1px);
}

.donation-fab-icon {
    font-size: 32px;
    animation: heart-pulse 2s infinite;
}

.donation-fab-tooltip {
    position: absolute;
    right: 85px;
    background: rgba(26, 31, 58, 0.95);
    color: var(--starlight);
    padding: 10px 16px;
    border-radius: 20px;
    font-family: 'Georgia', serif;
    font-size: 15px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 126, 200, 0.3);
}

.donation-fab:hover .donation-fab-tooltip {
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .memorial-nav {
        margin-bottom: 30px;
        padding: 10px 15px;
    }

    .memorial-nav-brand {
        font-size: 20px;
        letter-spacing: 1px;
    }

        .memorial-nav-brand::before {
            font-size: 28px;
        }

    .navbar-collapse {
        text-align: center;
    }

    .memorial-nav-items {
        margin-top: 15px;
    }

        .memorial-nav-items .nav-item {
            display: block;
            width: 100%;
        }

        .memorial-nav-items .nav-link {
            font-size: 16px;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 8px;
            padding: 10px 12px;
            justify-content: center;
            display: inline-flex;
            width: fit-content;
        }

            .memorial-nav-items .nav-link .nav-icon {
                font-size: 18px;
                margin-right: 6px;
            }
}

@media (max-width: 768px) {
    .memorial-container {
        padding: 30px 15px;
    }

    .memorial-content {
        padding: 40px 30px;
    }

        .memorial-content h1 {
            font-size: 38px;
        }

    .subtitle {
        font-size: 20px;
    }

    .photo-frame {
        width: 180px;
        height: 180px;
    }

    .animals {
        font-size: 40px;
        gap: 20px;
    }

    .message {
        font-size: 16px;
    }

    .quote {
        font-size: 20px;
        padding: 20px;
    }

    footer[role="contentinfo"] {
        padding: 25px 15px;
    }

        footer[role="contentinfo"] p {
            font-size: 14px;
        }

    footer nav[aria-label="Footer navigation"] a {
        font-size: 13px;
        padding: 6px 12px;
    }

    .donation-fab {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }

    .donation-fab-icon {
        font-size: 28px;
    }

    .donation-fab-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .memorial-nav-brand {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

        .memorial-nav-brand::before {
            font-size: 24px;
        }

    .memorial-container {
        padding: 20px 10px;
    }

    .memorial-content {
        padding: 30px 20px;
        border-radius: 20px;
    }

        .memorial-content h1 {
            font-size: 32px;
            letter-spacing: 2px;
        }

    .subtitle {
        font-size: 18px;
    }

    .photo-frame {
        width: 160px;
        height: 160px;
    }

    .stars {
        font-size: 35px;
    }

    .animals {
        font-size: 35px;
        gap: 15px;
    }

    .message {
        font-size: 15px;
        padding: 0 10px;
    }

    .quote {
        font-size: 18px;
        padding: 15px;
    }

    .footer {
        font-size: 14px;
    }

    footer[role="contentinfo"] {
        padding: 20px 10px;
    }

    footer nav[aria-label="Footer navigation"] .list-inline {
        flex-direction: column;
        gap: 10px;
    }

    footer[role="contentinfo"]::after {
        font-size: 20px;
    }
}


.animals {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.animal {
    width: 60px; /* Adjust size as needed */
    height: auto;
    /* Keeps your existing floating animation */
    animation: cosmic-float 4s ease-in-out infinite;
    opacity: 0.9;
    /* Adds a holographic glow to the image edges */
    filter: drop-shadow(0 0 12px var(--holo-pink-glow));
    transition: transform 0.3s ease, filter 0.3s ease;
}

    .animal:hover {
        transform: scale(1.2);
        filter: drop-shadow(0 0 20px var(--holo-pink-bright));
    }


.elephant {
    animation-delay: 0s;
}

.bear {
    animation-delay: 2s;
}
