/*
Theme Name: Quhe Business
Theme URI: https://quhenet.com/quhe-business-theme/
Author: Quhe Network Technology
Author URI: https://quhenet.com
Description: A modern, professional WordPress theme for business and studio websites. Features custom Gutenberg blocks, responsive design, and clean aesthetics.
Version: 1.0.0
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quhe-business
Domain Path: /languages
Tags: portfolio, blog

Quhe Theme, Copyright 2025 Quhe Network Technology
Quhe Theme is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
  /* Theme Colors - Restructured */
  --color-primary: #0119ff;
  /* Primary brand color */
  --color-secondary: #0d0e1d;
  /* Secondary color */
  --color-accent: #0119ff;
  /* Accent color */
  --color-highlight: #0110b8;
  /* Highlight color */
  --color-footer-bg: #0D0E1D;
  /* Footer background color */

  /* Neutral Colors */
  --color-muted: #64748b;
  /* Medium Gray - Secondary text */
  --color-light: #F5F5F5;
  /* Light Grey background */
  --color-white: #ffffff;

  /* Text Colors */
  --text-color: #0D0E1D;
  /* Main text color */
  --text-white: #FFFFFF;
  /* White text */
  --text-muted: rgba(13, 14, 29, 0.7);
  /* Muted text */

  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #0D0E1D 0%, #1a1b2e 100%);
  --gradient-light: linear-gradient(135deg, #F5F5F5 0%, #E7E7E8 100%);
  --gradient-blue: linear-gradient(135deg, #0119FF 0%, #0108b3 100%);

  /* Typography */
  --font-primary: 'Afacad', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-chinese: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;

  /* Font Sizes - Complete Scale */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.375rem;
  /* 22px - Body text size */
  --text-3xl: 1.875rem;
  /* 30px - H3 */
  --text-4xl: 2.25rem;
  /* 36px */
  --text-5xl: 3rem;
  /* 48px */
  --text-6xl: 3.5rem;
  /* 56px - H2 */
  --text-7xl: 4.5rem;
  /* 72px */
  --text-8xl: 6rem;
  /* 96px */
  --text-9xl: 6.25rem;
  /* 100px - H1 */

  /* Spacing */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 2rem;
  /* 32px */
  --spacing-lg: 3rem;
  /* 48px */
  --spacing-xl: 4rem;
  /* 64px */
  --spacing-2xl: 5rem;
  /* 80px */
  --spacing-3xl: 6rem;
  /* 96px */

  /* Layout */
  --max-width: 1300px;
  /* Container max width */
  --header-height: 80px;

  /* Shadows - Tekup Style */
  --shadow-sm: 0 2px 8px rgba(13, 14, 29, 0.08);
  --shadow-md: 0 4px 16px rgba(13, 14, 29, 0.12);
  --shadow-lg: 0 8px 32px rgba(13, 14, 29, 0.16);
  --shadow-xl: 0 16px 50px rgba(13, 14, 29, 0.12);
  --shadow-card: 0px 16px 50px 0px rgba(13, 14, 29, 0.12);

  /* Shadows - Hover states */
  --shadow-hover: 0 20px 60px rgba(13, 14, 29, 0.2);
  --shadow-blue: 0 4px 12px rgba(1, 25, 255, 0.3);

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Border */
  --border-width: 1px;
  --border-color: #E7E7E8;
  --border-radius: 0px;
  --border-radius-sm: 0px;
  --border-radius-lg: 0px;
}

/* ==========================================================================
   Screen Reader Text
   ========================================================================== */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Chinese font mode */
body.font-mode-chinese {
  font-family: var(--font-chinese);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0D0E1D;
}

h1 {
  font-size: var(--text-9xl);
}

h2 {
  font-size: var(--text-6xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  margin: 0 0 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover,
a:focus {
  color: var(--color-highlight);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.site-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--spacing-sm);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

.mt-3 {
  margin-top: var(--spacing-lg);
}

.mt-4 {
  margin-top: var(--spacing-xl);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

.mb-4 {
  margin-bottom: var(--spacing-xl);
}

.pt-0 {
  padding-top: 0;
}

.pt-1 {
  padding-top: var(--spacing-sm);
}

.pt-2 {
  padding-top: var(--spacing-md);
}

.pt-3 {
  padding-top: var(--spacing-lg);
}

.pt-4 {
  padding-top: var(--spacing-xl);
}

.pb-0 {
  padding-bottom: 0;
}

.pb-1 {
  padding-bottom: var(--spacing-sm);
}

.pb-2 {
  padding-bottom: var(--spacing-md);
}

.pb-3 {
  padding-bottom: var(--spacing-lg);
}

.pb-4 {
  padding-bottom: var(--spacing-xl);
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --spacing-lg: 2.5rem;
    --spacing-xl: 3rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  .section-breadcrumb {
    padding: 60px 0;
  }

  .section-breadcrumb .entry-title {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}


@media (max-width: 480px) {
  h3 {
    font-size: 1.25rem;
  }
}