/* 
  Set up of the base box model- prevents horizontal scrolling.
  Ensures the layout fits the viewport width and uses border-box sizing.
*/
html,
body {
  overflow-x: hidden;
  /* Prevents horizontal scrollbars overflowing */
  width: 100vw;
  /* Sets width to viewport width */
  box-sizing: border-box;
  /* Includes padding/border in width/height */
}

/* 
  Body base styles for layout and appearance.
  Uses Montserrat font, centers content, and sets background color.
*/
body {
  margin: 0;
  /* Remove default margin */
  flex-direction: row;
  /* For flex layouts (if used) */
  align-items: center;
  /* Center items vertically */
  font-family: "Montserrat", sans-serif;
  background-color: #f5f0f0;
  /* Light background */
  padding: 0;
  min-height: 100vh;
  /* Ensure body fills viewport height */
}

/* 
  Enables smooth scrolling for anchor links.
*/
html {
  scroll-behavior: smooth;
}

/* 
  Header section: centers logo and navigation horizontally.
*/
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
  padding-top: 4rem;
  box-sizing: border-box;
}

/* 
  Logo container: vertical stack, centered.
*/
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* 
  Main site title: large, custom font, centered.
*/
.logo h1 {
  font-family: "Oooh Baby", cursive;
  font-weight: 400;
  font-size: 5rem;
  color: black;
  text-align: center;
  margin-bottom: 0.5em;
  padding-bottom: 0;
}

/* 
  Subtitle under logo: smaller, Montserrat font.
*/
.logo h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: normal;
  text-align: center;
  margin-bottom: 0.5em;
  padding-bottom: 0;
}

/* 
  Decorative triangle background: covers viewport, fixed, non-interactive.
*/
.triangle-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Allows clicks through triangles */
  z-index: -1;
  /* Behind all content */
  overflow: hidden;
}

/* 
  Animated triangle shapes for background.
*/
.triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid;
  opacity: 0.6;
  animation: tumble 30s infinite linear;
  /* Slow rotation/fall */
}

/* 
  Individual triangles with different positions/colors/animation delays.
*/
.t1 {
  top: -150px;
  left: 10%;
  border-bottom-color: #f277cd;
  animation-delay: 0s;
}

.t2 {
  top: -150px;
  left: 30%;
  border-bottom-color: #f277cd;
  animation-delay: 2s;
}

.t3 {
  top: -150px;
  left: 50%;
  border-bottom-color: #f277cd;
  animation-delay: 4s;
}

.t4 {
  top: -150px;
  left: 70%;
  border-bottom-color: #f277cd;
  animation-delay: 6s;
}

.t5 {
  top: -150px;
  left: 90%;
  border-bottom-color: #c780fa;
  animation-delay: 8s;
}

/* 
  Keyframes for triangle tumble animation.
*/
@keyframes tumble {
  0% {
    transform: rotate(0deg) translateY(0);
    opacity: 0.7;
  }

  100% {
    transform: rotate(360deg) translateY(120vh);
    opacity: 0;
  }
}

/* 
  Fade-in animation for elements.
*/
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 
  Jiggle animation for attention-grabbing buttons.
*/
@keyframes jiggle {

  0%,
  100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-5px);
  }

  50% {
    transform: translateY(5px);
  }

  75% {
    transform: translateY(-3px);
  }
}

/* 
  Button with jiggle animation (e.g. scroll down).
*/
.jiggle-button {
  position: relative;
  display: inline-block;
  animation: jiggle 1s ease-in-out infinite;
  animation-delay: 3s;
  animation-iteration-count: infinite;
  color: black !important;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 200px;
  background: transparent;
  border: none;
}

/* 
 Text on scroll down button appears on hover
*/
.scroll-overlay-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 2;
}

.jiggle-button:hover .scroll-overlay-text {
  opacity: 1;
}

.jiggle-button:hover .triangles {
  opacity: 0.2;
}

/* 
  Decorative triangles for scroll-down button.
*/
.triangles {
  color: hotpink;
  font-size: 30px;
}

.triangles:hover {
  color: #d1478e !important;
  border-color: #d1478e !important;
}

/* 
  Hamburger menu container: fixed to top-right.
*/
.menu-container {
  position: fixed;
  top: 30px;
  right: 40px;
  z-index: 1000;
}

/* Hamburger icon styling */
.hamburger {
  font-size: 60px;
  cursor: pointer;
  color: hotpink;
}

/* Dropdown menu: hidden by default, styled for overlay */
.dropdown {
  display: none;
  background-color: hotpink;
  position: absolute;
  top: 88px;
  right: 0;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Show dropdown on .show class (for JS toggle) */
.show {
  display: block;
}


.dropdown a {
  display: block;
  padding: 20px 50px;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s;
}

.dropdown a:hover {
  background-color: deeppink;
}

/* 
  Dark mode toggle button styling.
*/
#dark-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: black;
  padding: 5px 18px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  margin: 20px auto 0 auto;
}

body.dark-mode {
  background-color: black;
}

.dark-mode-toggle-center {
  width: 100%;
  text-align: center;
}

#dark-mode-toggle:hover {
  background: #f8f8f8;
}

/* 
  Dark mode overrides for text and buttons.
*/
body.dark-mode .button,
body.dark-mode sl-button {
  color: white !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode p {
  color: hotpink !important;
}

body.dark-mode .modal-content #modal-title,
body.dark-mode .modal-content #modal-text {
  color: black !important;
}

body.dark-mode sl-card {
  color: white;
}

body.dark-mode sl-dialog,
body.dark-mode .meet-dialog,
body.dark-mode .meet-dialog p,
body.dark-mode .meet-dialog h2 {
  color: black !important;
}

body.dark-mode .animated-word {
  color: hotpink;
}

sl-dialog .section-title {
  margin-top: 0;
}

/* 
  Art banner section: black background, centered content.
*/
.art-banner {
  background-color: black;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}

/* 
  Large triangle decorations for banner.
*/
.color-triangle1 {
  width: 0;
  height: 0;
  border-left: 160px solid transparent;
  border-right: 160px solid transparent;
  border-top: 280px solid hsl(336, 14%, 86%);
  transition: border-top-color 0.4s ease;
  margin-top: 10px;
}

.color-triangle {
  width: 0;
  height: 0;
  border-left: 160px solid transparent;
  border-right: 160px solid transparent;
  border-bottom: 280.2px solid hsl(335, 100%, 60%);
  transition: border-bottom-color 0.4s ease;
  margin-bottom: 5px;
  margin-left: 50px;
}


/* 
  Tooltip styling for slider.
*/
.tooltip {
  position: absolute;
  bottom: 120%;
  left: 70%;
  transform: translateX(-50%);
  background: black;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  scale: 0.8;
}

/* 
  Shoelace progress ring (loading indicator) styling.
*/
sl-progress-ring {
  position: fixed;
  top: 5px;
  right: 45px;
  z-index: 2000;
  --size: 40px;
  --track-color: pink;
  --indicator-color: deeppink;
}

/* 
  About section: image and text side by side on desktop.
*/
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 60px 40px;
}

.section-title {
  font-family: "Oooh Baby", cursive;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: black;
  text-align: center;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  padding-bottom: 0;
}

.about-image {
  width: 100%;
  max-width: 600px;
  max-height: 600px;
  height: auto;
  padding-bottom: 1rem;
  display: flex;
  justify-content: center;
  object-fit: cover;
  /* Ensures the image fills the box without distortion */
}

.about-text {
  font-size: 20px;
  flex: 1 1 50%;
  max-width: 600px;
  padding: 2rem 3rem;
  border-radius: 16px;
  text-align: center;
}

p {
  text-align: left;
  font-size: 20px;
}

.h3 {
  font-size: 2rem;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* 
  Meet dialog (modal) styles.
*/
.meet-dialog h2 {
  font-family: "Oooh Baby", cursive;
  font-weight: 400;
  font-size: 5rem;
  color: black;
  text-align: center;
  margin-bottom: 10px;
}
  sl-dialog::part(close-button) {
  left: 1.5rem;
  right: auto;
}

sl-button.meet-btn::part(base) {
  background: hotpink !important;
  border: 2px solid hotpink !important;
  color: white !important;
  box-shadow: none !important;
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  padding: 0.6rem 1.5rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

sl-button.meet-btn::part(base):hover,
sl-button.meet-btn::part(base):focus {
  background: #d1478e !important;
  border-color: #d1478e !important;
  color: white !important;
}

.button-container {
  display: flex;
  justify-content: center;
}

.meet-dialog::part(panel) {
  border-radius: 16px;
  max-height: 85vh;
  max-width: 600px;
  padding: 1rem;
}

/* 
  Scrolling text banner.
*/
.scrolling-text-container {
  width: 100%;
  overflow: hidden;
  background: #f5f0f0;
  padding: 0;
}

.scrolling-text {
  display: flex;
  width: max-content;
  color: white;
  background-color: black;
  padding: 0;
  border: 0;
  font-size: 35px;
  white-space: nowrap;
  animation: scroll-left 60s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* 
  Gallery: horizontal scroll on desktop, stacked on mobile.
*/
.gallery-container {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.gallery-scroll {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 20px;
  padding: 0 0 24px 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: hotpink transparent;
  -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: hotpink;
  border-radius: 4px;
}

.gallery-item {
  position: relative;
  min-width: 300px;
  height: 550px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px;
  margin: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  flex: 0 0 auto;
  width: 30vw;

}

.gallery-item {
  flex: 0 0 auto;
  max-width: 90vw;
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 
  Overlay for gallery items on hover.
*/
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(100, 30, 250, 0.3);
  color: white;
  display: flex;
  align-items: self-end;
  text-align: center;
  text-shadow: 0 2px 8px #fff2;
  font-size: 1.5rem;
  font-weight: 600;
  transition: transform 0.4s ease;
  transform: translateY(0%);
  pointer-events: none;
}

.gallery-item:hover .overlay {
  transform: translateY(100%);
}

/* 
  Lightbox for full-screen gallery image view.
*/
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 20px;
  padding: 6px 12px;
}

.tablet-gallery {
  display: none;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.tablet-gallery-images {
  display: flex;
  gap: 2vw;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tablet-gallery-images .gallery-item {
  width: 30vw;
  max-width: 320px;
  min-width: 180px;
  height: 28vw;
  max-height: 320px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
}

.tablet-gallery-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  display: block;
}

.tablet-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
}

.tablet-gallery-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}

.tablet-gallery-dot.active {
  background: hotpink;
}

@media (min-width: 601px) and (max-width: 1024px) {

  .gallery-container,
  .gallery-scroll {
    display: none !important;
  }

  .tablet-gallery {
    display: flex;
  }

}

.full-width-image {
  width: 100vw;
  max-width: 100%;
  display: block;
  margin: 100px 0 60px 0;
  /* Increased bottom margin to 60px */
}

/* 
  Music button styling.
*/
.music-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: hotpink;
  padding: 0.5em;
  margin-top: 40px;
  margin-bottom: 100px;
}

.music-button .icon {
  transition: all 0.3s ease;
}

.music-button .play,
.music-button .pause {
  transition: opacity 0.3s ease;
}

/* Timeline Title */
/* Timeline Title */
.timeline-title {
  padding-top: 100px;
  padding-bottom: 20px;
  font-family: 'Oooh Baby';
  font-size: 4rem;
  text-align: center;
}

/* Timeline base container */
.timeline {
  position: relative;
  width: 100%;
  background-image: url('images/grey.jpg');
}

/* Central line with drip animation */
.line {
  position: absolute;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, hotpink, transparent);
  animation: drip 4s linear infinite;
  top: 0;
  bottom: 0;
  z-index: 0;
}

/* Drip animation keyframes */
@keyframes drip {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 100%;
  }
}

/* Events container within timeline */
.events {
  position: relative;
  max-width: 1000px;
  margin: auto;
  z-index: 1;
}

/* Individual event cards */
.event-card {
  position: relative;
  margin: 100px 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  min-height: 60px;
}


.event-card.left {
  justify-content: flex-end;
  transform: translateX(-200px);
}

.event-card.right {
  justify-content: flex-start;
  transform: translateX(200px);
}

@keyframes glow-once {
  0% {
    box-shadow: 0 0 0 hotpink;
  }

  50% {
    box-shadow: 0 0 20px 10px hotpink;
  }

  100% {
    box-shadow: 0 0 0 hotpink;
  }
}

/* Pink dot on center line */
.event-card .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: hotpink;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 hotpink;
}

.event-card.visible .dot {
  animation: glow-once 1.5s ease-out 1;
}

/* Card box floats beside the dot */
.event-card .card {
  background: white;
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid hotpink;
  cursor: pointer;
  min-width: 350px;
  max-width: 400px;
  height: 200px;
  z-index: 1;
}


.event-card.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 
  "Learn More" button for event cards.
*/
.learn-more-btn {
  background-color: hotpink;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.learn-more-btn:hover {
  background-color: deeppink;
}

/* 
  Modal dialog styles.
*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 0.4s ease;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 1rem 0;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: none;
  border: none;
  font-size: 3rem;
  color: black;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}


/* 
  Social/contact section styles.
*/
.social-link {
  padding: 15px;
}

.contact-cta {
  padding: 20px 15px;
}

.interactive-element {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

.contact-section {
  max-width: 100%;
  min-height: 100vh;
  padding: 0px 0px;
  background: black;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
  background: black;
}

.contact-content {
  margin-top: 10px;
}

.contact-text {
  text-align: center;
  margin-bottom: 60px;
}

.contact-subtitle {
  font-family: "Oooh Baby", cursive;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  background: linear-gradient(45deg,
      #ff6b6b,
      #feca57,
      #48cae4,
      #667eea,
      #764ba2,
      #f093fb);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowShift 3s ease-in-out infinite,
    textFloat 4s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  transform-origin: center;
}

.contact-subtitle::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg,
      #ff6b6b,
      #feca57,
      #48cae4,
      #667eea,
      #764ba2,
      #f093fb);
  background-size: 400% 400%;
  border-radius: 15px;
  z-index: -1;
  opacity: 0.3;
  animation: rainbowShift 3s ease-in-out infinite,
    pulseGlow 2s ease-in-out infinite;
  filter: blur(15px);
}

.contact-subtitle::after {
  content: "✨";
  position: absolute;
  top: -20px;
  right: -30px;
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes rainbowShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 50% 100%;
  }

  75% {
    background-position: 50% 0%;
  }
}

@keyframes textFloat {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  25% {
    transform: translateY(-8px) scale(1.02);
  }

  50% {
    transform: translateY(-5px) scale(1.05);
  }

  75% {
    transform: translateY(-3px) scale(1.02);
  }
}

.contact-description {
  font-size: 1.22rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.social-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 80px;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-decoration: none;
  color: white;
  font-family: "Montserrat", sans-serif;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transition: left 0.6s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.social-link.vimeo:hover,
.social-link.youtube:hover,
.social-link.instagram:hover,
.social-link.archive:hover {
  background: linear-gradient(45deg,
      rgba(225, 48, 108, 0.2),
      rgba(255, 204, 119, 0.2));
  border-color: hotpink;
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.social-link:hover .social-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.social-info {
  display: flex;
  flex-direction: column;
}

.social-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.social-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-cta {
  text-align: center;
  padding: 40px;
  background: black;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-text {
  font-size: 1.3rem;
  font-family: "Montserrat", sans-serif;
  color: white;
  margin-bottom: 30px;
  font-weight: 500;
  text-align: center;

}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: hotpink;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
  background: #d1478e;
}

/* 
  Animated word sentence Shoelace card component overrides.
*/
sl-card::part(base) {
  background: transparent;
  box-shadow: none;
  border: none;
}

sl-card {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90vw;
  font-size: 3rem;
  min-width: 400px;
  text-align: center;
}


/* 
  Animated word for hero/landing section.
*/


.animated-word {
  color: hotpink;
  font-weight: bold;
  font-size: 3rem;
  text-align: center;
  display: inline-block;
  text-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
  transition: opacity 0.5s ease-in-out;
}

.fade-out {
  opacity: 0;
}



@keyframes triangleColorCycle {
  0% {
    border-bottom-color: #f277cd;
  }

  25% {
    border-bottom-color: #feca57;
  }

  50% {
    border-bottom-color: #48cae4;
  }

  75% {
    border-bottom-color: #764ba2;
  }

  100% {
    border-bottom-color: #f277cd;
  }
}

/* 
  Responsive layout adjustments for tablets and phones.
*/


@media (max-width: 1024px) {


  .gallery-scroll {
    gap: 10px;
    padding: 20px 0;
  }

  .gallery-item {
    min-width: 180px;
    width: 35vw;
    height: 220px;
    max-width: 300px;
  }

  .gallery-item img {
    border-radius: 8px;
  }

  .about-section {
    flex-direction: column;
    gap: 20px;
    padding: 40px 10px;
  }

  .about-image img {
    max-width: 500px;
    height: auto;
  }

  .gallery-item {
    min-width: 180px;
    width: 35vw;
    height: 220px;
    max-width: 300px;
  }

  .social-links {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {

  .meet-dialog,
  .meet-dialog p {
    font-size: 0.9rem !important;
    padding: 10px !important;
  }

  .modal-content,
  .modal-content p {
    font-size: 1rem;
  }


  sl-card {
    font-size: 2rem;
  }

  .jiggle-button {
    margin-bottom: 160px;
  }

  .section-title,
  .logo h1,
  .meet-dialog h2 {
    font-size: 3rem;
  }

  .animated-word {
    font-size: 2rem;
  }

  .logo h2,
  .cta-text,
  .social-name {
    font-family: Montserrat;
    font-size: 1.1rem;
  }

  .timeline-title {
    font-size: 3rem;
  }

  .contact-subtitle {
    font-size: 3rem;
  }

  .contact-description,
  .social-desc {
    font-size: 1rem;
  }

  .about-section {
    flex-direction: column;
    gap: 20px;
    padding: 20px 5px;
  }

  @media (max-width: 600px) {
    .menu-container {
      display: none !important;
    }

    .color-triangle,
    .color-triangle1 {
      animation: triangleColorCycle 6s linear infinite;
    }

    .slider-container,
    .custom-slider {
      display: none;
    }
  }
}

/* 
  Responsive: stack gallery vertically and shrink images on mobile.
*/
@media (max-width: 600px) {
  .gallery-scroll {
    flex-direction: column;
    overflow-x: unset;
    gap: 16px;
  }

  .gallery-item {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 220px;
    margin: 0 auto;
    box-sizing: border-box;
    display: block;
  }

  .gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
  }

  .gallery-item:nth-child(n + 11) {
    display: none;
  }

  .about-image {
    max-width: 500px;
    height: auto;
  }

  .about-text p {
    font-size: 1rem;
    text-align: left;
  }

  .social-desc {
    font-size: 0.9rem;
  }

  .gallery-item {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 400px;
    margin: 0 auto;
    box-sizing: border-box;
    display: block;
  }

  .social-link {
    padding: 18px;
    flex-direction: row;
  }

  .event-card .card {
    min-width: 120px;
    max-width: 50vw;
    width: 95vw;
    padding: 10px;
    font-size: 0.9rem;
  }


  .triangle {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 60px solid #f277cd;
    top: -70px;
    background: none;
  }


  .t1,
  .t2,
  .t3,
  .t4,
  .t5 {
    top: -70px;

  }

  .event-card .dot {
    opacity: 0;
  }

  .art-banner {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px 0;
  }

  .color-triangle1,
  .color-triangle {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: none;
    border-bottom: none;
    margin: 8px 0 0 0;
    display: block;
  }

  .color-triangle1 {
    border-top: 40px solid hsl(336, 14%, 86%);
  }

  .color-triangle {
    border-bottom: 40px solid hsl(335, 100%, 60%);
  }

  .about-image {
    max-width: 70vw;
    width: 100%;
    height: auto;
  }

   sl-card {
    font-size: 1.3rem;
    min-width: 0;      /* Remove minimum width restriction */
    width: 100%;       /* Allow card to use full width */
    max-width: 100vw;  /* Prevent overflow */
    box-sizing: border-box;
  }

  .animated-word {
    font-size: 1.5rem
  }


  @media (max-width: 480px) {
    .event-card .card {
      min-width: 120px;
      max-width: 60vw;
      width: 95vw;
      padding: 10px;
      font-size: 0.8rem;
    }
  }
}