/* ===========================
   참프라임홀딩스 - Global CSS
   =========================== */

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

:root {
  --primary: #1a1a2e;
  --accent: #c9a84c;
  --accent-light: #e8d5a3;
  --bg: #f8f6f1;
  --white: #ffffff;
  --gray-light: #f0ede6;
  --gray: #888888;
  --text: #2d2d2d;
  --text-light: #666666;
  --border: #e0dbd0;
  --shadow: 0 4px 24px rgba(26,26,46,0.08);
  --shadow-hover: 0 8px 40px rgba(26,26,46,0.15);
  --radius: 4px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}

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

ul {
  list-style: none;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', 'Noto Sans KR', serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-light);
  max-width: 520px;
}

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

section {
  padding: 100px 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: #b8933e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: #2a2a4a;
  transform: translateY(-2px);
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: var(--transition);
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 40px;
  align-items: center;
}

nav a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  position: relative;
}

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

nav a:hover,
nav a.active {
  color: var(--accent);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: var(--primary) !important;
  border-radius: var(--radius);
  font-weight: 500;
}

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

.nav-cta:hover {
  background: #b8933e;
  color: var(--primary) !important;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
}

.footer-logo .logo-main {
  font-size: 22px;
  margin-bottom: 4px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 16px;
  color: rgba(255,255,255,0.5);
}

.footer-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-info p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-copyright-notice {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  line-height: 1.6;
}

/* ===== PAGE HERO ===== */
.page-hero {
  height: 320px;
  background: var(--primary);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 60%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 8px;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.breadcrumb span {
  color: var(--accent);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* ===== DIVIDER ===== */
.divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 20px 0;
}

/* ===== MOBILE NAV TOGGLE ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  header {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }

  nav ul {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  nav ul.open {
    display: flex;
  }

  nav ul li {
    width: 100%;
  }

  nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .menu-toggle {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-hero h1 {
    font-size: 32px;
  }
}
