/*
스타일 프리셋: Luxury Minimal Editorial
컬러 전략: Soft Black + Champagne Gold + Warm Ivory
레이아웃 패턴: Asymmetric Grid with Vertical Rhythm
섹션 순서 템플릿: Header → Hero → Brand Value → Services → About → Contact/Location → Business Info → Footer
아이콘 스타일: Thin Line Icon (SVG, Monoline)
배경 패턴: Subtle Gradient Mesh (CSS-only, no images)
*/

:root {
  /* Color candidates (Soft Black + Champagne Gold + Warm Ivory) */
  /* Option A: #1A1716 / #C9A86A / #F6F0E8 */
  /* Option B: #201C1B / #D4B579 / #F4ECE1 */
  /* Option C: #171514 / #C2A16C / #F7EFE6 */
  /* Selected: Option A */
  --color-soft-black: #1a1716;
  --color-champagne: #c9a86a;
  --color-ivory: #f6f0e8;
  --color-ivory-deep: #efe4d3;
  --color-ink: #0f0d0c;
  --color-border: rgba(201, 168, 106, 0.35);
  --shadow-soft: 0 18px 50px rgba(15, 13, 12, 0.12);

  --font-sans: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
  --font-display: "Times New Roman", "Times", serif;

  --space-2xs: 0.4rem;
  --space-xs: 0.7rem;
  --space-sm: 1.1rem;
  --space-md: 1.7rem;
  --space-lg: 2.6rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 12px;
  --radius-lg: 26px;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-soft-black);
  background: var(--color-ivory);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(201, 168, 106, 0.22), transparent 55%),
    radial-gradient(circle at 82% 18%, rgba(246, 240, 232, 0.55), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(201, 168, 106, 0.18), transparent 60%),
    radial-gradient(circle at 88% 82%, rgba(26, 23, 22, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(246, 240, 232, 0.9), rgba(239, 228, 211, 0.9));
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--color-champagne);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.4rem, var(--max-width));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  background: rgba(246, 240, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 23, 22, 0.08);
  z-index: 10;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo img {
  width: 120px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-champagne);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-soft-black);
  margin: 4px 0;
}

.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--space-xl);
  align-items: center;
}

.hero-card {
  background: rgba(246, 240, 232, 0.85);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3vw, 3.4rem);
  margin: 0 0 var(--space-sm);
}

.hero p {
  margin: 0 0 var(--space-lg);
  font-size: 1.05rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: var(--color-soft-black);
  color: var(--color-ivory);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(26, 23, 22, 0.2);
}

.hero-media {
  position: relative;
  padding: var(--space-sm);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(246, 240, 232, 0.6);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  margin: 0 0 var(--space-md);
}

.section-subtitle {
  max-width: 620px;
  color: rgba(26, 23, 22, 0.72);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.value-card {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(246, 240, 232, 0.8);
}

.value-card h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1.15rem;
}

.services {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--space-xl);
  align-items: start;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  background: rgba(246, 240, 232, 0.85);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.service-card svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-champagne);
}

.about-grid,
.contact-grid,
.business-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-xl);
}

.card-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  background: rgba(246, 240, 232, 0.88);
}

.contact-grid form {
  display: grid;
  gap: var(--space-sm);
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 23, 22, 0.2);
  background: rgba(255, 255, 255, 0.85);
  font-family: inherit;
}

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

.form-hint {
  font-size: 0.9rem;
  color: rgba(26, 23, 22, 0.7);
}

.form-message {
  font-size: 0.95rem;
  color: var(--color-soft-black);
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px dashed var(--color-border);
  background: rgba(246, 240, 232, 0.8);
}

footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid rgba(26, 23, 22, 0.1);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.2s;
}

.fade-up.delay-2 {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .services,
  .about-grid,
  .contact-grid,
  .business-grid {
    grid-template-columns: 1fr;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.2rem;
    background: rgba(246, 240, 232, 0.98);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 180px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .hero {
    padding-top: var(--space-xl);
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
}
