/* =====================================================
   Stop Sitting and Stand — site.css
===================================================== */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img  { max-width: 100%; display: block; height: auto; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ---- Variables ---- */
:root {
  --bg:         #f4efe9;
  --bg-alt:     #ece4dc;
  --text:       #3c2e29;
  --text-muted: #6a5851;
  --accent:     #7d5450;
  --accent-dark:#5e3c39;
  --nav-bg:     #3c2e29;
  --nav-text:   #f7f3ef;
  --nav-muted:  #e7ded8;
  --border:     #d8cfc8;
  --white:      #ffffff;
  --radius:     8px;
  --max:        1200px;
  --font:       Georgia, "Times New Roman", serif;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}
h1, h2, h3 { font-weight: normal; line-height: 1.3; }

/* ---- Container ---- */
.container {
  max-width: var(--max);
  margin: auto;
  padding: 0 24px;
}

/* =====================================================
   NAVIGATION
===================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-container {
  max-width: var(--max);
  margin: auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-wrap {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.logo {
  font-size: 30px;
  font-weight: bold;
  color: var(--nav-text);
  font-variant: small-caps;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.logo-tagline {
  font-size: 13px;
  color: var(--nav-muted);
  opacity: .85;
  margin-top: 2px;
  font-style: italic;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  color: var(--nav-text);
  transition: opacity .2s;
}
.nav-links a:hover { opacity: .7; }
.nav-links a[aria-current="page"] { text-decoration: underline; }
.consult-btn {
  border: 1px solid var(--nav-text);
  padding: 8px 18px;
  border-radius: 6px;
}
.consult-btn:hover {
  background: var(--nav-text);
  color: var(--nav-bg);
  opacity: 1 !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-text);
  border-radius: 2px;
}

/* =====================================================
   PAGE HEADER
===================================================== */

.page-header {
  padding: 70px 24px 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}
.page-header p {
  font-size: 18px;
  max-width: 560px;
  margin: auto;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   BUTTONS
===================================================== */

.primary-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 6px;
  border: none;
  font-family: var(--font);
  font-size: 16px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.primary-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.submit-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 16px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 8px;
}
.submit-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* =====================================================
   ALERTS
===================================================== */

.alert {
  padding: 14px 18px;
  border-radius: 5px;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error   { background: #fce4ec; color: #880e4f; border: 1px solid #f48fb1; }

/* =====================================================
   FORMS
===================================================== */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  letter-spacing: .05em;
  opacity: .7;
  margin-bottom: 6px;
  text-transform: uppercase;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font);
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}
textarea { height: 130px; resize: vertical; }

/* =====================================================
   HERO — index.php
===================================================== */

.hero {
  padding: 80px 24px;
  position: relative;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 120px;
  align-items: center;
  justify-content: center;
}
.hero-text h1 {
  font-size: 42px;
  margin-bottom: 16px;
  font-variant: small-caps;
  color: #1e1410;
  text-shadow: 0 1px 3px rgba(255,255,255,.4);
}
.hero-text p {
  font-size: 19px;
  color: #2e1f1a;
  margin-bottom: 30px;
  max-width: 480px;
  line-height: 1.75;
  text-shadow: 0 1px 2px rgba(255,255,255,.35);
}
.hero-book-desc {
  font-size: 15px;
  color: #3c2e29;
  font-style: italic;
  margin-top: -16px;
  margin-bottom: 28px;
  max-width: 440px;
  line-height: 1.8;
  text-shadow: 0 1px 2px rgba(255,255,255,.35);
}
.hero-image img {
  width: 260px;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(60,46,41,.2);
}

/* =====================================================
   MISSION BAND
===================================================== */

.mission {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
}
.mission h3 {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 14px;
}
.mission p {
  font-size: 22px;
  max-width: 640px;
  margin: auto;
  line-height: 1.65;
}

/* =====================================================
   BLOG LISTING
===================================================== */

.blog-section {
  max-width: var(--max);
  margin: auto;
  padding: 60px 24px;
}
.blog-section h2 {
  font-size: 28px;
  margin-bottom: 36px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: 0 6px 24px rgba(60,46,41,.1); transform: translateY(-2px); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-placeholder {
  height: 100px;
  background: #5e3c39;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-placeholder span {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0e6e0;
  opacity: 0.85;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body .tag { display: none; }
.tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p  { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; flex: 1; }
.read-more { font-size: 14px; color: var(--accent); font-weight: bold; border-bottom: 1px solid var(--accent); padding-bottom: 1px; align-self: flex-start; }
.blog-meta { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* =====================================================
   SINGLE POST
===================================================== */

.post-section { padding: 70px 24px; }
.post-inner   { max-width: 720px; margin: auto; }
.back-link    { font-size: 14px; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 1px; display: inline-block; margin-bottom: 28px; }
.post-tag     { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.post-inner h1 { font-size: 36px; margin-bottom: 12px; }
.post-date    { font-size: 13px; opacity: .5; margin-bottom: 32px; }
.post-featured { width: 100%; border-radius: var(--radius); margin-bottom: 36px; }
.post-body    { font-size: 17px; line-height: 1.9; }
.post-body p  { margin-bottom: 22px; }
.post-body h2 { font-size: 24px; margin: 32px 0 14px; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 14px 22px;
  margin: 28px 0;
  font-style: italic;
  opacity: .8;
  background: var(--bg-alt);
  border-radius: 0 6px 6px 0;
}
.post-cta { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--border); text-align: center; }
.post-cta p { font-size: 17px; margin-bottom: 20px; }
.not-found  { padding: 80px 24px; text-align: center; }
.not-found h2 { margin-bottom: 16px; }

/* =====================================================
   ABOUT PAGE
===================================================== */

.about-section { padding: 70px 24px; }
.about-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.85;
}
.about-image img { border-radius: var(--radius); box-shadow: 0 10px 36px rgba(60,46,41,.14); }

/* =====================================================
   SCHEDULE PAGE
===================================================== */

.schedule-section { padding: 70px 24px; }
.schedule-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.schedule-form h2 { font-size: 28px; margin-bottom: 24px; }
.schedule-image img { border-radius: var(--radius); box-shadow: 0 10px 36px rgba(60,46,41,.14); width: 100%; }

/* =====================================================
   STORE PAGE
===================================================== */

.store-page { padding: 60px 24px 80px; }
.store-wrap { max-width: var(--max); margin: auto; }
.store-notice {
  text-align: center;
  padding: 52px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  margin-bottom: 52px;
}
.store-notice-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .55; margin-bottom: 12px; }
.store-notice h2 { font-size: 26px; margin-bottom: 14px; }
.store-notice p  { font-size: 16px; opacity: .7; max-width: 480px; margin: 0 auto 28px; line-height: 1.75; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
}
.product-thumb { height: 240px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-thumb-book { background: var(--bg); }
.product-thumb-book img { max-height: 200px; width: auto; max-width: 100%; object-fit: contain; }
.product-thumb-soon { background: var(--border); }
.product-thumb-soon span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .45; }
.product-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-type { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.product-info h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.4; }
.product-info p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; flex: 1; }
.product-info .primary-btn { font-size: 14px; padding: 10px 22px; align-self: flex-start; }
.product-soon-badge { font-size: 13px; opacity: .45; border: 1px solid var(--border); padding: 8px 18px; border-radius: 6px; display: inline-block; align-self: flex-start; }

/* =====================================================
   RESERVE PAGE
===================================================== */

.reserve-page { padding: 60px 24px 80px; }
.reserve-wrap {
  max-width: 960px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.reserve-update-block,
.reserve-book p.reserve-update-block {
    background: #7d5450;
    color: white;
    padding: 18px 22px;
    border-radius: 6px;
    margin-top: 20px;
}

.reserve-book { display: flex; flex-direction: column; }
.reserve-edition { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.reserve-book h1 { font-size: 28px; margin-bottom: 10px; }
.reserve-subtitle { font-size: 15px; opacity: .65; font-style: italic; margin-bottom: 22px; }
.reserve-book img { width: 100%; max-width: 260px; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(60,46,41,.18); margin-bottom: 24px; }
.reserve-book p { font-size: 15px; line-height: 1.85; color: var(--text-muted); margin-bottom: 14px; }
.reserve-form-wrap h2 { font-size: 26px; margin-bottom: 24px; }
.reserve-form { display: flex; flex-direction: column; }



/* =====================================================
   NEWSLETTER SECTION
===================================================== */

.newsletter-section {
  padding: 60px 24px;
  background: var(--bg-alt);
  text-align: center;
}
.newsletter-inner {
  max-width: 520px;
  margin: auto;
}
.newsletter-inner h2 { font-size: 26px; margin-bottom: 10px; }
.newsletter-inner > p { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.newsletter-form-block { margin-top: 36px; }
.newsletter-form-block h3 { font-size: 18px; font-weight: normal; margin-bottom: 14px; }
.newsletter-form-block p  { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }

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

.footer {
  padding: 60px 24px;
  background: var(--nav-bg);
  color: var(--nav-text);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner { max-width: var(--max); margin: auto; text-align: center; }
.footer-divider { height: 1px; width: 60px; background: rgba(255,255,255,.25); margin: 0 auto 20px; }
.footer-contact p { margin-bottom: 6px; color: var(--nav-muted); font-size: 15px; }
.footer-contact a { color: var(--nav-text); }
.footer-contact a:hover { opacity: .75; }
.footer-copy { margin-top: 20px; font-size: 13px; color: #d8cec7; }

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-image { order: -1; text-align: center; }
  .hero-image img { width: 200px; margin: auto; }
  .hero-text h1 { font-size: 34px; }

  .about-grid,
  .schedule-grid { grid-template-columns: 1fr; gap: 40px; }

  .schedule-image { display: none; }

  .blog-grid    { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }

  .reserve-wrap { grid-template-columns: 1fr; gap: 40px; }
  .reserve-book img { max-width: 220px; }

  .form-row { grid-template-columns: 1fr; }

  .page-header h1 { font-size: 34px; }

}

@media (max-width: 640px) {

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav { position: relative; }

  .hero { padding: 50px 24px; }
  .hero-text h1 { font-size: 28px; }

  .blog-grid    { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .newsletter-name-row { grid-template-columns: 1fr; }

  .page-header { padding: 50px 24px 36px; }
  .page-header h1 { font-size: 28px; }
  .page-header p  { font-size: 16px; }

  .store-page,
  .reserve-page { padding: 40px 24px 60px; }

  .store-notice { padding: 36px 20px; margin-bottom: 36px; }
  .store-notice h2 { font-size: 22px; }

  .reserve-book img { max-width: 100%; }
  .reserve-book h1  { font-size: 24px; }

}