/* 
  KY开元(集团)有限公司 - Global Styles
  Theme: Pale Black & Gold (淡黑金)
*/

:root {
  --primary-gold: #d4af37;
  --secondary-gold: #c5a028;
  --pale-gold: #f4e4bc;
  --bg-black: #0f0f0f;
  --accent-black: #1a1a1a;
  --text-white: #f5f5f5;
  --text-gray: #a0a0a0;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--primary-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-gold);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a:hover {
  color: var(--primary-gold);
}

/* Hero Section */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://tse-mm.bing.com/th?q=Global+Enterprise+Tower');
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 35px;
  background: transparent;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
}

.btn:hover {
  background: var(--primary-gold);
  color: var(--bg-black);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--accent-black);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 30px;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 4px;
}

/* News List */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.news-item:hover {
  color: var(--primary-gold);
}

/* Footer */
footer {
  background: #050505;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.footer-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .nav-links { display: none; }
}

/* Smooth Scrolling Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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