/* HOME PAGE SPECIFIC STYLES */

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1.2rem;
  background: rgba(244,168,54,.08);
  border: 1px solid rgba(244,168,54,.2);
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 500;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 480px;
}

.hero-card-stack { position: relative; width: 320px; height: 380px; }

.school-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: url('../assets/images/logo.png') center/contain no-repeat, var(--navy-800);
  border: 2px solid rgba(244,168,54,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(244,168,54,.15), var(--shadow-lg);
  animation: glow 3s ease-in-out infinite;
  z-index: 2;
}

.school-badge-inner { display: none !important; }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.2rem;
  background: rgba(19,34,54,.9);
  border: 1px solid rgba(244,168,54,.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-primary);
  z-index: 3;
}

.floating-card small { color: var(--text-muted); font-size: .75rem; display: block; }
.fc-icon { font-size: 1.4rem; }

.card-1 { top: 10%; left: -20%; animation: float 5s ease-in-out infinite; }
.card-2 { top: 60%; right: -20%; animation: float 6s ease-in-out infinite reverse; }
.card-3 { bottom: 5%; left: 5%; animation: float 7s ease-in-out infinite; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeInUp .8s 1s both;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold-500);
  border-radius: 2px;
  animation: float 1.5s ease-in-out infinite;
}

/* Features */
.feature-card .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 { margin-bottom: .5rem; font-size: 1.2rem; }

/* Events Preview */
.events-list { display: flex; flex-direction: column; gap: 1rem; }

.event-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--ease-slow);
  text-decoration: none;
}

.event-item:hover {
  border-color: var(--glass-border-hover);
  transform: translateX(6px);
  background: var(--glass-bg-hover);
}

.event-date-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy-950);
  font-family: 'Outfit', sans-serif;
}

.event-date-box .day { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.event-date-box .mon { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.event-info { flex: 1; }
.event-info h4 { color: var(--text-primary); margin-bottom: .25rem; font-size: 1rem; }
.event-info p { font-size: .85rem; color: var(--text-muted); }
.event-meta { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-top: .4rem; }

/* Alumni cards */
.alumni-card {
  text-align: center;
  padding: 1.5rem 1rem;
}
.alumni-card .avatar { margin: 0 auto 1rem; }
.alumni-card h4 { font-size: 1rem; margin-bottom: .25rem; }
.alumni-card .year-badge { font-size: .75rem; color: var(--gold-500); font-weight: 600; display: block; margin-bottom: .5rem; }
.alumni-card p { font-size: .82rem; }
.alumni-card .mentor-tag { display: inline-block; margin-top: .75rem; }

/* Burs CTA */
.burs-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(31,53,88,.6) 0%, rgba(19,34,54,.8) 100%);
  border-color: rgba(244,168,54,.2);
  padding: 3rem;
}

.burs-cta-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  padding-left: 2rem;
  border-left: 1px solid var(--glass-border);
}

/* Social Feed */
.feed-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-header { display: flex; align-items: center; gap: .75rem; }
.feed-header .info { flex: 1; }
.feed-header .info strong { font-size: .92rem; display: block; color: var(--text-primary); }
.feed-header .info span { font-size: .78rem; color: var(--text-muted); }
.feed-body { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; }
.feed-footer { display: flex; gap: 1.5rem; }
.feed-action { background: none; border: none; color: var(--text-muted); font-size: .82rem; cursor: pointer; display: flex; align-items: center; gap: .4rem; transition: color 150ms; font-family: inherit; }
.feed-action:hover { color: var(--gold-400); }

/* Alumni Map Section */
.alumni-map-wrapper {
  margin-top: 2rem;
  min-height: 500px;
  position: relative;
}

.alumni-map-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  height: 500px;
}

.alumni-map-sidebar {
  padding: 1.5rem;
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  background: rgba(10, 20, 35, 0.4);
}

.alumni-map-sidebar h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.sidebar-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.city-progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.city-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
}

.city-progress-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.city-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  border-radius: var(--radius-full);
  transition: width 0.8s ease-out;
}

.alumni-map-canvas-container {
  position: relative;
  height: 100%;
}

#alumniMap {
  background: #0d1622 !important;
  z-index: 1;
}

/* Custom Marker Styling */
.map-marker-pulse-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-marker-pulse {
  width: 10px;
  height: 10px;
  background: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-500);
  position: relative;
  cursor: pointer;
}

.map-marker-pulse::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  top: -10px;
  left: -10px;
  border: 1.5px solid var(--gold-500);
  border-radius: 50%;
  animation: mapPulse 2s ease-out infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes mapPulse {
  0% { transform: scale(0.2); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: scale(1); opacity: 0; }
}

/* Leaflet Popup Premium Styles override */
.leaflet-popup-content-wrapper {
  background: rgba(19, 34, 54, 0.95) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-md) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: 'Inter', sans-serif !important;
}

.leaflet-popup-tip {
  background: rgba(19, 34, 54, 0.95) !important;
  border-left: 1px solid var(--glass-border) !important;
  border-bottom: 1px solid var(--glass-border) !important;
}

.leaflet-popup-content {
  margin: 12px !important;
}

.leaflet-popup-content h5 {
  margin: 0 0 0.25rem 0;
  font-family: 'Outfit', sans-serif;
  color: var(--gold-400);
  font-size: 0.95rem;
  font-weight: 600;
}

.leaflet-popup-content p {
  margin: 0 0 0.5rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.leaflet-popup-content a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 600;
  transition: color 150ms;
}

.leaflet-popup-content a:hover {
  color: var(--gold-500);
}

.leaflet-container a.leaflet-popup-close-button {
  color: var(--text-muted) !important;
  padding: 6px !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: var(--text-primary) !important;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .burs-cta-card { grid-template-columns: 1fr; }
  .burs-cta-stats { flex-direction: row; border-left: none; border-top: 1px solid var(--glass-border); padding-left: 0; padding-top: 1.5rem; justify-content: center; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.65rem; }
  .alumni-map-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto 350px;
    height: auto;
  }
  .alumni-map-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    max-height: 250px;
  }
  #alumniMap {
    height: 350px !important;
  }
}

@media (max-width: 500px) {
  .burs-cta-stats { flex-direction: column; gap: 1.25rem; }
}
