@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Noto Sans KR",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Noto Sans KR",  sans-serif;
  --nav-font: "Noto Sans KR",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #342c26; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2c1607; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #005a9a; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #005a9a; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #342c26; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #005a9a; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f7f6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

@media (min-width: 1400px) {

  /* PC 이상 구간 */
  .container,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1680px;
  }
}

/* 1) nav를 한 줄 레이아웃으로 */
#shGnb{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* 2) 로고/메뉴/우측 영역을 flex item으로 */
#shGnb .sh_logo{ flex:0 0 auto; }
#shGnb .sh_nav { flex:1 1 auto; min-width:0; display:flex; justify-content:center; gap:24px; }
#shGnb .sh_tip { flex:0 0 auto; display:flex; align-items:center; gap:12px; }

/* 3) 메뉴 텍스트가 커도 줄바꿈으로 레이아웃 붕괴 방지 */
#shGnb .sh_nav > li > a{ white-space:nowrap; }


/* 1366~1599px : 보통 가장 많이 겹치는 구간 */
@media (min-width: 1366px) and (max-width: 1599.98px){
  #shGnb .sh_logo img{ height:38px; }     /* 또는 max-width로 제한 */
  #shGnb .sh_nav{ gap:14px; }
  #shGnb .sh_nav > li > a{ font-size:15px; }
  #shGnb .sh_tip{ gap:8px; }
  #shGnb .btn-custom span{ font-size:13px; }
}

/* 1600~1919px : 약하게만 줄임 */
@media (min-width: 1600px) and (max-width: 1919.98px){
  #shGnb .sh_logo img{ height:38px; }
  #shGnb .sh_nav{ gap:18px; }
  #shGnb .sh_nav > li > a{ font-size:16px; }
}


/* 예: 1500px 이하에서는 모바일 메뉴로 전환 (프로젝트에 맞게 수치 조정) */
@media (max-width: 1499.98px){
  #sh_hd_wrapper > #shGnb { display:none; }
  #topmenuM { display:block; }
}

/* 기본은 PC 메뉴 */
#topmenuM{ display:none; }

