/* Global layout */
body {
  margin: 0;
  font-family: 'Lora', serif;
  background: linear-gradient(to bottom right, #f9f6f0, #e9e4db);
  color: #4a2c2a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Navigation bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 4rem;
  background-color: transparent;
}

nav img.logo {
  height: 125px;
  margin-top: 4px;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-right: 1.5rem;
}


nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  color: #4a2c2a;
  position: relative;
}

nav ul li a::after {
  content: "";
  display: block;
  margin-top: 5px;
  width: 50%;
  height: 2px;
  background-color: #b31217;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Tagline Section */
.tagline-container {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.tagline-text {
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(74, 44, 42, 0.6);
  position: relative;
  display: inline-block;
}

.tagline-text::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 0.6rem auto 0;
  background-image: linear-gradient(to bottom, rgba(74, 44, 42, 0.4) 33%, transparent 33%, transparent 66%, rgba(74, 44, 42, 0.2) 66%);
  background-size: 100% 100%;
  border-radius: 2px;
}




/* Hero Section */
.hero {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  padding: 2.5rem 8rem 2rem 6rem; 
  gap: 2rem;
  flex-wrap: wrap;
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
  min-height: calc(50vh - 20px);
  margin-top: -0.5rem;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  max-width: 750px;
  padding-left: 2rem;
  box-sizing: border-box;
}


/* Text styling */
.hero-text .intro {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-text h1, .hero-text h2 {
  font-family: 'Great Vibes', cursive;
  color: #aa0d12;
  font-weight: 400;
  text-shadow: 0.3px 0.3px #991011;
  line-height: 1.25;
  transition: color 0.3s ease-in-out;
}

.hero-text h1 {
  font-size: 4.6rem;
  margin: 0.5rem 0 0.2rem;
}

.hero-text h2 {
  font-size: 3.8rem;
  margin: 0.2rem 0 1.5rem;
}

.hero-text .sponsor {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #c9a959;
  margin: 1.5rem 0 0.25rem;
}

.hero-text .sponsor a {
  color: #c9a959;
  text-decoration: none;
}

.hero-text .sponsor a:hover {
  text-decoration: underline;
}

.hero-text .founded {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: #b31217;
  margin-bottom: 2rem;
}

/* CTA Button  */
.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1.1rem 2.7rem;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.45) 8%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.3) 5%, transparent 30%),
    linear-gradient(135deg, #a31a1f 0%, #a10e14 100%);
  background-size: 400% 400%;
  background-position: 0% 0%;
  background-blend-mode: overlay;
  margin-top: 0;
  color: white;
  border-radius: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(179, 18, 23, 0.35);
  transition: all 0.4s ease;
}

.cta-button:hover {
  background-position: 100% 100%;
  transform: scale(1.05);
  box-shadow: 0 12px 22px rgba(161, 14, 20, 0.4);
}

.cta-button:active {
  transform: scale(0.97);
  box-shadow: 0 6px 12px rgba(161, 14, 20, 0.25);
}

.hero img.dancers {
  display:block;
  width: 100%;
  height:auto;
  border-radius: 0;
  box-shadow: 0 12px 25px rgba(0,0,0,.20);
  margin:0;
  padding:0;
  position: relative;
  z-index: 1;
  animation: slideInRight 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px); /* starts off-screen to the right */
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-photo-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;                 /* fill wrapper */
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(closest-side at 60% 40%,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.06) 40%,
      rgba(255,255,255,0.03) 60%,
      transparent 100%);
  filter: blur(8px);
}


.hero-photo-wrapper {
  position: relative;
  display: inline-block;
  width: clamp(340px, 92vw, 560px);
  border-radius: 12px;
  overflow: hidden;         
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0;
  z-index: 2;
}


.accent-star {
  position: absolute;
  background-color: white;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  opacity: 0.7;
  z-index: 3;
  animation: sparkle 2s infinite alternate ease-in-out;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.9));
}

/* Top-left cluster */
.star-top-left.small {
  top: 10px;
  left: 5px;
  width: 6px;
  height: 6px;
}

.star-top-left.medium {
  top: 5px;
  left: 25px;
  width: 10px;
  height: 10px;
}

.star-top-left.large {
  top: 25px;
  left: 20px;
  width: 14px;
  height: 14px;
}

/* Bottom-right cluster */
.star-bottom-right.small {
  bottom: 15px;
  right: 5px;
  width: 6px;
  height: 6px;
}

.star-bottom-right.medium {
  bottom: 10px;
  right: 25px;
  width: 10px;
  height: 10px;
}

.star-bottom-right.large {
  bottom: 30px;
  right: 25px;
  width: 14px;
  height: 14px;
}



/* Sparkle animation */
@keyframes sparkle {
  0% { transform: scale(1) rotate(0deg); opacity: 0.3; }
  100% { transform: scale(1.5) rotate(45deg); opacity: 0.9; }
}

/* Friday Nights - Prestige Contrast */
.friday-nights-dark {
  position: relative;
  background: url('../images/friday-social.jpg') center center / cover no-repeat;
  padding: 7rem 2rem;
  color: white;
  text-align: center;
  overflow: hidden;
}

.friday-nights-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  z-index: 1;
}

.friday-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
}

.friday-content h3 {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.friday-content .subtitle {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.divider-line {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.drawn-border {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: draw-border 2.5s ease forwards;
}

@keyframes draw-border {
  to {
    stroke-dashoffset: 0;
  }
}

.glimmer-border {
  opacity: 0;
  animation: fadeInGlimmer 2.5s forwards 2.5s; /* Delayed until after draw-border */
}

@keyframes fadeInGlimmer {
  to {
    opacity: 1;
  }
}


.event-card{
  position: relative;
  border-radius: 16px;
  z-index: 2;
  overflow: hidden;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 2rem;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.4);
}


.friday-content h4 {
  font-size: 1.50rem;
  color: #f2c54d;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.time, .location, .price, .details, .note {
  font-size: 1.05rem;
  margin: 0.4rem 0;
}

.location {
  font-weight: 500;
  color: #ffe3e3;
}

.price {
  margin-top: 1rem;
  color: #f2c54d;
  font-weight: bold;
}

.details {
  margin: 1rem 0;
  opacity: 0.95;
}

.note {
  font-style: italic;
  opacity: 0.85;
}

.dates-section {
  background: linear-gradient(to bottom right, #f9f6f0, #e9e4db);
  padding: 4rem 2rem;
  font-family: 'Montserrat', sans-serif;
}

.dates-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.year-subheading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #b91c1c;
  margin-top: -1.2rem;
  margin-left: 0.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}


.dates-text {
  flex: 1 1 400px;
}

.section-heading {
  font-family: 'Great Vibes', cursive;
  font-size: 3.5rem;
  color: #b91c1c;
  margin-bottom: 1rem;
}


.date-list {
  list-style: none;
  padding: 0;
  font-size: 1.35rem;
  color: #1e293b;
  margin-bottom: 2rem;
}

.dates-list li::before {
  margin-right: 0.75rem;
  font-size: 1.2rem;
}


.date-list li {
  margin: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.closing-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #b91c1c;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2rem;
}

.photo-frame {
  flex: 1 1 400px;
  max-width: 100%;
  max-height: min-content;
  transform: none;
  margin-left: 0;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

/* Soft gradient glow behind image */
.photo-background {
  width: 100%;
  height: 100%;
  max-width: 440px;
  max-height: 100%;
  background: radial-gradient(circle, rgba(255, 218, 120, 0.35) 0%, transparent 80%);
  z-index: 0;
  filter: blur(20px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Polaroid-style translucent card */
.polaroid-card {
  position: relative;
  padding: 1rem 1rem 2.25rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  z-index: 1;
  text-align: center;
  overflow: hidden
}

/* Image inside Polaroid */
.polaroid-card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  mask-image: 
    linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: 
    linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-composite: destination-in;
}

.photo-caption {
  margin-top: 0.8rem;
  margin-bottom: 0.5rem; 
  font-size: 0.95rem;
  opacity: 0.75;
  font-style: italic;
  letter-spacing: 0.3px;
  padding-top: 1.5rem;
}

.faq-section {
  background: #f9f6f0;
  position: relative;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  font-family: 'Montserrat', sans-serif;
}

.faq-svg-defs{
  position: absolute;
  width: 0; 
  height: 0;
  overflow: hidden;
}

/* Ensure content sits above the decorations */
.faq-inner{ 
  position: 
  relative; z-index: 1; }

/* Corner SVGs */
.faq-corner{
  position: absolute;
  width: 160px; height: 160px;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.faq-corner.tl{ 
  top: -3px; 
  left: -3px;
 }

.faq-corner.br{
  bottom: -6px; right: -6px;
  transform: rotate(180deg);         /* mirror the corner for bottom-right */
  transform-origin: center;
}

/* Slim line accents */
.faq-lines{
  position: absolute;
  width: 80px; height: 26px;
  opacity: .3;
  pointer-events: none;
  z-index: 0;
}
.faq-lines.tl{ 
  top: 72px; 
  left: 88px;
 }
 
.faq-lines.br{
  bottom: 72px; right: 88px;
  transform: rotate(180deg);
  transform-origin: center;
}

.faq-content {
  max-width: 900px;
  margin: 0 auto;
}

.faq-heading {
  font-family: 'Great Vibes', cursive;
  font-size: 3.5rem;
  color: #b91c1c;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.6;
}




.site-footer {
  position: relative;
  background-color: #1c1c1c;
  padding: 2.5rem 1rem;
  color: white;
  text-align: center;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  display: block;
  height: 5px;
  width: 100%;
  background: linear-gradient(to right,
    rgba(245, 231, 161, 0), 
    rgba(245, 231, 161, 0.5), 
    rgba(224, 196, 114, 0.8), 
    rgba(207, 164, 77, 1),
    rgba(224, 196, 114, 0.8),
    rgba(245, 231, 161, 0.5), 
    rgba(245, 231, 161, 0)
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}



.footer-container {
  text-align: center;
  gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.6))
}

.footer-logo p {
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.footer-instagram {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

.footer-instagram:hover {
  color: #f2c54d;
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}



/* Responsive Design */
@media (max-width: 1024px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .hero {
    flex-direction: column;
    padding: 2rem 2rem 4rem;
    align-items: center;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    padding: 0;
    min-width: auto;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text h2 {
    font-size: 2.8rem;
  }

  .hero img.dancers {
     width: 100%; 
     max-width: none; 
     margin: 0; 
     padding: 0;
     }
}

@media (max-width: 480px){
  .hero-photo-wrapper::before,
  .hero-photo-wrapper::after{
    content: none !important;
    display: none !important;
    background: none !important;
    filter: none !important;
    box-shadow: none !important;
  }

  .hero-photo-wrapper{
    background: transparent !important;
    box-shadow: none !important;
  }
}
@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-text h2 {
    font-size: 2.2rem;
  }

  nav img.logo {
    height: 100px;
  }

  nav ul li a {
    font-size: 1rem;
  }

  .hero {
    padding: 1.5rem;
  }

  .hero img.dancers {
    margin: 2rem auto 0;
    padding: 0;
  }
}

@media (max-width: 375px) {
  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  nav ul li a {
    font-size: 0.95rem;
  }

  .hero img.dancers {
    padding: 0;
  }
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq-corner{ 
    width: 100px; 
    height: 100px; 
    opacity:.45; }
  .faq-lines{ 
    display:none;
   }       
  .faq-corner.tl{ 
    top: -4px; 
    left: -4px; 
  }
  .faq-corner.br{ 
    bottom: -4px; right: -4px; 
  }
}

@media (max-width: 768px) {
  .dates-content {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .photo-frame {
    margin-left: 0;
    max-width: 100%;
  }

  .polaroid-card {
    width: 90%;
  }

  .photo-caption {
    font-size: 1rem;
  }
}