/* font */
@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 200%;
  font-display: swap;
}

/* variables */
:root {
  --color-primary: #6e4bef;
  --color-black: #191919;
  --color-white: #ffffff;
  --text-xs: 14px;
  --text-s: 16px;
  --text-m: 18px;
  --text-l: 20px;
  --text-xl: 24px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --section-gap: 200px;
}

/* reset.css */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  border: none;
  outline: none;
}

/* common */


.footer_info_section .footer_info_left .footer_info_tel,
.footer_info_section .footer_info_left .footer_info_tel a {
  color: var(--color-white);
  font-size: var(--text-s);
  text-decoration: none;
  margin-top: 30px;
}


.close-btn {
  float: right;
  font-size: 24px;
  cursor: pointer;
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 40px 60px;
  border-radius: 12px;
  width: 1000px; /* ✅ 넓은 크기 */
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.modal-content img {
  width: 300px; /* ✅ 큰 이미지 */
  margin-bottom: 30px;
}

.modal-content p {
  font-size: 24px; /* ✅ 큰 글씨 */
  color: #222;
  font-weight: bold;
  margin-top: 10px;
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #888;
}

.close:hover {
  color: #333;
}



html,
body {
  max-width: 1920px;
  margin: 0 auto;
}

html,
body,
p,
div {
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  color: var(--color-black);
}

/* top banner */

.top_banner {
  background-color: var(--color-primary);
  padding: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top_banner p {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-size: var(--text-m);
  font-weight: 500;
  line-height: 1;
  gap: 8px;
}

.top_banner .banner_text.bold {
  font-weight: 700;
}

.top_banner svg {
  width: 20px;
  height: 20px;
}

/* header */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: var(--color-white);
}

.header .logo {
  width: auto;
  height: 50px;
}

.header .logo img {
  width: auto;
  height: 100%;
}

.header nav {
  width: 60%;
}

.header nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.header nav ul li {
  display: flex;
  align-items: center;
  font-size: var(--text-m);
  font-weight: 700;
  line-height: 1;
}

.header nav ul li a {
  color: var(--color-black);
  text-decoration: none;
}

.header .login_button {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-s);
  padding: 14px 60px;
  border-radius: 12px;
  cursor: pointer;
}

/* main banner */

.main_banner_section .main_banner_item {
  position: relative;
  width: 100%;
  height: 100%;
}

.main_banner_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_banner_item .item_text_wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.main_banner_item .item_text_wrapper .text_title {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
}

.main_banner_item .item_text_wrapper .text_subtitle {
  font-size: var(--text-m);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-white);
  margin-top: 10px;
}

/* products */
.products_section {
  margin-top: var(--section-gap);
  padding: 0 40px;
}

.products_section h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.products_section .section_description_wrapper {
  margin-top: 20px;
  margin: 20px auto;
  text-align: center;
}

.products_section .section_description_wrapper .section_description_title {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.5;
}

.products_section .section_description_wrapper .section_description_subtitle {
  font-size: var(--text-s);
  font-weight: 500;
  line-height: 1.5;
}

.products_section .products_list_wrapper {
  margin-top: 80px;
}

.products_section .products_list_wrapper ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.product_item {
  flex: 1 1 calc((100% - 60px) / 4);
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.product_item .item_img_wrapper {
  border: 10px solid var(--color-primary);
}

.product_item .item_img_wrapper img {
  display: block;
  font-size: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product_item .item_text_wrapper {
  text-align: center;
}

.product_item .item_text_wrapper .text_title {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.5;
}

.product_item .item_text_wrapper .text_description {
  font-size: var(--text-s);
  font-weight: 400;
  line-height: 1.3;
  margin-top: 10px;
}

/* footer */
.footer {
  margin-top: var(--section-gap);
  background-image: url("/assets/images/footer_image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 1920 / 1123;
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer_about_section .about_title_wrapper {
  color: var(--color-white);
  text-align: center;
}

.footer_about_section .about_title_wrapper h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.5;
}

.footer_about_section .about_title_wrapper div {
  font-size: var(--text-s);
  color: var(--color-white);
  font-weight: 300;
}

.footer_about_section .about_description_wrapper {
  margin-top: 120px;
}

.footer_about_section .about_description_wrapper .description_text {
  font-size: var(--text-m);
  color: var(--color-white);
  text-align: center;
  font-weight: 300;
  line-height: 1.2;
}

.footer_about_section .about_description_wrapper .description_text.bold {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: 15px;
}

.footer_info_section {
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer_info_section .footer_info_left .footer_logo {
  width: auto;
  height: 60px;
}

.footer_info_section .footer_info_left .footer_logo img {
  width: auto;
  height: 100%;
}

.footer_info_section .footer_info_right {
  text-align: right;
}

.footer_info_section .footer_info_right p {
  color: var(--color-white);
  font-size: var(--text-s);
  margin-bottom: 12px;
}

.footer_info_section .footer_info_right p:last-child {
  margin-bottom: 0;
}

.footer_info_section .footer_info_right a {
  color: var(--color-white);
  font-size: var(--text-s);
  text-decoration: none;
}

@media screen and (max-width: 1440px) {
  :root {
    --text-xs: 13px;
    --text-s: 15px;
    --text-m: 17px;
    --text-l: 19px;
    --text-xl: 22px;
    --text-2xl: 26px;
    --text-3xl: 32px;
    --text-4xl: 42px;

    --section-gap: 160px;
  }

  .header .logo {
    width: auto;
    height: 36px;
  }
  .header .login_button {
    padding: 10px 40px;
    border-radius: 10px;
  }
}

@media screen and (max-width: 1280px) {
  .products_section .products_list_wrapper {
    margin-top: 60px;
  }
  .product_item .item_img_wrapper {
    border-width: 6px;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --text-xs: 12px;
    --text-s: 15px;
    --text-m: 16px;
    --text-l: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 28px;
    --text-4xl: 36px;

    --section-gap: 120px;
  }
  .main_banner_img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
  }

  .product_item {
    flex: 1 1 calc((100% - 20px) / 2);
  }
}

@media screen and (max-width: 768px) {
  :root {
    --text-4xl: 30px;
  }

  .top_banner {
    padding: 12px;
  }

  .header .logo {
    height: 28px;
  }

  .header .login_button {
    padding: 8px 20px;
    border-radius: 6px;
  }

  .products_section .products_list_wrapper {
    margin-top: 40px;
  }

  .footer_info_section {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer_info_section .footer_info_right {
    text-align: left;
  }
}
