/* Header */
.header {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #ff0040;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 55px;
  font-size: 1.24em;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #ff0040;
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-outline {
  background: transparent;
  border: 2px solid #ff0040;
  color: #ff0040;
}

.btn-primary {
  background: #ff0040;
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 64, 0.3);
}

/* Mobile Menu - .auth-buttons 아래에 추가 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 20px;
}

.mobile-menu ul li {
  margin-bottom: 15px;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.mobile-auth {
  display: flex;
  gap: 10px;
  padding: 0 20px 20px;
}

/* Hero Section */
.hero {
  background: url(../img/main.jpg) center;
  background-size: cover;
  padding: 120px 0 80px;
  height: 100vh;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 0 20px;
  height: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}
.hero-content h1 {
  font-size: 58px;
  font-weight: bold;
  margin-bottom: 45px;
  line-height: 1.2;
  color: #fff;
}

.hero-content b {
  color: #fa102f;
}

.hero-content button {
  padding: 18px 45px;
  font-size: 16px;
}

.hero-content .tagline {
  font-size: 20px;
  margin-bottom: 30px;
  color: #ccc;
}

.hero-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* 공통 */
.title_sub {
  text-align: center;
  font-size: 22px;
  color: #ff0040;
}

/* Stats Section */
.stats {
  background: url(../img/status_bg.jpg) bottom center;
  background-size: cover;
  padding: 90px 0 300px;
  color: white;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stats-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  padding-top: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid #ff0040;
}

.stat-item h3 {
  font-size: 42px;
  color: #ff0040;
  margin-bottom: 10px;
  font-weight: bold;
}

.stat-item p {
  font-size: 16px;
  color: #ccc;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #f8f8f8;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 25px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
}

.service-link {
  color: #ff0040;
  text-decoration: none;
  font-weight: bold;
}

/* Products Section */
.products {
  padding: 110px 0;
  background: white;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding-top: 3rem;
}

.product-card {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
}

.product-card h4 {
  font-size: 22px;
}

.product-card:hover {
  background: #ff0040;
  color: white;
  transform: translateY(-5px);
}

.product-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  border-radius: 50%;
  object-fit: cover;
}

/* mini_con Section */
.mini_con {
  background: #ff0040;
  padding: 60px 0;
  color: white;
  text-align: center;
}

.mini_con-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.mini_con h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.mini_con p {
  font-size: 18px;
}

.mini_con-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.mini_con-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
}

.mini_con-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* contact */
.contact {
  padding: 80px 20px;
  background: #f0f0f0;
}

.contact-wrapper {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-header {
  padding: 50px 60px 30px;
  background: white;
}

.contact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
  font-weight: 600;
}

.contact-subtitle {
  color: #888;
  font-size: 1rem;
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  padding: 0 60px 40px;
}

.contact-left {
  padding-right: 40px;
}

.contact-right {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  margin-bottom: 25px;
}

.contact-label {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-value {
  color: #333;
  font-size: 1.2rem;
  line-height: 1.4;
}

.emergency-section h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.emergency-desc {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.emergency-btn {
  background: #333;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.emergency-btn:hover {
  background: #555;
}

.map-section {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.contact .root_daum_roughmap.root_daum_roughmap_landing {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: #ff0040;
  margin-bottom: 15px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-section a:hover {
  color: #ff0040;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {

.mobile-menu ul li a {
  font-size: 18px;
}

  .nav-container {
    padding: 0 20px;
  }

  .nav-menu {
    display: none;
  }

  .auth-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .section-title {
    font-size: 1.9rem !important;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 36px;
    text-align: left;
  }
.stats {
  padding: 70px 0 200px;
}
  .stats-container {
    padding: 0 20px;
  }

  .stat-item {
    width: 160px;
    height: 160px;
  }

.stat-item h3 {
  font-size: 31px;
}
.stats-title {
  font-size: 33px;
}
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    padding-top: 1rem;
  }

  .services-container {
    padding: 0 20px;
  }

  .service-card p {
    font-size: 15.5px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }

  .products {
    padding: 70px 0;
  }
  .products-container {
    padding: 0 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
  }

  .mini_con h2 {
    font-size: 29px;
  }

  .mini_con-container {
    padding: 0 20px;
  }

  .mini_con-info {
    grid-template-columns: 1fr;
  }

      .contact-body {
                grid-template-columns: 1fr;
            }
            
            .contact-left, .contact-right {
                padding: 0;
            }

  .footer-container {
    padding: 0 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-header {
    padding: 30px;
  }

  .contact-body {
    padding: 30px;
  }
.contact-header h2 {
  font-size: 2rem;
}

.contact-value {
  font-size: 1.13em;
}

}
