/* ==========================================================================
   Pride Kennels — pridekennels.net
   Warm Texas-country theme: cream paper, rust orange, deep brown.
   Mobile-first, responsive at every width.
   ========================================================================== */

:root {
  --cream: #faf4e8;
  --paper: #fffdf7;
  --rust: #b04a1c;
  --rust-dark: #8c3812;
  --amber: #d9822b;
  --brown: #3b2a1c;
  --brown-soft: #6b5847;
  --green: #5f7442;
  --line: #e6d9c2;
  --shadow: 0 2px 12px rgba(59, 42, 28, 0.10);
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  background-image: radial-gradient(rgba(176, 74, 28, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--brown);
  font-family: "Nunito Sans", Verdana, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

::selection { background: var(--amber); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  color: var(--rust-dark);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.125rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); color: var(--rust); }

p { margin: 0 0 1em; }

a { color: var(--rust); }
a:hover { color: var(--rust-dark); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.ribbon {
  height: 6px;
  background: linear-gradient(90deg, var(--rust), var(--amber), var(--rust));
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(59, 42, 28, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  text-decoration: none;
  line-height: 1.1;
}

.brand .brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--rust-dark);
  display: block;
}

.brand .brand-tag {
  font-size: 0.78rem;
  color: var(--brown-soft);
  font-style: italic;
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--rust);
  border-radius: 8px;
  color: var(--rust);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  color: var(--brown);
  transition: background-color 200ms, color 200ms;
}

.site-nav a:hover { background: var(--cream); color: var(--rust-dark); }

.site-nav a[aria-current="page"] {
  background: var(--rust);
  color: #fff;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-nav.open { display: block; }

  .site-nav ul { flex-direction: column; }

  .site-nav a { padding: 0.8rem 0.9rem; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 12vw, 8.5rem) 0;
  background:
    linear-gradient(rgba(46, 28, 12, 0.55), rgba(46, 28, 12, 0.55)),
    url("../images/gallery/IMG_1707.jpg") center 65% / cover no-repeat;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.35em;
}

.hero .hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: background-color 200ms, transform 200ms;
}

.btn:hover { background: var(--rust); color: #fff; transform: translateY(-2px); }

.btn.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  margin-left: 0.5rem;
}

.btn.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

/* --------------------------------------------------------------------------
   Page sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.section.alt { background: var(--paper); border-block: 1px solid var(--line); }

.page-title {
  padding: clamp(2rem, 5vw, 3rem) 0 0;
}

.page-title .kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 0.35rem;
}

.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 760px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  padding: 0.4rem 0 0.4rem 2rem;
  position: relative;
}

.checklist li::before {
  content: "\2714";
  position: absolute;
  left: 0.25rem;
  color: var(--green);
  font-weight: 900;
}

.notice {
  background: #fdeee3;
  border-left: 5px solid var(--rust);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--rust-dark);
}

/* --------------------------------------------------------------------------
   Pricing table
   -------------------------------------------------------------------------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table caption {
  caption-side: top;
  text-align: left;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--rust-dark);
  padding-bottom: 0.75rem;
}

.price-table th,
.price-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  background: var(--rust);
  color: #fff;
  font-weight: 800;
}

.price-table tbody tr:last-child td { border-bottom: none; }

.price-table tbody tr:nth-child(even) { background: var(--cream); }

.price-table .price {
  font-weight: 800;
  color: var(--rust-dark);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.gallery-grid figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 200ms, box-shadow 200ms;
}

.gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(59, 42, 28, 0.18);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-grid figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: var(--brown-soft);
}

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 60rem);
}

.lightbox::backdrop { background: rgba(30, 18, 8, 0.85); }

.lightbox img {
  width: 100%;
  border-radius: var(--radius);
}

.lightbox figcaption {
  color: #fff;
  text-align: center;
  padding: 0.75rem 0;
}

.lightbox .close-btn {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.contact-list li { padding: 0.35rem 0; }

.contact-list .label {
  font-weight: 800;
  color: var(--rust-dark);
  display: inline-block;
  min-width: 5.5rem;
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--brown);
  color: #e9ddcb;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer h3 { color: var(--amber); font-size: 1.1rem; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { padding: 0.2rem 0; }

.site-footer a { color: #e9ddcb; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(233, 221, 203, 0.25);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  text-align: center;
  color: #c9b89f;
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
