/*
Theme Name: Larapress
Theme URI: https://example.com/
Author: Your Name
Description: A minimal theme based on Floris templates (front, contact, inner), using WP enqueues and wp_head/wp_footer.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: larapress
*/

/* Theme styles live in /public/css/app.css; this file enables theme registration. */

/* Content Editor defaults */

.content-editor{font-size:1rem;line-height:1.7}
.content-editor p{margin:0 0 1rem}
.content-editor h2,.content-editor h3,.content-editor h4{font-weight:700;line-height:1.2;margin:2rem 0 .75rem}
.content-editor h2{font-size:2rem}
.content-editor h3{font-size:1.5rem}
.content-editor h4{font-size:1.25rem}
.content-editor ul,.content-editor ol{margin:0 0 1rem 1.25rem;padding:0 0 0 1rem}
.content-editor ul{list-style:disc}
.content-editor ol{list-style:decimal}
.content-editor li{margin:.25rem 0}

/* Scroll-to mouse bounce */
.scroll-to {
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Media section arrows */
.section--media .splide__arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}
.section--media .splide__arrow {
    pointer-events: auto;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #B9A082;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
    opacity: 1;
}
.section--media .splide__arrow:hover {
    background: #a68e6f;
    transform: scale(1.1);
}
.section--media .splide__arrow svg {
    fill: #fff;
    width: 16px;
    height: 16px;
}
.section--media .splide__arrow--prev {
    left: -25px;
}
.section--media .splide__arrow--next {
    right: -25px;
}
@media (max-width: 767px) {
    .section--media .splide__arrow {
        width: 36px;
        height: 36px;
    }
    .section--media .splide__arrow--prev {
        left: -10px;
    }
    .section--media .splide__arrow--next {
        right: -10px;
    }
}

/* Button arrow hover animation */
.btn .fa-angles-right {
    display: inline-block;
    transition: transform .3s ease;
}
.btn:hover .fa-angles-right {
    animation: arrowBounce .6s ease infinite;
}
@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Hamburger bars */
.hamburger-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
    margin: 2px 0;
}
@media (min-width: 1024px) {
    .hamburger-bar {
        width: 28px;
        height: 3px;
        margin: 3px 0;
    }
}

/* X animation when open */
.mobile-menu-toggler.open .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggler.open .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggler.open .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
@media (min-width: 1024px) {
    .mobile-menu-toggler.open .hamburger-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-toggler.open .hamburger-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}