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

html, body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #05010f, #0f063a);
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  background: linear-gradient(135deg, #05010f, #0f063a);
  min-height: 100vh;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.logo span {
  margin-left: 0.4rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #d0d0d0;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links li a:hover {
  color: #00e0ff;
  text-shadow: 0 0 5px #00e0ff;
}

.menu-icon {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-icon span {
  width: 25px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
}

.tagline {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #a0a0a0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #05010f, #0f063a);
  background-image: url('../assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ccccff;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 2px solid #00e0ff;
  color: #00e0ff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background: #00e0ff;
  color: #05010f;
  box-shadow: 0 0 15px #00e0ff, 0 0 30px #00e0ff;
}

/* Blog List Section */
.blog-list-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #ffffff;
}

.posts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.post-card {
  position: relative;
  height: 380px;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5, 5, 15, 0) 0%, rgba(5, 5, 15, 0.9) 80%);
  z-index: 1;
}

.post-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  z-index: 2;
}

.post-card .card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.post-card .card-content p {
  font-size: 0.9rem;
  color: #cfcfe0;
}

.post-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 224, 255, 0.3);
}

.post-card:hover img {
  transform: scale(1.1);
}

/* Post Article */
.post-article {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.post-article h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.post-article .post-date {
  color: #8c8cac;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.post-article p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: #e0e0f0;
}

.post-article img {
  width: 100%;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.post-article audio,
.post-article video {
  width: 100%;
  margin: 1rem 0;
  border-radius: 0.5rem;
}

.post-article video {
  background: #000;
}

/* About Page */
.about-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.about-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #e0e0e0;
}

/* Footer */
.site-footer {
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8888aa;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 200px;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .menu-icon {
    display: flex;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}