/*
Theme Name: Hashir Rice Supplier
Theme URI: https://hashirricesupplier.com/
Author: Hashir Rice Supplier
Author URI: https://hashirricesupplier.com/
Description: Custom WordPress theme for Hashir Rice Supplier, preserving the existing website design, high-conversion typography, and responsive B2B rice trading functionality.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hashir-rice-supplier
Tags: custom-background, custom-logo, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready
*/

:root {
  --primary-color: #064e3b;
  --secondary-color: #d97706;
  --accent-color: #10b981;
  --bg-color: #ffffff;
  --text-color: #171717;
  --heading-color: #0a0a0a;
  --btn-color: #064e3b;
  --btn-hover-color: #022c22;
  --header-color: #ffffff;
  --footer-color: #ffffff;
  --card-color: #ffffff;
  --body-font: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --heading-font: 'Playfair Display', Georgia, Cambria, 'Times New Roman', Times, serif;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--heading-font);
  color: var(--heading-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hide scrollbars globally for no-scrollbar elements */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Smooth continuous ticker animation */
@keyframes tickerLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.animate-ticker {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tickerLoop 35s linear infinite;
}

.animate-ticker:hover {
  animation-play-state: paused;
}
