/* ============================================
   ANIMATIONS & TRANSITIONS
   All animations, transitions, and interactive visual effects
   ============================================ */

/* Contact Button Animations */
.comic-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 35px;
    background: #C97A5A;
    color: #D6B45A;
    font-family: 'Arvo', serif !important;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0.05em 0.075em 0 rgba(0, 0, 0, 0.1);
    border: 3px solid #000;
    border-radius: 10px;
    z-index: 2000;
    box-shadow: 5px 5px 0 #000;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover = lift up */
.comic-button:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 7px 7px 0 #000;
	text-decoration: none;
	border-bottom: 3px solid #000 !important;
}

/* Press */
.comic-button:active {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 3px 3px 0 #000;
}

/* Remove the old ::after and ::before pseudo-elements since we're horizontal now */
.comic-button::after {
    display: none;
}

.comic-button::before {
    display: none;
}

/* Mask to hide header line behind button */
.comic-button::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: #8FBFA3; /* header background */
    border-radius: 14px;
    z-index: -2;
    pointer-events: none;
}

/* Mobile adjustments */
@media screen and (max-width: 736px) {
    .comic-button {
        bottom: 20px;
        font-size: 16px;
        padding: 12px 25px;
    }
}


/* Link and Button Transitions */
a {
    -moz-transition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;
    -ms-transition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;
    color: #F5F1E8;
    text-decoration: none;
    border-bottom: solid 1px #F5F1E8;
}

a strong {
    -moz-transition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;
    -ms-transition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out, border-bottom-color 0.25s ease-in-out;
}

a:hover {
    color: #D6B45A;
    border-bottom-color: rgba(255, 255, 255, 0);
}

a:hover strong {
    color: #F5F1E8;
}

/* Button Transitions */
input[type="button"],
input[type="submit"],
input[type="reset"],
button,
.button {
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    -webkit-appearance: none;
    position: relative;
    display: inline-block;
    background: #D6B45A;
    color: #F5F1E8 !important;
    text-transform: uppercase;
    border-radius: 4px;
    border: 0;
    outline: 0;
    font-size: 1em;
    box-shadow: 0.125em 0.175em 0 0 rgba(0, 0, 0, 0.125);
    font-weight: 600;
    text-align: center;
    font-size: 0.85em;
    letter-spacing: 2px;
    padding: 0.85em 2.75em 0.85em 2.75em;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover,
.button:hover {
    background: #C97A5A;
}

input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
button:active,
.button:active {
    background: #D6B45A;
}

/* Form Input Transitions */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form select,
form textarea {
    -moz-transition: background-color 0.25s ease-in-out;
    -webkit-transition: background-color 0.25s ease-in-out;
    -ms-transition: background-color 0.25s ease-in-out;
    transition: background-color 0.25s ease-in-out;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form select:focus,
form textarea:focus {
    background: #F5F1E8;
}

/* Preload Animation Disable */
body.is-preload *, 
body.is-preload *:before, 
body.is-preload *:after {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}
