:root {
   --cream: #f5f1eb;
   --beige: #e6dccb;
   --brown: #7a5c42;
   --dark: #2b2b2b;
}

* {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

body {
   font-family: Arial, Helvetica, sans-serif;
   background: var(--cream);
   color: var(--dark);
   line-height: 1.6;
}

a {
   text-decoration: none;
   color: inherit;
}

header {
   background: var(--beige);
   padding: 1.5rem 2rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo {
   font-size: 1.5rem;
   font-weight: bold;
   color: var(--brown);
}

nav a {
   margin-left: 1.5rem;
}

.hero {
   text-align: center;
   padding: 4rem 2rem;
   background: white;
}

.hero h1 {
   color: var(--brown);
   font-size: 2.5rem;
}

.button {
   display: inline-block;
   margin-top: 1.5rem;
   padding: 0.75rem 1.5rem;
   background: var(--brown);
   color: white;
   border-radius: 4px;
}

section {
   padding: 3rem 2rem;
   max-width: 1200px;
   margin: auto;
}

.grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
}

.card {
   display:block;
   text-decoration: none;
   color:inherit;
   background: white;
   border-radius: 6px;
   overflow: hidden;
   text-align: center;
   box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card img {
  width: 105%;
  height: 220px;
  object-fit: cover;
}

.docs li {
  margin-bottom: 0.5rem;
}

.contact-form {
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

footer {
  background: var(--beige);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

/* BADGES */
.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 4px;
  color: white;
}

.available {
  background: #10d40d;
}

.Sold {
  background: #f40505;
}

.card {
  position: relative;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* NAV ON SUBPAGES */
.sub-nav {
  background: white;
  padding: 1rem 2rem;
  text-align: center;
}

.sub-nav a {
  margin: 0 1rem;
  font-weight: 500;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ----------------------------- */
/* LIGHTBOX / FULLSCREEN + ARROWS */
/* ----------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.show {
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;

  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.lightbox.show img {
  transform: scale(1);
}

.lightbox.closing {
  opacity: 0;
}

.lightbox.closing img {
  transform: scale(0.9);
}

/* ARROWS */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  user-select: none;
  z-index: 10000;
  padding: 0 0.5rem;
  transition: color 0.2s;
}

.lightbox-arrow:hover {
  color: rgba(255, 255, 255, 1);
}

.lightbox-arrow.left {
  left: 10px;
}

.lightbox-arrow.right {
  right: 10px;
}

/* LIGHTBOX CAPTIONS */
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 1rem;
  max-width: 90%;
  text-align: center;
  line-height: 1.4;
  pointer-events: none; /* clicks go through to overlay */
}

.hero {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 900px;
}

.hero-text {
  flex: 1;
}

.breeder-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .breeder-logo {
    max-width: 250px;
  }
}

body {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 60vw;
  height: 60vw;

  max-width: 900px;
  max-height: 900px;

  background: url("images/silver badge.png") no-repeat center;
  background-size: contain;

  opacity: 0.08;
  filter: grayscale(85%) blur(0.8px);

  z-index: -1;
  pointer-events: none;
}


