@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --watercolor-paper: #FAF6F0;
  --charcoal-wash: #2E3033;
  --diluted-sepia: #7A7068;
  --tidal-slate: #5B7A8A;
  --driftwood-umber: #A68B6B;
  --shore-mist: #EDE7DC;
  --pale-kelp: #E4EBE5;
  --storm-indigo: #3B4F6B;
  --tide-pool-rose: #C8A499;
  --sea-spume: #FFFFFF;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Lora', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal-wash);
  background: var(--watercolor-paper);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="4"/></filter><rect width="100" height="100" fill="%23C4B6A0" opacity="0.025" filter="url(%23noise)"/></svg>');
  pointer-events: none;
  z-index: -1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  height: 56px;
  background: rgba(250, 246, 240, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(122, 112, 104, 0.1);
  z-index: 100;
  display: flex;
  align-items: center;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 60px;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal-wash);
  letter-spacing: -0.01em;
}

.navbar-nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  font-variant: small-caps;
  letter-spacing: 0.18em;
  color: var(--diluted-sepia);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 1;
  color: var(--tidal-slate);
}

/* Main Content */
main {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
}

.section-content {
  padding: 96px 60px;
  width: 100%;
  animation: sectionFadeIn 0.8s ease-out;
}

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

/* Hero Section */
.hero-section {
  background: var(--watercolor-paper);
  min-height: 70vh;
  justify-content: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--charcoal-wash);
}

.section-text {
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 400;
  color: var(--charcoal-wash);
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Section Icons */
.section-icon {
  width: 100px;
  height: 100px;
  margin-top: 2rem;
  opacity: 0.6;
  animation: iconAppear 1s ease-out 0.3s both;
}

@keyframes iconAppear {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }
  to {
    opacity: 0.6;
    transform: scale(1) rotate(0deg);
  }
}

/* Content Sections with Wash Backgrounds */
.content-section {
  padding: 96px 60px;
  background: var(--watercolor-paper);
  position: relative;
}

.content-section.wash-1 {
  background: linear-gradient(180deg, var(--watercolor-paper) 0%, var(--shore-mist) 100%);
}

.content-section.wash-2 {
  background: linear-gradient(180deg, var(--watercolor-paper) 0%, var(--pale-kelp) 100%);
}

.content-section + .content-section {
  border-top: 8px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--tidal-slate), transparent) 1;
  border-image-slice: 1;
}

.section-text {
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.emphasis-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--tidal-slate);
  letter-spacing: 0.01em;
  line-height: 1.5;
  padding: 2rem;
  border-left: 3px solid var(--driftwood-umber);
}

.floating-content {
  margin: 2rem 0;
  animation: floatIn 1.2s ease-out 0.6s both;
}

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

/* Responsive */
@media (max-width: 768px) {
  .navbar-content {
    padding: 0 24px;
  }

  .section-content {
    padding: 64px 24px;
  }

  .navbar-nav {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.7rem;
  }

  .section-icon {
    display: none;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Links */
a {
  color: var(--tidal-slate);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--storm-indigo);
}
