/* ==========================================================================
   PagePeak Promotions - Spotlight Page Stylesheet (css/spotlight.css)
   ========================================================================== */

:root {
  --bg-light: #F8FAFC;        /* Off-White Base */
  --bg-white: #FFFFFF;        /* Pure White Background */
  --bg-accent: #0F172A;       /* Dark Slate Footer/Header Accent */
  --border-color: #E2E8F0;    /* Border Accent */
  --accent-yellow: #D97706;   /* Amber Gold Brand Highlight */
  --accent-gold: #EAB308;     /* Light Gold Accent */
  --text-dark: #0F172A;       /* Heading Dark Color */
  --text-body: #334155;       /* Primary Body Text */
  --text-muted: #64748B;      /* Secondary Muted Text */
  --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

/* Reset & Containers */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-light);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}

.logo-mark {
  background: var(--accent-yellow);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-logo span {
  color: var(--accent-yellow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-yellow);
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #B45309;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Spotlight Hero Feature Section (Speaker Facing Audience Image + Text)
   -------------------------------------------------------------------------- */
.spotlight-feature-hero {
  padding: 80px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.feature-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature-hero-image {
  position: relative;
  width: 100%;
  height: 440px; /* Gives the container a solid height */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.live-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-badge i {
  color: #EF4444;
  font-size: 0.6rem;
}

.feature-hero-content .sub-heading {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.feature-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 18px;
}

.feature-hero-content p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   What You Get Section (Strictly 3 Grid Cards)
   -------------------------------------------------------------------------- */
.what-you-get-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-header .sub-heading {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.features-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.grid-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-yellow);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
}

.card-icon {
  width: 52px;
  height: 52px;
  background-color: #FEF3C7;
  color: var(--accent-yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.grid-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.grid-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Banner CTA Section
   -------------------------------------------------------------------------- */
.spotlight-banner-cta {
  background: var(--bg-accent);
  padding: 60px 0;
  text-align: center;
  color: #FFFFFF;
}

.spotlight-banner-cta h2 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 12px;
}

.spotlight-banner-cta p {
  color: #94A3B8;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-light);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #F1F5F9;
}

.faq-icon {
  color: var(--accent-yellow);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  background-color: var(--bg-white);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 16px 24px 20px;
}

.faq-answer p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-accent);
  color: #94A3B8;
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.brand-tagline {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.portfolio-box {
  background: #1E293B;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.portfolio-box h3 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.btn-portfolio {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: #FFFFFF;
  background: #1E293B;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.social-icons a:hover {
  background: var(--accent-yellow);
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 20px 0;
  text-align: center;
  color: #64748B;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   AI Chatbot Widget Styles
   -------------------------------------------------------------------------- */
.chatbot-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.chat-trigger {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.chat-trigger:hover {
  transform: scale(1.08);
  background-color: #B45309;
}

.badge-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #EF4444;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.chat-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat-box {
  display: none;
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 340px;
  height: 480px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  overflow: hidden;
}

.chat-box.active {
  display: flex;
}

.chat-header {
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-title .avatar {
  background-color: var(--accent-yellow);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.chat-title h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: #FFFFFF;
}

.chat-title .status {
  font-size: 0.75rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-title .status .dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
}

.chat-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.chat-messages {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--bg-light);
}

.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.msg.bot {
  background-color: #E2E8F0;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.msg.user {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-options {
  padding: 10px 12px;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip {
  background-color: var(--bg-white);
  color: var(--accent-yellow);
  border: 1px solid var(--accent-yellow);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
}

.chat-input-area {
  display: flex;
  padding: 10px 12px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-white);
  gap: 8px;
}

.chat-input-area input {
  flex-grow: 1;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  outline: none;
}

.chat-input-area button {
  background-color: var(--accent-yellow);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .feature-hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-3-grid {
    grid-template-columns: 1fr;
  }

  .chat-box {
    width: calc(100vw - 48px);
    right: -10px;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo .logo-img {
  height: 60px;      /* Adjust height to fit your navbar */
  width: auto;       /* Maintains aspect ratio */
  object-fit: contain;
  display: block;
}