/* ===========================
   ROOT + THEME VARIABLES
=========================== */

:root {
  --bg: #0b0b0b;
  --text: #f5f5f5;
  --muted: #b0b0b0;
  --accent: #c9a14a;
  --card-bg: #111;
  --border: rgba(255,255,255,0.08);
  --logo-opacity: 0.12;
}

[data-theme="light"] {
  --bg: #f8f8f8;
  --text: #111;
  --muted: #555;
  --accent: #8b6a2f;
  --card-bg: #ffffff;
  --border: rgba(0,0,0,0.08);
  --logo-opacity: 0.05;
}

/* ===========================
   BASE
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Georgia", serif;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

/* ===========================
   NAVBAR
=========================== */
/* ===========================
   NAVBAR (FIXED & PREMIUM)
=========================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] header {
  background: #111; /* Still dark in light mode */
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left img {
  height: 42px;
  filter: brightness(1.2);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #eaeaea;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links .active::after {
  width: 100%;
}

/* Dark mode toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: #111;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.3s;
}

.theme-toggle:hover {
  background: var(--accent);
  color: #000;
}





/* ===========================
   DARK MODE TOGGLE
=========================== */

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: var(--accent);
  color: black;
}

/* ===========================
   HERO SECTION
=========================== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 80px 10%;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("logo.png") no-repeat right center;
  background-size: 520px;
  opacity: var(--logo-opacity);
  filter: blur(0.4px);
  pointer-events: none;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.4rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===========================
   SECTIONS
=========================== */

.section {
  padding: 80px 10%;
}

.section h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.section p {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===========================
   CARDS (BLOGS / INTERVIEWS)
=========================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

/* ===========================
   FOOTER
=========================== */

footer {
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
body {
  padding-top: 90px;
}


/* ===========================
   MOBILE
=========================== */

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    display: flex;
    justify-content: space-around;
  }

  .hero {
    padding: 60px 8%;
    text-align: left;
  }

  .hero::before {
    background-size: 320px;
    background-position: center bottom;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}
