/* =================================================
   RESET / BASIC
================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", Arial, sans-serif;
  color: #333;
  background: #fff;
}

/* =================================================
   HEADER
================================================= */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: #1f4e79;
  text-decoration: none;
}

/* =================================================
   GNB
================================================= */
.main-nav {
  width: 100%;
  background: #1f4e79;
}

.gnb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  list-style: none;
}

.gnb > li {
  position: relative;
}

.gnb > li > a {
  display: block;
  padding: 18px 22px;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
}

.gnb > li > a:hover,
.gnb > li.active > a {
  background: #163b5c;
}

/* =================================================
   SUB MENU (HOVER)
================================================= */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 1000;
}

.gnb > li:hover > .submenu {
  display: block;
}

.submenu li {
  list-style: none;
}

.submenu li a {
  display: block;
  padding: 12px 15px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.submenu li a:hover {
  background: #f2f6fb;
  color: #1f4e79;
}

/* =================================================
   SUB PAGE LAYOUT (공통)
================================================= */
.sub-page {
  width: 100%;
}

.sub-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  gap: 40px;
}

/* =================================================
   SIDEBAR (COMPANY / BUSINESS / PROCEDURE 공통)
================================================= */
.sidebar {
  width: 240px;
  flex-shrink: 0;
}

.sidebar h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1f4e79;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  border-bottom: 1px solid #ddd;
}

.sidebar ul li a {
  display: block;
  padding: 14px 12px;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar ul li a:hover,
.sidebar ul li.active a {
  background: #1f4e79;
  color: #fff;
  font-weight: 600;
}

/* =================================================
   SUB CONTENT
================================================= */
.sub-content {
  flex: 1;
}

.sub-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1f4e79;
}

.sub-content h3 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.sub-content p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.sub-content ul {
  padding-left: 20px;
}

.sub-content ul li {
  margin-bottom: 8px;
}

/* =================================================
   PROCEDURE LIST
================================================= */
.procedure-steps {
  margin-top: 30px;
  padding-left: 20px;
}

.procedure-steps li {
  margin-bottom: 25px;
}

.procedure-steps strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
  color: #0b3a82;
}

.procedure-steps p {
  margin: 0;
  color: #555;
}

/* =================================================
   FOOTER
================================================= */
.footer {
  background: #333;
  color: #ccc;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-inner strong {
  color: #fff;
}

/* ================================
   PERFORMANCE GALLERY
================================ */

.performance-gallery {
  margin-top: 40px;
}

.performance-gallery h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border: 1px solid #ddd;
  background: #fff;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-item .caption {
  padding: 12px;
  font-size: 14px;
  color: #555;
  text-align: center;
}

/* 반응형 */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  max-width: 600px;
  margin-top: 30px;
}

.contact-form div {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
}

.contact-form button {
  margin-top: 10px;
  padding: 12px 30px;
  background: #1f4e79;
  color: #fff;
  border: none;
  cursor: pointer;
}
