﻿@font-face {
    font-family: 's-core-dream-medium';
    src: url('/_font/S-Core-Dream-full/scdream5.woff2') format('woff2'),
         url('/_font/S-Core-Dream-full/scdream5.woff') format('woff'),
         url('/_font/S-Core-Dream-full/scdream5.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 's-core-dream-regular';
    src: url('/_font/S-Core-Dream-full/scdream4.woff2') format('woff2'),
         url('/_font/S-Core-Dream-full/scdream4.woff') format('woff'),
         url('/_font/S-Core-Dream-full/scdream4.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@charset "utf-8";
  :root {
    --bg: #0a0f1c;
    --card: #1c2233;
    --text: #e2e8f0;
    --accent: #00f7ff;
  }
  body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: var(--bg);
    color: var(--text);
  }

/* 헤더 고정 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  font-size: 2.5rem;
  color: var(--accent);
  border-bottom: 1px solid #222;
  background: rgba(10,15,28,0.8);
  backdrop-filter: blur(4px);
	 z-index: 9999;
	
}

/* 헤더 내부 정렬 */
.header-wrap {
  display: flex;
  justify-content: center; /* 기본: 가운데 정렬 */
  align-items: center;
  position: relative;
  padding: 0 20px;
	
}

/* 로고 영역 */
.logo-area {
  text-align: center;
}

/* 슬로건 */
.slogan {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.2;
margin-bottom: -10px;
}

/* 로고 */
.logo {
  font-size: 2.5rem;
  color: var(--accent);
  margin: 0;
  line-height: 1.1;
  cursor: pointer;
}

/* 전화 버튼 */
.header-call {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #007bff;
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.header-call:hover {
  background-color: #0056b3;
}

/* 모바일 대응 */
@media (max-width: 600px) {
  .header-wrap {
    justify-content: flex-start; /* 로고 왼쪽 정렬 */
  }

  .logo-area {
    text-align: left;
  }
	
.logo {
  font-size: 2.0rem;
  color: var(--accent);
  margin: 0;
  line-height: 1.1;
  cursor: pointer;
}
	
#toplogo {
  width: 220px;
}
	

  .slogan {
    font-size: 1rem;
    margin-top: -2px;
	  padding-left: 50px;
  }

  .header-call {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

	
  /* hero는 헤더 높이만큼 위쪽 여백 추가 */
  .hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;
    background: linear-gradient(to right, #0f172a, #1e293b);
    margin-top: 0;
    padding-top: 90px; /* 헤더 높이 + 여유 */
    box-sizing: border-box;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
  }
  .hero h1 {
    font-size: 3rem;
    color: #00f7ff;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 30px;
  }
  .glow {
    text-shadow: 0 0 10px #00f7ff, 0 0 20px #00f7ff;
  }
	
.hero-content h1 {
  position: relative;
height: auto;
  min-height: 5.6rem;
	overflow: hidden;
  font-size: 3rem;
  color: #00f7ff;
  margin-bottom: 20px;
  text-align: center;
	
}

#typewriter {
  display: inline-block;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.4;
}
#typewriter::after {
  content: "|";
  animation: blink 1s infinite;
  margin-left: 4px;
	position: static;
  display: inline-block;
  text-align: center;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
	
.hero-content p,
.hero-content .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
}

.hero-content p {
  animation-delay: 0.6s;
}
.hero-content .btn {
  animation-delay: 0.9s;
}
	
	

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.btn {
  animation: pulse 2s infinite;
}
	
  .btn {
    background: #00f7ff;
    color: #000;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
	  text-decoration: none;
	  cursor: pointer;
	  outline: none;
  }
  .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.8);
	  outline: none;
  }

  .background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .background.active {
    opacity: 1;
  }

  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2rem;
    }
    .hero p {
      font-size: 1rem;
    }
    .hero {
      padding-top: 80px;
    }
  }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 데스크톱: 4개 */
  gap: 30px;
  padding: 60px 20px;
}

/* 태블릿: 2개씩 */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 모바일: 1개씩 */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
    .card {
      background: var(--card);
      padding: 30px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 0 20px rgba(0,255,255,0.1);
      transition: transform 0.3s;
    }
	
.card i {
  font-size: 30px;
  color: #00c6ff;
}	
    .card:hover {
      transform: translateY(-10px);
		background-color: #2a3248; /* 기존보다 살짝 밝은 톤 */
  box-shadow: 0 0 25px rgba(0, 247, 255, 0.2);
		
    }
.card:hover i {
  color: #00f7ff;
}
.card h3 {
  margin-bottom: 10px;
  font-size: 30px;
	margin-top: 10px;
}
	
.btn-inquire {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #676767; /* 흐릿한 텍스트 */
  border-radius: 30px;
	font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;
}

.card:hover .btn-inquire {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4); /* 빛나는 효과 */
}
	
	
.footer {
  background-color: var(--bg);
  color: var(--text);
  padding: 10px 0px 20px 0px ;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.9rem;
  margin-top: 50px;
}

.footer-info {
  max-width: 600px;
  margin: 0 auto 20px auto;
}

.footer-info h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
	color: #979797;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.6;
}

.footer-copy {
  font-size: 1em;
  color: #aaa;
  margin-top: -10px;
}



.masonry-grid {
  column-count: 6; /* 5나 6으로 변경 가능 */
  column-gap: 15px; /* 열 간격 조금 줄이면 더 촘촘하게 */
  padding: 0 20px 60px;
	transition: all 0.4s ease-in-out;
}

.masonry-grid img {
  width: 100%;
  max-height: 300px;
  display: block;
  margin-bottom: 15px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  object-fit: cover;
}

.masonry-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

/* 반응형 조정 */
@media (max-width: 1200px) {
  .masonry-grid {
    column-count: 4;
  }
}
@media (max-width: 900px) {
  .masonry-grid {
    column-count: 3;
  }
}
@media (max-width: 600px) {
  .masonry-grid {
    column-count: 2;
  }
}

    .gallery {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
		padding-top: 30px;
		margin-top: 50px;
    }
    .gallery h2 {
		font-size: 3rem;
		text-align:center;
		padding-bottom: 50px;
    }
	
	
    .service {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
		padding-top: 30px;
    }
    .service h2 {
		font-size: 3rem;
		text-align:center;
    }
	
    .foot {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
		padding-top: 30px;
		margin-top: 50px;
		text-align: center;
    }
    .foot h2 {
		font-size: 3rem;
		text-align:center;
		padding-bottom: 50px;
    }

.subtext {
  color: #B7B7B7;
  font-size: 1rem;
	position: absolute; width: 100%; margin-top: -40px;
}
.callButton {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
	margin-top: -5px;
}

.btn-chat {
  background: #28a745;
  color: #fff;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.btn-chat:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.8);
}

.time-box {font-family: 's-core-dream-medium', sans-serif;
  margin: 50px auto 0;
  max-width: 500px;
  background-color: var(--card);
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-size: 0.95rem;
  color: var(--text);
  width: 90%;
  box-sizing: border-box;
}

.time_title {
  font-weight: bold;
  font-size: 2em;
}

.time-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.time-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.holiday {
  color: #d9534f;
}

.time-note {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.5;
}

.holiday {
  color: #d9534f;
}

    .faq-section {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
		padding-top: 30px;
		margin-top: 50px;
    }
    .faq-section h2 {
		font-size: 3rem;
		text-align:center;
		padding-bottom: 50px;
    }
	
	
    #tip {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
		padding-top: 30px;
		margin-top: 50px;
    }
    #tip h2 {
		font-size: 3rem;
		text-align:center;
		padding-bottom: 50px;
    }
    #tip h3 {
		font-size: 1em;
		text-align:center;
		line-height: 140%;
		color: #D4D4D4;
    }
	
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px) saturate(150%) contrast(80%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal-dialog {
  position: relative;
background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.2), 0 0 10px rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
	padding: 20px;
  border-radius: 8px;
  color: #fff;
  width: 90%;
  max-width: 400px;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
	
.modal-dialog h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent);
  text-align: center;
}

.modal-dialog textarea {
  width: 95%;
  padding: 12px;
  border-radius: 6px;
  resize: none;
  background: #2a2a2a;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
	outline: none;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.modal-actions button {
  flex: 1;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-cancel {
  background: rgba(255,255,255,0.1);
  color: #ccc;
  margin-right: 10px;
	font-size: 1.2em;
}

.modal-submit {
  background: var(--accent);
  color: #000;
  margin-left: 10px;
	font-size: 1.2em;
}

.modal-cancel:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.modal-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 247, 255, 0.4);
}
	

.modal.show {
  display: flex;
}
.modal.show .modal-backdrop {
  opacity: 1;
}
.modal.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}


/* 배경 클릭시 bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  60% { transform: translateY(4px); }
}
.modal-dialog.bounce {
  animation: bounce 0.4s ease;
}
	
	
.grid-item {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
	

.tip-grid {
  margin: 0 auto;
  max-width: 100%;
}

.tip-card {
  width: 22.5%;
  margin-bottom: 20px;
  background: #191e2f;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.3s ease;
	color: #ababab;
}

.tip-card:hover {
  transform: translateY(-5px);
	color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) {
  .tip-card {
    width: 45%; /* 2열 */
  }
}

@media (max-width: 600px) {
  .tip-card {
    width: 95%; /* 1열 */
  }
}
			
/* 전화 문의 버튼 스타일 */
.btn-call {
  background: #337ab7; /* 파란색 계열로 변경 */
  color: #fff;
  box-shadow: 0 0 10px rgba(51, 122, 183, 0.5);
}

.btn-call:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(51, 122, 183, 0.8);
}

/* 채팅 상담 버튼 스타일 */
.btn-chat {
  background: #28a745; /* 초록색 계열로 변경 */
  color: #fff;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.btn-chat:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.8);
}	
	

/* 문의 모달 라디오 버튼 그룹 */
.modal-dialog label {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.modal-dialog input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #999;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
}

.modal-dialog input[type="radio"]:checked {
  border-color: #007bff;
  background-color: #007bff;
}

.modal-dialog input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
}

/* 연락처 입력 필드 */
#contactInputContainer input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  margin-top: 8px;

  color: #e2e8f0;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
	outline: none;
	border: 1px solid rgba(255, 255, 255, 0.15);
	
	border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
	background-color: #2a2a2a;
}

#contactInputContainer input:focus {
  border-color: #007bff;
  outline: none;
}
/* 문의 모달 */

.faq_title {font-family: 's-core-dream-medium', sans-serif; font-size: 1em; font-weight: 130; line-height: 180%;}
.faq_title2 {font-family: 's-core-dream-medium', sans-serif; font-size: 0.6em; font-weight: 600; line-height: 150%; color: #00326f;}
.faq_view {font-family: 's-core-dream-medium', sans-serif; font-size: 0.9em; line-height: 150%; text-align: left;}
.time_title {font-family: 's-core-dream-medium', sans-serif; font-size: 14px; font-weight: 100;}
