/* ---------------------------------------------------------------------------
   BROWSE PAGE — Simplified after moving Events to its own page
--------------------------------------------------------------------------- */

/* General layout */
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #ffffff;
}

/* Sticky Navbar */
/* Navbar styles are now handled in main.css */
/* Removed old red navbar styles to match home.html design */

/* ---------------------------------------------------------------------------
   BROWSE SECTION
--------------------------------------------------------------------------- */
#browse-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: "Open Sans", sans-serif;
  margin-top: 80px;
}

.browse-title {
  color: var(--red);
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

/* Container for browse grid */
.browse-container {
  width: 100%;
  max-width: 900px;
}

/* Grid layout */
.browse-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.browse-row {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  flex-wrap: wrap;
}

/* Individual category card */
.browse-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.browse-card:hover {
  background-color: var(--red);
  color: white;
  transform: translateY(-5px);
}

.browse-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.browse-card p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray);
}

/* ---------------------------------------------------------------------------
   UTILITIES
--------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

/* ---------------------------------------------------------------------------
   RESPONSIVE STYLING
--------------------------------------------------------------------------- */
@media (max-width: 768px) {
  #browse-section {
    margin-top: 70px;
  }

  .browse-title {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .browse-card {
    width: 150px;
    height: 150px;
  }

  .browse-card img {
    width: 70px;
    height: 70px;
  }

  .browse-row {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .browse-container {
    max-width: 100%;
  }

  .browse-grid {
    flex-direction: column;
    gap: 20px;
  }

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

  .browse-card {
    width: 180px;
    height: 180px;
  }
}
