/**
 * Theme Name: Celebrate Kirriemuir
 * Template:   twentytwentyfive
 */

:root {
  --red: #c94b3c;
  --cream: #f4e6cf;
  --gold: #f4c542;
  --dark: #2f3e46;
}

/* Reset */
* { box-sizing: border-box; margin: 0; }

/* Page */
body {
  font-family: system-ui, sans-serif;
  background: var(--cream);
}

.entry-content {
	padding: 0 !important;
}

/* Main stage */
.stage {
  --curtain-frame-width: min(100%, 1298px);
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  overflow: hidden;
  padding: 0px 0px 60px;
  text-align: center;
}

.top-curtain {
  background-image: url("https://celebratekirriemuir.co.uk/wp-content/themes/ck/curtain.png");
	background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  height: auto;
  width: var(--curtain-frame-width);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  position: absolute;
}

/* ðŸŽª SIDE CURTAINS */
.side {
  position: absolute;
  top: 0;
  width: calc(var(--curtain-frame-width) * 0.22);
  height: 100%;
  z-index: 2;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 50px,
    var(--cream) 50px 100px
  );
  box-shadow: inset 0 0 40px rgba(0,0,0,0.2);
}

.side.left {
  left: calc((100% - var(--curtain-frame-width)) / 2);
  clip-path: ellipse(80% 100% at 0% 50%);
}

.side.right {
  right: calc((100% - var(--curtain-frame-width)) / 2);
  clip-path: ellipse(80% 100% at 0% 50%);
  transform: scaleX(-1);
}

/* ðŸŽª CENTER CONTENT */
.content {
  position: relative;
  margin: 230px 0px auto;
  z-index: 5;
  color: var(--dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 10px;
}

.date {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.highlight {
  font-weight: bold;
  color: var(--red);
}

.details {
  margin-top: 20px;
  line-height: 1.6;
}

/* subtle fabric shading overlay */
.stage::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--curtain-frame-width);
  left: 50%;
  transform: translateX(-50%);
  background:
    linear-gradient(to right,
      rgba(0,0,0,0.15),
      transparent 20%,
      transparent 80%,
      rgba(0,0,0,0.15));
  pointer-events: none;
  z-index: 1;
}

/* Responsive tweak */
@media (max-width: 950px) {
  .side {
    width: 8px;
    height: 100%;
    box-shadow: none;
    background: var(--red);
    clip-path: none;
  }

  .side.left {
    left: 0 !important;
  }

  .side.right {
    right: 0 !important;
  }

  .content {
    padding: 20px;
    margin: 70px 0px auto;
  }
  
  .event-highlights h2 {
    font-size: 2em !important;
  }

  .event-highlights p {
    font-size: 1.2em !important;
  }

  .all-welcome img {
    height: 200px;
    width: auto;
  }

  .ck-logo img {
    height: 150px !important;
    width: auto !important;
  }
}

