/* 
  KY Kaiyuan Group - Pale Black Gold Style
  Global Styles
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
  --primary-gold: #C5A028;
  --dark-gold: #856E20;
  --pale-gold: #E5C158;
  --bg-black: #121212;
  --card-black: #1E1E1E;
  --text-white: #F5F5F5;
  --text-gray: #A0A0A0;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto+Sans+SC', sans-serif;
  background-color: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .brand-font {
  font-family: 'Playfair Display', 'Noto Sans SC', serif;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  transition: var(--transition);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 160, 40, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  gap: 2.5rem;
}

nav ul li a:hover {
  color: var(--primary-gold);
}

.nav-active {
  color: var(--primary-gold) !important;
  border-bottom: 2px solid var(--primary-gold);
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  color: var(--primary-gold);
}

/* Sections */
section {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-gold);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
  margin: 1rem auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  border-radius: 2px;
  cursor: pointer;
  background: transparent;
  font-weight: 500;
  transition: var(--transition);
}

.btn:hover {
  background: var(--primary-gold);
  color: var(--bg-black);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 160, 40, 0.3);
}

/* Cards */
.card {
  background: var(--card-black);
  border: 1px solid rgba(197, 160, 40, 0.1);
  padding: 1.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-10px);
}

/* Footer */
footer {
  background: #0A0A0A;
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(197, 160, 40, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--primary-gold);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.footer-section p, .footer-section li {
  color: var(--text-gray);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-gray);
  font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none; /* Mobile menu logic in JS */
  }
  .mobile-menu-btn {
    display: block;
  }
  .section-title {
    font-size: 2rem;
  }
}
