@font-face {
  font-family: 'Cinzel';
  src: url('assets/fonts/Cinzel-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Reset + base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Cinzel', system-ui, sans-serif;
  color: white;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Container */
.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

/* Full-screen scene sections */
.background-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-group {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* Background layers */
.background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

#backgroundA {
  background-image: url('assets/first-background.svg'),
  linear-gradient(to bottom, #173E3F 75%, #52836F 25%);
}

#backgroundB {
  background-image: url('assets/statueBackground(edit).svg');
  opacity: 1;
  z-index: 1;
  background-color: #9BB6AC;
}

.fade-in {
  opacity: 1 !important;
}

/* Overlays */
.starry-overlay,
.logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.starry-overlay {
  background-image: url('assets/transparent-starry-night.svg');
}

.logo-overlay {
  background-image: url('assets/transparent-logo-constellation.svg');
}

/* Hover Animation */
.glare-hover {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.glare-hover:hover {
  transform: scale(1.02);
  filter: brightness(1.15);
}

/* Page Sections */
.page {
  padding: 100px 10vw;
  min-height: 100vh;
  background-color: #9BB6AC;
  border-bottom: 10px solid #333;
}

.start-page {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  height: 100vh;
  padding: 40px 20px;
  z-index: 2;
  position: relative;
}

.start-page h1 {
  font-size: 3rem;
  color: #9c8122;
  margin: 0.5rem 0;
  background-color: #183030;
  border-radius: 8px;
  padding: 10px;
}

.start-page h3 {
  font-size: 1.5rem;
  color: #9c8122;
  margin: 0.5rem 0;
  background-color: #183030;
  border-radius: 8px;
  padding: 10px;
}

.start-page p {
  font-size: 1rem;
  color: #000;
  margin-top: auto;
  cursor: pointer;
  padding: 1rem 2rem;
}

/* Statue container */
.statue-container {
  position: absolute;
  bottom: 5px;           
  left: 0;
  width: 100%;            
  display: flex;
  justify-content: space-around; 
  align-items: flex-end;
  z-index: 2;         
}

.statue-1,
.statue-2,
.statue-3,
.statue-4 {
  height: 100vh;
  width: auto;
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.statue-1 {
  margin-left: 25px;
}

.statue-2 {
  padding-left: 10px;
}

.statue-1:hover, .statue-2:hover, .statue-3:hover, .statue-4:hover {
  transform: scale(1.05);
}

/* Content section text */
.page h1 {
  font-size: 3rem;
  color: #9c8122;
  margin-bottom: 1rem;
}

.page h3 {
  font-size: 2rem;
  color: #9c8122;
  margin-top: 1.5rem;
}

.page p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #173E3F;
  font-weight: bold;
}

.page a {
  color: #000;
  text-decoration: underline;
}

.sponsors-section {
  text-align: center;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.sponsors-title {
  font-size: 2.5rem;
  font-family: 'Cinzel', system-ui, sans-serif;
  margin-bottom: 40px;
  color: #222;
}

/* Tier Styling */
.sponsor-tier {
  margin-bottom: 50px;
}

.tier-title {
  font-size: 1.8rem;
  font-family: 'Cinzel', system-ui, sans-serif;
  margin-bottom: 20px;
  color: #444;
  border-bottom: 2px solid #ddd;
  display: inline-block;
  padding-bottom: 5px;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.sponsor-logos img {
  max-height: 100px;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-logos img:hover {
  transform: scale(1.1);
}

/* Contact Section */
.sponsor-contact {
  margin-top: 60px;
  font-size: 1.1rem;
  font-family: 'Cinzel', system-ui, sans-serif;
}

.sponsor-link {
  display: inline-block;
  margin: 15px 0;
  text-decoration: none;
  font-family: 'Cinzel', system-ui, sans-serif;
  color: #0056b3;
  font-weight: bold;
  transition: color 0.3s ease;
}

.sponsor-link:hover {
  color: #003d80;
}

.sponsor-btn {
  font-family: 'Cinzel', system-ui, sans-serif;
  background-color: #f6c90e;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.sponsor-btn:hover {
  background-color: #e0b90d;
}

/* SOCIAL ICONS */
.social-icons {
  padding-top: 40px;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-icons a img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}


/* Responsive */
@media (max-width: 770px) {

  #backgroundA {
    background-image: url('assets/first-background.svg'),
    linear-gradient(to bottom, #173E3F 45%, #52836F 55%);
  }

  .start-page {
    padding: 20px 10px;
    height: auto;
    justify-content: center;
  }
  .start-page h1 {
    font-size: 2.2rem;
  }

  .start-page h3 {
    font-size: 1.2rem;
  }

  .enter-btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }

  .page {
    padding: 60px 5vw;
  }

  .statue-1,
  .statue-2,
  .statue-3,
  .statue-4 {
    height: 400px;
  }

  .statue-1 {
    padding-left: 0.001rem;
  }

  .statue-2 {
    padding-left: 10px;
  }


  .statue-1:hover,
  .statue-2:hover,
  .statue-3:hover,
  .statue-4:hover {
  transform: scale(1.05);
}

  .statue-container {
    bottom: 300px;
    flex-wrap: wrap;
  }

  .social-icons a img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {

  #backgroundA {
    background-image: url('assets/first-background.svg'),
    linear-gradient(to bottom, #173E3F 45%, #52836F 55%);
  }

  .start-page {
    padding: 10px 8px;
    height: auto;
    justify-content: center;
  }

  .start-page h1 {
    font-size: 1.5rem;
    margin-top: 13rem;
  }

  .start-page h3 {
    font-size: 0.75rem;
    margin-top: 0.2rem;
  }

  .start-page p {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }

  .register-btn,
  .sponsor-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .enter-btn {
    margin-top:10rem;
    font-size: 1rem;
    padding: 10px 12px;
  }

  .page {
    padding: 40px 5vw;
  }

  .page h1 {
    font-size: 2rem;
  }

  .page h3 {
    font-size: 1.3rem;
  }

  .page p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .statue-container {
    bottom: 300px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .statue-1,
  .statue-2,
  .statue-3,
  .statue-4 {
    height: 150px;
    padding-left: 0;
  }

  .social-icons {
    gap: 1rem;
    padding-top: 30px;
  }

  .social-icons a img {
    width: 45px;
    height: 45px;
  }
}


/* Initially hidden sections */
#backgroundBGroup,
.content-wrapper {
  display: none;
  opacity: 0;
  transition: opacity 1s ease;
}

/* Enter Site Button */
.enter-btn {
  margin-top: 2rem;
  padding: 14px 28px;
  font-size: 1.2rem;
  font-family: 'Cinzel', serif;
  background-color: #9c8122;
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.enter-btn:hover {
  transform: scale(1.05);
  background-color: #bfa457;
}


/* Registration Section */
.registration-section {
  margin-top: 2rem;
  text-align: center;
}

.register-btn {
  padding: 30px 25px;
  font-size: 2.5rem;
  font-family: 'Cinzel', serif;
  background-color: #9c8122;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.register-btn:hover {
  transform: scale(1.05);
  background-color: #bfa457;
}

.sticky-register {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #9c8122; /* GirlHacks golden yellow */
  color: black;
  padding: 20px 18px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.sticky-register:hover {
  transform: scale(1.05);
  background-color: #bfa457;
}
