/* ===== HOME PAGE ===== */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 58px 30px 60px;
}

.hero-container {
  max-width: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
}

.hero-gallery-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.hero-gallery-link:focus-visible {
  outline: 2px solid #c4a882;
  outline-offset: 4px;
  border-radius: 2px;
}

.hero-image-wrapper picture {
  display: block;
  width: 100%;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.hero-text-overlay {
  position: absolute;
  top: 29%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.hero-text-overlay h1 {
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.65;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.hero-text-overlay h1 span {
  display: block;
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 90;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
}

.scroll-to-top svg {
  width: 16px;
  height: 16px;
}

/* Animations */
.hero-image-wrapper {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-text-overlay h1 span:nth-child(1) {
  animation: fadeIn 0.8s ease-out 0.6s both;
}

.hero-text-overlay h1 span:nth-child(2) {
  animation: fadeIn 0.8s ease-out 0.85s both;
}

.hero-text-overlay h1 span:nth-child(3) {
  animation: fadeIn 0.8s ease-out 1.1s both;
}

.hero-text-overlay h1 span:nth-child(4) {
  animation: fadeIn 0.8s ease-out 1.35s both;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 80px 16px 40px;
    min-height: auto;
  }

  .hero-text-overlay h1 {
    font-size: 24px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .hero-text-overlay h1 {
    font-size: 17px;
    line-height: 1.55;
  }
}
