/*
Theme Name: Dreamshatchery
Theme URI: https://dreamshatchery.org
Author: Pixels Ventures
Author URI: https://pixelsventures.com
Description: Dreams Hatchery – A non-profit WordPress theme built with Tailwind CSS. Optimised for SEO, ethos and logical impact communication.
Version: 2.0
Text Domain: dreamshatchery
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Theme base overrides – all layout handled by Tailwind utility classes */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Accessible focus ring */
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }

/* Screen-reader only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Hero background */
.hero-bg {
  background-image: url('assets/images/bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Founder image hover swap */
.founder-img {
  background-image: url('assets/images/isa1.jpg');
  background-size: cover;
  background-position: center;
  transition: background-image 0.4s ease;
}
.founder-img:hover { background-image: url('assets/images/isa2.jpg'); }

/* Animated counter */
@keyframes count-up { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }
.stat-item { animation: count-up 0.6s ease both; }

/* Nav underline on hover */
.nav-link-dh { position: relative; }
.nav-link-dh::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: #f59e0b;
  transition: width 0.3s ease;
}
.nav-link-dh:hover::after, .nav-link-dh[aria-current]::after { width: 100%; }
