/*
Theme Name: DOHWA Theme
Theme URI: https://dohwaresource.com
Description: Custom Premium theme for DOHWA Resource Development website. Supports multilingual URL routing via Polylang/WPML.
Version: 1.0.0
Author: Antigravity
Author URI: https://dohwaresource.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dohwa-theme
*/

/* Custom scrollbar and global base rules */
html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

/* Custom Emerald Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(244, 244, 245, 0.5);
}
.dark ::-webkit-scrollbar-track {
  background: rgba(24, 24, 27, 0.5);
}
::-webkit-scrollbar-thumb {
  background: #059669;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* Custom styles for animations and overlays */
@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-bounce-slow {
  animation: bounceSlow 3s infinite ease-in-out;
}

/* Active floating contact widget toggle classes */
#floating-contact-widget.active .translate-y-10 {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Remove underlines and border-bottoms on header menu links in all states */
header a,
header .menu-item a,
header .nav-link,
header ul li a {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hover state: smooth color transition without any underline */
header a:hover,
header .menu-item a:hover,
header .nav-link:hover,
header ul li a:hover {
  color: #059669 !important; /* Emerald-600 */
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Active state: bold text and dark emerald color with no underlines */
header .current-menu-item > a,
header .current_page_item > a,
header .current-menu-ancestor > a,
header .current-menu-parent > a,
header ul li.current-menu-item a,
header ul li.current-page-ancestor a,
header ul li.current_page_item a {
  color: #047857 !important; /* Emerald-700 */
  font-weight: 800 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Hide default Contact Form 7 success message output */
.wpcf7-form.sent .wpcf7-response-output {
  display: none !important;
}

