/* --------------------------------------------
   GLOBAL RESET & BASE
-----------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Utility container to center content */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Link styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Button styles */
.btn {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #00539c;             /* Blue text on gold */
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #e6c200; /* Darker gold on hover */
}

h1 {
  margin-bottom: 0.8rem;
  color: #e6c200;
}
/* Headings */

h2,
h3 {
  margin-bottom: 0.8rem;
  color: #00539c; /* Blue */
}
h2 {
  font-size: 2rem;
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
}

/* --------------------------------------------
   NAVBAR / HEADER
-----------------------------------------------*/
header {
  background-color: #FFFFFF; /* White */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00539c; /* Blue */
}

/* Navigation */
nav {
  display: flex;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: #00539c; /* Blue */
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #FFD700; /* Gold on hover */
}

.nav-links a.active {
  background-color: #FFD700; /* Gold */
  color: #00539c;            /* Blue text */
  border-radius: 4px;
  animation: highlightBox 0.4s ease-out;
}
@keyframes highlightBox {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile menu toggle (hidden by default) */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #00539c; /* Blue */
}

/* Responsive nav (mobile) */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px; /* height of header */
    right: 0;
    background-color: #fff;
    flex-direction: column;
    width: 200px;
    border: 1px solid #ddd;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 1rem 0;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }
}

/* --------------------------------------------
   HERO SECTION
-----------------------------------------------*/
.hero {
  position: relative;
  height: 60vh;
  background-color: #00539c; /* fallback in case image fails */
  
  /* Path to background image from within css/style.css: up one level, then into assets */
  background-image: url('../assets/backgroundImage.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF; /* White text */
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  position: absolute;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 80%;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* --------------------------------------------
   SECTIONS (ABOUT, PROJECTS, EVENTS, GALLERY, CONTACT)
-----------------------------------------------*/
.section {
  padding: 3rem 0;
}

.bg-light {
  background-color: #fafafa;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.project-card {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 1rem;
}

.project-card h3 {
  margin-top: 0.5rem;
  color: #00539c; /* Blue */
}

.project-card p {
  padding: 0 1rem 1rem;
  color: #333;
}

/* Events list */
.events-list {
  list-style: none;
  margin-top: 1.5rem;
}

.events-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #ddd;
  color: #333;
}

.events-list li strong {
  color: #00539c; /* Blue dates */
}

.events-list li:last-child {
  border-bottom: none;
}

/* Gallery grid (placeholders) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery-placeholder {
  background-color: #ddd;
  color: #666;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #00539c; /* Blue labels */
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group textarea {
  resize: vertical;
}

/* --------------------------------------------
   CAROUSEL STYLES
-----------------------------------------------*/
.carousel-container {
  max-width: 1000px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 0 100px; /* allows a peek of neighboring slides */
  box-sizing: content-box;
}

.carousel-slide {
  min-width: 600px;       /* makes each image large */
  margin: 0 20px;         /* spacing between slides */
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background: #ddd;
}

.carousel-slide img {
  width: 100%;
  height: 400px;          /* adjust height as needed */
  object-fit: cover;
  display: block;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.carousel-button:focus {
  outline: none;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-button svg {
  width: 20px;
  height: 20px;
  fill: #333;
}

/* --------------------------------------------
   “Submit your photos” BOX
-----------------------------------------------*/
.submit-box {
  border: 2px dashed #00539c;
  background-color: #f9f9f9;
  padding: 1rem;
  max-width: 300px;
  margin: 2rem auto;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
}

.submit-box p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #00539c;
}

/* --------------------------------------------
   RESPONSIVE ADJUSTMENTS
-----------------------------------------------*/
@media (max-width: 768px) {
  .carousel-slide {
    min-width: 300px;
    margin: 0 10px;
  }
  .carousel-container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    min-width: 250px;
    margin: 0 5px;
  }
  .carousel-container {
    padding: 0 10px;
  }
}

/* --------------------------------------------
   FOOTER
-----------------------------------------------*/
footer {
  background-color: #00539c; /* Blue */
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}

footer p {
  margin-bottom: 0.75rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  color: #FFD700; /* Gold */
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.7;
}
