/* Eventbrite-Style Homepage */

/* Top Navigation Bar */
.eventbrite-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Logo */
.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 700;
}

.logo-text {
  color: #1e0a3c;
  letter-spacing: -0.5px;
}

.logo-divider {
  color: #d1410c;
  font-weight: 300;
}

.logo-text-secondary {
  color: #1e0a3c;
  font-weight: 400;
}

/* Search and Location */
.search-location-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 500px;
  margin: 0 auto;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 300px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 14px;
}

.search-input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #1e0a3c;
}

.location-wrapper {
  position: relative;
  min-width: 140px;
}

.location-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 14px;
}

.location-select {
  width: 100%;
  padding: 10px 30px 10px 32px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  appearance: none;
  cursor: pointer;
}

.location-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 12px;
  pointer-events: none;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link-item {
  color: #1e0a3c;
  text-decoration: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
  position: relative;
  cursor: pointer;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.nav-link-item:hover {
  color: #1e0a3c;
  text-decoration: none;
}

.nav-link-login {
  color: #60a5fa !important;
}

.nav-link-login:hover {
  color: #3b82f6 !important;
  text-decoration: none;
}

.nav-link-item.dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link-item.btn-primary {
  background: #60a5fa;
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-link-item.btn-primary:hover {
  background: #3b82f6;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.4);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  min-width: 180px;
  margin-top: 8px;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  color: #1e0a3c;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: #f9fafb;
  color: #d1410c;
}

.btn-signup-nav {
  background: #d1410c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-signup-nav:hover {
  background: #b8380a;
  color: white;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

.hero-content * {
  pointer-events: auto;
}

.hero-text {
  text-align: right;
  margin-bottom: 30px;
}

.hero-text-light {
  display: block;
  font-size: 48px;
  font-weight: 300;
  color: white;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-text-bold {
  display: block;
  font-size: 72px;
  font-weight: 700;
  color: white;
  background: #d1410c;
  padding: 8px 20px;
  border-radius: 4px;
  line-height: 1.1;
}

.btn-hero-cta {
  background: #1e0a3c;
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-hero-cta:hover {
  background: #2d1a4c;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Categories Section */
.categories-section {
  background: white;
  padding: 40px 0;
  border-bottom: 1px solid #e5e5e5;
}

.categories-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s;
  min-width: 100px;
}

.category-item:hover {
  transform: translateY(-4px);
}

.category-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.category-item:hover .category-icon {
  background: #e5e7eb;
}

.category-icon i {
  font-size: 32px;
  color: #1e0a3c;
}

.category-label {
  font-size: 13px;
  color: #1e0a3c;
  text-align: center;
  font-weight: 500;
  max-width: 120px;
}

/* Events Section */
.events-section {
  background: white;
  padding: 40px 0 80px;
}

.events-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.location-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 14px;
  color: #6b7280;
}

.location-dropdown {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #d1410c;
  cursor: pointer;
  appearance: none;
  padding-right: 20px;
}

.time-filters {
  display: flex;
  gap: 8px;
}

.time-filter-btn {
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #1e0a3c;
  cursor: pointer;
  transition: all 0.2s;
}

.time-filter-btn:hover {
  border-color: #d1410c;
  color: #d1410c;
}

.time-filter-btn.active {
  background: #d1410c;
  color: white;
  border-color: #d1410c;
}

.events-heading {
  font-size: 32px;
  font-weight: 700;
  color: #1e0a3c;
  margin-bottom: 30px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Event Card */
.event-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.event-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.event-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.event-card:hover .event-card-image {
  transform: scale(1.05);
}

.event-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  z-index: 1;
}

.event-badge.going-fast {
  background: #f59e0b;
}

.event-badge.almost-full {
  background: #ef4444;
}

.event-card-content {
  padding: 20px;
}

.event-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e0a3c;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
}

.event-card-meta i {
  font-size: 12px;
}

.event-card-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
}

.event-card-location i {
  font-size: 12px;
}

.no-events {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

/* Footer */
.footer {
  background: #f9fafb;
  padding: 60px 0 20px;
  border-top: 1px solid #e5e5e5;
  margin-top: 60px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #1e0a3c;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #d1410c;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
  margin-top: 20px;
}

.footer-bottom p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

.dropdown-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 8px 0;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .search-location-group {
    max-width: 100%;
    order: 3;
    width: 100%;
    margin-top: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-text-light {
    font-size: 36px;
  }

  .hero-text-bold {
    font-size: 56px;
  }

  .categories-container {
    gap: 20px;
  }

  .category-item {
    min-width: 80px;
  }

  .category-icon {
    width: 60px;
    height: 60px;
  }

  .category-icon i {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }

  .logo-brand {
    font-size: 24px;
  }

  .nav-links {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
  }

  .nav-link-item {
    font-size: 15px;
  }

  .btn-signup-nav {
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero-section {
    height: 100vh;
    min-height: 500px;
  }

  .hero-content {
    padding: 80px 20px;
    align-items: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text-light {
    font-size: 28px;
  }

  .hero-text-bold {
    font-size: 42px;
    padding: 6px 16px;
  }

  .categories-container {
    gap: 15px;
    padding: 0 20px;
  }

  .category-item {
    min-width: 70px;
  }

  .category-icon {
    width: 50px;
    height: 50px;
  }

  .category-icon i {
    font-size: 20px;
  }

  .category-label {
    font-size: 11px;
    max-width: 80px;
  }

  .events-container {
    padding: 0 20px;
  }

  .events-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .events-heading {
    font-size: 24px;
  }
}

