/* ========== GLOBAL ========== */
body {
  background:#0a0a1a;
  color:#e0f7ff;
  font-family:Arial, sans-serif;
  margin:0;
  line-height:1.6;
}

.container {
  max-width:1100px;
  margin:auto;
  padding:0 1rem;
}

h1, h2, h3 {
  margin:0 0 0.5rem;
  line-height:1.2;
}

/* ========== HEADER / NAV ========== */
.main-header {
  background:#0a0a1a;
  color:#e0f7ff;
  padding:1rem;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 0 12px rgba(0,191,255,0.4);
}

.nav-container {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.nav-container h1 {
  color:#00eaff;
  text-shadow:0 0 8px #00bfff;
  margin:0;
  font-size:1.4rem;
}

.menu-toggle {
  display:none;
  cursor:pointer;
  font-size:1.8rem;
  color:#00eaff;
}

#nav-links {
  display:flex;
  gap:1rem;
  justify-content:center;
  margin-top:.5rem;
}

#nav-links a {
  color:#e0f7ff;
  text-decoration:none;
  padding:.5rem 1rem;
  border-radius:6px;
  transition:.3s;
}

#nav-links a:hover {
  color:#00eaff;
  text-shadow:0 0 6px #00eaff;
}

@media(max-width:768px){
  .menu-toggle { display:block; }
  #nav-links {
    display:none;
    flex-direction:column;
    position:absolute;
    top:60px;
    right:10px;
    background:#0d0d1a;
    padding:1rem;
    border-radius:8px;
    box-shadow:0 0 10px #00eaff;
  }
  #nav-links.mobile-active { display:flex; }
}

/* ========== HERO ========== */
.hero {
  text-align:center;
  padding:3rem 1rem;
}

.hero h2 {
  color:#00bfff;
  text-shadow:0 0 12px #00eaff;
  font-size:2.2rem;
}

.hero p { color:#7ddfff; }

/* ========== ARTICLES / BLOG / VIDEOS ========== */
.articles, .videos {
  padding:2rem 1rem;
  max-width:1100px;
  margin:auto;
}

.article-grid, .video-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:1.5rem;
}

article, .video-box {
  background:#0d0d1a;
  padding:1rem;
  border-radius:10px;
  box-shadow:0 0 15px rgba(0,191,255,0.25);
}

article img {
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:.8rem;
  display:block;
}

article h3, .video-box h3 {
  color:#00eaff;
  margin:.5rem 0;
  font-size:1.1rem;
  text-align:center;
}

article a {
  color:#00bfff;
  text-decoration:none;
}
article a:hover { text-decoration:underline; }

/* === VIDEO STYLING (Square, Responsive, Clean) === */
.video-box video, .video-box iframe {
  width: 100%;
  aspect-ratio: 1/1;   /* square format */
  border-radius: 8px;
  object-fit: contain; /* keep full video, no cropping */
  background: #000;
  box-shadow: 0 0 10px #00eaff;
  margin-bottom: .8rem;
  display: block;
}

/* ========== CONTACT SECTION ========== */
#contact {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #0a0f1a;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.3);
  color: #e0f7ff;
}

#contact h2 {
  text-align: center;
  font-size: 2rem;
  color: #00bfff;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 12px #00eaff, 0 0 20px #00bfff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.95rem;
  color: #7ddfff;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #00eaff;
  border-radius: 8px;
  background: #0a0a1a;
  color: #e0f7ff;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00bfff;
  box-shadow: 0 0 8px #00eaff;
}

.contact-form button {
  padding: 0.9rem;
  background: #00bfff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: #0a0a1a;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #00eaff;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
}

.alert.success {
  background: rgba(0, 255, 128, 0.1);
  border: 1px solid #00ff80;
  color: #00ff80;
}

.alert.error {
  background: rgba(255, 0, 64, 0.1);
  border: 1px solid #ff4060;
  color: #ff4060;
}

/* ========== FOOTER ========== */
footer {
  background:#0a0a1a;
  color:#7ddfff;
  text-align:center;
  padding:1rem;
  border-top:1px solid #00eaff;
  margin-top:2rem;
}

@media (max-width: 768px) {
  .article-grid, .video-grid { grid-template-columns: 1fr; }
  #contact { margin: 2rem 1rem; padding: 1.5rem; }
}


/* ===== BLOG PAGE ===== */
.blog-wrapper {
  padding: 1.5rem 1rem;
}

.blog-heading {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #e0f7ff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.blog-card {
  background: #151525;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.blog-card-content {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-category {
  font-size: 0.8rem;
  color: #80dfff;
  margin-bottom: 0.4rem;
}

.blog-title {
  font-size: 1rem;
  margin: 0.3rem 0;
  color: #fff;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: #c9d6df;
  margin-bottom: auto;
}

.read-more {
  font-size: 0.85rem;
  color: #80dfff;
  text-decoration: none;
  margin-top: 0.6rem;
  align-self: flex-start;
}

.read-more:hover {
  text-decoration: underline;
}

/* ===== SOCIAL POSTS ===== */
.social-section {
  padding: 1.5rem 1rem;
  max-width: 1000px;
  margin: auto;
}

.social-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #e0f7ff;
}

.embed-block {
  margin-bottom: 2rem;
  background: #151525;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.embed-block h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #fff;
}

.embed-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.no-embed {
  color: #999;
  font-size: 0.9rem;
  text-align: center;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 600px) {
  .blog-heading,
  .social-section h2 {
    font-size: 1.3rem;
  }

  .blog-title {
    font-size: 0.95rem;
  }

  .blog-excerpt {
    font-size: 0.85rem;
  }

  .embed-block h3 {
    font-size: 1rem;
  }
}

