@charset "UTF-8";
@import url("common.css");

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 {
  color: #d35400;
  font-size: 20px;
  margin: 0;
}
nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
}
.section {
  padding: 40px 20px;
  padding-bottom: 0px;
  border-bottom: 2px solid #f9c702;
}
.section-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.section:nth-child(odd) .section-inner {
  flex-direction: row-reverse;
}
.section img {
  width: 50%;
  border-radius: 4px;
}
.content {
  width: 45%;
  padding: 20px;
}
.content h2 {
  font-family: "brandonG semibold";
  font-size: 26px;
  margin-bottom: 26px;
  letter-spacing: 0.5px;
  color: #222;
}
.content p {
  font-size: 15px;
  margin-bottom: 62px;
  color: #555;
  font-family: "aritaD light";
  text-transform: uppercase;
}
.btn {
  display: inline-block;
  padding: 10px 75px;
  background: #383838;
  color: #fff;
  text-decoration: none;
  border: 0px;
  font-size: 13px;
  transition: background 0.3s;
  cursor: pointer;
  font-family: "Playfair semibold";
}
.btn:hover {
  background: #f9c702;
  color: #383838;
}

/* 토글 리스트 */
.details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.3s ease;
  margin-top: 0;
  background: #f9f9f9;
  opacity: 0;
  padding: 0 20px;
}
.details.open {
  max-height: 1000px; /* 충분히 큰 값으로 잡아줌 */
  padding: 20px;
  opacity: 1;
  transition: max-height 0.6s ease, ease 0.1s;
}
/* 큰 카테고리들을 가로 배치 */
.details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px; /* 카테고리 간격 */
}
/* 각 열 */
.details-grid > ul {
  display: flex;
  list-style: none;
  column-gap: 5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  text-transform: uppercase;
}

/* 하위 리스트 */
.details-grid > ul > ul {
  display: flex;
  flex-direction: column; /* 가로 한 줄 */
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}
.details ul ul .boat-class {
  text-decoration: underline;
  font-size: 15px;
  margin-bottom: 9px;
  color: #222;
  letter-spacing: 0.8px;
  font-family: "playfair semibold";
}
.details-grid > ul > ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.details-grid > ul > ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
  font-family: "brandonG regular";
  font-size: 14px;
  position: relative;
}

.details-grid > ul > ul li a:hover {
  color: #dcb000;
  text-decoration: underline;
}
.badge-new {
  position: absolute;
  right: -22px;
  top: -3px;
  display: inline-block;
  font-size: 8px;
  color: #d71616;
  font-weight: bold;
  animation: blinkSoft 1.5s ease-in-out infinite;
  font-family: "brandonG bold";
}

@keyframes blinkSoft {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@media (max-width: 1200px) {
  .details-grid > ul {
    column-gap: 7rem;
  }
}
@media (max-width: 780px) {
  .section {
    padding-top: 10px;
  }
  .section-inner {
    flex-direction: column !important;
  }
  .section img,
  .content {
    width: 100%;
  }
  .content h2 {
    font-size: 24px;
  }
  .content p {
    font-size: 12px;
    margin-bottom: 30px;
  }
  .details-grid > ul {
    flex-direction: column;
  }
  .details ul ul .boat-class {
    font-size: 14px;
  }
  .details-grid > ul > ul li a {
    font-size: 13px;
  }
}
