
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}


/* HERO SECTION */
.hero {
  background: url('Objects/CN25-slides-14.jpg') center center / cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
   text-shadow:    -1px -1px  #8ccdff;
  overflow: hidden;
  background: linear-gradient(to right, #fc9149,#e6ba74,#fc9149);
  
}

.faded-box {
  background-color: rgba(255, 255, 255, 0); /* white with transparency */
  padding: 1.5rem;
  border-radius: 15px;
  max-height: flex;
  max-width: flex;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px); /* nice blur glass effect */
}


.details {
  text-align: center;
  padding: 1rem;
  font-size: pt;
  
  
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
}


.info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
}



.details a {
   color: white;
   text-shadow:    -1px -1px  #333;
  text-decoration: underline;
  font-weight: bold;
}

.details a:hover {
  color: #ffd700;
}

.cta-button {
  background-color: #fff;
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: #e8b76a;
  color: #000;
  transform: translateY(-2px);
}

/* NAVIGATION */
.navbar {
  position: sticky;
  top: 0;
  background: linear-gradient(to right, #8ccdff, #e8b76a);
  border-bottom: 2px solid #ffbb8e;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background-color: #ff7f2a;
  color: white;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
  }
  .nav-menu.show { display: flex; }
}

/* ABOUT & WHY SECTIONS */
.about-section, .why-section {
  background: linear-gradient(to right #8ccdff);
  padding: 3rem 2rem;
  text-align: left;
   color: white;
   text-shadow:    -1px -1px  #333;
  
}

.about-container, .why-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  gap: 2rem;
  
}

.about-text, .why-text {
  flex: 1;
  padding: 1rem;
  
}


.about-image, .why-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img, .why-image img {
  max-width: 200%; 
  width: 50%;
  height: flex;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.about-section h2, .why-section h2 {
  font-size: 30pt;
  margin-bottom: 1rem;
}

.about-section p, .why-section p {
  font-size: 20pt;
  margin-bottom: 1rem;
}

.mission-statement {
  font-style: italic;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .about-container, .why-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image, .why-image {
    width: 100%;
  }

  .about-image img, .why-image img {
    width: 100%;
    max-width: 400px;
  }
}



/* TEAM SECTION */


.team-section {
  background: linear-gradient(to right, #8ccdff, #e8b76a, #ff9853);
  padding: 4rem 2rem;
  text-align: center;
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.team-section dl {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.team-section dt {
  font-weight: bold;
  margin-top: 1rem;
}

.team-section dd {
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}

/* CONTACT */
.contact-section {

  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(to right, #ff9853, #e8b76a,#8ccdff);
   flex: 1;
   
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  
}

.contact-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  width: 280px;
}

.contact-box h3 {
  color: #ff7f2a;
}

.contact-box a {
  color: #333;
  text-decoration: underline;
  font-weight: bold;
}

.contact-box a:hover {
  color: #ff7f2a;
}

/* ARCHIVE */
.archive-section {
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(to right, #ff9853, #e8b76a, #8ccdff); /* Add this line */
  flex: 1;
}

.year-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
}

.year-card {
  min-width: 250px;
  max-width: 280px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  text-align: center;
  transition: transform 0.2s ease;
}

.year-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.year-card:hover {
  transform: scale(1.05);
  background-color: #fffaee;
}



/* Alternating backgrounds for full-width sections */
section:nth-of-type(odd) {
  background-color: #ffffff;
}

section:nth-of-type(even) {
  background-color: #f2f2f2;
}


/* Mobile nav adjustments */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    display: none;
    padding-top: 1rem;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #333;
  }

  .team-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .hero {
    background-position: center;
    background-size: cover;
    padding: 1rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .cta-button {
    width: 100%;
    margin-top: 1rem;
  }
}




.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team-member {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member .name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.team-member .affiliation {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}
.directions-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(to right, #ff9853, #e8b76a,#8ccdff);
  text-align: center;
}

.directions-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.location-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.map-link a {
  color: #ff7f2a;
  font-weight: bold;
  font-size: 1.05rem;
  text-decoration: underline;
}

.map-wrapper {
  margin-top: 2rem;
  max-width: 100%;
}

.map-wrapper img {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.archive-cards {
  display: flex;
  justify-content: center;      /* centers the row horizontally */
  flex-wrap: wrap;              /* allows wrapping on smaller screens */
  gap: 2rem;                    /* spacing between cards */
  padding: 2rem;
}


@media (max-width: 768px) {
  .archive-cards {
    flex-direction: column;
    align-items: center;
  }
}


/* Prevent horizontal scroll */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Fullscreen Landing Banner */
.landing-banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-image {
  width: 100%;
  height: auto;
  display: block;
}

/* CN25 Logo Overlay */
.cn25-overlay {
  position: absolute;
  top: 30px;
  left: 30px;
  height: 160px; /* Adjust size */
  z-index: 2;
}

/* Optional: Responsive resize */
@media (max-width: 768px) {
  .cn25-overlay {
    height: 60px;
    top: 15px;
    left: 15px;
  }
}




.section-split {
  display: flex;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  
}

.split-text, .split-images {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  margin: 0;
}

body, html {
  margin: 0;
  padding: 0;
}


.split-images {
  padding: 0;
}

.split-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.split-text h2, .split-text h3 {
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: left;
}

.split-text h2 {
  font-size: 24pt;
  text-align: left;
}

.split-text p {
  font-size: 18pt;
  padding-left: 10%;
  padding-right: 10%;
  text-align: left;
}


.split-text.light {
  background-color: #fff;
  color: white;
   text-shadow:    -1px -1px  #e8b76a;
  background: linear-gradient(to right, #7cb4dfe1, #e8b76a);
}

.split-text.blue {
 color: white;
   text-shadow:    -1px -1px  #88bbe2;
  background: linear-gradient(to right, #e8b76a,#7cb4dfe1);
}


/* Reverse layout for alternating sections */
.section-split.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .section-split, .section-split.reverse {
    flex-direction: column;
  }

  .split-images img {
    height: 600px ;
  }

  .split-text, .split-images {
    padding: 2rem 1rem;
  }
}

 


.register-section {
  background: linear-gradient(to right, #ff9853, #e8b76a,#ff9853);
  padding: 4rem 1rem;
  text-align: center;
}

.register-button {
  display: inline-block;
  background: linear-gradient(to right, #5ea0d3);
  color: white;
  font-weight: bold;
  font-size: 2rem;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.register-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);background: linear-gradient(to right, #8ccdff, #e8b76a,#8ccdff);
}





.instagram-section {
  background: linear-gradient(to right, #8ccdff, #e8b76a);
  padding: 3rem 1rem;
  text-align: center;
}

.insta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
}

.insta-header h2 {
  font-size: 1.8rem;
  margin: 0;
}

.highlight {
  color: #333;;
  font-weight: 700;
}

.insta-follow {
  align-content: center;
  background-color: #5ea0d3;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.insta-follow:hover {
  background-color: #dd9f49;
}

.insta-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 40px; /* Add horizontal padding */
}


.insta-gallery img {
  width: 100%;
  max-width: 300px; /* ← Increase this value */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  background-color: white;
  padding: 5px;
}

html, body.full-page {
  height: 100%;
  margin: 0;
  padding: 0;
}

body.full-page {
  display: flex;
  flex-direction: column;
}

body.full-page .contact-section {
  flex: 1;
}

