﻿/* Memorial Navigation Styles */
.memorial-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(187, 150, 246, 0.2);
    border-radius: 20px;
    padding: 12px 25px;
    margin-bottom: 40px;
}

.memorial-nav-brand {
    font-family: 'Georgia', serif;
    font-size: 28px;
    color: #BB96F6;
    font-weight: bold;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

    .memorial-nav-brand::before {
        content: '';
        display: inline-block;
        width: 50px;
        height: 50px;
        background-image: url('/assets/goose.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        animation: goose-wiggle 0.5s ease-in-out;
    }

    .memorial-nav-brand:hover::before {
        animation: goose-wiggle 0.5s ease-in-out infinite;
    }

    .memorial-nav-brand:hover {
        animation: sparkle 1s ease-in-out infinite;
    }

@keyframes goose-wiggle {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        text-shadow: 0 0 5px rgba(187, 150, 246, 0.5), 0 0 10px rgba(187, 150, 246, 0.3);
    }

    50% {
        text-shadow: 0 0 15px rgba(187, 150, 246, 0.8), 0 0 25px rgba(187, 150, 246, 0.5), 0 0 35px rgba(187, 150, 246, 0.3);
    }
}

.memorial-nav-brand:hover {
    color: #9b7bc9;
    text-decoration: none;
}

.memorial-nav-items .nav-link {
    font-family: 'Georgia', serif;
    font-size: 18px;
    color: #6b5b8c;
    margin-left: 15px;
    padding: 8px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease, color 0.3s ease;
}

    .memorial-nav-items .nav-link .nav-icon {
        margin-right: 8px;
        font-size: 20px;
    }

    .memorial-nav-items .nav-link:hover {
        background: rgba(187, 150, 246, 0.15);
        color: #BB96F6;
    }

/* Toggler hamburger fix */
.navbar-toggler {
    border: 2px solid #BB96F6;
    border-radius: 12px;
}

.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='%23BB96F6' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Responsive adjustments */
@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 {
            width: 35px;
            height: 35px;
        }

    /* Center menu items on mobile */
    .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: 480px) {
    .memorial-nav-brand {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

        .memorial-nav-brand::before {
            width: 28px;
            height: 28px;
            margin-right: 6px;
        }
}

/* Enhanced Footer Styles */
footer[role="contentinfo"] {
    background: linear-gradient(135deg, rgba(187, 150, 246, 0.1) 0%, rgba(219, 201, 255, 0.15) 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(187, 150, 246, 0.3);
    padding: 30px 20px;
    margin-top: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    footer[role="contentinfo"]::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(187, 150, 246, 0.05) 0%, transparent 70%);
        animation: footer-float 15s infinite ease-in-out;
        z-index: 0;
    }

@keyframes footer-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(15px, 15px) rotate(90deg);
    }
}

footer[role="contentinfo"] > * {
    position: relative;
    z-index: 1;
}

footer[role="contentinfo"] p {
    font-family: 'Georgia', serif;
    font-size: 16px;
    color: #6b5b8c;
    margin-bottom: 15px;
    font-weight: 500;
}

    footer[role="contentinfo"] p::before {
        content: '✨';
        margin-right: 8px;
        opacity: 0.6;
    }

    footer[role="contentinfo"] p::after {
        content: '✨';
        margin-left: 8px;
        opacity: 0.6;
    }

footer nav[aria-label="Footer navigation"] {
    margin-top: 15px;
}

    footer nav[aria-label="Footer navigation"] .list-inline {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    footer nav[aria-label="Footer navigation"] .list-inline-item {
        list-style: none;
        margin: 0;
    }

    footer nav[aria-label="Footer navigation"] a {
        font-family: 'Georgia', serif;
        color: #9b7bc9;
        text-decoration: none;
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 20px;
        transition: all 0.3s ease;
        display: inline-block;
        background: rgba(187, 150, 246, 0.1);
        border: 1px solid rgba(187, 150, 246, 0.2);
    }

        footer nav[aria-label="Footer navigation"] a:hover {
            background: rgba(187, 150, 246, 0.2);
            color: #BB96F6;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(187, 150, 246, 0.2);
        }

/* Add decorative elements */
footer[role="contentinfo"]::after {
    content: '🐘 💜 🧸';
    display: block;
    font-size: 20px;
    margin-top: 15px;
    opacity: 0.7;
    animation: gentle-pulse 3s infinite ease-in-out;
}

@keyframes gentle-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    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;
    }
}

@media (max-width: 480px) {
    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: 18px;
    }
}