html {
    background-color: var(--bg-color);
    scroll-padding-top: 120px;
    scroll-behavior: smooth
}

body {
    /* Add a background color or image */
    background-color: var(--bg-color); /* see bottom of file for color variables */

    /* Customize the default size, color, and font for text*/
    font-size: 16px;
    color: var(--text-color);
    font-family: Tahoma, sans-serif; /* This tells the browser: "Try to use `Tahoma`, and if you can't find it, use any sans-serif font." */

    /* Put space around the edges of the webpage */
    margin: 50px;
}

html, body {
  transition: background-color 0.5s ease, color 0.5s ease;
}

#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  padding: 5px 20px; 
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: white;
  background-color: #0f1324;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#left-images {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#right-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

#colorstack-header-img {
  padding-left: 20px;
  padding-right: 20px;
  width: 200px;
  height: 35px;
  bottom: 30px;
  min-width: 0;
}

#purdue-header-img {
  padding-left: 10px;
  width: 70px;
  height: 70px;
  min-width: 0;
}

#apperence-img {
  width: 30px
}

.nav-text {
  font-size: 30px;
}

.navbar-buttons {
  background-color: #0f1324;
  font-size: 15px;
  min-width: 0;
}

.navbar-buttons:hover {
    color: rgb(0, 157, 157);
}


.navbar-link {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  background: transparent;

}

.navbar-link:hover {
  color: rgb(0, 157, 157)
}

#member-button {
  background-color: #0f1324;
  border-radius: 30px;
  border: 1px solid white;
  padding: 10px;
  margin-right: 10px;
  transition: background-color 0.4s ease;
  min-width: 0;
}

#member-button:hover {
  background-color: #fbb800;
  color: black;
  border-color: #fbb800;
}

#home {
  padding: 120px 24px 32px; /* top space below navbar + side breathing room */
}

.home-inner {
  max-width: 1100px;       /* center the content like in the screenshot */
  margin: 0 auto;
}

/* Two-column hero: title left, logo right */
#title-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* Big stacked title */
#title {
  margin: 0;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.5px;
  font-size: 120px; /* responsive: caps at ~120px */
}
#title span { display: block; }       /* stack each word on its own line */

/* Brand colors */
.title-word1 { color: #cfb991; }              /* Purdue gold (muted) */
.title-word2 { color: #fbb800; }              /* bright yellow */
.title-word3 { color: rgb(0, 157, 157); }     /* teal */

/* Logo on the right */
#logo-div { flex: 0 0 auto; }

#logo {
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0e1324;  /* matches your nav theme */
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Tagline under the hero */
.tagline {
  margin: 28px 0 0;
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 18px);
}

/* Mobile: stack logo under title */
@media (max-width: 768px) {
  #title-div {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  #logo { width: 160px; height: 160px; }
}

:root{
  --gold: #cfb991;           /* Purdue muted gold */
  --yellow: #fbb800;         /* bright Indy yellow */
  --teal:  rgb(0,157,157);   /* ColorStack teal */
}

/* Big, bold, responsive hero title */
#hero-title{
  margin: 0;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.5px;
  /* responsive from ~56px up to ~120px */
  font-size: clamp(56px, 8vw, 120px);
}

/* First row keeps Purdue + Indy on one line */
#hero-title .line1{
  display: inline-flex;
  gap: 0.25em;      /* space between words */
}

/* Second row forced onto its own line */
#hero-title .line2{
  display: block;   /* new line */
  margin-top: 0.15em;
}

/* Brand colors */
#hero-title .purdue{ color: var(--gold); }
#hero-title .indy{   color: var(--yellow); }
#hero-title .line2{  color: var(--teal); }

/* Optional: slightly smaller second line (like the screenshot) */
@media (min-width: 600px){
  #hero-title .line2{ font-size: 0.92em; }
}


#event-schedule {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  flex-wrap: wrap;
  overflow-wrap: break-word;
  margin-bottom: 200px;
}

.events-items {
  margin: 20px;
  border-radius: 10px;
  flex-wrap: wrap;
  width: 400px;              
  min-height: 200px;
  overflow-wrap: break-word;
  padding: 14px;
  background-color: white;
  border: 0.5px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.h2-section-title {
  display: flex;
  justify-content: center;
  margin-top: 100px
}

#about-section {
  display: flex;
  margin-bottom: 100px;
  margin-left: -50px;
  margin-right: -60px;
}

#about-text {
  background-color: #0f1324;
  font-size: 20px;
  color: white;
  padding: 20px;
  margin: 0;
  border: 0.5px solid white;
  border-left: #0f1324;
}

.event-buttons {
  display: flex;
  justify-content: center;
}

.rsvp-button {
  font-size: 20px;
  background-color: #fbb800;
  padding: 15px;
  color: black;
  border-radius: 15px;
}

.rsvp-button:hover {
  background-color: #d59d01;
  cursor: pointer;
}

.rsvp-form {
  margin-top: 10px;
  margin-bottom: 10px;
}

.rsvp-form input {
  display: block;
  margin-bottom: 5px;
  padding: 8px;
  width: 95%;
  max-width: 300px;
}

.rsvp-form button {
  padding: 8px 16px;
  background-color: #221f1f;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.rsvp-form button:hover {
  background-color: #333;
}

#no-events {
    display: flex;
    justify-content: center;
    align-items: center;    
    height: 100%;
    text-align: center;     
}

.modal {
  display: none;             
  position: fixed;             
  z-index: 2;                  
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.4);

  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-container {
  background-color: lightsteelblue;
  padding: 40px;
  border-radius: 15px;
  width: 80%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-family: sans-serif;
  text-align: center;
}

#modal-text {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#modal-image {
  width: 100px;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

a,
a * {
  color: inherit;           
  text-decoration: none;
}

button {
    background-color: green;    
    color: white;               
    border: none;               
    padding: 5px 12px;           
    border-radius: 5px;         
    cursor: pointer;            
}

#links {
  background-color: #0f1324;
  display: flex;
  justify-content: space-evenly; 
  flex-wrap: wrap;
  padding: 40px 20px;
  margin-top: 100px;
  width: 100%;
  box-sizing: border-box;
  color: white;
}

#modal-image {
  width: 100px;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

:root {
    /* Light Mode */
    --bg-color: #ffffff;
    --text-color: #231942;

    /* Dark Mode */
    --bg-color-dark-mode: #3e3377;
    --text-color-dark-mode: #fff;

    /* Accent Colors */
    --accent-color-light: #d2cff5;
    --accent-color-medium: #684fb5;
    --accent-color-dark: #482f95;
    --accent-color-darkest: #231942;
    --accent-color-green: #28eb76;

    /* Error Colors */
    --error-color: #f8bbd0;
    --error-color-border: #e63946;
}
