@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --primary-color: #0f172a;
  --accent-color: #fbbf24;
  --text-color: #334155;
  --light-bg: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.85);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}

/* Base override */
.bg-primary-custom {
  background-color: var(--primary-color) !important;
}
.text-accent {
  color: var(--accent-color) !important;
}
.text-primary-custom {
  color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  padding: 1rem 0;
}
.navbar-brand {
  color: #fff !important;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.navbar-brand span {
  color: var(--accent-color);
}
.nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  margin-left: 1rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-color) !important;
}

/* Hero Section */
.hero {
  height: 60vh;
  min-height: 450px;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}
.hero h1 {
  color: white;
  font-size: 4rem;
  animation: fadeInDown 1s ease-out;
}
.hero p {
  font-size: 1.5rem;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.5s both;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}
.btn-accent {
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out 1s both;
  border: none;
  text-decoration: none;
  display: inline-block;
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.4);
  color: var(--primary-color);
}

/* Sections */
.section-title {
  position: relative;
  margin-bottom: 3rem;
  font-weight: 700;
  text-align: center;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Cards */
.custom-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.custom-card .card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Content Block */
.content-block {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}
.content-block h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
.content-block p, .content-block ul {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #475569;
}
.content-block li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #cbd5e1;
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
}
footer .brand {
  font-size: 1.5rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
  display: block;
  margin-bottom: 0.5rem;
}
footer .brand span {
  color: var(--accent-color);
}

/* Page Header */
.page-header {
  background: var(--primary-color);
  color: white;
  padding: 5rem 1rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.1;
}
.page-header h1 {
  color: white;
  position: relative;
  z-index: 1;
  font-size: 3rem;
}

/* Article Styling */
.article-meta {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
}
a.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 2px;
  transition: all 0.3s;
}
a.read-more:hover {
  color: var(--accent-color);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
