/* Custom Site Styles - Tailwind CSS is now built locally */

/* Logo styling */
.logo-image {
    height: 50px;
    width: auto;
    max-width: 270px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    content: url("/img/logos/logo-terracotta.png");
    transition: transform 0.5s ease;
}

/* Footer logo styling */
.logo-image-footer {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.logo-image-footer:hover {
    transform: scale(1.05);
    content: url("/img/logos/logo-terracotta.png");
    transition: transform 0.5s ease;
}

/* Hero text styling with drop shadow */
.hero-text {
    filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.47)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.46));
}

.social-media {
    animation-name: pop;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-delay: 0s;
}

@keyframes pop {
    0% {
        transform: none;
    }

    5%, 25% {
        transform: scale(1.10);
}

    15%, 35% {
        transform: none;
    }

    40% {
        transform: scale(1.05);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Active navigation link styling */
a[href^="#"]:active {
    transform: scale(0.98);
    transition: transform 0.15s ease;
}

/* Mobile Menu Styles */
#mobile-menu {
    animation: slideDown 0.3s ease-in-out;
    z-index: 999999;
}

#mobile-menu.hidden {
    animation: slideUp 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Mobile menu button animation */
#mobile-menu-btn svg {
    transition: transform 0.3s ease;
}

#mobile-menu-btn.active svg {
    transform: rotate(90deg);
}

/* Sticky header */
header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

header:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header.header-hidden {
    transform: translateY(-100%);
}

/* Utility z-index class */
.z-index5 {
    z-index: 5;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Rich text editor content styling - reset TinyMCE paragraph margins */
div[style*="margin: 0"] p,
div[style*="padding: 0"] p {
    margin: 0;
    padding: 0;
    display: inline;
}

/* Handle list items in rich content */
div[style*="margin: 0"] ul,
div[style*="margin: 0"] ol {
    margin: 0.5em 0;
    padding-left: 2em;
}

div[style*="margin: 0"] li {
    margin: 0.25em 0;
}

/* Preserve bold and italic formatting in rich content */
div[style*="margin: 0"] strong,
div[style*="margin: 0"] b {
    font-weight: 600;
}

div[style*="margin: 0"] em,
div[style*="margin: 0"] i {
    font-style: italic;
}

div[style*="margin: 0"] u {
    text-decoration: underline;
}

div[style*="margin: 0"] code {
    background-color: #f4f4f4;
    padding: 2px 4px;
    border-radius: 3px;
}