/* =====
   Base
   ===== */

:root {
  --max-width: 980px;
  --pad: 16px;

  --text: #111;
  --muted: #444;
  --bg: #fff;

  --link: #0b4aa2;
  --link-visited: #5a2ea6;

  --border: #d7d7d7;

  --focus: #000;
  --focus-ring: 3px;
  --radius: 14px;
}

/* Respect user's text sizing preferences */
html { -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
}

/* Make keyboard focus obvious (good for accessibility) */
:focus-visible {
  outline: var(--focus-ring) solid var(--focus);
  outline-offset: 3px;
}

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 12px;
  top: 12px;
}

/* Links */
a { color: var(--link); }
a:visited { color: var(--link-visited); }
a:hover { text-decoration-thickness: 3px; }
a:active { text-decoration-thickness: 4px; }

/* =====
   Header / Banner
   ===== */

.site-header {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #fff; /* fallback */
}

/* Flower background with ~25% opacity, WITHOUT affecting text/logo */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/flower-city-banner.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.50;          /* tweak if you want slightly stronger/weaker */
  z-index: 0;
}

/* Light wash to keep text readable on top of busy photos */
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.70);
  z-index: 1;
}

.header-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap; /* allows nav to wrap under title on small screens */
}

/* Brand area: logo + title */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: min(560px, 100%);
}

.brand:hover { text-decoration: none; }
.brand:visited { color: var(--text); }

.brand-logo {
  width: 72px;     /* display size; the file can be larger */
  height: auto;
  flex: 0 0 auto;
  border-radius: 10px;
}

/* Keep title large but responsive */
.brand-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.1;
  font-size: clamp(1.25rem, 3.2vw, 2.05rem);
}

/* =====
   Navigation (no hamburger; wraps on small screens)
   ===== */

.site-nav {
  margin-left: auto; /* pushes nav to the right on wider screens */
  width: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-wrap: wrap;        /* wraps for phones */
  gap: 8px;
  align-items: center;
}

/* Make links look like simple pills (good tap targets) */
.nav-list a {
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: #000;
}

.nav-list a:hover {
  text-decoration: underline;
}

.nav-list a:visited {
  color: #000; /* keep nav consistent */
}

/* Highlight current page */
.nav-list a[aria-current="page"] {
  border-color: #000;
  background: rgba(255, 255, 255, 1);
  font-weight: 700;
}

/* =====
   Main content
   ===== */

.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px var(--pad) 40px;
}

.page-title {
  margin-top: 0;
  font-size: 1.6rem;
}

.note {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fafafa;
  color: var(--muted);
}

.plain-list {
  padding-left: 1.2rem;
}

/* =====
   Gallery (Pictures page)
   ===== */

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 14px;
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Placeholder boxes until you add real photos */
.placeholder {
  height: 180px;
  background: repeating-linear-gradient(
    135deg,
    #f2f2f2,
    #f2f2f2 12px,
    #e9e9e9 12px,
    #e9e9e9 24px
  );
}

/* =====
   Contact form
   ===== */

.contact-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}

.contact-form legend {
  font-weight: 700;
  padding: 0 8px;
}

.field {
  margin-top: 12px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="text"],
textarea {
  width: 100%;
  max-width: 46rem;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.help {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.req {
  font-weight: 600;
  color: #000;
}

.button {
  margin-top: 14px;
  padding: 10px 14px;
  border: 2px solid #000;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  text-decoration: underline;
}

/* Honeypot field: hidden visually but present in HTML */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =====
   Footer
   ===== */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 14px var(--pad);
  color: var(--muted);
}

.site-footer p {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* =====
   Motion preferences
   ===== */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

