/*
Theme Name: Genius Folks
Theme URI: https://geniusfolks.com
Author: Genius Folks
Author URI: https://geniusfolks.com
Description: Custom ACF-based WordPress theme for Genius Folks â Engineering Scalable Digital Solutions. Built with Tailwind CSS and section-based template parts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geniusfolks
Tags: custom-template, tailwind, one-column, full-width-template
*/

/* Smooth scrolling + interaction polish (added for the static site migration) */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem; /* keeps anchor targets clear of the fixed 4rem header */
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
a, button {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease,
        opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
a:active, button:active {
    transform: scale(0.97);
}

/* FAQ accordions: animate open/close instead of an instant hidden/visible snap */
.gf-faq-answer {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .3s ease, margin-top .35s ease;
}
.gf-faq-item--open .gf-faq-answer {
    opacity: 1;
    margin-top: 1.5rem;
}
