:root {
  --background: #0d0c11;
  --foreground: #ffffff;
  --foreground-muted: #a0a0a0;
  --primary: #f7c948;
  --secondary: #1a1a1a;
  --radius: 0.75rem;
  --shadow-card: 0 10px 25px rgba(0,0,0,0.6);
  --shadow-cinematic: 0 25px 50px rgba(0,0,0,0.8);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #0d0c11 0%, #121016 50%, #0d0c11 100%);
  color: var(--foreground);
  margin: 0;
  padding-top: 70px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Remove underline globally */
a {
  text-decoration: none;
  color: var(--foreground);
}

a:hover {
  color: var(--primary);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo and title container */
.logo-title-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Logo image */
.nav-logo-img {
  height: 50px;
  width: auto;
  border-radius: 4px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--foreground);
  font-weight: 500;
}

.nav-links li a:hover {
  color: var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.menu-line {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--foreground);
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn:hover .menu-line {
  background-color: var(--primary);
}

/* Hamburger to X Animation */
.mobile-menu-btn.active .menu-line-1 {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .menu-line-2 {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn.active .menu-line-3 {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  text-align: center;
  margin: 0;
}

.mobile-nav-links li {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav-links li a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.3s;
  padding: 0.5rem 1rem;
  display: block;
}

.mobile-nav-links li a:hover {
  color: var(--primary);
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
  z-index: 1001;
}

.close-menu:hover {
  color: var(--primary);
}

/* General container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  /* Adjust logo and title for mobile */
  .logo-title-container {
    gap: 0.5rem;
  }
  
  .nav-logo-img {
    height: 35px;
  }
  
  .nav-logo {
    font-size: 1.2rem;
  }
  
  .navbar {
    padding: 0.75rem 1rem;
  }
  
  body {
    padding-top: 60px;
  }
}

@media (max-width: 480px) {
  .mobile-nav-links li a {
    font-size: 1.25rem;
  }
  
  .close-menu {
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
  }
  
  .nav-logo-img {
    height: 30px;
  }
  
  .nav-logo {
    font-size: 1.1rem;
  }
}
/* General container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--foreground-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Articles List */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Each Article Card */
.article-card {
  display: flex;
  flex-direction: row;
  background: var(--secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--foreground);
  transition: transform 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-img {
  flex: 0 0 250px;
  height: 180px;
  overflow: hidden;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover .article-img img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.article-content h3 {
  font-family: var(--font-heading);
  margin: 0.5rem 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.article-content p {
  color: var(--foreground-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.article-content .tag-category {
  background: rgba(255,255,255,0.05);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  align-self: flex-start;
  color: var(--primary);
  font-weight: 500;
}

.article-content .meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--foreground-muted);
  flex-wrap: wrap;
}

.read-more {
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--primary);
  align-self: flex-start;
  transition: transform 0.3s;
}

.article-card:hover .read-more {
  transform: translateX(5px);
}

/* Footer Styles */
.footer {
  background: var(--secondary);
  color: var(--foreground);
  padding: 2rem 0 1rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-social h4 {
  margin-bottom: 0.8rem;
  color: var(--foreground);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.8rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--foreground);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.footer-legal {
  margin: 0.8rem 0;
}

.footer-legal a {
  color: var(--foreground-muted);
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--primary);
}

.footer-legal span {
  color: var(--foreground-muted);
  margin: 0 0.5rem;
}

.footer-attribution p {
  color: var(--foreground-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copyright p {
  color: var(--foreground-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .article-card {
    flex-direction: column;
  }

  .article-img {
    width: 100%;
    height: 200px;
    flex: none;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .page-header p {
    font-size: 1.1rem;
  }
  
  .social-icons {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .footer {
    padding: 1.5rem 0 0.8rem;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  .article-content h3 {
    font-size: 1.1rem;
  }
  
  .article-content .meta {
    flex-direction: column;
    gap: 0.25rem;
  }
}

