/* ============================================
   Sniffy Flowergi - Custom Styles
   ============================================ */

/* Base font for the body */
html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Ancizar Sans', sans-serif;
    background-color: #FFFFFF;
}

/* Libre Baskerville for headings and large text */
h1, h2, h3, h4, h5, h6,
.text-2xl, .text-3xl,
.font-bold {
    font-family: 'Libre Baskerville', serif;
}

/* Yeseva One for logo */
.logo {
    font-family: 'Yeseva One', cursive;
}

/* Ancizar Sans for navigation and UI elements */
nav, 
button,
input,
.text-sm,
.text-xs {
    font-family: 'Ancizar Sans', sans-serif;
}

/* SVG Color Filter for Burgundy */
.logo-burgundy {
    filter: invert(11%) sepia(90%) saturate(3661%) hue-rotate(340deg) brightness(89%) contrast(101%);
}

/* Raspberry shadow for search bar and form elements */
.raspberry-shadow {
    box-shadow: 0 4px 24px 0 #B6465F33;
    border-radius: 0.5rem;
}

/* Form input focus styles */
input:focus {
    outline: none;
    border-color: #B6465F;
    box-shadow: 0 0 0 3px rgba(182, 70, 95, 0.1);
}

/* Modal Animation */
#searchModal {
    transition: opacity 0.3s ease-in-out;
}

#searchModal .modal-content {
    transition: transform 0.3s ease-in-out;
    transform: translateY(-100%);
}

#searchModal.show {
    opacity: 1;
}

#searchModal.show .modal-content {
    transform: translateY(0);
}

/* Editable Element Hover Effect - Reusable class */
.editable-element,
.editable-image{
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding: 0.5rem 0.75rem;
    margin: -0.5rem -0.75rem;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}

.editable-element:hover,
.editable-image:hover {
    background-color: rgba(182, 70, 95, 0.15);
    border-color: rgba(182, 70, 95, 0.4);
    box-shadow: 0 2px 8px rgba(182, 70, 95, 0.2);
    outline: none;
}

.editable-element:active,
.editable-image:active {
    background-color: rgba(182, 70, 95, 0.25);
    border-color: rgba(137, 6, 32, 0.6);
    box-shadow: 0 1px 4px rgba(137, 6, 32, 0.3);
}
