@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap");
@import "./fonts.css";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* scroll-behavior: smooth; */
}

body {
  overflow-x: hidden;
  background-color: #fff;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #1a1a1a;
}

img {
  border: 0;
  vertical-align: middle;
}

/* common */
.inner {
  width: 1920px;
  margin: 0 auto;
}

/* header */
.header {
  width: 100%;
  height: 127px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}
.header .inner {
  width: 1348px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  display: block;
}
.logo img {
  width: 120px;
  height: 80px;
}

.header .nav .gnb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 135px;
}
.gnb li a {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: #1a1a1a;
}

/* hero */
.slogan-slider {
  position: relative;
  width: 100%;
  height: 648px;
  overflow: hidden;
}

.slogan-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slogan-slide.active {
  opacity: 1;
  z-index: 2;
}

.slogan-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slogan-text {
  position: absolute;
  left: 420px;
  top: 400px;
  color: #fff;
  z-index: 3;
  width: auto;
}

.slogan-text h2 {
  margin: 0 0 24px;
  font-size: 40px;
  font-weight: 5500;
  line-height: 1.3;
}

.slogan-text p {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

/* ====첫번째 섹션 ====*/
.about {
  width: 100%;
  height: 536px;
  background-color: #fff;
  align-items: center;
}

.about .inner {
  width: 1348px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-text {
  width: 760px;
}

.about-sub-title {
  font-size: 24px;
  font-weight: 400;
  color: #0d3a7d;
  margin-bottom: 12px;
}

.about-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.4;
  color: #111;
  margin-bottom: 16px;
}

.about-title .normal {
  font-weight: 400;
  font-size: 24px;
}

.about-desc {
  font-size: 24px;
  font-weight: 400;
  color: #111;
  margin-bottom: 20px;
}

.about-desc2 {
  font-size: 24px;
  font-weight: 400;
  color: #111;
  margin-bottom: 50px;
}

.about-desc2 strong {
  font-size: 36px;
  font-weight: 500;
}

.about-btn-group {
  display: flex;
  gap: 46px;
}

.about-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 222px;
  height: 51px;
  border-radius: 14px;
  background-color: #8dabd7;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.about-btn:hover {
  background-color: #5380c3;
  transform: translateY(-2px);
}

.about-img {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.about-img img {
  width: 260px;
  height: 330px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 8px 8px 14px rgba(0, 0, 0, 0.12);
}

.about-img img:first-child {
  margin-top: 110px;
}

/* ======입양리스트======== */
.animals {
  width: 100%;
  padding: 120px 0;
  background-color: #fafbfb;
}

.animals .inner {
  width: 1348px;
  margin: 0 auto;
}

.animals-title {
  text-align: center;
  margin-bottom: 80px;
}

.animals-title h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 10px;
}

.animals-title p {
  font-size: 20px;
  font-weight: 500;
  color: #5380c3;
  margin-bottom: 10px;
}

.animal-list {
  display: grid;
  grid-template-columns: repeat(4, 248px);
  gap: 52px 84px;
  justify-content: space-between;
}

.animal-card {
  width: 248px;
  height: 288px;
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.animal-card:nth-child(n + 5) {
  margin-top: 40px;
}

.animal-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.animal-info {
  padding: 12px 16px;
}

.animal-info span {
  display: block;
  font-size: 14px;
  color: #9d9898;
}

.animal-info strong {
  display: block;
  font-size: 15px;
  color: #000000;
}

.animals-more {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
}

.more-btn {
  width: 312px;
  height: 51px;
  border-radius: 14px;
  padding: 12px 48px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  background-color: #8dabd7;
  border: none;
}

.more-btn:hover {
  background-color: #5380c3;
  transform: translateY(-2px);
}

/* ===입양 이야기=== */
.story-section {
  width: 100%;
  padding: 110px 0 70px;
  background: #f4f4f4;
}

.story-header {
  text-align: center;
  margin-bottom: 52px;
}

.story-header h2 {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 500;
  color: #111;
  line-height: 1.2;
}

.story-header p {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  color: #5f82b8;
  line-height: 1.5;
}

.story-slider {
  position: relative;
  width: 1250px;
  height: 560px;
  margin: 0 auto;
}

.story-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  gap: 72px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.story-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.story-img-wrap {
  width: 460px;
  height: 505px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 텍스트 */
.story-text {
  flex: 1;
  margin-top: 30px;
}

.story-text h3 {
  margin: 0 0 72px;
  font-size: 48px;
  font-weight: 500;
  color: #1f4b93;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.story-text p {
  margin: 0 0 34px;
  font-size: 21px;
  font-weight: 500;
  color: #111;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.story-text p:last-child {
  margin-bottom: 0;
}

/* dots */
.story-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.story-dot {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: #93add9;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  padding: 0;
}

.story-dot.active {
  background: #5f82c5;
  transform: scale(1.3);
}

/* ===협회 주요활동=== */
.activity {
  width: 100%;
  height: 1092px;
  background-color: #fafbfb;
}

.activity-inner {
  width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding-top: 100px;
  box-sizing: border-box;
}

/* 타이틀 */
.activity-title {
  text-align: center;
  margin-bottom: 100px;
}

.activity-title h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 16px;
}

.activity-title p {
  font-size: 20px;
  font-weight: 500;
  color: #5380c3;
}

/* 원형 카드 */
.activity-circles {
  display: flex;
  justify-content: center;
  gap: 120px;
  margin-bottom: 90px;
}

.circle {
  width: 274px;
  height: 274px;
  background-color: #f6f9ff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 7px 8px rgba(0, 0, 0, 0.16);
}

.circle img {
  width: 40px;
  margin-bottom: 16px;
}

.circle span {
  font-size: 28px;
  font-weight: 500;
}

/* 설명 리스트 */
.activity-list {
  width: 1066px;
  height: 89px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 38px;
  background-color: #f6f9ff;
  padding: 18px 24px;
  border-radius: 15px;
}

.number {
  width: 47px;
  height: 47px;
  background-color: #5380c3;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
}

.activity-item p {
  font-size: 20px;
  font-weight: 500;
}

/* ====슬로건==== */

/* 슬로건 전체 */
.slogan {
  width: 100%;
  height: 514px;
  position: relative;
  overflow: hidden;
}
/* 배경 이미지 */
.slogan-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 텍스트 */

.slogan-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 1200px;
  transform: translate(-50%, -50%);
}

.slogan-content h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.slogan-content p {
  margin: 28px 0 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.slogan-number {
  display: block;
  margin-top: 70px;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.highlight {
  font-size: 1.15em;
  font-weight: 600;
}

/*===문의사항=== */
.contact-section {
  width: 100%;
  height: 630px;
  background-color: #fff;
  box-sizing: border-box;
  padding-top: 70px;
}

.contact-inner {
  width: 1920px;
  max-width: 1920px;
  height: 431px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 120px;
  margin: 0;
  box-sizing: border-box;
}

/* 지도 */
.contact-map {
  width: 963px;
  height: 431px;
  flex-shrink: 0;
  overflow: hidden;
  margin-left: 0;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 컨택트 폼 */
.conntact-form-wrap {
  width: 963px;
  height: 431px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-form-wrap h2 {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: #0d3a7d;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 896px;
  border: 1px solid #bdbdbd;
  background: transparent;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  box-sizing: border-box;
  padding: 0 16px;
  outline: none;
}

.contact-form input {
  height: 46px;
  margin-bottom: 18px;
}

.contact-form textarea {
  height: 116px;
  padding: 14px 16px;
  resize: none;
  margin-bottom: 22px;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9a9a9a;
}

/* 체크박스 */
.agree-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.agree-check input {
  width: 14px;
  height: 14px;
  margin: 0;
}

/* 버튼 */
.contact-form button {
  width: 110px;
  height: 42px;
  border: none;
  background: #87a9dc;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #5380c3;
  transform: translateY(-2px);
}

/* ===푸터=== */
.footer {
  width: 100%;
  height: 358px;
  background-color: #000;
  display: flex;
  align-items: center;
}

.footer-inner {
  width: 1920px;
  margin: 0 auto;
  padding-left: 160px;
  box-sizing: border-box;
}

.footer-logo {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
}

.footer-info p {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
  color: #ccc;
  line-height: 1.6;
}

.footer-copy {
  margin-top: 28px;
  font-size: 14px;
  color: #ccc;
}
