@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");

body {
	font-family: "Raleway", sans-serif;
	font-size: 1.2em;
  color: #707070;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #F5F5DD;
}
a {
  transition: all 0.3s ease;
  color: #AE6E4E;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #D40;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #AE6E4E;
}

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-text-primary {
  color: #AE6E4E;
  word-break:  keep-all;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: #F5F5DD;
  background-color: #AE6E4E;
  padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: #F5F5DD;
  background-color: #AE6E4E;
}

/* Navbar */

.tm-navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: #f5f5ddc5;
  transition: all 0.3s ease;
}

.tm-navbar.scroll {
  background-color: #F5F5DD;
  border-bottom: 5px solid #AE6E4E;
}

.navbar-brand {
  color: #AE6E4E;
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #AE6E4E;
}

.tm-navbar.scroll .navbar-brand {
  color: #AE6E4E;
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: #AE6E4E;
  background-color: #f5f5ddc5;
  border: 2px;
  border-radius: 1cm;
}

.tm-navbar.scroll .tm-nav-link {
  color: #AE6E4E;
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #F5F5DD;
  background-color: #AE6E4E;
}

.navbar-toggler {
  border: 2px solid #333;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: #F5F5DD;
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #707070;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #707070;
}

/* Hero */

#reinhart {
  background-image: url(../img/header_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;        /* 화면 꽉 채우기 */
  background-position: center;   /* 정가운데 정렬 (핵심) */
  height: 100vh;
  min-height: 375px;
  position: relative;
}

@media (max-width: 400px) {
  #reinhart {
    background-image: url(../img/header_bg_m.jpg);
    background-repeat: no-repeat;
    background-size: cover;        /* 화면 꽉 채우기 */
    background-position: center;   /* 정가운데 정렬 (핵심) */

    height: 161dvh;
    min-height: 100vh;
    position: relative;
  }
}


.hero-contact-box {
  position: absolute;
  right: 40px;
  bottom: 40px;
  max-width: 280px;
  z-index: 10;
}

@media (max-height: 700px) {
  .hero-notice-box {
    width: 90%;
    height: 20%;
    width: auto;        /* 가로는 비율에 맞게 자동 */
    height: auto;       /* 세로 비율 유지 */
    padding: 20px;
    font-size: 14px;
    bottom: 40px;
    position: absolute;
    z-index: 5;
  }
}

.tm-hero-text-container {   /*홈-브랜드-이름*/
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-flow: column;
  justify-content: center;
  transform: translateY(-40px); /* 글씨 살짝 위로*/
  color: #F5F5DD;
}

.tm-hero-text-container-inner {
  margin-top: -90px;
}

.tm-hero-title {
  font-size: 3.5rem;
  text-shadow: 2px 2px 2px #333;
  word-break: keep-all;
}

.tm-hero-subtitle {
  text-shadow: 2px 2px 2px #333;
}

.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}

.logo-img {
  max-height: 60px;   /* 최대 높이 */
  width: auto;        /* 가로는 비율에 맞게 자동 */
  height: auto;       /* 세로 비율 유지 */
  object-fit: contain;
}


@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }

  .tm-intro-next {
    bottom: 20px;
  }
}

.tm-down-arrow-link {
  display: block;
  margin-bottom: 0%;
}

.tm-down-arrow {
  	color: #F5F5DD;
    cursor: pointer;
    background: #AE6E4E;
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: #F5F5DD;
  background: #AE6E4E;
  padding: 20px 50px;
}

/* Introduction */

#introduction {
  padding-bottom: 100px;
}

.tm-section-title {
  position: center;
  font-size: 3em;
  font-weight: bold;
  color: #Ae6e4e;
}

.tm-intro-text {
  font-size: 1.2rem;
  word-break: keep-all;
}

.tm-icon {
  display: block;
  color: #AE6E4E;
}

.tm-continue {
	padding: 20px 0 30px 0;
}

/* 소개 박스 전체 */
.intro-box {
  position: relative;
  padding: 40px 50px;
  background-color: #F5F5DD;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 🔥 배경 로고 (투명하게) */
.intro-box::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../img/logo_no_t.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 320px;     /* 로고 크기 조절 */

  opacity: 0.08;              /* ⭐ 투명도 (0.05 ~ 0.12 추천) */
  z-index: 0;
}

/* 실제 텍스트는 위로 */
.intro-box * {
  position: relative;
  z-index: 1;
}


/* location */
#location {
  color: #F5F5DD;
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
}


.tm-location-content {
  position: relative;
  z-index: 100;
}

.location-img {
  display: block;        
  margin: 0 auto;        
  width: 600px;       
  max-width: 100%;      
  height: auto;
}

@media (max-width: 768px) {
  .location-img {
    width: 360px;   /* 모바일에서 더 작게 */
  }
}

.tm-bg-overlay {
  width: 100%;
  height: 100%;
  background: #F5F5DD;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.tm-location-carousel {
  max-width: 1050px;
  margin: 0 auto;
}

.tm-testimonial-item {
  max-width: 290px;
  margin-left: 35px;
  margin-right: 35px;
}

.tm-testimonial-item img {
  border-radius: 50%;
  margin-bottom: 35px;
}

.tm-testimonial-item figcaption {
  text-align: right;
  font-style: italic;
  font-size: 1.1rem;
}

.notice-box {
  border-radius: 16px;
  width: 100%;
  max-width: 600px;        /* 중앙 콘텐츠 폭 */
  margin: 0px auto;       /* 가운데 정렬 */
  overflow: hidden;        /* 둥근 모서리에 맞게 잘림 */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background-color: transparent;
}

@media (min-height: 70px) {
    .notice-box {
    border-radius: 8px;
    width: 90%;
    height: 20%;
    width: auto;        /* 가로는 비율에 맞게 자동 */
    height: auto;       /* 세로 비율 유지 */
    font-size: 14px;
    bottom: 0px;
    overflow: hidden;
  }
}

.notice-header {
  background-color: #cd2828;  /* 이미지 상단 갈색과 비슷한 색 */
  padding: 20px;
  text-align: center;
}

@media (max-height: 700px) {
  .notice-header {
    height: 30%;
    width: auto;        /* 가로는 비율에 맞게 자동 */
    height: auto;       /* 세로 비율 유지 */
    font-size: 14px;
    bottom: 0px;
    padding: 2px;
  }
}

.notice-header h2 {
  margin: 0;
  color: #F5F5DD;
  font-size: 20px;
  font-weight: 600;
}

.notice-content { 
  background-color: #F5F5DD;
  color: #AE6E4E;
  padding: 20px 20px;
  word-break:  keep-all;
  font-size: 14px;
  font-weight: 550;
}

@media (max-height: 700px) {
  .notice-content {
  color: #AE6E4E;
  word-break:  keep-all;
  font-size: 14px;
  font-weight: 550;
  padding: 2px;
  }
}

.notice-content ul {
  margin: 0;
  padding-left: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.paw-icon {
  width: 80px;
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 0.9;
}


/* Work */

.tm-section-desc {
  max-width: 650px;
  width: 100%;
  font-size: 1em;
  color: #AE6E4E
}

.tm-gallery-container {
  padding-top: 70px;
  padding-bottom: 120px;
}

.tm-gallery-item {
  margin: 0 15px;
}

.slick-dots {
  bottom: -65px;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #AE6E4E;
}

.tm-location-carousel .slick-dots li button:before {
  color: #F5F5DD;
  opacity: 0.5;
}

.tm-location-carousel .slick-dots li button:hover:before,
.tm-location-carousel .slick-dots li button:focus:before,
.tm-location-carousel .slick-dots li.slick-active button:before {
  color: #AE6E4E;
  opacity: 1;
}

.slick-dots li button:before {
  font-size: 18px;
}

/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  background: #AE6E4E;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #F5F5DD;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-size: 0.9em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 600;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: #F5F5DD;
  max-width: 220px;
}

figure.effect-honey img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 0.4;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #F5F5DD;
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.tm-container-gallery {
	padding-top: 30px;
	}

/* Contact */

#contact {
  color: #F5F5DD;
  background-color: #F5F5DD;
  background-image: url(../img/footer_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  min-height: 980px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 100px;
}

.contact-item {
  margin-left: 20px;
  margin-bottom: 20px;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;     /* 위에서 아래로 정렬 */
  align-items: center;        /* 가운데 정렬 */
  gap: 15px;                  /* 간격(선택사항) */
}

.item-link {
  display: flex;
  align-items: center;
}

.item-link i,
.item-link span {
  margin-right: 2px;
  color: #AE6E4E;
  transition: all 0.3s ease;
}

.item-link:hover i,
.item-link:hover span {
  color: #421600;
}

.tm-input {
	margin: 0 0 20px 0;
	width: 90%;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid #F5F5DD;
  background: transparent;
  color: #F5F5DD;
}

.tm-btn-submit {
	font-size: 0.9em;
	color: #F5F5DD;
	background-color: #369;
	width: 50%;
	margin-bottom: 60px;
}

.tm-btn-submit:hover {
	color: #F5F5DD;
	background-color: #AE6E4E;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #F5F5DD;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #F5F5DD;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #F5F5DD;
}

.tm-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  padding: 0 15px;
}

.tm-footer a {
	color: #F5F5DD;
}

.tm-footer a:hover {
	color: #d38c68;
}

.tm-footer-link {
  color: #F5F5DD;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #AE6E4E;
  text-decoration: none;
}

p {
  line-height: 1.9;
}

@media (min-width: 768px) {
  .tm-intro-text-container {
    padding-left: 0px;
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }

  .tm-container-gallery {
    max-width: 1290px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {

  .navbar-nav {
    max-width: 200px;
    text-align: right;
  }

  .navbar-collapse {
    background-color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 3px;
  }

  .navbar-collapse .nav-link {
    color: #707070;
	padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-gallery-container-2 {
    max-width: 350px;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
}

/* 신년 팝업 */
.popup-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  display: flex; justify-content: center; align-items: center;
  z-index: 9990;
}
.popup-content{ position: relative; }
.popup-close{
  position: absolute; top: 10px; right: 10px;
  z-index: 9999;
}
.popup-img{
  max-width: 90vw;
  max-height: 80vh;
  width: auto; height: auto;
  display: block;
}

/* 유치원 호텔 페이지 버튼*/
.detail-link {
  display: inline-block;          /* 버튼처럼 크기 적용 */
  padding: 10px 18px;             /* 버튼 안 여백 */
  background-color: #7a5736;      /* 갈색 배경 */
  color: #ffffff;                 /* 글자 흰색 */
  text-decoration: none;          /* 밑줄 제거 */
  border: 1px solid #63462c;      /* 테두리 */
  border-radius: 6px;             /* 모서리 라운드 */
  font-weight: 600;

  /* 그림자 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);

  /* 부드러운 전환 */
  transition: all 0.2s ease;
}

.detail-link {
  display: inline-block;          /* 버튼처럼 크기 적용 */
  padding: 10px 18px;             /* 버튼 안 여백 */
  background-color: #7a5736;      /* 갈색 배경 */
  color: #ffffff;                 /* 글자 흰색 */
  text-decoration: none;          /* 밑줄 제거 */
  border: 1px solid #63462c;      /* 테두리 */
  border-radius: 6px;             /* 모서리 라운드 */
  font-weight: 600;

  /* 그림자 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);

  /* 부드러운 전환 */
  transition: all 0.2s ease;
}

.detail-link:hover {
  background-color: #63462c;      /* 조금 더 어두운 갈색 */
  border-color: #4f3722;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  transform: translateY(-2px);    /* 살짝 떠오르는 효과 */
}

/* 버튼을 갈색 톤으로 쓰고 싶으면 (Bootstrap 쓰는 경우) */
.btn-primary {
  background-color: #7a5736;
  border-color: #7a5736;
}
.btn-primary:hover {
  background-color: #63462c;
  border-color: #63462c;
}