
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@600;700&family=Oswald:wght@400;500;600&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* CSS Variables */
:root {
  --wood-dark:    #2b1a0e;
  --wood-mid:     #5c3317;
  --wood-warm:    #8b5e3c;
  --wood-light:   #c49a6c;
  --amber:        #c97b2e;
  --amber-bright: #e8952e;
  --parchment:    #fdf6ec;
  --cream:        #f5e9d6;
  --charcoal:     #1a1108;
  --red-meat:     #8b1a1a;
  --text-on-dark: #f0dfc0;
}

/* Wood texture body background */
html {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Oswald', sans-serif;
  color: var(--charcoal);
  background-color: var(--wood-dark);
background-image: url('../images/wood-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(30, 12, 2, 0.45);
  pointer-events: none;
  z-index: 0;
}

header, main, footer {
  position: relative;
  z-index: 1;
}

main {
  flex: 1;
}

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2.5rem;
  background: var(--wood-dark);
  border-bottom: 5px solid var(--amber);
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);

  /* subtle header wood overlay */
  background-image:
    repeating-linear-gradient(
      93deg,
      transparent,
      transparent 4px,
      rgba(255,255,255,0.015) 4px,
      rgba(255,255,255,0.015) 7px
    ),
    linear-gradient(180deg, #3b2008, #1a0d04);
}

/* Decorative rule below amber border */
.site-header::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--wood-mid);
  opacity: 0.5;
}

.logo img {
  height: 150px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.2s ease;
}
.logo img:hover {
  transform: scale(1.04);
}

.header-text h1,
.site-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin: 0;
  color: var(--text-on-dark);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.header-text p {
  margin: 0.25rem 0 0;
  color: var(--wood-light);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* HOME MAIN */
.home-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2rem;
  position: relative;
}

.home-main h1 {
  color: whitesmoke;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}


.cow-diagram {
  max-width: 90%;
  border: 6px solid var(--wood-light);
  border-radius: 10px;
  background: var(--cream);
  box-shadow:
    0 0 0 2px var(--amber),
    0 8px 40px rgba(0,0,0,0.6),
    inset 0 0 30px rgba(196,154,108,0.08);
  transition: box-shadow 0.3s ease;
}
.cow-diagram:hover {
  box-shadow:
    0 0 0 2px var(--amber-bright),
    0 12px 50px rgba(0,0,0,0.7),
    inset 0 0 30px rgba(196,154,108,0.1);
}

/* ── TOOLTIP ── */
#tooltip {
  position: absolute;
  background: var(--wood-dark);
  color: var(--text-on-dark);
  padding: 7px 13px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
  border: 1px solid var(--amber);
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  pointer-events: none;
  z-index: 100;
}

/* Cutting page to have centered design for each cut of meat */
.cut-page {
  max-width: 860px;
  margin: 2.5rem auto;
  padding: 2.5rem 3rem;
  background: var(--parchment);
  border-radius: 10px;
  border: 3px solid var(--wood-light);
  box-shadow:
    0 0 0 1px var(--amber),
    0 10px 40px rgba(0,0,0,0.55);
}

.cut-page h2 {
  font-family: 'Playfair Display', serif;
  color: var(--wood-mid);
  font-size: 1.5rem;
  margin-top: 1.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--wood-light);
  letter-spacing: 0.02em;
}

.cut-page p,
.cut-page ul {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a2010;
}

.cut-page ul {
  padding-left: 1.4rem;
}

.cut-page ul li {
  margin-bottom: 0.35rem;
}

.cut-page ul li::marker {
  color: var(--amber);
}


.cut-page img:not(.about-page-logo) {
  width: 100%;
  border-radius: 8px;
  border: 4px solid var(--wood-mid);
  margin: 1.2rem 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  display: block;
}

/* NUTRITION SECTION */
.nutrition {
  background: var(--wood-dark);
  background-image: linear-gradient(135deg, #3b2008, #1e0f04);
  padding: 1.2rem 1.5rem;
  border-left: 6px solid var(--amber);
  border-radius: 0 8px 8px 0;
  margin-top: 1.8rem;
  box-shadow: 2px 4px 16px rgba(0,0,0,0.3);
}

.nutrition h2 {
  color: var(--amber-bright) !important;
  border-bottom-color: var(--amber) !important;
  font-family: 'Playfair Display', serif;
}

.nutrition ul {
  color: var(--text-on-dark) !important;
  margin: 0;
  padding-left: 1.2rem;
}

.nutrition ul li::marker {
  color: var(--amber-bright);
}

/* MOO BUTTON */
#moo-btn {
  margin-top: 1.25rem;
  padding: 0.7rem 1.6rem;
  background: var(--wood-dark);
  background-image: linear-gradient(135deg, #3b2008, #1a0d04);
  color: var(--text-on-dark);
  border: 2px solid var(--amber);
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
#moo-btn:hover {
  transform: translateY(-2px);
  border-color: var(--amber-bright);
  box-shadow: 0 6px 28px rgba(0,0,0,0.65), 0 0 12px rgba(232,149,46,0.25);
}
#moo-btn:active {
  transform: scale(0.96);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1.2rem;
  background: var(--charcoal);
  color: var(--wood-light);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-top: 3px solid var(--amber);
}

/* ABOUT BUTTON (index only) */
#about-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: var(--wood-dark);
  background-image: linear-gradient(135deg, #3b2008, #1a0d04);
  color: var(--text-on-dark);
  border: 2px solid var(--amber);
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
#about-btn:hover {
  transform: translateY(-2px);
  border-color: var(--amber-bright);
  box-shadow: 0 6px 28px rgba(0,0,0,0.65), 0 0 12px rgba(232,149,46,0.25);
}
#about-btn:active {
  transform: translateY(0);
}
.about-icon {
  font-size: 1.1rem;
  line-height: 1;
  color: var(--amber-bright);
}
.about-label {
  font-weight: 500;
}

/* ── ABOUT PAGE ── */
.about-page {
  max-width: 760px;
}

.about-brand-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.about-page-logo {
  height: 80px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  flex-shrink: 1;
  display: block;
}
.about-brand-header > div {
  flex: 1;
  min-width: 0;
}
.about-brand-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--wood-mid);
  margin: 0 0 0.3rem;
  word-break: break-word;
}
.about-tagline {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #5a3520;
  margin: 0;
  font-style: italic;
}

.about-divider-full {
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  border-radius: 2px;
  margin: 1.25rem 0;
  opacity: 0.6;
}

.about-section-full {
  margin-bottom: 1.5rem;
}
.about-section-full p {
  margin-bottom: 0.75rem;
}
.about-section-full ul {
  margin-top: 0.5rem;
}
.about-section-full ul li a {
  color: var(--red-meat);
  text-decoration: none;
  font-weight: 600;
}
.about-section-full ul li a:hover {
  color: var(--amber);
  text-decoration: underline;
}

/* Team cards */
.about-team-full {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.team-card {
  background: var(--wood-dark);
  background-image: linear-gradient(135deg, #3b2008, #1e0f04);
  border-left: 5px solid var(--amber);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.1rem;
  box-shadow: 2px 4px 16px rgba(0,0,0,0.3);
}
.team-card .team-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text-on-dark);
  margin-bottom: 0.2rem;
}
.team-card .team-role {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  color: var(--amber-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.team-card .team-bio {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-on-dark);
  opacity: 0.85;
  margin: 0;
}

.about-course-full {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wood-warm);
  text-align: center;
  margin: 0 0 1.5rem;
  opacity: 0.8;
}

/* Back home button */
.back-home-btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: var(--wood-dark);
  background-image: linear-gradient(135deg, #3b2008, #1a0d04);
  color: var(--text-on-dark);
  border: 2px solid var(--amber);
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.back-home-btn:hover {
  transform: translateY(-2px);
  border-color: var(--amber-bright);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5), 0 0 10px rgba(232,149,46,0.2);
}

/* ── PRINT STYLES ── */
@media print {
  header, footer { display: none; }
  body { background: white; color: black; }
  .cut-page {
    box-shadow: none;
    border: 1px solid #ccc;
    background: white;
    background-image: none;
  }
  img { max-width: 100%; border: none; box-shadow: none; }
}