@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* Font Face Declarations */
@font-face {
  font-family: "Pretendard-Regular";
  src: url("https://anima-uploads.s3.amazonaws.com/projects/681c02510381d3a49b99eb95/fonts/pretendard-regular.otf")
    format("opentype");
}

@font-face {
  font-family: "Pretendard-SemiBold";
  src: url("https://anima-uploads.s3.amazonaws.com/projects/67616c3af382bd2c4698df42/fonts/pretendard-semibold.otf")
    format("opentype");
}

@font-face {
  font-family: "Pretendard-ExtraBold";
  src: url("https://anima-uploads.s3.amazonaws.com/projects/6733f3b89c04f21c988716b9/fonts/pretendard-extrabold.otf")
    format("opentype");
}

/* CSS Variables */
:root {
  --color-primary: #009865;
  --color-primary-hover: #007a52;
  --color-primary-active: #006644;
  --color-primary-light: rgba(0, 188, 125, 0.05);
  --color-text-dark: #0f1729;
  --color-text-main: #252525;
  --color-text-sub: #6d6d6d;
  --color-text-light: #64748b;
  --color-gray-icon: #999999;
  --color-border: #e7e7e7;
  --color-bg-light: #f9fafb;
  --color-white: #ffffff;
  --color-blue-dark: #011630;
  --max-content-width: 1440px;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard-Regular", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-content-width);
}

/* Header Navigation */
.header-nav {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.header-nav .container-fluid {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.logo-img {
  height: 24px;
  width: auto;
}

.nav-link-item {
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--color-text-main);
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.nav-link-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-text-main);
}

.nav-link-item.active {
  color: var(--color-primary);
}

.user-icon {
  width: 48px;
  height: 48px;
}

/* Hero Section */
.hero-section {
  background-color: var(--color-primary-light);
  padding: 6rem 2rem;
  text-align: center;
}

.hero-title {
  font-family: "Pretendard-ExtraBold", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: "Pretendard-Regular", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(0, 0, 0, 0.6);
  max-width: 700px;
  margin: 0 auto;
}

/* Form Section */
.form-section {
  background-color: var(--color-white);
  min-height: 60vh;
}

.form-card {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
}

.form-description {
  font-family: "Pretendard-Regular", sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-dark);
  margin: 0;
}

/* Form Elements */
.form-label {
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  display: block;
}

.input-group-custom {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 0.5rem 1.25rem;
  background-color: var(--color-white);
  transition: border-color 0.3s ease;
}

.input-group-custom:focus-within {
  border-color: var(--color-primary);
}

.input-icon {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.form-control-custom {
  border: none;
  outline: none;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-icon);
  flex: 1;
  width: 100%;
  padding: 0;
}

.form-control-custom:focus {
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--color-gray-icon);
}

/* Select Dropdown */
select.form-control-custom {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 2rem;
}

.select-arrow {
  position: absolute;
  right: 1.25rem;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

/* Textarea */
.textarea-custom {
  resize: vertical;
  min-height: 150px;
  padding: 0.5rem 0;
  line-height: 1.6;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.btn-submit:active {
  background-color: var(--color-primary-active);
  transform: translateY(0);
}

/* Footer */
.footer-section {
  background-color: var(--color-bg-light);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-logo {
  height: 24px;
  width: auto;
}

.footer-description {
  font-family: "Pretendard-Regular", sans-serif;
  font-size: 1rem;
  color: var(--color-blue-dark);
  line-height: 1.6;
  max-width: 350px;
}

.footer-heading {
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-sub);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-family: "Pretendard-Regular", sans-serif;
  font-size: 1rem;
  color: var(--color-text-sub);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-copyright {
  font-family: "Pretendard-Regular", sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-sub);
  margin: 0;
}

.footer-legal-link {
  font-family: "Pretendard-Regular", sans-serif;
  font-size: 0.75rem;
  color: var(--color-text-sub);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: var(--color-primary);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .header-nav .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-link-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .hero-section {
    padding: 4rem 1.5rem;
  }

  .form-card {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .header-nav nav {
    flex-wrap: wrap;
    gap: 0.25rem !important;
  }

  .nav-link-item {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .user-icon {
    width: 36px;
    height: 36px;
  }

  .hero-section {
    padding: 3rem 1rem;
  }

  .form-card {
    padding: 1.25rem;
  }

  .footer-section {
    padding: 2rem 0 1.5rem;
  }

  .footer-description {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .nav-link-item {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
  }

  .logo-img {
    height: 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .form-title {
    font-size: 1.25rem;
  }

  .btn-submit {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
}
