@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-ivory: #faf9f6;
  --color-light-gray: #e8e8e8;
  --color-sand: #d4c5b9;
  --color-charcoal: #3a3a3a;
  --color-gray-pink: #d4bcc8;
  --color-haze-blue: #b8c5d6;
  --color-terracotta: #c97d60;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 300;
  background-color: var(--color-ivory);
  color: var(--color-charcoal);
  line-height: 1.8;
  overflow-x: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hover-scale {
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-charcoal);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.text-shadow {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 58, 58, 0.1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.smooth-scroll {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
  }
  
  .parallax {
    background-attachment: scroll;
  }
}

.loading {
  filter: blur(10px);
  transition: filter 0.5s ease;
}

.loaded {
  filter: blur(0);
}