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

:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F9F7F4;
  --color-text: #2C2C2C;
  --color-text-dark: #1A1A1A;
  --color-accent: #B76E79;
  --color-gray-light: #E8E8E8;
  --color-gray-mid: #A0A0A0;
  --font-serif: 'Playfair Display', 'Noto Serif SC', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-text-dark);
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }

p { margin-bottom: 1.5rem; line-height: 1.8; }

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray-light);
  transition: all 0.3s ease;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 1.5rem 2rem;
  gap: 3rem;
}

nav a {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

nav a:hover { color: var(--color-accent); }
nav a:hover::after { width: 100%; }

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

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

.slide.active { opacity: 1; }

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.intro-section {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
}

.intro-section h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.intro-section p {
  font-size: 1.1rem;
  color: var(--color-gray-mid);
  line-height: 2;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin: 5rem 0;
}

.philosophy-image {
  position: sticky;
  top: 120px;
}

.philosophy-image img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  transition: transform 0.5s ease;
}

.philosophy-image img:hover { transform: scale(1.02); }

.philosophy-content h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.philosophy-content h3:first-child { margin-top: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  padding: 1.5rem;
  background: var(--color-bg-alt);
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

.details-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 5rem 0;
  align-items: start;
}

.detail-image {
  position: relative;
  overflow: hidden;
}

.detail-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.detail-image:hover img { transform: scale(1.03); }

.detail-category {
  margin-bottom: 3rem;
}

.detail-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--color-bg-alt);
  color: var(--color-gray-mid);
  font-size: 0.9rem;
  margin-top: 8rem;
}

@media (max-width: 1024px) {
  .container { padding: 4rem 2rem; }
  .philosophy-layout,
  .details-compare {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .philosophy-image { position: relative; top: 0; }
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
  nav ul {
    gap: 1.5rem;
    padding: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  .intro-section h1 { font-size: 2.25rem; }
  .container { padding: 3rem 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { transition: all 0.3s ease; }