/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Import fonts for global usage */
@import "font.css";

/* Import XEIcon for global icon usage */
@import "xeicon/xeicon.min.css";

body {
  margin: 0;
  font-family: 'Noto Sans KR', Arial, sans-serif;
  background: #f8f9fb;
  color: #222;
}

.main-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
}
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: #0074d9;
}
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 1rem;
}
.header-contact .phone {
  color: #ff9900;
  font-weight: bold;
  font-size: 1.2rem;
}
.header-contact .consult-time {
  color: #d7263d;
  font-size: 0.95rem;
}

.main-content {
  max-width: 1200px;
  margin: 0.5rem auto 0 auto;
  padding: 1rem;
  background: #fff;
  min-height: 60vh;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.main-footer {
  background: #2d1763;
  color: #fff;
  padding: 2rem 1rem 1rem 1rem;
  margin-top: 2rem;
}
.footer-top {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.95rem;
  gap: 0.5rem;
}
.footer-info a {
  color: #ff9900;
  text-decoration: none;
  margin: 0 0.5rem;
}
.footer-info a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .header-top, .main-content {
    max-width: 100%;
    padding: 0 0.5rem;
  }
  .main-nav ul {
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .header-contact {
    align-items: flex-start;
  }
  .main-content {
    padding: 0.5rem;
    border-radius: 0;
    box-shadow: none;
  }
  .main-footer {
    padding: 1rem 0.5rem;
  }
}
