/* =============================================
   Austin Texas Stock — Shared Styles
   ============================================= */

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

:root {
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg: #F7F7F7;          /* Gallery White */
  --bedrock: #2D2D2D;     /* Bedrock */
  --text-dark: #1E1E1E;   /* Charcoal */
  --text-body: #3d3d3d;
  --text-muted: #6B7D86;  /* Slate Blue */
  --green: #3A4A40;       /* Sequoia Green */
  --sand: #C1A788;        /* Sandstone */
  --border: #ddd9d3;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
}

/* ---- NAV ---- */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
}

.nav-logo {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.nav-link:hover { color: var(--white); }

/* ---- HERO (homepage) ---- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.45) 75%,
    rgba(0,0,0,0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem 4.5rem;
  max-width: 700px;
}

.hero-content h1 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 200;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content h1 em {
  font-style: normal;
  font-weight: 700;
}

.hero-divider {
  width: 50px;
  height: 2px;
  background: var(--sand);
  margin: 1rem auto 1.25rem;
}

.hero-content p {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ---- PAGE HEADER (subpages) ---- */
.page-header {
  position: relative;
  background: var(--green);
  padding: 7rem 3rem 3.5rem;
  text-align: center;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.page-header h1 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 200;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-header h1 strong {
  font-weight: 700;
}

.page-header .subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto;
}

/* Nav on subpages (dark bg, no text-shadow needed) */
.page-header ~ nav,
.page-header + nav { /* fallback */ }

/* ---- MAIN CONTENT ---- */
.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-label {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.content h2 {
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.content > p,
.content .body-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 600px;
  margin-bottom: 1.5rem;
}

/* ---- CONTENT SUBHEADS ---- */
.content-subhead {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

/* ---- CTA CARDS ---- */
.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
  margin-top: 2.5rem;
}

.cta-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.cta-card:hover {
  border-color: var(--sand);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.cta-card h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cta-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.cta-card .link-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.cta-card:hover .link-text { gap: 0.65rem; }

/* Single full-width CTA */
.cta-cards.single {
  grid-template-columns: 1fr;
  max-width: 480px;
}

/* ---- DETAILS GRID ---- */
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.detail h4 {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.detail p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- PRINTS CALLOUT ---- */
.prints-callout {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 3rem;
}

.prints-callout h2 {
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.prints-callout > p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.prints-callout .cta-card {
  max-width: 480px;
  margin-top: 1.5rem;
}

/* ---- INTERNAL LINKS ---- */
.related {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 3rem;
}

.related h3 {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.related-links a:hover {
  border-color: var(--sand);
  color: var(--green);
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 1100px;
  margin: 0 auto;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--green); }

.footer-right {
  display: flex;
  gap: 1.5rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .hero { height: 75vh; }
  .hero-content { padding: 0 1.5rem 3rem; }
  .page-header { padding: 6rem 1.5rem 2.5rem; }
  .content { padding: 3rem 1.5rem; }
  .cta-cards { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; gap: 1.5rem; }
  footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 1.5rem;
  }
}
