/*
 Theme Name: PAT Theme
 Theme URI: http://pickatopic.local
 Author: Bruce Brown
 Description: Minimal two-column home page theme for Pickatopic shortcodes.
 Version: 1.2
 License: GPLv2 or later
 Text Domain: pat-theme
*/

/* ---------------------------------------------------
   GOOGLE FONTS
--------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Gelasio:wght@400;500;600;700&family=Roboto+Slab:wght@400;500;600;700&display=swap');

/* ---------------------------------------------------
   FONT VARIABLES
   Change here anytime to experiment with new combos
--------------------------------------------------- */
:root {
  --pat-font-heading: "Crimson Text", serif;
  --pat-font-body: "Gelasio", serif;
  --pat-font-button: "Roboto Slab", serif;
}

/* ---------------------------------------------------
   GLOBAL
--------------------------------------------------- */

body {
  margin: 0;
  font-family: var(--pat-font-body);
  background: #f5f5f7;
  color: #222;
  font-size: 16px;
  line-height: 1.55;
}

p, li {
  font-family: var(--pat-font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pat-font-heading);
  margin-top: 0;
  color: #111;
}

h2 {
  font-size: 1.8em;
}

button,
.button,
input[type="submit"],
input[type="button"],
.cta-btn {
  font-family: var(--pat-font-button);
}

input {
  font-family: var(--pat-font-body);
}

input:focus {
    outline: none;
}

input[type="checkbox"] {
  width: auto;
}

a.button,
button {
    display: inline-block;
    background-color: #f0f4ff;
    border:none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    font-size: 16px;
    font-weight: bold !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

a.button:hover,
button:hover {
    background: #d5e0ff;
}

.unlock-button {
    color: #fff !important;
    text-shadow: 1px 1px 1px #000;
    border-top: 2px solid #e29797;
    background-color: #ffb7b7 !important;
}

.unlock-button:hover {
    background: #ffcfcf !important;
}

.mr-15 {
    margin-right: 15px;
}

/* ---------------------------------------------------
   HEADER / FOOTER
--------------------------------------------------- */

.site-header,
.site-footer {
  padding: 1.5rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

/* Keep logo + quick cards aligned horizontally */
.site-header .site-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* space out nicely */
    gap: 20px;
    flex-wrap: nowrap;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 15px;
}

/* Prevent the quick topic cards from wrapping in the header */
.site-header .ctg-quick-topics-row {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 10px;
}

/* Make quick cards compact so they fit in a header */
.site-header .ctg-quick-card {
    flex: 0 0 auto;
    min-width: 120px;
}

/* Keep the logo from stretching the layout */
.site-header .logo {
    max-height: 200px;
    width: auto;
}

.site-footer {
  border-top: 1px solid #e0e0e0;
  border-bottom: none;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.site-title {
  margin: 0;
  font-size: 2rem;
  font-family: var(--pat-font-heading);
}

.hero-floral {
    padding: 30px;
    background: #ffefef;
    min-height: 80vh;
}

/* ---------------------------------------------------
   LAYOUT VARIABLES
--------------------------------------------------- */
:root {
  /* Left column fixed width */
  --pat-left-column-width: 450px;
}

/* ---------------------------------------------------
   FULL-WIDTH FLEX LAYOUT
--------------------------------------------------- */

.site-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

/* Flex container for the two columns */
.pt-columns {
  display: flex;
  gap: 2rem;
  width: 100%;
  align-items: flex-start;
}

/* Shared column styles */
.pt-column {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  min-height: 350px;
  box-sizing: border-box;
}

/* LEFT COLUMN – fixed width + sticky */
.pt-column-left {
  flex: 0 0 var(--pat-left-column-width);
  width: var(--pat-left-column-width);
  position: sticky;
  top: 2rem;
  align-self: flex-start;
}

/* RIGHT COLUMN – fills remaining space */
.pt-column-right {
  flex: 1 1 auto;
  min-width: 0;
}

/* ---------------------------------------------------
   RESPONSIVE (STACKED ON SMALL SCREENS)
--------------------------------------------------- */
@media (max-width: 900px) {
  .site-wrapper {
    padding: 1.5rem 1rem;
  }

  .pt-columns {
    flex-direction: column;
  }

  .pt-column-left,
  .pt-column-right {
    width: 100%;
    flex: 1 1 auto;
    position: static;
  }
}

/* Elegant Single-Line Navigation Bar */
.pat-nav-bar {
    width: 100%;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    background: #ffffff;
}

.pat-nav-bar ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.pat-nav-bar a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.25s ease;
}

.pat-nav-bar a:hover {
    color: #0073aa;
}

/* Premium CTA Button */
.pat-nav-premium-btn {
    background: url("images/heart-lock.png") no-repeat top left #f0f4ff;
    color: #4152a3 !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.15s ease;
    margin-right: 20px;
}

.pat-nav-premium-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(0, 115, 170, 0.4);
}

.pat-question-placeholder {
    padding: 25px;
    background: #f9fafc;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}

.pat-question-placeholder p {
    font-style: italic;
}

.pat-placeholder-title {
    margin: 0 0 10px 0;
    font-size: 3.5em;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9cb6e9;
}

.pat-single-page-template {
    padding: 0 20px;
}

.pat-single-page-inner-small {
    max-width: 600px;
    margin: 0 auto;
}

.pat-single-page-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.pat-sub-nav {
    margin-bottom: 20px;
}

.pat-sub-nav a {
    display: inline-block;
    text-decoration: none;
    color: #111;
    border: 1px solid #111;
    padding: 8px 16px;
    border-radius: 8px;
    letter-spacing: 1px;
}

.pat-sub-nav a:hover {
    transform: translateY(2px) translateX(1px);
}

.pat-single-full-width {
    max-width: none !important;
}

.pat-single-page-header {
    margin-bottom: 24px;
}

.pat-single-page-title {
    margin: 0;
}

.pat-single-page-subtitle {
    margin: 8px 0 0;
    color: #9aa0ae;
    line-height: 1.5;
}

.pat-single-page-content {
    width: 100%;
}
