/*
Theme Name: Shiyu Trading
Theme URI: https://shiyutrading.com
Author: Shiyu Trading
Author URI: https://shiyutrading.com
Description: Custom theme for Shiyu Trading - Luxury China sourcing company
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: shiyu-trading
*/

/* =============================================
   CSS VARIABLES & RESET
   ============================================= */
:root {
  --gold: #C9960C;
  --gold-light: #E8B84B;
  --gold-bright: #F5C842;
  --gold-dim: #8B6914;
  --navy: #0A0E1A;
  --navy-mid: #0D1428;
  --navy-light: #111827;
  --navy-card: #131C32;
  --white: #FFFFFF;
  --off-white: #F0EDE4;
  --text-muted: #8A9BB8;
  --text-body: #C4CEDF;
  --border-gold: rgba(201, 150, 12, 0.25);
  --border-dim: rgba(255,255,255,0.06);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glow: 0 0 40px rgba(201, 150, 12, 0.12);
  --glow-strong: 0 0 60px rgba(201, 150, 12, 0.25);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--navy);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-bright); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--off-white);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.gold-text { color: var(--gold-light); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
}

section { position: relative; }

.section-pad {
  padding: 7rem 0;
}

/* =============================================
   GOLD DIVIDER
   ============================================= */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem 0;
}

.gold-divider--center { margin: 1.5rem auto; }

/* =============================================
   NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

#site-header.scrolled {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-gold);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-logo__text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.site-logo__sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-body);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  font-size: 0.7rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold-light);
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,14,26,0.3) 0%, rgba(10,14,26,0.65) 60%, rgba(10,14,26,0.92) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s forwards 0.5s;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  color: var(--off-white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s forwards 0.8s;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-body);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.9s forwards 1.1s;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s forwards 1.4s;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s forwards 2s;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border-radius: 2px;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-bright);
  color: var(--navy);
  box-shadow: var(--glow-strong);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--gold-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
}

.btn--gold-outline:hover {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--glow);
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--navy-card);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 2.5rem 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.stat-item__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: block;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border-gold);
}

.service-card {
  background: var(--navy-card);
  padding: 3rem 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover { background: rgba(19, 28, 50, 0.98); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.75rem;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--off-white);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: 2px;
}

.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.5rem;
  text-align: center;
  min-width: 120px;
}

.about-badge__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge__text {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.25rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.85;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.about-feature-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =============================================
   WHY US SECTION
   ============================================= */
.why-us-bg {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

.why-us-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,150,12,0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(201,150,12,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.why-us-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 5rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-gold);
  margin-bottom: 4rem;
}

.why-card {
  background: var(--navy-card);
  padding: 3rem;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  transition: var(--transition);
}

.why-card:hover { background: rgba(19, 28, 50, 0.98); }

.why-card__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}

.why-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--off-white);
}

.why-card__body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.why-testimonial {
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.why-testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -2rem;
  left: 2rem;
  line-height: 1;
}

.why-testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.why-testimonial cite {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* =============================================
   SOURCING REQUEST SECTION
   ============================================= */
.sourcing-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.sourcing-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,150,12,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sourcing-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.sourcing-info p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sourcing-features {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sourcing-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.sourcing-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* =============================================
   SOURCING FORM
   ============================================= */
.sourcing-form-wrap {
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  padding: 3rem;
  position: relative;
}

.sourcing-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dim);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--off-white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,150,12,0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.form-group select option {
  background: var(--navy-card);
  color: var(--off-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-gold);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--border-dim);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%       { transform: scaleY(1.1); opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   PAGE TEMPLATES
   ============================================= */
.page-hero {
  padding: 12rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(201,150,12,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-layout,
  .sourcing-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--navy-mid);
    padding: 5rem 2rem 2rem;
    border-left: 1px solid var(--border-gold);
    gap: 1.5rem;
  }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section-pad { padding: 5rem 0; }
  .why-us-grid { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
