/* Wealthill.com - Static Site Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-dark: #1a3a2a;
  --green-mid: #2d6a4f;
  --green-light: #40916c;
  --gold: #b5903a;
  --gold-light: #d4af6a;
  --cream: #f8f4ee;
  --text-dark: #1c1c1c;
  --text-mid: #444;
  --border: #ddd;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #fff;
  color: var(--text-dark);
  line-height: 1.7;
}

/* ── NAV ── */
header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-tagline {
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  font-style: italic;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

nav ul li a {
  color: #cde8d8;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--green-light);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: #fff;
  text-align: center;
  padding: 70px 24px 60px;
}

.hero-logo {
  width: 100px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 8px;
}

.hero h1 {
  font-size: 2.4rem;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.hero .tagline {
  font-size: 0.95rem;
  color: #b8dbc8;
  margin-bottom: 36px;
  font-style: italic;
}

/* Scrolling banner */
.scroll-banner {
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 40px;
}

.scroll-track {
  display: inline-flex;
  gap: 16px;
  animation: scroll-left 20s linear infinite;
}

.scroll-track img {
  height: 140px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── INTRO SECTION ── */
.intro-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.intro-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.intro-text h2 {
  font-size: 1.5rem;
  color: var(--green-mid);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
}

.pill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.pill-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1rem;
}

.pill-label {
  font-weight: bold;
  color: var(--green-mid);
  min-width: 40px;
}

.intro-body p {
  margin-bottom: 14px;
  color: var(--text-mid);
  font-size: 0.97rem;
}

.highlight-box {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--text-mid);
  margin-top: 10px;
}

/* ── SMILE SECTION ── */
.smile-section {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  padding: 40px 24px;
}

.smile-section h2 {
  color: var(--gold-light);
  font-size: 1.4rem;
  letter-spacing: 2px;
}

/* ── BLOG PAGE ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: #fff;
  text-align: center;
  padding: 50px 24px 40px;
}

.page-hero h1 {
  font-size: 2rem;
  color: var(--gold-light);
  letter-spacing: 3px;
}

.blog-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 28px 24px 0;
  max-width: 900px;
  margin: 0 auto;
}

.filter-btn {
  background: #fff;
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green-mid);
  color: #fff;
}

.blog-grid {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.blog-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.blog-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.blog-card-body {
  padding: 16px 18px;
}

.blog-card-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.blog-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card-body h3 a:hover {
  color: var(--green-light);
}

.blog-card-meta {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 8px;
}

.blog-card-excerpt {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.blog-category-tag {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

/* ── BLOG POST ── */
.post-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 24px 60px;
}

.post-header {
  margin-bottom: 32px;
}

.post-header h1 {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.post-meta {
  color: #888;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-meta .author {
  font-weight: bold;
  color: var(--green-mid);
}

.post-category {
  display: inline-block;
  background: var(--green-mid);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 12px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.post-hero-img {
  width: 100%;
  border-radius: 10px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.post-body {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.post-body p { margin-bottom: 16px; }
.post-body strong { color: var(--text-dark); }
.post-body em { color: var(--green-mid); }

.post-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 12px 18px;
  background: var(--cream);
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
}

.recent-posts {
  margin-top: 50px;
  border-top: 2px solid var(--border);
  padding-top: 32px;
}

.recent-posts h2 {
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recent-item a {
  color: var(--green-mid);
  text-decoration: none;
  font-size: 0.95rem;
}

.recent-item a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* ── ABOUT PAGE ── */
.about-grid {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.about-imgs img:first-child {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 10px;
}

.about-imgs img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 1.5rem;
  color: var(--green-mid);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
}

/* ── GALLERY PAGE ── */
.gallery-grid {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 24px;
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,58,42,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 6px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 4px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--cream);
  padding: 60px 24px;
  text-align: center;
}

.contact-inner {
  max-width: 520px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.btn-submit {
  background: var(--green-mid);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-size: 0.97rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--green-dark);
}

.form-success {
  display: none;
  color: var(--green-mid);
  font-style: italic;
  margin-top: 10px;
}

/* ── FOOTER ── */
footer {
  background: var(--green-dark);
  color: #9dbfad;
  text-align: center;
  padding: 28px 24px;
  font-size: 0.85rem;
}

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

footer a:hover {
  text-decoration: underline;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav ul { display: none; }
  .hamburger { display: flex; }

  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    padding: 12px 16px 20px;
    gap: 4px;
  }

  .intro-section,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid { columns: 2; }

  .post-header h1 { font-size: 1.5rem; }
}

@media (max-width: 420px) {
  .gallery-grid { columns: 1; }
}
