/* ----------------------------------------------------------
   GLOBAL VARIABLES
---------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --text: #222;
  --accent: #003366;
  --accent-light: #e6f0ff;
  --card-bg: #f7f7f7;
  --border: #dddddd;
}

.dark {
  --bg: #111;
  --text: #e5e5e5;
  --accent: #66aaff;
  --accent-light: #1a1a1a;
  --card-bg: #1b1b1b;
  --border: #333;
}

/* ----------------------------------------------------------
   BASE TYPOGRAPHY (NEW)
---------------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: "Crimson Pro", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1.5rem;
}

/* ----------------------------------------------------------
   NAVIGATION
---------------------------------------------------------- */
nav {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  font-weight: 500;
}

#toggle-dark {
  margin-left: auto;
  cursor: pointer;
  font-weight: 600;
}

/* ----------------------------------------------------------
   HERO SECTION
---------------------------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 2rem 0;
}

.hero-title {
  font-size: 2.8rem;
  margin: 0;
}

.subtitle {
  font-size: 1.2rem;
  margin-top: 0.3rem;
  color: var(--accent);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 650px;
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

/* HERO IMAGE */
.hero-photo img {
  width: 240px;
  height: 300px;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
}

/* ----------------------------------------------------------
   SECTIONS
---------------------------------------------------------- */
.section {
  margin-top: 3.5rem;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------
   CARDS
---------------------------------------------------------- */
.pub-card {
  background: var(--card-bg);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.pub-card .meta {
  font-size: 0.9rem;
  color: var(--accent);
  margin-top: 0.3rem;
}

/* ----------------------------------------------------------
   SOCIAL ICON LINKS
---------------------------------------------------------- */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
}

.social-item svg {
  color: var(--accent);
}

.dark .social-item {
  color: var(--accent);
}

.dark .social-item svg {
  color: var(--accent);
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

/* ----------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------- */
@media (max-width: 800px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-photo img {
    width: 220px;
    height: 280px;
  }

  .hero-buttons {
    justify-content: center;
  }
}
