/* BASIC LAYOUT */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #efe9dd;
  color: #101633;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* HERO */

.hero-wrapper {
  display: flex;
  justify-content: center;
  padding: 32px 16px 8px;
  margin-right: 80px;
}

.hero {
  max-width: 520px;
  width: 80%;
  height: auto;
}

/* MAIN COLUMN */

.content {
  max-width: 640px;
  margin: 0 auto 34px;
  padding: 8px 0 0px;   /* no extra left/right padding */
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* desktop nudge so it sits visually centered between polaroids */
@media (min-width: 600px) {
  .content {
    transform: translateX(100px); /* try 16–32px and see what feels best */
  }
}






/* DETAILS & FORM TEXT */

/* details + form are separate so we can treat them differently */
.details {
  display: flex;
  flex-direction: column;
  gap: 32px;  /* a little more breathing room between rows */
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* each row: pill on the right, text block on the left */
.info-row {
  display: grid;
  grid-template-columns: auto 1fr;  /* pill | text */
  align-items: flex-start;
  column-gap: 24px;
  row-gap: 6px;
}

/* right column = pill */
.pill-col {
  display: flex;
  justify-content: flex-end;  /* pills line up on the right */
  align-items: center;
  min-width: 150px;           /* keeps them in a clean vertical column */
}

/* left column = text */
.text-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.info-row p {
  margin: 0;
}

.details p,
.form-wrapper label,
.attendance legend,
.attendance span,
.footer-note {
  font-size: 1.3rem;
  line-height: 1.3;
  text-align: left;
}

/* pills */
.pill {
  height: 44px;  /* bump up a bit; tweak if needed */
  width: auto;
  flex-shrink: 0;
  margin-top: -7px; 
}





/* FORM */

.form-section {
  margin-left: 60px; /* adjust this number until it lines up perfectly */
  margin-top:  50px;
}

.form-wrapper {
  flex: 1;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

label {
  display: block;
}

input[type="text"],
input[type="email"] {
  width: 60%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 3px solid #101633;
  background: transparent;
  font-size: 1.2rem;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(16, 22, 51, 0.2);
}

.hidden {
  display: none;
}


/* radios */

.attendance {
  border: none;
  padding: 0;
  margin: 8px 0 0;
}

.attendance legend {
  margin-bottom: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

/* custom circle radios */
.radio-option input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #101633;   /* navy outline */
  background: transparent;
  margin: 0;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

/* filled inner dot when checked */
.radio-option input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  inset: 4px;                  /* thickness of ring vs dot */
  border-radius: 50%;
  background: #101633;         /* navy fill */
}


/* submit blob */

.submit-btn {
  margin-top: 18px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-self: flex-start;
}

.submit-btn img {
  height: 120px;
  width: auto;
  display: block;
}




/* FOOTER */

.footer-note {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 100px;
  margin-left: -150px;
  width: 100%;
  display: flex;
  justify-content: center;
}


/* DOTS (behind everything) */

.dot {
  position: absolute;
  width: 80px;
  height: auto;
  opacity: 0.95;
  z-index: 0;
}

.dot-1 {
  top: 70px;
  left: 8%;
}

.dot-2 {
  top: -30px;
  right: 30%;
}

.dot-3 {
  bottom: 8%;
  left: 16%;
}

.dot-4 {
  top: 10%;
  right: -20px;
}

.dot-5 {
	top: 310px;
	left: 5%;
}

.dot-6 {
	top: 330px;
	right: 10%;
	z-index: 5;
}

.dot-7 {
	top: 680px;
	left: 10%;
	z-index: 5;
}

.dot-8 {
	top: 850px;
	right: -30px;
	z-index: 5;
}

.dot-9 {
	bottom: 450px;
	left: 5%;
	z-index: 5;
}

.dot-10 {
	bottom: -40px;
	left: 30%;
}

/* POLAROIDS (stuck to edges) */

.polaroid {
  position: absolute;
  /* old width was 340px */
  width: 28%;
  height: auto;
  z-index: 1;
}

.polaroid-left-top {
  top: 330px;
  left: -90px;
}

.polaroid-right-top {
  top: 350px;
  right: -60px;
}

.polaroid-left-bottom {
  bottom: 100px;
  left: -90px;
}

.polaroid-right-bottom {
  bottom: -80px;
  right: -80px;
}

/* make sure main column sits above dots but under photos */
.hero-wrapper,
.content {
  position: relative;
  z-index: 2;
}

/* RESPONSIVE TWEAKS */

@media (max-width: 768px) {
  .hero {
    
    width: 100%;
  }

  .polaroid {
    width: 210px;
  }

  .polaroid-left-top {
    top: 260px;
    left: -80px;
  }

  .polaroid-right-top {
    top: 250px;
    right: -90px;
  }

  .polaroid-left-bottom {
    bottom: -80px;
    left: -80px;
  }

  .polaroid-right-bottom {
    bottom: -70px;
    right: -70px;
  }
  
/*
  .dot {
    width: 40px;
  }
  */
  
  .dot-1 {
  top: 20px;
  left: 10%;
}

  .details p,
  .form-wrapper label,
  .attendance legend,
  .attendance span {
    font-size: 1.2rem;
  }

  .pill {
    height: 50px;
  }
}

@media (max-width: 480px) {
  
  .hero {
  	width: 80%;
  	margin-top: 0px;
  	padding: 0px;
  	
  }
  
 .hero-wrapper {
 		margin-right: 0px;
 		margin-top:  0px;
 		padding:  0px;
 }
  
  .polaroid {
    width: 267px;
  }

  .dot {
    width: 25px;
  }
  
  .dot-1 {
  	top: -12px;
  	left: 40%;
  }
  
  .dot-2 {
  	top: 140px;
  	right: -14px;
  }
  
  .dot-3 {
  	left: -8px;
  	top: 430px;
  }
  
  .dot-4 {
  	top: 790px;
  	z-index: 2;
  	right: 40px;
  }
  
  .dot-5 {
  	top: 682px;
  	z-index: 3;
  	left: 40px;
  }
  
  .dot-6 {
	top: 545px;
	right: 37%;
	z-index: 5;
}

.dot-7 {
	top: 1000px;
	left: 20px;
}

.dot-8 {
left: 30%;
top: 1660px;
}

.dot-9 {
	top: 1120px;
	left: 97%;
}


.form-section {
  margin-left: 70px; /* adjust this number until it lines up perfectly */
}

  .details p,
  .form-wrapper label,
  .attendance legend,
  .attendance span {
    font-size: 1.1rem;
  }

  input[type="text"],
  input[type="email"] {
    font-size: 1.05rem;
  }
  
  .polaroid-left-top {
  	 top: 517px;
  	 left: -48px;
  	 z-index: 2;
  }
  
  .polaroid-right-top {
    top: 482px;
    right: -51px;
  }
  
   .polaroid-left-bottom {
    bottom: 183px;
    left: -38px;
  }
  
    .polaroid-right-bottom {
    bottom: 111px;
    right: -24px;
	width: 221px;
  }
  
  .pill {
	  height: 38px;  /* bump up a bit; tweak if needed */
	  width: auto;
	  flex-shrink: 0;
	  margin-top: -7px; 
	}

.content {
    transform: translateX(-25px);
  }
  
  .form-section {
  	margin-top: 365px;
  }
  
  .submit-btn {
  	margin-top: -20px;
  	padding-right: 130px;
  }
  
  .footer-note {
  	margin-top: 400px;
		margin-left: 30px;
  }
  
}
