* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #fffaf3, #f3f0ea, #cde7f9, #93c5fd);
  color: #5a4732;
  font-family: 'Libre Baskerville', serif;
  min-height: 100vh;
}

.top-wave {
  width: 100%;
  height: 170px;
  overflow: hidden;
  position: relative;
}

.top-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.top-wave svg path {
  animation: waveMove 6s ease-in-out infinite alternate;
}

@keyframes waveMove {
  0% { d: path("M0,64 C360,200 1080,0 1440,128 L1440,0 L0,0 Z"); }
  50% { d: path("M0,80 C360,220 1080,20 1440,140 L1440,0 L0,0 Z"); }
  100% { d: path("M0,64 C360,200 1080,0 1440,128 L1440,0 L0,0 Z"); }
}

.slider-subtext {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-family: 'Cinzel Decorative', serif;
  font-size: 18px;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  padding: 12px 25px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  line-height: 1.3;
}

.gallery {
  max-width: 1200px;
  margin: 50px auto;
}

.gallery-cell {
  width: 100%;
  margin: 0;
  border-radius: 20px;
  padding: 10px;
  position: relative;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-family: 'Cinzel Decorative', serif;
  font-size: 46px;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  padding: 30px 50px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  line-height: 1.2;
}

.divider::before,
.divider::after {
  content: "🥚 ✨ 🥚";
  color: rgba(180, 145, 110, 0.3);
  font-size: 18px;
  letter-spacing: 10px;
  flex: 1;
  text-align: center;
  opacity: 0.6;
}

.divider::before { margin-right: 12px; }
.divider::after { margin-left: 12px; }

.divider span {
  color: rgba(180, 145, 110, 0.6);
  font-size: 20px;
  letter-spacing: 2px;
  padding: 0 10px;
}

a, b, strong, i, em {
  position: relative;
  color: #5a4732;
  text-decoration: none;
  font-weight: inherit;
  font-style: inherit;
}

a {
  padding: 0 2px;
  transition: color 0.3s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #f7cda4, transparent);
  transform: scaleX(0.4);
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.3s ease;
  opacity: 0.6;
}

a:hover {
  color: #7b5e3c;
}

a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

a::before {
  content: "🥚";
  font-size: 10px;
  margin-right: 6px;
  color: rgba(247,205,164,0.6);
  transition: 0.3s;
}

a:hover::before {
  content: "✨";
  color: #f7cda4;
}

b, strong {
  color: #7b5e3c;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 0 1px rgba(255,255,255,0.1), 0 0 6px rgba(247,205,164,0.15);
}

b::before, strong::before { content: "🥚"; margin-right: 6px; color: rgba(247,205,164,0.5); font-size: 12px; }
b::after, strong::after { content: "✨"; margin-left: 6px; color: rgba(247,205,164,0.5); font-size: 12px; }

i, em {
  color: #b88c5f;
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

i::before, em::before { content: "🥚"; margin-right: 6px; color: rgba(247,205,164,0.4); font-size: 12px; }
i::after, em::after { content: "✨"; margin-left: 6px; color: rgba(247,205,164,0.4); font-size: 12px; }

#layout-container {
  display: flex;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
  gap: 70px;
  padding: 60px;
  position: relative;
  z-index: 5;
  width: 70%;
}

#navigation {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 370px;
  padding: 50px;
  background: linear-gradient(180deg, #fffaf3, #fff3e6);
  border: 1px solid rgba(245,200,150,0.2);
  position: relative;
  opacity: 0.85;
  border-radius: 34px;
}

#navigation::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #f7cda4, transparent);
}

#navigation a::after { content: none; }

#navigation a {
  position: relative;
  display: block;
  padding: 14px 18px 14px 38px;
  font-size: 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #5a4732;
  background: linear-gradient(180deg, #fff8f0, #fff3e6);
  border: 1px solid rgba(245,200,150,0.18);
  transition: transform 0.35s ease, background 0.35s ease, border 0.35s ease, color 0.3s ease;
  border-radius: 10px;
}

#navigation a::before {
  content: "🥚";
  position: absolute;
  left: 12px;
  color: #f7cda4;
  font-size: 14px;
  transition: 0.35s ease;
}

#navigation a:hover {
  color: #7b5e3c;
  background: linear-gradient(180deg, #fff3e6, #fff0df);
  border: 1px solid rgba(247,205,164,0.35);
  transform: translateX(-6px) translateY(-2px) rotate(-1deg);
}

#navigation a:hover::before {
  content: "✨";
  color: #f7cda4;
  transform: rotate(-10deg);
}

#navigation a.active {
  background: linear-gradient(180deg, #fff2e0, #ffedda);
  border: 1px solid rgba(247,205,164,0.5);
  color: #7b5e3c;
}

#navigation a.egg::before       { content: "🥚"; color: #f7cda4; }
#navigation a.pumpkin::before   { content: "🎃"; color: #ff8c42; }
#navigation a.autumn::before    { content: "🍂"; color: #d2691e; }
#navigation a.christmas::before { content: "🎄"; color: #2e7d32; }

#navigation a.egg.active::before       { color: #7b5e3c; }
#navigation a.pumpkin.active::before   { color: #7b5e3c; }
#navigation a.autumn.active::before    { color: #7b5e3c; }
#navigation a.christmas.active::before { color: #7b5e3c; }

.contentx {
  flex: 1;
  padding: 50px 45px;
  font-size: 21px;
  line-height: 1.9;
  text-align: justify;
  color: #5a4732;
  margin-top: -100px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 52px;
  text-align: center;
  color: #3b3b3b;
  margin: 60px 0 40px 0;
  position: relative;
  letter-spacing: 0.12em;
  display: inline-block;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  transition: transform 0.4s ease;
}

h1:hover { transform: translateY(-8px) scale(1.02); }
h1 span { display: inline-block; transition: transform 0.3s ease; }
h1:hover span:nth-child(odd) { animation: waveUp 0.6s ease forwards; }
h1:hover span:nth-child(even) { animation: waveDown 0.6s ease forwards; }

@keyframes waveUp { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
@keyframes waveDown { 0% { transform: translateY(0); } 50% { transform: translateY(4px); } 100% { transform: translateY(0); } }

blockquote {
  margin: 70px auto;
  padding: 50px 70px;
  max-width: 650px;
  background: rgba(255,255,240,0.25);
  border-left: 3px solid #f7cda4;
  font-size: 22px;
  line-height: 1.7;
  color: #5a4732;
  position: relative;
}

blockquote::before {
  content: "“";
  font-size: 70px;
  position: absolute;
  top: -25px;
  left: 15px;
  color: rgba(247,205,164,0.2);
}

blockquote::after {
  content: "✨";
  position: absolute;
  bottom: -20px;
  right: 20px;
  color: rgba(247,205,164,0.25);
  font-size: 28px;
}

textarea, input, select {
  width: 40%;
  padding: 1.4rem;
  background: rgba(255,255,250,0.3);
  border: 1px solid rgba(245,200,150,0.3);
  border-radius: 4px;
  color: #5a4732;
  font-family: 'Libre Baskerville', serif;
}

#footer {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  color: #f7cda4;
  font-family: 'Cinzel Decorative', serif;
  letter-spacing: 0.2em;
  position: relative;
}

.footer-text {
  background-color: rgba(255, 255, 255, 0.9);
  color: #5a4732;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
  text-shadow: none;
}

#footer::before { content: "🥚 ✨ 🍂"; display: block; margin-bottom: 15px; opacity: 0.5; }
#footer::after { content: "🎄 ✨ 🥚"; display: block; margin-top: 15px; opacity: 0.5; }

#footer a { color: #fce8d0; }
#footer a:hover { color: #fffdf5; }

@media (max-width: 1024px) {
  #layout-container { width: 90%; flex-direction: column; align-items: center; gap: 40px; padding: 40px 20px; margin: 0 auto; }
  #navigation { min-width: 70%; }
  .contentx { width: 90%; padding: 35px 25px; font-size: 20px; }
  textarea, input, select { width: 70%; }
  h1 { font-size: 40px; }
}

@media (max-width: 768px) {
  #layout-container { width: 95%; gap: 30px; padding: 30px 15px; }
  #navigation { min-width: 90%; }
  .contentx { width: 95%; font-size: 18px; }
  textarea, input, select { width: 85%; }
  h1 { font-size: 32px; }
  blockquote { padding: 30px; font-size: 18px; }
}