/* Pick-A-Pup — simple responsive static site */

:root {
  --pink: #f2c8f2;
  --pink-light: #f8e6f8;
  --navy: #102b4a;
  --gold: #b08a45;
  --cream: #fffdf8;
  --text: #2d2a2d;
  --shadow: 0 5px 18px rgba(16, 43, 74, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pink);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden;
}

.site-header {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 10px;
  text-align: center;
}

.brand {
  display: inline-block;
}

.brand img {
  display: block;
  width: min(220px, 48vw);
  height: auto;
  margin: 0 auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.site-nav a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: var(--navy);
  color: white;
}

main {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 32px;
}

.intro {
  text-align: center;
  margin: 8px auto 28px;
  max-width: 700px;
}

.intro h1 {
  color: var(--navy);
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.intro p {
  margin: 0;
  font-size: 1.05rem;
}

.puppy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.puppy-card {
  overflow: hidden;
  background: var(--cream);
  border: 2px solid rgba(176, 138, 69, 0.5);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.photo-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
}

.photo-button img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.photo-button:focus-visible {
  outline: 4px solid var(--navy);
  outline-offset: -4px;
}

.zoom-hint {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(16, 43, 74, 0.78);
  color: white;
  font: 600 0.72rem/1.2 Arial, sans-serif;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-button:hover .zoom-hint,
.photo-button:focus-visible .zoom-hint {
  opacity: 1;
}

.puppy-info {
  padding: 13px 12px 16px;
  text-align: center;
}

.puppy-info h2 {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 1.4rem;
}

.puppy-info p {
  margin: 2px 0;
}

.callout,
.contact-card {
  width: min(700px, 100%);
  margin: 34px auto 0;
  padding: 24px;
  text-align: center;
  background: rgba(255, 253, 248, 0.78);
  border: 2px solid rgba(176, 138, 69, 0.5);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.callout h2,
.contact-card h2 {
  margin-top: 0;
  color: var(--navy);
}

.button,
.phone {
  display: inline-block;
  color: white;
  background: var(--navy);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible,
.phone:hover,
.phone:focus-visible {
  background: #1d4773;
}

.store-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.store-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  border: 2px solid rgba(176, 138, 69, 0.5);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.store-gallery .photo-button img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.contact-card {
  margin-top: 28px;
}

.address {
  font-size: 1.1rem;
}

.site-footer {
  text-align: center;
  padding: 20px 16px 28px;
  color: var(--navy);
}

.site-footer p {
  margin: 0;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 18, 30, 0.88);
}

.lightbox-content {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.lightbox-content p {
  margin: 10px 0 0;
  color: white;
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 1001;
  border: 0;
  background: transparent;
  color: white;
  font: 400 2.5rem/1 Arial, sans-serif;
  cursor: pointer;
}

.lightbox-close:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .puppy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 12px;
  }

  .brand img {
    width: 190px;
  }

  .puppy-grid,
  .store-gallery {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 7px 10px;
  }

  main {
    width: min(100% - 20px, 500px);
  }
}

/* Payment & Delivery page */
.info-panel {
  margin: 0 auto 22px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 253, 248, 0.86);
  border: 2px solid rgba(176, 138, 69, 0.5);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.info-panel h2 { margin: 0 0 10px; color: var(--navy); font-size: clamp(1.35rem, 3vw, 1.8rem); }
.info-panel h3 { margin: 0 0 4px; color: var(--navy); }
.info-panel p:last-child { margin-bottom: 0; }
.payment-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.payment-method { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 10px; background: var(--pink-light); }
.payment-method h3, .payment-method p { margin-top: 0; }
.payment-method p { margin-bottom: 0; }
.payment-symbol { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font: 700 1.15rem Arial, sans-serif; }
.note { padding: 12px 14px; border-left: 4px solid var(--gold); background: rgba(242, 200, 242, 0.4); }
.delivery-option { padding: 12px 0; border-bottom: 1px solid rgba(16, 43, 74, 0.15); }
.delivery-option:last-of-type { border-bottom: 0; }
.info-panel address { margin: 8px 0; font-style: normal; }
@media (max-width: 560px) { .payment-method-grid { grid-template-columns: 1fr; } }
