/* =========================
   Base
========================= */

body {
    margin: 0;
    padding: 0;
    font-family: "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    color: #333;
    background: #fafafa;
  }
  
  main {
    max-width: 1600px;
    margin: 20px auto;
    padding: 0 20px 20px;
  }
  
  
  /* =========================
     Navbar
  ========================= */
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .nav-left {
    margin-right: auto;
  }
  
  .nav-left .title {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
  }
  
  .nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .nav-center > .menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
  }
  
  .nav-center > .menu > li {
    position: relative;
    width: max-content !important;
  }
  
  .nav-center > .menu > li > a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 16px;
  }
  
  .nav-center > .menu > li > a:hover {
    color: #222;
  }
  
  .nav-right {
    margin-left: auto;
    display: flex;
    gap: 16px;
  }
  
  .icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  
  .icon-btn img {
    width: 40px;
    height: 40px;
  }
  
  
  /* =========================
     Submenu
  ========================= */
  
  .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    min-width: 180px;
    padding: 8px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
  }
  
  .submenu li a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
  }
  
  .submenu li a:hover {
    background-color: #f5f5f5;
  }
  
  .nav-center > .menu li:hover > .submenu,
  .nav-center > .menu li:focus-within > .submenu {
    display: block;
  }
  
  
  /* =========================
     Banner
  ========================= */
  
  .banner-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  
  .banner-bg {
    position: absolute;
    width: 90%;
    max-width: 1200px;
    height: 60%;
    background-color: #f2b974;
    border-radius: 30px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  
  .banner-img {
    width: 70%;
    max-width: 1000px;
    height: auto;
    z-index: 2;
    position: relative;
    display: block;
  }
  
  .logo-img {
    width: 150px;
    height: auto;
  }
  
  
  /* =========================
     Zzong Row
  ========================= */
  
  .zzong-row {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 4vw, 50px);
    margin-top: 55px;
    margin-bottom: 50px;
  }
  
  .zzong-row img {
    height: clamp(40px, 8vw, 80px);
    width: auto;
  }
  
  
  /* =========================
     Center Layout
  ========================= */
  
  .content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
  }
  
  .left-box,
  .right-box {
    flex: 1 1 0;
    max-width: 700px;
  }
  
  .left-box iframe,
  .twitter-tweet {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
  }
  
  .left-box img,
  .right-box img {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    margin-top: 8px;
  }
  
  
  /* =========================
     Section
  ========================= */
  
  .section {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e5e5;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  
  .section p {
    margin: 4px 0 10px;
    font-size: 16px;
    color: #333;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .section-deco-img {
    display: flex; 
    justify-content: 
    center; margin-top: 10px; 
    margin-bottom: 5px; 
    gap: 5px; 
    align-items: end;
  }

  .logo-wrapper {
    display: flex; 
    justify-content: center; 
    margin-top: 20px; 
    gap: 10px; 
    align-items: center;
  }

  .section-logo-img {
    width: 30px;
    height: auto;
    margin-right: 12px;
  }

  .e-btn {
    display: inline-block;
    background-color: #ffb700;
    padding: 10px 15px;
    border-radius: 15px;
    color: white;
    text-decoration: none;
    margin-right: 10px;
    font-size: 14px;
    transition: background-color 0.2s ease;
  }

  .e-btn:hover {
    background-color: #FC9465;
  }
  
  .marker-round {
    position: relative;
    z-index: 1; 
    display: inline-block;
    position: relative;
    display: inline-block;
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 700;
    padding: 6px 14px;
  }

  .marker-round::before {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: 10px;
    height: 45%;  
    background: #FFE3C0;
    border-radius: 25px;
    z-index: -1;
  }

  .map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    justify-content: center;
  }

  .map iframe {
    margin: 0 0 auto;
  }

  .company-box {
    width: fit-content;
    margin: 0 auto; 
    text-align: left;
  }

  .company-box .info {
    width: fit-content;
    margin: 0 auto; 
    text-align: left;
  }

  .company-box .info p {
    margin: 4px 0;        
  }
  
  /* =========================
     Footer
  ========================= */
  
  .footer {
    border-top: 1px solid #e5e5e5;
    background-color: #ffffff;
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #999;
    font-size: 14px;
    font-weight: 600;
  }
  
  
  /* =========================
     Dark Mode
  ========================= */
  
  body.dark-mode {
    background-color: #121212;
    color: #e6e6e6;
  }
  
  body.dark-mode .navbar {
    background-color: #1c1c1c;
    border-bottom-color: #ffffff;
  }
  
  body.dark-mode .nav-left .title {
    color: #ffffff;
  }
  
  body.dark-mode .nav-center > .menu > li > a {
    color: #ffffff;
  }
  
  body.dark-mode .nav-center > .menu > li > a:hover {
    color: #ffffff;
  }
  
  body.dark-mode .submenu {
    background-color: #1f1f1f;
    border-color: #333;
  }
  
  body.dark-mode .submenu li a {
    color: #ffffff;
  }
  
  body.dark-mode .submenu li a:hover {
    background-color: #333;
  }
  
  body.dark-mode .section {
    background-color: #1c1c1c;
    border-color: #ffffff;
    color: #ffffff;
  }
  
  body.dark-mode .section p {
    color: #ffffff;
  }
  
  body.dark-mode .subtitle {
    color: #919191;
  }
  
  body.dark-mode .footer {
    background-color: #1c1c1c;
    color: #aaa;
    border-top-color: #ffffff;
  }
  
  body.dark-mode .marker-round::before {
    background-color: #FF9F40;
  }
  
  /* =========================
     Responsive
  ========================= */

@media (max-width: 393px) {
  main {
    margin: 12px auto;
    padding: 0 12px 16px;
  }

  .navbar {
    padding: 12px 14px;
    gap: 8px;
  }

  .nav-left .title {
    font-size: 22px;
  }

  .nav-center > .menu {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-center > .menu > li > a {
    padding: 8px 10px;
  }

  .nav-center > .menu > li > a {
    font-size: 0;
    line-height: 1;
  }
  .nav-center > .menu > li > a::first-letter {
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 600;
    line-height: 1.2;
  }

  .nav-right {
    gap:10px;
  }

  .icon-btn {
    padding: 2px;
  }

  .icon-btn img {
    width: 32px;
    height: 32px;
  }

  .submenu {
    min-width: 140px;
    left: 0;
    transform: none;
  }

  .banner-wrapper {
    margin-top: 24px;
  }

  .banner-img {
    width: 80%;
  }

  .zzong-row {
    flex-wrap: wrap;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 28px;
    padding: 12px 0;
  }

  .section {
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .section p {
    font-size: 15px;
  }

  .marker-round {
    font-size: 26px;
    padding: 4px 10px;
  }

  .logo-wrapper {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .section-logo-img {
    margin-right: 8px;
  }

  .section-deco-img {
    flex-wrap: wrap;
  }

  .map iframe {
    max-width: 100%;
    width: 100% !important;
    height: 220px;
  }

  .company-box,
  .company-box .info {
    max-width: 100%;
  }

  .footer {
    padding: 16px 12px;
    font-size: 13px;
  }

  .logo-img {
    width: 120px;
  }
}
  
  @media (max-width: 768px) {
    .center-wrapper {
      flex-direction: column;
      align-items: center;
      gap: 30px;
      max-width: 100%;
      padding: 10px 20px;
    }
  
    .left-box,
    .right-box {
      max-width: 100%;
      width: 100%;
      padding-top: 0;
    }
  
    .right-box img {
      width: 100%;
      max-width: 450px;
    }
  
    .twitter-tweet {
      width: 90% !important;
    }
  }
  
  @media (max-width: 768px) {
    .navbar {
      flex-wrap: wrap;
    }
  
    .nav-right {
      margin-left: auto;
    }
  
    .nav-center {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 10px;
    }
  
    .nav-center > .menu {
      display: flex;
      flex-direction: row;
      justify-content: center;
      gap: 16px;
      margin: 0;
      padding: 0;
    }
  
    .nav-center > .menu > li {
      position: relative;
    }
  
    .submenu {
      position: absolute;
      top: 100%;
      left: 0%;
      transform: none;
      background-color: #fff;
      border: 1px solid #ddd;
      padding: 8px 0;
      margin: 0;
      min-width: 140px;
    }
  
    .submenu li a {
      padding: 6px 12px;
    }
  }

  @media screen and (max-width: 1074px){
    .map iframe{
       width: auto;
       height:auto;
      }
  }