/* ====================== LOCAL FONTS - BULLETPROOF ====================== */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/Playfair-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/Playfair-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* متغیرهای فونت برای کل سایت */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, "Times New Roman", serif;
}
/* BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: #0a0a0a;
  color: #eee;
  line-height: 1.6;
}

/* HEADER */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

.logo {
  font-size: 2rem;
  font-weight: bold;
}

.main-nav a {
  text-decoration: none;
  color: #eee;
  margin-left: 24px;
  font-size: 1rem;
}

.main-nav a:hover {
  color: #fff;
  text-shadow: 0 0 4px rgba(255,255,255,0.2);
}

/* HERO */
.hero {
  padding: 60px 40px;
  text-align: center;
}

.hero h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* FEATURED CARDS */
.featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 40px;
}

.card {
  background: linear-gradient(145deg, #111, #1a1a1a);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #222;
  text-align: center;
  transition: 0.2s ease;
}

.card:hover {
  transform: scale(1.03);
  border-color: #444;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #222;
  margin-top: 40px;
}
