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

/* Tailwind Custom Configuration via CSS Variables (Optional but good for consistency) */
:root {
  --color-bg: #FAF9F6;
  --color-text: #2C2C2C;
  --color-accent: #9A7B6D;
  --color-accent-blue: #3A506B;
  --color-aux: #E8E8E8;
}

/* Global Reset & Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Page Transition Animation */
.page-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

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

/* Navigation Hover Effect */
.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-text);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Image Hover Zoom Effect */
.img-container {
  overflow: hidden;
  position: relative;
}

.img-zoom {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-container:hover .img-zoom {
  transform: scale(1.05);
}

/* Parallax Effect Helper */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Typography Helpers */
.font-light-elegant {
  font-weight: 300;
  letter-spacing: 0.05em;
}

.text-balance {
  text-wrap: balance;
}

/* Custom Scrollbar (Minimalist) */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: #d1d1d1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}

/* Utility: Hide Scrollbar but allow scroll */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Slot Placeholder for Dynamic Content */
.content-slot {
  min-height: 50px;
  display: contents;
}