/* style.css - /Ǫ  */

/* Fonts */
@font-face {
    font-family: 'Pretendard';
    src: url('pretendard.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
/* SamsungOneKorean */
@font-face {
    font-family: 'SamsungOneKorean';
    src: url('https://sin8550.cafe24.com/font/SamsungOneKorean-400.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SamsungOneKorean';
    src: url('https://sin8550.cafe24.com/font/SamsungOneKorean-700.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}
/* Samsung Sharp Sans */
@font-face {
    font-family: 'Samsung Sharp Sans';
    src: url('https://sin8550.cafe24.com/font/SamsungSharpSans.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/*  ڽ  */
* { box-sizing: border-box; }

/* body ⺻ */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /*  ũѸ  */
    font-family: 'Nanum Gothic','Pretendard', 'SamsungOneKorean', 'Samsung Sharp Sans', sans-serif;
}

/*   */
.top-banner {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    text-align: center;
    padding: 15px 10px;
    z-index: 1000;
    backdrop-filter: blur(5px);
}
.banner-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}
.banner-subtitle {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
}

/*   ̹ */
.info {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.info img {
  width: 100%;
  display: block;
}

/* Ұ */
.intro {
    max-width: 1024px;
    margin: 150px auto 80px auto;
    padding: 0 20px;
    line-height: 1.8;
    font-size: 18px;
    color: #333;
}
.intro h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}
.intro p {
    text-align: center;
    margin-bottom: 15px;
}

/*  ̹ Ʒ ư */
.info-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 150px 100px;
  flex-wrap: wrap;
}
.btn {
  padding: 20px 150px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  text-decoration: none;
  color: #fff;
}
.site-btn {
  background-color: #0073e6;
}
.site-btn:hover {
  background-color: #005bb5;
  transform: scale(1.05);
}
.popup-btn {
  background-color: #444;
}
.popup-btn:hover {
  background-color: #222;
  transform: scale(1.05);
}

/*  п ȸ  */
.section-divider {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 0 5vw;
}

/*  ̺Ʈ  */
.section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin: 0px 0 20px;
  font-family: 'SamsungOneKorean', 'Samsung Sharp Sans', sans-serif;
}
.section-subtitle {
  font-size: 20px;
  text-align: center;
  margin-bottom: 50px;
  color: #444;
  font-weight: 300;
}

/*   */
.banners-section {
  margin: 100px auto 100px auto;
  width: 100%;
  overflow: hidden;
}
.banners {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 0 auto 0px auto;
  max-width: 1280px;
}
.banner {
  flex: 1;
  height: 150px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s;
}
.banner:hover { transform: scale(1.05); }

/*  Ŭ   ̹ */
.banner-images picture {
  display: none;
  max-width: 1000px;
  margin: 30px auto;
}
.banner-images picture.active { display: block; }
.banner-images img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* 귣  */
.brands {
  margin: 100px auto 100px auto;
  width: 90%;
  overflow: hidden;
}
.brand-title {
  font-size: 40px;
  font-family: 'SamsungOneKorean', 'Samsung Sharp Sans', sans-serif;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
.brand-marquee {
  overflow: hidden;
  position: relative;
  width: 1280px;
  margin: 0 auto;
}
.brand-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}
.brand-item {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.brand-item img {
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ϴ ̹ */
.bottom-image {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
}
.bottom-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0,0,0,0.1);
}

/* Top ư */
#topBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    width: 50px;
    height: 50px;
    color: #fff;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-align: center;
    line-height: 50px;
    transition: transform 0.2s, background-color 0.2s;
}
#topBtn:hover { transform: scale(1.1); }

/* ̿  */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  position: relative;
}
.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover { color: red; }

/*  */
@media(max-width: 767px) {
    .info img {
        width: 100%;
        display: block;
        margin-bottom: 0px;
    }
    .intro {
        padding: 0 15px;
        margin-bottom: 50px;
        font-size: 16px;
        line-height: 1.6;
    }
    .intro h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .intro p { margin-bottom: 12px; }
    .banners { 
        width: auto;
        margin: 0 30px; 
        gap: 20px; 
        display: flex;
        flex-direction: column; 
    }
    .banner {
        flex: 1;
        height: auto;
        border-radius: 10px;
        background-size: contain;
        background-position: center;
        aspect-ratio: 16 / 7;
    }
    .banner-images img {
        display: block;
        margin: 0 auto;
        width: calc(100% - 30px); 
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }
    .brand-marquee { width: 100%; }

    .info-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 50px 20px 100px 20px;
        flex-wrap: wrap;
    }
    .btn { padding: 20px 120px; font-size: 20px; }
    .bottom-image { width: auto; margin: 0 auto; padding: 0 30px;}
}


/* 1) Global container width (override inline page styles) */
.container{
  max-width: var(--container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
}

/* 2) Softer cards & panels */
.card, .panel, .img-card, .media, .table, .notice, .map, .ci{
  border-radius: var(--radius-2xl) !important;
  box-shadow: var(--shadow-soft-1);
}

/* 3) Brand marquee containment & spacing */
.brand-marquee{
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 12px 0 !important;
}
.brand-track{
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
}
.brand-item img{
  display: block;
  max-height: 40px;
  max-width: 140px;
  height: auto;
}

/* 4) Typographic polish */
.section-title{
  letter-spacing: -0.01em;
}
.section-subtitle{
  color: var(--muted);
}

/* 5) Emoji helpers — add class/attribute in HTML */
.title-emoji::before{
  content: attr(data-emoji) " ";
  margin-right: 8px;
}
.chip.emoji::before,
.pill.emoji::before{
  content: attr(data-emoji) " ";
  margin-right: 6px;
}
.ul-emoji{
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.ul-emoji li{
  position: relative;
  padding-left: 28px;
}
.ul-emoji.check li::before{
  content: "✅";
  position: absolute;
  left: 0;
  top: 2px;
}
.ul-emoji.star li::before{
  content: "🌟";
  position: absolute;
  left: 0;
  top: 2px;
}
.ul-emoji.box li::before{
  content: "📦";
  position: absolute;
  left: 0;
  top: 2px;
}
.ul-emoji.shield li::before{
  content: "🛡️";
  position: absolute;
  left: 0;
  top: 2px;
}
.ul-emoji.truck li::before{
  content: "🚚";
  position: absolute;
  left: 0;
  top: 2px;
}
.ul-emoji.support li::before{
  content: "💬";
  position: absolute;
  left: 0;
  top: 2px;
}

/* 6) Support page search field polish */
.search{
  border-radius: 14px;
  box-shadow: var(--shadow-soft-1);
}

/* 7) Small screens padding */
@media (min-width: 1280px){
  .container{ padding-left: 32px; padding-right: 32px; }
}


/* Guide page helpers */
.steps{ display:flex; flex-direction:column; gap:28px; }
.step{ display:grid; grid-template-columns: 1fr 1fr; gap:28px; align-items:center; }
.step .copy .h2{ font-size:24px; margin:6px 0; }
.badge{ display:inline-flex; align-items:center; gap:6px; border:1px solid #e5e7eb; border-radius:999px; padding:6px 10px; background:#fff; font-size:12px; }
.img-card{ border:0px solid #fff; border-radius: var(--radius-2xl,20px); background:#fff; box-shadow: var(--shadow-soft-2); overflow:hidden; }
.img-card img{ display:block; width:100%; height:auto; }
.separator{ display:flex; justify-content:center; align-items:center; }
.separator .dot{ width:40px; height:40px; line-height:40px; text-align:center; border-radius:999px; border:1px solid #e5e7eb; background:#fff; box-shadow: var(--shadow-soft-1); }
.brand-grid{ display:grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap:16px; }
.brand-grid .brand{ display:flex; align-items:center; justify-content:center; border:1px solid #e5e7eb; border-radius:12px; background:#fff; padding:10px; }
.brand-grid img{ max-height:36px; width:auto; }

/* Info band (guide bottom) */
.info-band{ border:1px solid #e5e7eb; border-radius: var(--radius-2xl,20px); background:#fff; box-shadow: var(--shadow-soft-1); padding:20px; }
.info-cols{ display:grid; grid-template-columns: 220px 1fr; gap:16px; align-items:center; }
.info-rows{ display:flex; gap:10px; flex-wrap:wrap; }
.info-item{ border:1px dashed #cbd5e1; border-radius:10px; padding:8px 12px; background:#f8fafc; }

/* Responsive */
@media (max-width: 1200px){
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .step{ grid-template-columns: 1fr; }
  .brand-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
  .info-cols{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .section{ padding:72px 0; }
  .hero .inner{ flex-direction: column; gap:24px; }
  .grid-3{ grid-template-columns: 1fr; }
  .brand-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}


/* Global container width override (only): force 1280px site-wide */
.container{
  max-width:1280px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
