:root {
  --primary-color: #2c3e50;
  --accent-color: #ffaa00;
  --surface-color: #f9f9f9;
  --surface-alt: #eef0f2;
  --text-muted: #6c757d;
}

body {
  margin-top: 70px;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--primary-color);
  background-color: var(--surface-color);
}

.site-navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.site-logo {
  width: 80px;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  margin-left: 1rem;
  font-weight: 500;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
  color: var(--accent-color) !important;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7));
}

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

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}

.hero-fps {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  min-width: 118px;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 170, 0, 0.32);
  border-radius: 999px;
  background: rgba(20, 28, 36, 0.45);
  color: #ffd27a;
  font-size: 0.8rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.hero h1,
.section-title,
.page-hero-title {
  font-family: "Cormorant Garamond", serif;
}

.hero h1 {
  font-size: clamp(1.3rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-copy {
  font-family: "SUIT", "Noto Sans KR", sans-serif;
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.88);
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 0.5rem auto 0;
  background: var(--accent-color);
}

.feature-tile,
.service-card,
.portfolio-card,
.contact-panel,
.about-panel {
  height: 100%;
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.feature-tile {
  padding: 1.5rem 1rem;
  text-align: center;
  background: #f7f7f7;
}

.feature-tile i,
.service-icon {
  color: var(--accent-color);
}

.btn-primary,
.btn-submit {
  border: none;
  border-radius: 0.3rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
}

.btn-primary:hover,
.btn-submit:hover {
  background-color: #e09400;
}

.contact-submit-btn {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.contact-submit-btn.is-firing {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 170, 0, 0.22);
}

.contact-submit-fx {
  position: absolute;
  inset: -240px;
  z-index: 2;
  pointer-events: none;
}

.muted-section {
  background-color: var(--surface-alt);
}

.client-logo {
  border-radius: 1rem;
}

.service-card {
  padding: 2rem;
  text-align: center;
}

.service-card img {
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

.service-gallery video {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.portfolio-card {
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-item {
  cursor: pointer;
}

.portfolio-thumb {
  height: 200px;
  object-fit: cover;
}

.filter-btn {
  white-space: nowrap;
}

.portfolio-filter-scroll {
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.detail-img {
  width: 100%;
  max-height: 400px;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.detail-info dt {
  font-weight: 600;
}

.about-img {
  width: 100%;
  height: 300px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.contact-panel {
  position: relative;
  padding: 1.5rem;
}

.portfolio-admin-list {
  height: auto;
  overflow: visible;
}

.contact-status-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}

.contact-status-overlay.is-visible {
  display: flex;
}

.contact-status-card {
  position: relative;
  width: min(100%, 420px);
  padding: 1.4rem 1.35rem 1.2rem;
  border: 1px solid rgba(255, 170, 0, 0.24);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(26, 33, 40, 0.14);
}

.contact-status-card.is-success {
  border-color: rgba(255, 170, 0, 0.32);
}

.contact-status-card.is-error {
  border-color: rgba(220, 53, 69, 0.24);
}

.contact-status-card.is-pending {
  border-color: rgba(255, 170, 0, 0.28);
}

.contact-status-label {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #c08a00;
}

.contact-status-message {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--primary-color);
}

.contact-status-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  color: #7b8791;
}

.contact-status-close.is-hidden {
  display: none;
}

#naverMap {
  width: 100%;
  height: 400px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  padding: 1rem 0;
  color: #bdc3c7;
  background-color: #2c3e50;
  line-height: 1.7;
}

.site-footer p {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-copy,
.footer-contact {
  font-size: 0.95rem;
}

::placeholder {
  color: #cccccc !important;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }
}
