:root {
  --main: #532743;
  --header: #ae6a95;
  --light-blue: #8fb5cb;
  --lavender: #a974b5;
  --peach: #fcc9c7;
  -inner: #cd51b2;
  -outer: #a02f8d;
}

.playfair-display-bold {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.inter-regular {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: bold;
}

.inter-bold {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.playfair-display-thin {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: white;
  position: relative;
  z-index: 1;
}

.svg-background-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background-image: url("/assets/flame.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 3px solid var(--main);
  position: relative;
  z-index: 10;
}

.logo {
  width: 50px;
  height: 50px;
  background-color: var(--header);
  border-radius: 50%;
  background: url("assets/logos/RadicalCatalyst_SVG_Purple.svg") no-repeat;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.title {
  text-align: center;
  font-size: 5rem;
  color: var(--main);
  margin: 1rem 0;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
}

.nav-links a {
  color: var(--main);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--header);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: var(--main);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 20;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  color: var(--main);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--header);
}

.close-btn {
  font-size: 1.5rem;
  align-self: flex-start;
  cursor: pointer;
  color: var(--main);
  margin-bottom: 1rem;
}

.image-wrapper {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 4rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  color: white;
  font-size: 1rem;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-block:hover .hover-overlay {
  opacity: 1;
}

.square-img:hover .hover-overlay {
  opacity: 1;
}

.left-big,
.top-right,
.bottom-left,
.bottom-right {
  border-radius: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background-size: cover;
  background-position: center;
    position: relative;
  border-radius: 20px;
  overflow: hidden;
}

/* Layout structure */
.left-big {
  width: 50%;
  aspect-ratio: 1 / 1; /* square */
  
}

.right-side {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.top-right {
  width: 100%;
  aspect-ratio: 2 / 1; /* wide rectangle */
}

.bottom-row {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.bottom-left,
.bottom-right {
  width: 50%;
  aspect-ratio: 1 / 1; /* squares */
}

.about-section {
  padding: 4rem;
  border-bottom: 3px solid var(--main);
}

.text-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  flex-direction: column;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--main);
}

.about-heading {
  text-align: center;
}

.about-heading h2 {
  font-size: 2rem;
  color: var(--light-blue);
  line-height: 1.2;
}

.issue-section {
  padding: 3rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.issue-container {
  max-width: 800px;
  margin: 0 auto;
}

.issue-container h2 {
  color: var(--header);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.issue-container p {
  color: var(--main);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.issue-container a {
  color: var(--light-blue);
  font-weight: 600;
  text-decoration: none;
}

.submit-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(var(--main));
  border: 2px solid var(--main);
  border-radius: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--main);
  color: white;
}

.mailing-wrapper {
  padding: 4rem;
  padding-top: 0;
  display: flex;
  justify-content: center;
}

.mailing-box {
  background-color: var(--peach);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 1.5rem;
  -moz-border-radius: 1.5rem;
  -ms-border-radius: 1.5rem;
  -o-border-radius: 1.5rem;
}

.mailing-content h2 {
  font-size: 2.5rem;
  color: var(--main);
  margin-bottom: 0.5rem;
}

.mailing-content h2 strong {
  font-weight: bold;
}

.mailing-content p {
  font-size: 1.2rem;
  color: var(--main);
  margin-bottom: 2rem;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.subscribe-form input[type="email"] {
  font-size: 1.1rem;
  border: none;
  border-bottom: 2px solid var(--main);
  background: transparent;
  padding: 0.5rem 0;
  outline: none;
  color: var(--main);
}

.subscribe-form input::placeholder {
  color: var(--main);
  opacity: 0.7;
}

.subscribe-form button {
  background-color: var(--header);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  padding: 0.9rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s ease;
  -webkit-transition: background 0.3s ease;
  -moz-transition: background 0.3s ease;
  -ms-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
}

.subscribe-form button:hover {
  background-color: var(--light-blue);
}

.message {
  font-size: 0.95rem;
  color: var(--main);
  margin-top: 0.25rem;
}
.site-footer {
  background-color: var(--light-blue);
  padding: 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 1rem;
  margin: 0 auto;
}

/*about us*/
.our-story {
  padding: 1rem 4rem;
}

.story-container {
  margin: 0 auto;
}

.our-story h2 {
  font-size: 3rem;
  color: var(--header);
  margin-bottom: 1.5rem;
}

.our-story p {
  font-size: 1rem;
  color: var(--main);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.our-story a {
  color: var(--lavender);
  text-decoration: none;
  font-weight: 500;
}

.our-story a:hover {
  text-decoration: underline;
  color: var(--lavender);
}

.team-section {
  padding: 1rem 4rem;
  margin: 0 auto;
}

.team-heading h2 {
  font-size: 3rem;
  font-family: serif;
  color: var(--header);
  text-align: center;
  margin-bottom: 2.5rem;
}

.team-heading h2 span {
  font-weight: normal;
  color: var(--header);
}

.team-member {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.team-member.reverse {
  flex-direction: row-reverse;
}

.member-img {
  width: 150px;
  height: 150px;
  background-color: #94b7cf;
  border-radius: 50%;
  flex-shrink: 0;
}

.member-info {
  flex: 1;
  color: var(--main);
  font-size: 1rem;
  line-height: 1.7;
}

.member-name {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.involvement-section {
  padding: 1rem 4rem 3rem;
  color: var(--main);
}

.involvement-container {
  margin: 0 auto;
  text-align: left;
}

.involvement-container h2 {
  text-align: center;
  font-size: 3rem;
  color: var(--header);
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 2rem;
  color: var(--lavender);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: normal;
}

.intro,
.mission,
.apply {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.roles {
  text-align: left;
  margin-bottom: 2rem;
}

.role {
  margin-bottom: 1.5rem;
}

.role p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.role-title {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--lavender);
  margin-bottom: 0.25rem;
}

.apply a {
  color: var(--lavender);
  text-decoration: none;
  font-weight: 500;
}

.apply a:hover {
  text-decoration: underline;
}

.contact {
  margin-top: 2rem;
  font-size: 1rem;
}

.contact a {
  color: var(--main);
  text-decoration: none;
}

/*submit page*/

.submit-section {
  padding: 1rem 5rem;
  text-align: center;
  font-family: sans-serif;
  color: var(--main);
}

.submit-container {
  margin: 0 auto;
}

.submit-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.submit-section h2 em {
  font-style: italic;
  color: var(--light-blue);
  font-weight: normal;
}

.submit-section h2 span {
  color: var(--header);
  font-weight: bold;
}

.submit-section p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.special-text {
  color: var(--light-blue);
  text-decoration: none;
  font-weight: 500;
}

.submit-section a:hover {
  text-decoration: none;
}

.sub-button {
  display: inline-block;
  background-color: var(--main);
  color: #fff;
  font-size: 1.5rem;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.sub-button {
  color: white;
}

.sub-button:hover {
  background-color: var(--header);
}

.submission-guidelines {
  padding: 1rem 8rem;
  color: var(--main);
}

.submission-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.text-column {
  flex: 1 1 55%;
  font-size: 1rem;
  line-height: 1.6;
}

.text-column p {
  padding-bottom: 1rem;
}

.highlight {
  color: var(--header);
}

.image-column {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
}

.square-img {
  width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
    background-size: cover;
  background-position: center;
    position: relative;
    overflow: hidden;
}

.img-top {
  margin-right: 0;
  background-image: url('assets/FORCE - Eucalypschitz.jpeg');

}

.img-bottom {
  margin-left: auto;
  background-image: url('assets/IMG_2511 - Rachel Coyne.jpeg');

}

.contact-info {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--main);
  text-decoration: none;
  font-weight: 500;
}

/*archive page*/
.archive-section {
  padding: 3rem 4rem;
  text-align: center;
}

.archive-section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--header);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.archive-item {
  background: var(--light-blue);
  border-radius: 16px;
  height: 90vh;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -ms-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .svg-background-layer {
    display: none;
  }
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .title {
    font-size: 3rem;
  }

  .title-mobile {
    display: block;
    text-align: center;
    font-size: 2rem;
    color: var(--main);
    margin: 1rem 0;
  }

  .image-wrapper {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .text-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-heading {
    text-align: center;
    margin-bottom: 1rem;
  }

  .about-heading h2 {
    font-size: 1.75rem;
  }

  .about-text p {
    font-size: 1rem;
  }
  .issue-container h2 {
    font-size: 2rem;
  }

  .issue-container p {
    font-size: 1rem;
  }

  .submit-btn {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
  .mailing-content h2 {
    font-size: 2rem;
  }

  .mailing-content p {
    font-size: 1rem;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .our-story h2 {
    font-size: 2rem;
    text-align: center;
  }

  .our-story p {
    font-size: 1rem;
  }

  .story-container {
    padding: 0 0.5rem;
  }
  .team-heading h2 {
    font-size: 2rem;
  }

  .team-member,
  .team-member.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .member-img {
    margin-bottom: 1rem;
  }

  .member-info {
    font-size: 1rem;
  }
  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .intro,
  .mission,
  .apply,
  .role p {
    font-size: 1rem;
  }

  .roles {
    text-align: left;
  }

  .submit-section h2 {
    font-size: 2rem;
  }

  .submit-section p {
    font-size: 1rem;
  }

  .sub-button {
    font-size: 1rem;
    width: 100%;
    padding: 0.75rem;
  }

  .submission-content {
    flex-direction: column;
    align-items: center;
  }

  .text-column,
  .image-column {
    width: 100%;
  }

  .image-column {
    flex-direction: row;
    justify-content: center;
  }

  .square-img {
    width: 40%;
  }

  .img-top,
  .img-bottom {
    margin: 0;
  }

  .text-column {
    text-align: left;
  }
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .archive-item {
    height: 60vh; /* You can adjust this height if needed for mobile */
  }
  
  .popup {
      position: relative;
      display: inline-block;
      cursor: pointer;
  }
  
  .popup .popuptext {
      visibility: hidden;
      width:160px;
      background-color:#555;
      color:#fff;
      text-align: center;
      border-radius:6px;
      padding:8px 0;
      position:absolute;
      z-index:1;
      bottom:125%;
      left:50%;
      margin-left:-80px;
  }
  
  .popup .popuptext::after {
      content:"";
      position:absolute;
      top:100%;
      left:50%;
      margin-left:-5px;
      border-width:5px;
      border-style:solid;
      border-color:#555 transparent transparent transparent;
  }
  
  .popup .show {
      visibility:visible;
      -webkit-animation:fadeIn 1s;
      animaiton: fadeIn 1s;
  }
  
  @-webkit-keyframes fadeIn {
      from {opacity:0;}
      to {opacity: 1;}
  }
  
  @keyframes fadeIn {
      from{opacity:0;}
      to{opacity:1;}
  }
  
}
