@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

/* S-Core Dream Web Font Import */
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-7ExtraBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

:root {
  --color-primary: #A58B65;      /* Muted Gold / Bronze */
  --color-primary-light: #C5A880;/* Light Gold */
  --color-primary-dark: #7D6648; /* Deep Bronze */
  --color-bg-light: #FAF9F6;     /* Warm Off-white / Ivory */
  --color-bg-white: #FFFFFF;     /* Pure White */
  --color-text-dark: #221C1A;    /* Dark Charcoal / Rich Brown */
  --color-text-muted: #6B615E;   /* Muted Gray-Brown */
  --color-border: #E6E1DC;       /* Warm light border */
  
  --font-serif: 'Nanum Myeongjo', 'Batang', serif;
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-quick: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, p, span, li, a {
  word-break: keep-all;
}

section[id] {
  scroll-margin-top: 100px;
}

/* Decoration line */
.accent-line {
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.accent-line.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Custom Selection */
::selection {
  background: var(--color-primary-light);
  color: #ffffff;
}

/* Header styling */
.site-header {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(34, 28, 26, 0.05);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Mobile dropdown menu */
#mobile-menu {
  background-color: var(--color-bg-white);
  border-left: 1px solid var(--color-border);
}

/* Float Quick Action top button */
.floating-quick-bar {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.floating-quick-bar.show {
  opacity: 1;
  visibility: visible;
}
.quick-bar-item {
  width: 44px;
  height: 44px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(34, 28, 26, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  font-size: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-quick);
  cursor: pointer;
}
.quick-bar-item:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* Menu Board styling (dark-theme premium design) */
.digital-menu-board {
  background-color: #1E1A18;
  color: #FAF9F6;
  border: 1px solid rgba(165, 139, 101, 0.4);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.85), 0 12px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.digital-menu-board::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 12px;
  right: 12px;
  border: 1px solid rgba(165, 139, 101, 0.25);
  pointer-events: none;
  z-index: 1;
}

.menu-dots {
  flex-grow: 1;
  border-bottom: 1px dotted rgba(165, 139, 101, 0.45);
  margin-left: 8px;
  margin-right: 8px;
  margin-bottom: 4px;
}

/* Consultation Lead capture form styles */
.consult-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(34, 28, 26, 0.02);
}

.consult-input {
  width: 100%;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  color: var(--color-text-dark);
  padding: 0.8rem 1.2rem;
  font-size: 0.875rem;
  transition: var(--transition-quick);
}
.consult-input:focus {
  outline: none;
  background: var(--color-bg-white);
  border-color: var(--color-primary);
}
.consult-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.consult-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23A58B65' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.consult-checkbox {
  width: 0.95rem;
  height: 0.95rem;
  border: 1px solid var(--color-border);
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* Success modal popup after consultation submit */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34, 28, 26, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--color-bg-white);
  width: 90%;
  max-width: 420px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(34, 28, 26, 0.1);
  border: 1px solid var(--color-border);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
