/* firebuff.css
   Shared styles for Firebuff pages (matches your current live modern look)
   Save this file in the SAME folder as your .htm pages (recommended),
   or adjust the <link href="..."> path in each page.
*/

:root{
  --bg:#0b0f14;
  --panel:#0f172a;
  --card:#ffffff;
  --muted:#6b7280;
  --text:#111827;
  --accent:#b91c1c;
  --link:#1d4ed8;
  --shadow: 0 16px 40px rgba(2,6,23,.18);
  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #070a0f 0%, #0b0f14 40%, #0b0f14 100%);
  color:#e5e7eb;
}

a{ color: var(--link); text-decoration:none; }
a:hover{ text-decoration:underline; }

header{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(15,23,42,.86);
  border-bottom: 1px solid rgba(148,163,184,.18);
}

.topbar{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  font-weight:800;
  letter-spacing:.02em;
  font-size: clamp(18px, 2vw, 26px);
  color:#f8fafc;
  white-space:nowrap;
}

nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  justify-content:flex-end;
}

nav a{
  color:#e5e7eb;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
  font-size: 14px;
  white-space:nowrap;
}

nav a:hover{
  background: rgba(2,6,23,.45);
  border-color: rgba(148,163,184,.22);
  text-decoration:none;
}

nav a.active{
  border-color: rgba(148,163,184,.35);
  background: rgba(2,6,23,.35);
}

.mailbtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.22);
  background: rgba(2,6,23,.25);
}
.mailbtn img{ height:20px; width:auto; display:block; }

.hero{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 18px 0;
}
.heroBanner{
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148,163,184,.16);
  background:
    radial-gradient(circle at 20% 20%, rgba(185,28,28,.55), rgba(15,23,42,.92) 62%),
    url("maltese.gif");
  background-size: cover;
  background-position: center;
  padding: 30px 26px;
}

.heroBanner h1{
  margin:0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: .02em;
  text-transform: uppercase;
  color:#fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}

.heroBanner p{
  margin: 10px 0 0;
  max-width: 90ch;
  color: rgba(226,232,240,.92);
  line-height:1.65;
  font-size: 15px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 18px 56px;
}

.card{
  background: rgba(248,250,252,.96);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,.10);
  padding: 20px;
  margin-top: 18px;
}

.card h2{
  margin:0 0 10px;
  font-size: 18px;
  letter-spacing:.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.card p{
  margin: 0 0 10px;
  color:#111827;
  line-height: 1.7;
  font-size: 15px;
}
.card p:last-child{ margin-bottom:0; }

.grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tile{
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  overflow:hidden;
  box-shadow: 0 12px 26px rgba(2,6,23,.08);
  display:flex;
  flex-direction:column;
  min-height: 320px;
}

.thumb{
  height: 200px;
  background: #111827;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit: cover; /* default: fills nicely but may crop */
  display:block;
}

/* Use .contain on thumbnails you don't want cropped (antiques / tall / wide) */
.thumb.contain img{
  object-fit: contain;
  background:#111827;
}

.tileBody{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap: 8px;
  flex: 1 1 auto;
}
.tileTitle{
  margin:0;
  font-size: 15px;
  font-weight: 900;
  color:#111827;
  line-height:1.25;
}
.tileNote{
  margin:0;
  color:#6b7280;
  font-size: 13px;
  line-height:1.5;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  background: #fff5f5;
  color: #7f1d1d;
  font-weight: 900;
  letter-spacing:.01em;
  text-decoration:none;
}
.btn:hover{ background:#ffe4e6; text-decoration:none; }

.divider{
  text-align:center;
  padding: 22px 0 8px;
}

footer{
  border-top: 1px solid rgba(148,163,184,.20);
  padding: 18px 0 0;
  color: rgba(226,232,240,.88);
  font-size: 13px;
}
.footerLine{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
  padding: 0 4px;
}
.smallprint{
  margin-top: 12px;
  color: rgba(226,232,240,.86);
  font-weight: 700;
  line-height: 1.6;
  padding: 0 4px;
}

@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
  nav a{ font-size: 13px; padding: 7px 9px; }
  .heroBanner{ padding: 26px 18px; }
}
