* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #222;
}

/* Common */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background: #2a2a2a;
  border-bottom: 3px solid #c9a23f;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle {
  font-size: 26px;
  color: #c9a23f;
  cursor: pointer;
  display: none;
}


.logo img {
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a.active,
nav a:hover {
  color: #c9a23f;
}

/* Hero */

.hero {
  text-align: center;
  padding: 40px 20px;
  background-image: url('/images/Panvel_Court.jpeg');
  aspect-ratio: 16/5;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c0c0c56;
    z-index: 1;
}

.hero img {
  width: 140px;
  z-index: 2;
}

.hero h1 {
  margin-top: 15px;
  color: #f5f5f5;
  z-index: 3;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #c9a23f;
  cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    width: 100%;
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    background: #2a2a2a;
    width: 100%;
    padding: 10px 0;
  }

  nav ul li {
    text-align: center;
    padding: 12px 0;
    border-top: 1px solid #222;
  }

  .header-flex {
    flex-direction: row;
  }
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #0c0c0c;
  color: #fff;
  z-index: 1001;
  transition: left 0.3s ease-in-out;
  padding-top: 20px;
}

.side-menu.active {
  left: 0;
}

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 15px;
  border-bottom: 1px solid #333;
  font-size: 18px;
  color: #c9a23f;
}

.side-menu-header button {
  background: none;
  border: none;
  font-size: 28px;
  color: #c9a23f;
  cursor: pointer;
}

.side-menu ul {
  list-style: none;
  padding: 20px;
}

.side-menu ul li {
  margin-bottom: 15px;
}

.side-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.side-menu ul li a:hover {
  color: #c9a23f;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.desktop-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.side-menu a.active {
  color: #c9a23f;
}

/* Default (Desktop) */
.menu-toggle {
  display: none;
}

.desktop-nav {
  display: block;
}

/* Mobile */
@media (max-width: 768px) {

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    font-size: 26px;
    color: #c9a23f;
    cursor: pointer;
  }
}


@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }
}


/* Members */
.members {
  padding: 40px 0;
  background: #fff;
}

.members h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #0c0c0c;
}

.members .discription{
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    color: #c9a23f;
}

.member-grid {
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.member-card {
    width: 360px;
  background: #2a2a2a;
  color: #fff;
  padding: 25px;
  text-align: center;
  border-radius: 12px;
  border-bottom: 4px solid #c9a23f;
}

.member-card i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #c9a23f;
}

.member-grid img {
    width: 260px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
}
.member-card h3 {
    margin-top: 10px;
}
.member-card p {
  color: #c9a23f;
  margin-top: 5px;
}

/* Pages */
.page {
  padding: 40px 0;
}

/* Footer */
footer {
  background: #0c0c0c;
  color: #fff;
  padding: 15px 0;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-flex a {
    color: #6e5923;
}

footer span {
  color: #c9a23f;
}

/* Responsive */
@media(max-width: 768px) {
  .header-flex {
    flex-direction: row;
    gap: 10px;
  }

  .footer-flex {
    text-align: center;
    gap: 10px;
  }

  .hero {
    background-position: center;
    background-size: cover;
    aspect-ratio: 16/9;
  }

  .hero img {
    width: 80px;
    display: none;
  }
}
