/* ================================================
   🌟 .NET Conf Amravati - Speakers Page Styles
   ================================================ */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Space+Grotesk:wght@700&display=swap");

:root {
  --bg-dark: #0a0f12;
  --bg-light: #0b1216;
  --accent: #00f5c9;
  --accent-dark: #00bfa6;
  --text-light: #e5e5e5;
  --text-muted: #cfd8dc;
}

/* 🌌 Base Styling */
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
}

/* =========================
   🧭 Navbar
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(10, 15, 18, 0.9);
  border-bottom: 1px solid rgba(0, 245, 201, 0.15);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-title {
  color: var(--accent);
  font-size: 1.4rem;
  font-family: "Space Grotesk", sans-serif;
  text-decoration: none;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
}

.navbar-links li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-links li a:hover,
.navbar-links li a.active {
  color: var(--accent);
}

/* =========================
   🎤 Speakers Page
========================= */
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(0, 245, 201, 0.5);
  margin-bottom: 25px;
}

.intro-text {
  max-width: 900px;
  margin: 0 auto 50px;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* 🧑‍🏫 Speaker Grid */
/* 🧑‍🏫 Speaker Grid */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin: 50px 0 90px;
}

.speaker-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 245, 201, 0.15);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(0, 245, 201, 0.05);
  cursor: pointer;
}

.speaker-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 245, 201, 0.3);
  border-color: rgba(0, 245, 201, 0.4);
}

/* 🔹 Increased image size slightly */
.speaker-card img {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid var(--accent);
}

.speaker-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.speaker-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* 🏢 Added company name styling */
.speaker-company {
  font-size: 0.9rem;
  color: #00f5c9;
  font-weight: 500;
  margin-top: 2px;
}


/* =========================
   🚀 Call for Speakers CTA */
.reveal-card {
  text-align: center;
  background: rgba(0, 245, 201, 0.05);
  border: 1px dashed rgba(0, 245, 201, 0.3);
  color: var(--accent);
  font-size: 1.5rem;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 245, 201, 0.05);
}

.speaker-cta {
  text-align: center;
  margin: 60px auto;
}

.speaker-cta h2 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 10px;
}

.speaker-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sessionize-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  color: var(--bg-dark);
  padding: 14px 34px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 25px rgba(0, 245, 201, 0.3);
  transition: all 0.3s ease;
}

.sessionize-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0, 245, 201, 0.6);
}

/* =========================
   🪩 Modal
========================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 600px;
  color: var(--text-light);
  position: relative;
  animation: fadeIn 0.4s ease-in-out;
  border: 1px solid rgba(0, 245, 201, 0.2);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  color: var(--accent);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.modal-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

.modal-title-section h3 {
  margin: 0;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
}

.modal-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* =========================
   ⚡ Footer
========================= */
.footer-full-bleed {
  text-align: center;
  padding: 25px;
  background: rgba(10, 15, 18, 0.9);
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 245, 201, 0.15);
}

/* =========================
   ✨ Animations
========================= */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================
   📱 Responsive
========================= */
@media (max-width: 768px) {
  .container2 {
    padding: 70px 20px;
  }

  .speakers-grid {
    gap: 25px;
  }

  .speaker-cta h2 {
    font-size: 1.7rem;
  }

  .sessionize-btn {
    padding: 12px 28px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 25px 20px;
  }

  .modal-header {
    flex-direction: column;
    text-align: center;
  }

  .modal-image {
    width: 80px;
    height: 80px;
  }
}
