/* sections.css: styles for main content sections */

/* INTRO SECTION */
.intro-section {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px 0 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.intro-section h1 {
  font-family: var(--font-family-head);
  font-weight: 400;
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.intro-section h2 {
  font-weight: 400;
  margin-bottom: 30px;
  font-size: 26px;
}

.intro-section p {
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.register-btn {
  display: inline-block;
  background: var(--bg-color);
  color: var(--text-color);
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 15px;
  font-weight: 400;
  font-family: var(--font-family-head);
  font-size: 20px;
  transition: all 0.3s ease;
  margin-top: 20px;
  border: 4px solid var(--text-color);
  box-shadow: 4px 4px 0px var(--text-color);
}

.register-btn:hover {
  background: var(--text-color);
  color: white;
  box-shadow: 2px 2px 0px var(--text-color);
  transform: translate(2px, 2px);
}

/* FEATURES SECTION */
.features-section {
  /* background-color: #f9f0ed; */
  border-radius: 20px;
  padding: 60px 40px;
}

.feature-list {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 5px;
}

.feature-text {
  flex: 1;
}

.feature-text h4 {
  font-weight: 400;
  margin-bottom: 5px;
  font-size: 18px;
}

.feature-text p {
  margin: 0;
  text-align: left;
  font-size: 16px;
}

/* COMMUNITY SECTION */
.community-section {
  text-align: center;
  padding: 60px 20px;
}

.community-btn {
  display: inline-block;
  background: var(--bg-color);
  color: var(--text-color);
  border: 4px solid var(--text-color);
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 15px;
  font-weight: 400;
  font-family: var(--font-family-head);
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0px var(--text-color);
}

.community-btn:hover {
  background: var(--text-color);
  color: white;
  box-shadow: 2px 2px 0px var(--text-color);
  transform: translate(2px, 2px);
}

/* PAST EVENTS SECTION */
.past-events {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f0ed;
  border-radius: 20px;
  margin-bottom: 60px;
}

.event-display {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
}

.video-billboard {
  position: relative;
  width: 100%;
  display: inline-block;
}

.billboard-image {
  width: 100%;
  height: auto;
  display: block;
}

.video-embed {
  position: absolute;
  top: 8%;
  left: 8%;
  width: 84%;
  height: 68%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.explore-btn {
  display: inline-block;
  background: var(--bg-color);
  color: var(--text-color);
  border: 4px solid var(--text-color);
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 15px;
  font-weight: 400;
  font-family: var(--font-family-head);
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0px var(--text-color);
}

.explore-btn:hover {
  background: var(--text-color);
  color: white;
  box-shadow: 2px 2px 0px var(--text-color);
  transform: translate(2px, 2px);
}

/* NEWSLETTER SECTION */
.newsletter-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* align-items: center; */
  padding: 80px 40px;
  /* background-color: #f9f0ed; */
  border-radius: 20px;
  margin: 60px auto;
}

.newsletter-text {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.newsletter-text h2 {
  text-align: left;
  font-size: 32px;
  margin-bottom: 15px;
}

.newsletter-text p {
  text-align: left;
  margin-bottom: 15px;
  font-size: 16px;
}

.newsletter-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  display: flex;
  margin-bottom: 15px;
}

.form-group input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
}

.form-group button {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0 20px;
  margin-left: 10px;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.3s;
}

.form-group button:hover {
  background: #175244;
}

/* Media queries for sections */
@media (max-width: 992px) {
  .newsletter-section {
    flex-direction: column;
  }
  
  .newsletter-text {
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .newsletter-text h2 {
    text-align: center;
  }
  
  .newsletter-text p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .intro-section h1 {
    font-size: 36px;
  }
  
  .intro-section h2 {
    font-size: 22px;
  }
  
  .features-section, 
  .past-events, 
  .newsletter-section {
    padding: 40px 20px;
  }
  
  .register-btn {
    padding: 10px 24px;
  }
  
  .event-display {
    max-width: 90%;
  }
  
  .video-embed {
    top: 6%;
    left: 6%;
    width: 88%;
    height: 70%;
  }
}

@media (max-width: 480px) {
  .intro-section h1 {
    font-size: 32px;
  }
  
  .intro-section h2 {
    font-size: 20px;
  }
  
  .features-section {
    padding: 30px 20px;
  }
  
  .feature-item {
    margin-bottom: 20px;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .form-group input {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .form-group button {
    width: 100%;
    margin-left: 0;
    padding: 12px;
  }
}

/* ABOUT SECTION */
.about-section {
  text-align: left;
  padding: 60px 40px;
}

.about-section h2 {
  margin-bottom: 30px;
}

.about-section p {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 18px;
}