html, body {
  height: 100%;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  background: linear-gradient(
      to bottom,
      #fffdfa 0%,
      #fef5f0 30%,
      #f7eae4 60%,
      #f4e5dd 100%
    ),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(circle at bottom left, rgba(244, 230, 225, 0.3), transparent 80%);
  background-attachment: fixed;
  background-blend-mode: soft-light, screen, lighten;
  color: #4c3d36;
  line-height: 1.8;
}

.header h1 {
      position: relative;
      font-size: 3.5em;
      background: linear-gradient(to right, #f4e2d8, #ba8b02);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      z-index: 1;
    }

.header-slideshow {
  position: relative;
  width: 800px;           /* fixed width */
  height: 534px;
  margin: 50px auto 0;    /* center horizontally and add top margin */
  overflow: hidden;
  border-radius: 40px;
}

.header-slideshow .slide {
  position: absolute;
  top: 0; 
  left: 0;
  width: 800px;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 15s infinite;
  transition: all 0.6s ease-in-out;
  border-radius: 40px; /* optional if parent clips */
  overflow: hidden;
}

.header-slideshow .slide img {
  width: 800px;
  height: 100%;
  object-fit: cover;
  border-radius: 40px; /* ensure images inside respect rounding */
}

.slideshow-title {
  position: absolute; opacity:0,7;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cinzel Decorative', serif;
  font-size: 28px;
  color: #CEBEAB;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 40px;
  border-radius: 20px;
  z-index: 1000; /* Ensure it's above the slides */
  pointer-events: none;
}


@keyframes fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  30%  { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel&family=Cinzel+Decorative:wght@700&family=Crimson+Text&family=Great+Vibes&family=Lora&display=swap');

#navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  background: linear-gradient(to right, rgba(245, 235, 230, 0.25), rgba(200, 170, 160, 0.1));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 170, 160, 0.3);
  box-shadow: 0 4px 30px rgba(90, 62, 54, 0.1);
  text-align: center;
  z-index: 999;
}

#navigation a {
  display: inline-block;
  position: relative;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  text-transform: uppercase;
  color: #8f7364;
  margin: 0 14px;
  padding: 12px 20px;
  border-radius: 999px;
  letter-spacing: 1.5px;
  transition: all 0.5s ease;
  overflow: hidden;
}

#navigation a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: #b36f52;
  transition: width 0.4s ease;
}

#navigation a:hover::before {
  width: 80%;
}

#navigation a:hover {
  color: #b36f52;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(179, 111, 82, 0.2);
}

h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 44px;
  color: #b36f52;
  text-align: center;
  letter-spacing: 1.2px;
  margin: 40px 0 20px 0;
  text-shadow:
    0 1px 2px rgba(255,255,255,0.7),
    0 0 10px rgba(179, 111, 82, 0.2);
  position: relative;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #e5d3c4, #b36f52);
  border-radius: 10px;
  opacity: 0.6;
}

blockquote {
  background: radial-gradient(circle at top, rgba(255,250,240,0.45), rgba(230,210,200,0.3));
  border-left: none;
  border-radius: 30px;
  padding: 30px 40px;
  font-style: italic;
  color: #5a3e36;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

blockquote::before,
blockquote::after {
  content: '❝';
  font-family: serif;
  font-size: 48px;
  color: #b36f52;
  position: absolute;
  opacity: 0.2;
}

blockquote::before {
  top: 10px;
  left: 20px;
}

blockquote::after {
  bottom: 10px;
  right: 20px;
  transform: rotate(180deg);
}

a {
  color: #b36f52;
  font-size: 18px;
  font-family: 'Lora', serif;
  letter-spacing: 1.2px;
  text-decoration: none;
  border-radius: 4px;
  position: relative;
  padding: 6px 4px;
  transition: all 0.4s ease;
}

a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #b36f52;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

a:hover {
  color: #8f7364;
}

.contentx input,
textarea,
select {
  background-color: rgba(255,255,255,0.6);
  border: 1px solid #d8c4b8;
  padding: 12px 18px;
  color: #5a3e36;
  border-radius: 20px;
  font-size: 16px;
  font-family: 'Crimson Text', serif;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 8px rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.contentx input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #b36f52;
  background-color: rgba(255,255,255,0.8);
  box-shadow: 0 0 12px rgba(179, 111, 82, 0.3);
}

#header:hover::after {
  opacity: 1;
}

#content {
  position: relative;
  width: 800px;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 80px;
  z-index: 1;
}

.contentx {
  background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.65),
      rgba(245, 235, 230, 0.5),
      rgba(240, 220, 215, 0.45)
    ),
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.4),
      rgba(255, 240, 230, 0.2)
    );
  padding: 40px;
  border-radius: 40px;
  font-size: 18px;
  font-family: 'Lora', serif;
  color: #57443d;
  text-align: justify;
  box-shadow:
    0 10px 60px rgba(0, 0, 0, 0.08),
    inset 0 0 30px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  margin-bottom: 40px;
  transition: all 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
}

.contentx::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 60%);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.contentx > * {
  position: relative;
  z-index: 1;
}

b, i {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(
    135deg,
    #8f7364,
    #d8b2a5,
    #8f7364
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  transition: background-position 0.8s ease, color 0.8s ease;
  background-size: 300% 300%;
  background-position: 0% 50%;
  cursor: default;
}

b:hover, i:hover {
  background-position: 100% 50%;
  color: #cfa893;
  text-shadow: 0 0 8px rgba(207, 168, 147, 0.7);
}


.contentx input,
textarea,
select {
  background-color: rgba(255,255,255,0.6);
  border: 1px solid #dac6bc;
  padding: 12px 18px;
  color: #5e4c47;
  border-radius: 20px;
  font-size: 16px;
  font-family: 'Crimson Text', serif;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 8px rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.contentx input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #c8a599;
  background-color: rgba(255,255,255,0.8);
  box-shadow: 0 0 12px rgba(205, 175, 160, 0.3)}