/* Reset default spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  font-family: 'Raleway', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  height: 100%;
  font-family: 'WindSong', cursive, serif
}

/* Hero Section Styling */
.hero {
  background-image: url('https://images.unsplash.com/photo-1506423456648-c11ccb27338d?q=80&w=2952&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 80%;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-weight: 100;
  font-size: 1.7rem;
  opacity: 0.9;
}

/* NavBar styling */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo img {
  height: 100px;
}

.nav-links ul {
  list-style: none; /* removes bullets */
  display: flex;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 100;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #b4dbea; /* or any hover color you like */
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-weight: 100;
    font-size: 1.5rem;
    opacity: 0.9;
  }
  
  .logo img {
    height: 80px;
  }
 
  .navbar {
    flex-direction: row;         /* keep a row for logo vs links */
    justify-content: space-between;
    align-items: flex-start;     /* top align */
    padding: 20px;             /* less side padding */
  }

  .nav-links ul {
    flex-direction: column;      /* vertical links */
    align-items: flex-end;    /* right align */
    gap: 12px;                   /* spacing between links */
    margin: 0;            /* space under logo */
  }

  .nav-links a {
    margin: 0;                   /* remove left margin */
    font-size: 1.1rem;           /* slightly smaller for mobile */
  }
    

}

/* ABOUT US SECTION */

.about-us {
  display: flex;
  align-items: center;
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
}

.about-image img {
  width: 100%;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
}

/* Responsive for larger screens */
@media (min-width: 1024px) {
  .about-text h2 {
    margin-top: 10px;   /* ↓ decrease top space above title */
    /*margin-bottom: 20px;/* adjust below if needed */
    font-size: 4.5rem;      /* bigger heading */
  }

  .about-text p {
    font-size: 1.3rem;
  }

  .insta-text h2 {
    font-size: 3rem;
  }

  .insta-text p {
    font-size: 1.4rem;
  }
}


/* Responsive for smaller screens */
@media (max-width: 768px) {
  .about-us {
    flex-direction: column;
    padding: 40px 20px;
  }
  
  .about-image img {
    max-width: 100%;
    margin-bottom: 10 px; /*previously 10px*/
  }
  
  .about-text h2 {
    font-size: 2.5rem;
  }
}

/* PAST EVENTS */

.insta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  background-color: #f9f9f9;
  margin-bottom: 300px;
  width: 100%;
  min-height: 800px;
  position: relative;
}

.insta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: #f9f9f9;
  z-index: 0;
}

.insta-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1400px;
  width: 90%;
  margin: 0 auto; 
  padding: 0;
  align-items: stretch;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.insta-text {
  flex: 0 0 38%;
  text-align: left;
}


.insta-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.insta-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.carousel-container { 
  display: block;
  flex-direction: column;
  flex: 0 0 60%;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: none;
  height: 700px; /*previously 700px*/
}


.carousel-container img{
  position: relative;
  max-width: 100%;
  max-height: 100px; /* Or whatever works best visually */
  object-fit: contain;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  transition: opacity 0.5s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


.carousel-image {
  position: relative;
  width: 100%;
  height: 1000px;
  object-fit: cover;
  overflow: hidden;
}

.carousel-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity 1s ease-in-out;
}


.carousel-image-wrapper {
  flex: 1;
  display: block;
  align-items: center;
  position: relative;
  width: 100%;
  height: auto; /*previously 520px*/
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 10px;
}

.carousel-image-wrapper img {
  display: block;
  position: relative;
  width: 100%;
  height: auto; /* previously 100% */
  margin: 0;           /* no default margins */
  padding: 0;
  object-fit: cover; /* used to be "contain */
  border-radius: 10px;
  transition: opacity 0.5s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.caption {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: center;
  background: rgba(0,0,0,0.6);
  color: white;
  font-weight: 500;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  border-radius: 0px 0px 10px 10px; /* used to be 10 all */
  box-sizing: border-box;
  z-index: 10;
  margin-top: -4px; /* removes the tiny white gap */
}


.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  border-radius: 10%;
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 20; /* used to be 20 */

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
}


.carousel-container:hover .carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}

.carousel-arrow:hover {
  background-color: rgba(0,0,0,0.7);
}

.carousel-arrow.left {
  left: 5px;
}

.carousel-arrow.right {
  right: 5px;
}

@media (min-width: 1024px) {
  .insta-content { gap: 1.25rem; width: 94%; }
  .insta-text { flex: 0 0 40%; }
  .carousel-image-wrapper { height: auto; }
}

@media (max-width: 768px) {
  .insta-content {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    padding: 20px 2rem;
  }

  .insta-text {
    flex: 0 0 auto;
    text-align: left;
  }

  .insta-text h2 { font-size: 2.5rem; }       /* reduce headline */
  .insta-text p  { font-size: 1.1rem; }
  
  .carousel-container {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;         /* let height shrink naturally */
    padding: 0;           /* remove extra padding */
  }

  .carousel-image-wrapper {
    display: block;
    width: 100%;
    height: auto;         /* important: don't force a fixed height */
  }

  .carousel-image-wrapper img {
    width: 100%;
    height: auto;         /* keeps correct aspect ratio */
    object-fit: cover;    /* crop nicely if needed */
    display: block;
  }

  .caption {
    font-size: 0.8rem; /* smaller caption text */
    position: absolute;     /* let it sit directly under the image */
    margin-top: -4px;     /* tiny negative margin to remove any gap */
    border-radius: 0 0 10px 10px;
  }
}


/* UPCOMING EVENTS */

.upcoming-events-section {
  margin-top: 100px;
  margin-bottom: 100px;
  padding: 80px 20px;
  background-color: white;
  text-align: center;
}

.upcoming-events-section h2 {
  font-size: 3rem;
  margin-bottom: 40px;
}

.events-cards-wrapper {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap; /* wrap on smaller screens */
  overflow-x: auto; /* allows horizontal scroll if more cards */
  padding-bottom: 10px;
}

.event-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  min-width: 400px;
  max-width: 450px;
  height: 200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  text-align: center;
  flex: 0 0 auto; /* prevents cards from stretching */
  display: flex;
  flex-direction: column; /* ensure all content stays inside */
  gap: 8px; /* spacing between date, title, time, location */
}

.event-date {
  font-weight: 600;
  margin-bottom: 10px;
  color: #555;
}

.event-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.event-time {
  margin-bottom: 10px;
  color: #333;
}

.event-location a {
  color: #8ad1ed; /* brand color, darker */
  text-decoration: none;
}

.event-location a:hover {
  text-decoration: underline;
}

/* Optional: hide scroll bar on some browsers */
.events-cards-wrapper::-webkit-scrollbar {
  display: none;
}

.events-cards-wrapper {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

@media (max-width: 768px) {
  .upcoming-events-section h2 {
    font-size: 2.5rem;
  }

  .event-card {
    min-width: 300px;
    max-width: 90%;
    height: auto; /* let height adjust based on content */
  }

  .event-title {
    font-size: 1.5rem;
  }

  .event-time, .event-location, .event-date {
    font-size: 1.1rem;
  }
}

/* CONTACT SECTION */

.contact-section {
  padding-top: 120px;  /* space above contact section */
  padding-bottom: 80px; /* existing bottom padding */
  background-color: #f9f9f9;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: #444;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  padding: 12px 20px;
  font-size: 1.2rem;
  font-weight: 300;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #444;
}

@media (max-width: 768px) {
  .contact-container {
    width: 90%;               /* keep away from screen edge */
    padding: 0 10px;           /* inner breathing room */
  }
  
  .contact-info h2 {
    font-size: 2.5rem;   /* smaller header */
  }

  .contact-info p {
    font-size: 1.1rem;   /* inner text */
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;  /* slightly smaller text inside boxes */
    max-width: 90%;          /* reduce bounding box width */
    margin: 0 auto;      /* keep centered */
  }

  .contact-form button {
    font-size: 1.1rem;   /* match smaller inputs */
    padding: 10px 18px;  /* slightly smaller button */
    max-width: 50%;          /* align with inputs */
    margin: 0 auto;
    display: block;  /* center button */
  }
}


.other-contact-methods {
  background-color: #222;
  padding: 2rem;
  text-align: center;
}


.other-contact-methods h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: white;
  Margin-bottom: 1rem;
}

.contact-icon {
  font-size: 2rem;
  margin: 0 1rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-icon:hover,
.contact-icon:focus {
  color: #b4dbea; /* Instagram blue or your brand color */
  outline: none;
}

@media (max-width: 768px) {
  .other-contact-methods {
    padding: 1rem;
  }
}


/* Hidden by default */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When visible in viewport */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

html {
  scroll-behavior: smooth;
}




