/* Club Daguerre Member Search - Base CSS */
/* Version: 1.3.1 - Modular + Logo Support */

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body.dark-theme {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0E1117;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ensure all elements inherit the font */
* {
  font-family: inherit;
}



/* ===== COMPACT HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #0E1117 0%, #1a1a2e 50%, #0E1117 100%);
  padding: 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(79, 195, 247, 0.1);
  position: relative;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #90caf9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  color: #8b949e;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.user-welcome {
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin: 0 auto 0.75rem;
  max-width: 250px;
  color: #4fc3f7;
  font-weight: 500;
  font-size: 0.85rem;
}

/* ===== MAIN SEARCH BAR ===== */
.search-container {
  position: relative;
  max-width: 450px;
  margin: 0 auto;
}

.main-search {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 2.25rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(79, 195, 247, 0.2);
  border-radius: 10px;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.main-search:focus {
  border-color: #4fc3f7;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}

.main-search::placeholder {
  color: #8b949e;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #4fc3f7;
  pointer-events: none;
}

.search-filters {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.4rem;
}

.filter-btn {
  background: rgba(79, 195, 247, 0.2);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 5px;
  padding: 0.3rem;
  color: #4fc3f7;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.75rem;
}

.filter-btn:hover {
  background: rgba(79, 195, 247, 0.3);
}

.home-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.home-icon:hover {
  background: rgba(79, 195, 247, 0.2);
  border-color: #4fc3f7;
}

.home-icon svg {
  width: 16px;
  height: 16px;
  stroke: #4fc3f7;
}

/* ===== CATEGORY SECTIONS ===== */
.categories-container {
  padding: 1.25rem;
  max-width: 1300px;
  margin: 0 auto;
}

.category-section {
  margin-bottom: 1.75rem;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.category-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-icon {
  font-size: 0.95rem;
}

.category-count {
  color: #8b949e;
  font-size: 0.85rem;
  font-weight: 400;
  margin-left: 0.5rem;
}

.view-all-btn {
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 5px;
  padding: 0.35rem 0.7rem;
  color: #4fc3f7;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.view-all-btn:hover {
  background: rgba(79, 195, 247, 0.2);
}
