/*
Theme Name: Maltese Family
Theme URI: https://example.com/
Author: Medor
Description: Maltese Family Kennel theme. Own page for each menu item, puppy applications, and an inbox email for every form.
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: maltese-family
*/

:root {
  --cream: #fff8f0;
  --gold: #c9a96e;
  --gold-deep: #8d6728;
  --pink: #f2d4d0;
  --brown: #5c4033;
  --ink: #3a2e28;
  --muted: #7a6b63;
  --line: #eadfD4;
  --paper: #fffdf9;
  --shadow: 0 18px 50px rgba(92, 64, 51, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, sans-serif; font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
h1, h2, h3, .brand-name { font-family: "Playfair Display", serif; font-weight: 650; letter-spacing: -0.02em; }
a { color: var(--brown); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; color: var(--gold-deep); font-weight: 700; }
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brown); color: #fff; text-decoration: none; border: 0;
  border-radius: 999px; padding: 13px 22px; font-weight: 650; cursor: pointer;
}
.btn.light { background: transparent; color: var(--brown); border: 1px solid #e6dccf; }
.btn.gold { background: var(--gold); color: #3a2e28; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 240, 0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid #eadfd4;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); }
.brand img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.brand-name { font-size: 18px; line-height: 1.1; }
.brand small { display: block; font-family: Inter, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; color: var(--muted); }
.nav { display: flex; gap: 16px; align-items: center; }
.nav a { text-decoration: none; color: var(--brown); font-size: 15px; }
.nav a.current, .nav a:hover { color: var(--gold-deep); }
.menu-toggle { display: none; background: none; border: 1px solid #eadfd4; border-radius: 10px; padding: 8px 12px; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 64px 0 40px; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 0.98; margin: 10px 0 16px; color: var(--brown); }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 520px; object-fit: cover; }
.trust { display: flex; gap: 22px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.trust strong { display: block; color: var(--brown); font-size: 15px; }

.section { padding: 72px 0; }
.section.cream { background: var(--cream); }
.section.blush { background: linear-gradient(180deg, #fff8f0, #f7e7e4); }
.section h2, .page-title { font-size: clamp(32px, 4vw, 48px); margin: 8px 0 12px; color: var(--brown); }
.center { text-align: center; }
.cards, .puppies, .quotes { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.puppies { grid-template-columns: repeat(3, 1fr); }
.quotes { grid-template-columns: 1fr 1fr; }
.card, .quote { background: #fff; border: 1px solid #eadfd4; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.card p, .quote p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: 24px; width: 100%; height: 420px; object-fit: cover; }
.puppy { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid #eadfd4; text-decoration: none; color: inherit; }
.puppy img { width: 100%; height: 240px; object-fit: cover; }
.puppy div { padding: 16px 16px 18px; }
.status { color: var(--gold-deep); font-weight: 700; }
.quote cite { display: block; margin-top: 12px; font-style: normal; color: var(--gold-deep); font-weight: 650; }
.stars { color: var(--gold); letter-spacing: 2px; margin: 0 0 8px; }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.gallery img { width: 100%; height: 280px; object-fit: cover; border-radius: 20px; }
.gallery img.tall { height: 572px; }
.faq details { background: #fff; border-radius: 14px; padding: 4px 16px; margin-bottom: 10px; border: 1px solid #eadfd4; }
.faq summary { cursor: pointer; font-weight: 650; padding: 12px 0; }
.enquiry { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.form { background: #fff; border: 1px solid #eadfd4; border-radius: 24px; padding: 22px; }
.form label { display: block; font-weight: 650; margin: 12px 0 6px; font-size: 14px; }
.form input, .form textarea, .form select { width: 100%; border: 1px solid #eadfd4; border-radius: 12px; padding: 12px; font: inherit; background: #fff; }
.product-picks { display: flex; flex-direction: column; gap: 8px; }
.product-picks label { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-weight: 500; border: 1px solid #eadfd4; border-radius: 12px; padding: 10px; margin: 0; }
.notice { background: #eef6ea; color: #245c32; border-radius: 12px; padding: 12px 14px; }
.notice.err { background: #fdecea; color: #8a1f11; }
.hp { position: absolute; left: -9999px; }
.fine { color: var(--muted); font-size: 13px; }
.site-footer { background: var(--brown); color: #fff8f0; padding: 42px 0 24px; }
.site-footer a { color: #fff8f0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 860px) {
  .hero, .cards, .split, .quotes, .puppies, .enquiry, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 78px; background: #fff8f0; flex-direction: column; padding: 16px; border-bottom: 1px solid #eadfd4; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero-photo img, .split img, .gallery img, .gallery img.tall { height: 280px; }
}
