/* ========================================
   GLOBAL STYLES (NAV, FOOTER, BODY)
======================================== */
body {
    background-color: #0a0a1a;
    color: #e0f7ff;
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #39ff14;
}

img {
    max-width: 100%;
    display: block;
}



/* =========================
   MOBILE STYLES
========================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* show hamburger */
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    width: 220px;
    background-color: #0a0a1a;
    border: 1px solid #39ff14;
    border-top: none;
    display: none; /* hidden by default */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease-in-out;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    max-height: 400px; /* allow content to expand */
    padding: 1rem 0;
  }

  .nav-links li {
    margin: 0.6rem 0;
  }
}

/* ===== FOOTER ===== */
footer {

    background-color: #000;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 2px solid #00ff99;
    position: relative;
}

footer p {
    color: #39ff14;
    margin: 0;
}

/* ===== FLOATING CHAT ===== */
.chat-head {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    text-align: center;
}

.chat-alert {
    background-color: #003322;
    color: #00ff99;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: none;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.chat-icon {
    font-size: 2rem;
    cursor: pointer;
    color: #39ff14;
}

.chat-options {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.chat-options a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.chat-options a img:hover {
    transform: scale(1.2);
}

/* ========================================
   INDEX.PHP
======================================== */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 60vh;
    background-color: #000;
    border-bottom: 2px solid #39ff14;
    padding: 2rem 1rem;
}

.index-hero-content {
    max-width: 800px;
}

.index-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #39ff14;
}

.index-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.index-hero-btn {
    background-color: #39ff14;
    color: #111;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
}

.index-hero-btn:hover {
    background-color: #66ff88;
}

/* ABOUT PAGE - SECTION */
.index-about-box {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    text-align: center;
}

.index-about-box h2 {
    margin-bottom: 1rem;
    color: #39ff14;
}

/* Flex container for image + text */
.about-flex {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.index-about-img {
    max-width: 200px;
    border: 2px solid #39ff14;
    border-radius: 10px;
}

.about-flex p {
    max-width: 600px;
    text-align: left;
    color: #e0ffe0;
    line-height: 1.6;
}

/* READ MORE LINK */
.read-more {
    color: #39ff14;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    transition: 0.3s;
    text-decoration: none;
}

.read-more:hover {
    color: #66ffcc;
}

/* READ MORE ARTICLES GRID */
.index-articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1100px;
    margin: 2rem auto;
}

.index-blog-card {
    border: 1px solid #39ff14;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #111;
    transition: transform 0.3s;
    flex: 0 1 calc(33.333% - 1rem);
    box-sizing: border-box;
}

.index-blog-card:hover {
    transform: scale(1.02);
}

.index-blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.index-blog-card-content {
    padding: 1rem;
}

.index-blog-title a {
    color: #39ff14;
    text-decoration: none;
}

.blog-category {
    font-size: 0.9rem;
    color: #00ff99;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .index-blog-card {
        flex: 0 1 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .about-flex {
        flex-direction: column;
        text-align: center;
    }
    .about-flex p {
        text-align: center;
    }
    .index-blog-card {
        flex: 0 1 100%;
    }
}


/* CONTACT LINKS */
.index-contact-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.index-contact-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.index-contact-links img:hover {
    transform: scale(1.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .index-hero-content h1 {
        font-size: 2rem;
    }
    .index-hero-content p {
        font-size: 1rem;
    }
    .about-flex {
        flex-direction: column;
    }
    .index-blog-card {
        width: 90%;
    }
}



/* ========================================
   CONTACT PAGE (unique, scoped with .contact-page)
======================================== */
.contact-page {
    background-color: #0a0a1a;
    color: #e0f7ff;
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-page .contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-page .contact-header h1 {
    font-size: 2rem;
    color: #39ff14;
    margin-bottom: 0.5rem;
}

.contact-page .contact-header p {
    color: #a0aec0;
    font-size: 1rem;
}

.contact-page .contact-container {
    background: #000;
    border: 2px solid #39ff14;
    border-radius: 12px;
    padding: 2rem;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.contact-page form {
    display: grid;
    gap: 1rem;
}

.contact-page .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-page .form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.contact-page label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #e0f7ff;
}

.contact-page input,
.contact-page select,
.contact-page textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #39ff14;
    border-radius: 8px;
    background: #111;
    color: #e0f7ff;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-page input:focus,
.contact-page select:focus,
.contact-page textarea:focus {
    border-color: #39ff14;
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

.contact-page button {
    padding: 0.9rem 1.5rem;
    background: #39ff14;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    color: #000;
}

.contact-page button:hover {
    background: #2ecc71;
    transform: translateY(-2px);
}

.contact-page .direct-contact {
    text-align: center;
    margin-top: 2rem;
}

.contact-page .direct-contact p {
    margin-bottom: 1rem;
    color: #a0aec0;
}

.contact-page .direct-contact a img {
    width: 60px;
    transition: transform 0.3s;
}

.contact-page .direct-contact a img:hover {
    transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .contact-page .contact-container {
        padding: 1.5rem;
    }

    .contact-page .form-row {
        flex-direction: column;
    }
}


/* ========================================
   BLOG PAGE STYLES (scoped with .blog-page)
======================================== */
.blog-page {
    background: #0a0a1a;
    color: #fff;
    min-height: 100vh;
}

.blog-page .blog-hero {
    text-align: center;
    padding: 3rem 1rem;
    background: #000;
    border-bottom: 2px solid #39ff14;
}

.blog-page .blog-heading {
    font-size: 2.5rem;
    color: #39ff14;
    margin-bottom: 0.5rem;
}

.blog-page .blog-hero p {
    color: #e0ffe0;
    font-size: 1.1rem;
}

.blog-page .blog-articles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blog-page .blog-card {
    display: flex;
    flex-direction: column;
    background: #111;
    border: 1px solid #39ff14;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-page .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(57, 255, 20, 0.4);
}

.blog-page .blog-card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: #000;
}

.blog-page .blog-card-content {
    padding: 0.8rem;
    text-align: center;
}

.blog-page .blog-category {
    font-size: 0.8rem;
    color: #00ff99;
    display: block;
    margin-bottom: 0.3rem;
}

.blog-page .blog-title {
    font-size: 1rem;
    font-weight: bold;
    color: #39ff14;
    margin: 0.5rem 0;
}

.blog-page .blog-excerpt {
    font-size: 0.85rem;
    color: #e0ffe0;
    min-height: 40px;
    margin-bottom: 0.5rem;
}

.blog-page .read-more {
    font-size: 0.85rem;
    font-weight: bold;
    color: #39ff14;
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1400px) {
    .blog-page .blog-articles { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
    .blog-page .blog-articles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
    .blog-page .blog-articles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .blog-page .blog-articles { grid-template-columns: 1fr; }
    .blog-page .blog-heading { font-size: 2rem; }
    .blog-page .blog-card-img { height: 150px; }
}


/* ========================================
   POST.PHP STYLES
======================================== */
.post-page {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.post-page .post-container {
  max-width: 750px;
  width: 100%;
  background-color: #111;
  border: 2px solid #39ff14;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: #e0ffe0;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.25);
}

/* Title */
.post-page .post-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #39ff14;
  line-height: 1.3;
}

/* Featured Image */
.post-page .post-image {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem auto;
  display: block;
  border: 1px solid #39ff14;
}

/* Meta info */
.post-page .post-meta {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  color: #aaa;
}

/* Content */
.post-page .post-content {
  text-align: left;
  line-height: 1.7;
  color: #e0ffe0;
  margin-bottom: 2rem;
}

/* Back button */
.back-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #39ff14;
  color: #111;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.back-link:hover {
  background-color: #66ffcc;
}

/* ========================================
   COMMENTS
======================================== */
.comments-section {
  max-width: 750px;
  margin: 2rem auto;
  padding: 1rem;
  border-top: 2px solid #39ff14;
}

.comment-list .comment {
  background: #111;
  border: 1px solid #39ff14;
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 1rem;
  color: #e0ffe0;
}

.comment-form {
  margin-top: 1.5rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border: 1px solid #39ff14;
  border-radius: 6px;
  background: #111;
  color: #e0ffe0;
}

.comment-form button {
  background: #39ff14;
  color: #111;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.comment-form button:hover {
  background: #66ffcc;
}

/* ========================================
   MORE ARTICLES - Styled like blog cards
======================================== */
.more-articles {
  max-width: 1000px;
  margin: 3rem auto;
  text-align: center;
}

.more-articles h2 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: #39ff14;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.more-articles .compact-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.more-articles article {
  background: #111;
  border: 1px solid #39ff14;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-articles article:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(57, 255, 20, 0.25);
}

.more-articles a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.article-img-small {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #39ff14;
}

.more-articles h4 {
  font-size: 1rem;
  color: #39ff14;
  margin: 0.8rem 1rem;
  line-height: 1.4;
}

/* Optional excerpt */
.more-articles p {
  font-size: 0.9rem;
  color: #bbb;
  margin: 0 1rem 1rem;
  line-height: 1.5;
}

/* Read More Button */
.more-articles .read-more-btn {
  display: inline-block;
  margin: 0 1rem 1rem;
  padding: 0.5rem 1rem;
  background: #39ff14;
  color: #111;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 6px;
  text-align: center;
  transition: background 0.3s;
}

.more-articles .read-more-btn:hover {
  background: #66ffcc;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 600px) {
  .post-page .post-container {
    padding: 1.5rem 1rem;
  }

  .post-page .post-title {
    font-size: 1.4rem;
  }

  .post-page .post-image {
    max-width: 200px;
  }

  .post-page .post-content {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .more-articles .compact-articles {
    grid-template-columns: 1fr;
  }
}

/* ===== VIDEO SECTION ===== */
.index-videos {
  padding: 2rem 1rem;
  background: #000;
  border-top: 2px solid #39ff14;
  border-bottom: 2px solid #39ff14;
}

.index-video-h2 {
  text-align: center;
  color: #39ff14;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px #39ff14;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.video-card {
  background: #0a0a1a;
  border: 1px solid #39ff14;
  border-radius: 12px;
  width: 300px;          /* fixed width */
  height: 380px;         /* fixed height */
  padding: 1rem;
  text-align: center;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.6);
}

.video-card h3 {
  font-size: 1rem;
  color: #39ff14;
  margin: 0.5rem 0;
}

.video-card p {
  font-size: 0.85rem;
  color: #e0ffe0;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.8rem;
}

/* ===== Video / Embed Players ===== */
.video-card video,
.video-card iframe {
  width: 100%;
  height: 180px;         /* fixed video area */
  border-radius: 8px;
  box-shadow: 0 0 10px #39ff14;
}

/* Make local video always fit fully */
.video-card video {
  object-fit: contain;   /* show the full video without cropping */
  background: #000;      /* fill empty space with black */
}




/* Glowing Contact Button */
.contact-button-section {
  text-align: center;
  margin: 3rem 0;
}

.glow-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #39ff14;
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 0 15px #39ff14, 0 0 30px #00ff55;
  transition: all 0.3s ease-in-out;
}

.glow-btn:hover {
  background: #00ff55;
  box-shadow: 0 0 25px #39ff14, 0 0 50px #00ff55;
  transform: scale(1.05);
}
