/* =========================
   Reset Styles
========================= */
html, body {
  height: 100%;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
}

/* =========================
   Header
========================= */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0F172A;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-logo {
  height: 40px;
  margin-right: 10px;
}

.site-title {
  font-size: 1.5rem;
  color: #fff;
  flex-grow: 1;
  text-align: center;
}

.chat-toggle-button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.chat-toggle-button:hover {
  background-color: #555;
}

/* =========================
   Video and Chat
========================= */
.video-and-chat {
  display: flex;
  flex-direction: row;
  width: 100vw;
  margin: 0;
  padding: 0;
}

.video-section {
  flex: 3;
}

.chat-section {
    flex: 1;
  background-color: #1a1a1a;
  border-left: 1px solid #333;
  display: flex; /* ✅ was 'none', changed to 'flex' for default visibility */
}

.video-section iframe,
.chat-section iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* =========================
   About + Contact Combined
========================= */
.channel-info {
  padding: 60px 20px 20px; /* added more top padding, less bottom */
  text-align: center;
  background: url('bg-pic.jpeg') no-repeat center center;
  background-size: cover;
  position: relative;
}

.channel-info::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.channel-info > * {
  position: relative;
  z-index: 1;
}

.channel-info .info-logo {
  display: block;
  margin: 0 auto 20px auto;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}

.channel-info h2 {
  margin-bottom: 20px;
}

.channel-info p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 170px;
}

.channel-info .btn {
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  /* No background-color here */
}

/* Facebook - normal: dark blue, hover: bright blue */
.facebook-btn {
  background-color: #0056b3; /* darker blue */
}

.facebook-btn:hover {
  background-color: #007BFF; /* bright blue */
}

/* YouTube - normal: dark red, hover: bright red */
.youtube-btn {
  background-color: #AD0000ED; /* darker red */
}

.youtube-btn:hover {
  background-color: #FF0000; /* bright red */
}

/* Donate - normal: dark green, hover: bright green */
.donate-btn {
  background-color: #1e7e34; /* darker green */
}

.donate-btn:hover {
  background-color: #28a745; /* bright green */
}


/* =========================
   Contact Info
========================= */
.channel-info .contact-info {
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  margin-top: 40px;
  padding: 20px;
}

.channel-info .contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.channel-info .contact-info p {
  margin-bottom: 6px;
  line-height: 1.2;
}

.channel-info .contact-info p:last-of-type {
  margin-bottom: 0;
}

/* =========================
   Footer
========================= */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #0F172A;
  color: #ccc;
  padding: 15px 20px;
  font-size: 0.9rem;
  border-top: 1px solid #333;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  text-align: center;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

/* =========================
   Responsive Mobile
========================= */
@media (max-width: 768px) {
  header.site-header {
    flex-direction: column;
    align-items: center;
  }
  
  /* Optional: style for chat button container on mobile */
  #mobile-chat-toggle-container {
    margin: 20px 0; /* space between video and about */
    text-align: center;
  }
  
  /* Make the chat toggle button bigger for easier tapping */
  #mobile-chat-toggle-container .chat-toggle-button {
    font-size: 1.25rem;      /* Larger font */
    padding: 14px 24px;      /* Bigger padding */
    width: 100%;             /* Full width to tap easily */
    max-width: 400px;        /* Optional max width */
    margin: 10px auto;       /* Centered with spacing */
    border-radius: 8px;      /* Slightly bigger radius */
  }
  
  .video-and-chat {
    flex-direction: column;
    width: 100vw;
  }

  .video-section iframe,
  .chat-section iframe {
    height: 350px;
  }

  .chat-section {
    border-left: none;
    border-top: 1px solid #333;
  }

  .site-logo {
    display: none;
  }

  .channel-info .btn {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
  }

  .chat-toggle-button {
    margin-top: 10px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }

/* Hide left and right footer sections on mobile */
  .footer-left,
  .footer-right {
    display: none;
  }

  /* Center the footer-center text */
  .footer-center {
    flex: 1 1 100%;
    text-align: center;
  }    
    
}

