/* yellowroam.css */

/* Root color variables */
:root {
  --golden-yellow: #d9a027;
  --golden-yellow-hover: #e6b012;
  --deep-green: #2f3b2f;
  --cream-light: #f5f1dc;
  --text-dark: #23281d;
  --text-muted: #6a6a55;
  --background-cream: #fffefb;
  --shadow-light: rgba(217, 160, 39, 0.2);
}

/* ————————————————————————————
   Split-screen layout for iframe
   (inserted immediately below :root)
———————————————————————————————— */
html, body {
  height: 100%;
  margin: 0;
}

.page-split {
  display: flex;
  flex-direction: column;
  height: 100vh;  /* full browser height */
}

.top-half {
  flex: 1;         /* grow to fill top 50% (or content) */
  padding: 1rem;
  box-sizing: border-box;
}

.bottom-half {
  flex: 1;         /* fill the remaining 50% */
  width: 100%;
  overflow: hidden;
}

.bottom-half iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* ———————————————————————————— END split-screen block ———————————————————————————— */

.border-brand-yellow { border-color: var(--brand-yellow); }
.focus\:ring-brand-yellow:focus { box-shadow: 0 0 0 4px rgba(217,160,39,0.4); }

/* Base font and background */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background-cream);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* Headings use Montserrat */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--deep-green);
}

/* Links and nav */
a {
  color: var(--golden-yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--golden-yellow-hover);
}

/* Navbar active links */
.nav-links a.active {
  color: var(--golden-yellow);
  font-weight: 700;
}

/* Prompt container (for your input box) */
.prompt-container {
  max-width: 460px;
  margin: 3rem auto;
  background: #fffefb;
  padding: 2.4rem 2.2rem;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(47, 59, 47, 0.1);
  border: 1.4px solid #ede8c6;
  font-family: 'Montserrat', sans-serif;
}

/* Prompt label uses Montserrat */
.prompt-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #2f3b2f;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
}

/* Prompt input */
.prompt-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #d9a027;
  border-radius: 16px;
  font-size: 1rem;
  margin-bottom: 1.8rem;
  outline-offset: 2px;
  transition: border-color 0.3s ease;
}

.prompt-input:focus {
  border-color: var(--golden-yellow-hover);
  box-shadow: 0 0 8px var(--golden-yellow-hover);
}

/* Send button */
.btn-send {
  width: 100%;
  padding: 1.4rem 0;
  background: linear-gradient(90deg, var(--golden-yellow) 0%, var(--golden-yellow-hover) 100%);
  border: none;
  border-radius: 22px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--deep-green);
  cursor: pointer;
  box-shadow: 0 4px 16px #e6b01230;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s ease, transform 0.12s ease;
  margin-bottom: 2rem;
}

.btn-send:hover {
  background-color: var(--golden-yellow-hover);
}

.btn-send:active {
  background: var(--golden-yellow-hover);
  transform: scale(0.97);
}

/* Response box */
.response-box {
  margin-top: 1rem;
  padding: 1.4rem 1.8rem;
  background: #f9f8f2;
  border-radius: 20px;
  font-size: 1.15rem;
  color: #444;
  min-height: 4rem;
  box-shadow: inset 0 0 12px #ede8c6;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

/* Limit message */
.limit-msg {
  margin-top: 1.5rem;
  font-weight: 600;
  color: #d17d00;
  font-family: 'Montserrat', sans-serif;
  cursor: default;
}

.subscribe-link {
  color: var(--golden-yellow);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.subscribe-link:hover {
  color: var(--golden-yellow-hover);
}

#about {
  padding-left: 3rem;
  padding-right: 3rem;
}

@media (max-width: 640px) {
  #about {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
