/* =========================================================
   AyurYog — Jekyll site stylesheet
   ========================================================= */

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: #2a2a2a;
  background: #fff;
  line-height: 1.7;
}

a { color: #7a3b1e; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', serif;
  line-height: 1.3;
  margin-bottom: .6em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 1.6em; }
h3 { font-size: 1.2rem; margin-top: 1.2em; }

p { margin-bottom: 1em; }

ul, ol { margin: 0 0 1em 1.5em; }
li { margin-bottom: .3em; }

hr { border: none; border-top: 1px solid #ddd; margin: 2em 0; }

/* ---- Layout ---- */
.site-header { background: #1a1a1a; color: #fff; }
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-title {
  color: #fff;
  font-family: 'Palatino Linotype', Palatino, serif;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: .04em;
  white-space: nowrap;
}
.site-title:hover { text-decoration: none; opacity: .85; }

/* ---- Navigation ---- */
.site-nav { flex: 1; }
.site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .1rem;
  align-items: center;
}
.site-nav > ul > li { position: relative; }
.site-nav a {
  color: #ddd;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
  padding: .35rem .6rem;
  display: block;
  white-space: nowrap;
  letter-spacing: .02em;
}
.site-nav a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.08); }

.site-nav .nav-highlight {
  color: #e8c48a;
  font-weight: bold;
}
.site-nav .nav-highlight:hover { color: #fff; }

/* Dropdown */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2a2a2a;
  min-width: 180px;
  list-style: none;
  margin: 0;
  padding: .3rem 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.has-dropdown:hover .dropdown { display: block; }
.has-dropdown .dropdown a { font-size: .8rem; padding: .4rem .8rem; }

/* ---- Main content ---- */
main { max-width: 900px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }

/* ---- Home ---- */
.home-hero {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.home-hero-image {
  width: 340px;
  flex-shrink: 0;
  height: auto;
}

.home-hero-text {
  flex: 1;
}

.home-hero-text h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

@media (max-width: 700px) {
  .home-hero {
    flex-direction: column;
  }
  .home-hero-image {
    width: 100%;
  }
}


.home-intro { max-width: 680px; margin: 3rem auto; text-align: center; }
.home-intro h1 { font-size: 1.9rem; margin-bottom: 1.2rem; color: #1a1a1a; }
.home-intro p { font-size: 1.08rem; color: #333; }
.home-intro .read-more { margin-top: 1.5rem; }
.home-intro .read-more a { color: #7a3b1e; font-size: .95rem; }

/* ---- Page / Post ---- */
.page-content, .post-content {
  max-width: 760px;
  margin: 0 auto;
}
.page-title, .post-title { margin-bottom: 1rem; }

.post-meta {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .85rem;
  color: #666;
  margin-bottom: .8rem;
}
.post-meta .post-author { margin-left: .8rem; }

/* ---- Blog listing ---- */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li {
  border-bottom: 1px solid #eee;
  padding: 1.4rem 0;
}
.post-list li:last-child { border-bottom: none; }
.post-list .post-date {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
  color: #888;
}
.post-list .post-author {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
  color: #666;
  margin-left: .5rem;
}
.post-list h2 { font-size: 1.15rem; margin: .3rem 0 .5rem; }
.post-list h2 a { color: #1a1a1a; }
.post-list h2 a:hover { color: #7a3b1e; text-decoration: none; }
.post-list p { font-size: .95rem; color: #444; margin: 0; }

/* ---- Team ---- */
.team-member {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}
.team-member:last-child { border-bottom: none; }
.team-member h2 { font-size: 1.25rem; color: #1a1a1a; margin-bottom: .2rem; }
.team-member .team-role {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .87rem;
  color: #7a3b1e;
  margin-bottom: .8rem;
  font-style: italic;
}
.team-member p { font-size: .97rem; }

/* ---- Video embed ---- */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---- Alchemy Reconstruction sections ---- */
.alchemy-section {
  margin: 2rem 0;
}
.alchemy-section h3 {
  border-left: 4px solid #7a3b1e;
  padding-left: .8rem;
  color: #1a1a1a;
}
.alchemy-section p { font-size: .97rem; }

/* ---- Footer ---- */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 2rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.footer-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-logos img { max-height: 60px; width: auto; filter: brightness(0.85); }
.footer-copy {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
  color: #777;
}

/* ---- Timeline embed ---- */
.timeline-container {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 700px;
  margin-top: 1.5rem;
}
.timeline-container .responsive-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .site-nav > ul { gap: .1rem; }
  h1 { font-size: 1.5rem; }
  main { padding: 1.5rem 1rem 3rem; }
}
