/* style.css for Kitimat Sikh Society */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f7f7f7;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* Header */
header {
  background: #003366;
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.3s;
}

nav a:hover {
  background: #0055aa;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Hero Section */
#hero {
  position: relative;
  text-align: center;
  color: white;
  margin-top: 0;
  z-index: 1;
}

#hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(70%);
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.4);
  padding: 20px;
  border-radius: 8px;
  z-index: 2;
  width: 90%;
  max-width: 600px;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Sections */
.section {
  padding: 60px 20px;
  background: #fff;
}

.section.alt {
  background: #eef3f9;
}

.section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #003366;
  font-size: 2rem;
}

.services li {
  padding: 10px 0;
  font-size: 1.1em;
  list-style: disc;
  margin-left: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.directors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  width: 220px;
}

.card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  background: #003366;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background: #0055aa;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  margin: auto;
}

input, textarea, button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

button {
  background: #003366;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #0055aa;
}

footer {
  text-align: center;
  background: #003366;
  color: white;
  padding: 20px 0;
  margin-top: 40px;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #003366;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 20px;
  }

  nav ul.active {
    display: flex;
  }

  nav a {
    display: block;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .directors {
    flex-direction: column;
    align-items: center;
  }
}