/* Header Styles */
.logo-container {
  display: flex;
  align-items: center;
}
.logo-text{
  cursor: pointer;
}
.logo-text span {
  font-size: 1.7rem;
  font-weight: bold;
  color: #000000;
}

@media (min-width:320px) and (max-width:424px) {
  .logo-text span {
    font-size: 1rem;
  }
}


/* nav_style.css 수정 */
/* 기본 header 스타일 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #ffffff;
  padding: 10px 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
/* 빈 공간용 div */
.blank-header {
  width: 100%;
  height: 100px;
  background-color: transparent;
  margin-bottom: 2rem;
}
.nav {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  align-items: center;
}

.nav-button {
  padding: 5px 10px;
  font-weight: bold;
  color: #000000;

  text-decoration: none;
  margin: 0 10px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  border-bottom: 2px solid #007bff;
}

/* Dropdown Styles */
.nav-dropdown {
  position: relative;
  display: none;
}

/* Dropdown Button Styles */
.dropdown-toggle {
  background: none;
  border: none;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  color: #007bff;
}

/* Dropdown Content Styles */
.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  list-style-type: none;
  padding: 10px 0;
  width: 198px;
  z-index: 1000;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Dropdown Item Styles */
.dropdown-item {
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 1rem;
}

.dropdown-item:hover {
  background-color: #e0f2f1;
  color: #007bff;
}

/* Show Class for Dropdown Content */
.dropdown-content.show {
  display: block;
}



.login-button {
  display: flex;
  align-items: center;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px;
  font-size: 16px;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1400px) {
  .nav-buttons {
    display: flex;
  }
  .nav-dropdown {
    display: none;
  }
}

/* @media (max-width: 1020px) {
  .nav-buttons {
    display: flex;
  }
  .nav-dropdown {
    display: none;
  }
} */

@media (max-width: 1020px) {
  .nav-buttons {
    display: none;
  }
  .nav-dropdown {
    display: inline-block;
  }
  .inquiry-list-btn {
    display: none;
  }
}

@media (max-width: 460px) {
  .nav-buttons {
    display: none;
  }
  .nav-dropdown {
    display: inline-block;
  }
  .inquiry-list-btn {
    display: none;
  }
  .nav-buttons.show {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }
  .dropdown-toggle {
    padding: 10px;
    width: 100%;
    text-align: left;
  }
  .header{
    padding: 0 10px;
  }
  .dropdown-content{
    left: -122px;
  }
}
