html {
  scroll-behavior: smooth;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

/* HERO */
.hero {
  height: 100vh;
  background: url('https://images.openai.com/static-rsc-4/f00X3Wljl9-WBIIpbLUyRXf1IjRv7FLmeURD1K-2btR1jZG6QTMJHSgHbCsZuwBthQ8Lhmdis1jM3Ut2EPJ7E408RdZgAYERqJjS6TYjEDFfb0kxh78p0UpmicymO7Bz5COjNpr67zEXCNgwX679f_XaJmqfgzinclfG9FJsW53_sUUej-eJARcsUUvIwmND?purpose=fullsize') center/cover no-repeat;
  position: relative;
}


/* 어둡게 */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

/* 가운데 정렬 */
.content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

/* 로고 */

.logo-img {
  width: 220px;
}

@media (min-width: 768px) {
  .logo-img {
    width: 150px;
  }
}

/* 텍스트 */
.tagline {
  margin-top: 10px;
  font-size: 20px;
  opacity: 0.8;
}

.btn {
  margin-top: 20px;
  padding: 12px 30px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: white;
  color: black;
}

.about {
  padding: 120px 20px;
  background: url('/images/stone.jpg') center/cover no-repeat;
  position: relative;
  color: white;
  text-align: center;
}

.about-inner {
  max-width: 700px;
  margin: 0 auto;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.8;
}

.visual {
  padding: 80px 20px;
  background: #000;
}

.visual-inner {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

.img-box {
  flex: 1;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;

  /* 추가 */
  transition: 0.4s;
  filter: brightness(0.7);
}
.img-box:hover {
  transform: scale(1.05);
  filter: brightness(1);
}
/* 이미지 넣기 */
.img-box:nth-child(1) {
  background-image: url('https://images.unsplash.com/photo-1524492412937-b28074a5d7da');
}

.img-box:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb');
}

.img-box:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1491553895911-0055eca6402d');
}
.img-box {
  position: relative;
  overflow: hidden;
}

/* 텍스트 */
.overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;

  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;
}

/* hover 시 등장 */
.img-box:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

/* 👇 여기부터 추가 */
.img-box {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;

  flex: 1;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;

  transition: 0.4s;
  filter: brightness(0.7);
}

.img-box:hover {
  transform: scale(1.08);  /* 기존 1.05 → 1.08 */
  filter: brightness(1);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%); /* 살짝 아래에서 시작 */
  
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  text-align: center;

  opacity: 0;
  transition: 0.4s;
}

/* hover 시 */
.img-box:hover .overlay-text {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.img-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.2),
    rgba(0,0,0,0)
  );
  opacity: 0;
  transition: 0.4s;
}

.img-box:hover::before {
  opacity: 1;
}

.img-box:nth-child(2) {
  transform: scale(1.05);
}

.overlay-text {
  letter-spacing: 1px;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.about-inner {
  position: relative;
  z-index: 1;
}


