:root {
  --primary:       #000000;    /* page panels & header */
  --accent:        #dfb35b;    /* gold accent */
  --light-bg:      #f8f9fa;    /* off-white for cards if needed */
  --dark-text:     #ffffff;    /* white text */
  --header-padding: 1rem 2rem; /* vertical & horizontal padding */
}

/* 1) Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2) Base fonts */
html {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
body {
  color: var(--dark-text);
  background: var(--primary);
}

/* 3) Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--header-padding);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
  border-bottom: 6px solid var(--accent);
}
header .logo {
  max-height: 100px;
  width: auto;
  border: 3px solid var(--accent);
  border-radius: 8px;
  background: #ffffff;
}

/* 4) Nav */
nav {
  display: flex;
  gap: 1rem;
}
nav a {
  font-family: 'Great Vibes', cursive;
  font-size: 1.75rem;
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: background 0.3s, color 0.3s;
}
nav a:hover {
  background: var(--accent);
  color: var(--primary);
  border-radius: 4px;
}

/* 5) Hero */
.hero {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #ffffff;
  text-align: center;
  padding: 4rem 1rem;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.hero .subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  opacity: 0.9;
}

/* 6) Carousel */
.carousel {
  position: relative;
  width: 300px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
  border: 6px solid var(--accent);
}
.slides {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease-in-out;
}
.slide {
  background: var(--primary);
  text-align: center;
}
.slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.slide-caption {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  width: 100%;
  padding: 0.5rem;
  background: #000000;
  color: #ffffff;
}
.dots {
  display: flex;
  justify-content: center;
  width: 100%;
  background: #000000;
  padding: 0.5rem 0;
}
.dot {
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #cccccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: var(--accent);
}

/* 7) About */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.about-card {
  background: #000000;
  border: 3px solid var(--accent);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
}
.about-card h3,
.about-card p {
  background: transparent;
}

/* 8) Dog grid */
.dog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.dog-card {
  background: var(--primary);
  border: 3px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.dog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.dog-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background-color: var(--primary);
}
.dog-card h3 {
  margin: 0;
  padding: 0.75rem;
  background: #000000;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 500;
}

/* 9) Contact form */
.contact-form label {
  font-weight: 500;
  color: #ffffff;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #000000;
  color: #ffffff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaaaaa;
}
.contact-form button {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  margin-top: 0.5rem;
}
.contact-form button:hover {
  background: #dfb35b;
}

/* 10) Misc titles */
.vom-title {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
}
.rugerhaus-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  text-transform: uppercase;
}

/* 11) Tall photo utility */
.tall-photo {
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* 12) Contact page layout */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.contact-left,
.contact-right {
  flex: 1 1 100%;
  border: 3px solid var(--accent);
  padding: 1rem;
  border-radius: 8px;
}
.contact-info h4 {
  margin-top: 1rem;
  color: var(--accent);
}
.contact-info p {
  color: #ffffff;
  line-height: 1.5;
}
.contact-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-left,
  .contact-right {
    flex: 1 1 100%;
  }
}

/* 13) Contact icons */
.contact-info h4::before {
  margin-right: 0.5rem;
}
.contact-info h4.hours::before {
  content: "⏰";
}
.contact-info h4.location::before {
  content: "📍";
}
.contact-info h4.email::before {
  content: "📧";
}
.contact-info h4.socials::before {
  content: "🔗";
}

/* 14) Training page */
.training-page {
  padding: 2rem 1rem;
}
.training-card {
  max-width: 800px;
  margin: 0 auto 3rem;
  background: var(--primary);
  border: 3px solid var(--accent);
  border-radius: 8px;
  text-align: center;
  padding: 1rem;
}
.training-video {
  width: 20%;
  max-width: 200px;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}
.training-info {
  color: #fff;
  margin-top: 1rem;
}
.training-info h3 {
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}
.training-info p {
  line-height: 1.6;
}

/* 15) Gallery */
.gallery-title {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  font-size: 2rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid var(--accent);
  border-radius: 8px;
  transition: transform 0.2s;
}
.gallery-item:hover {
  transform: scale(1.03);
}
.gallery-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  align-items: center; justify-content: center;
  z-index: 1000;
  overflow: hidden;
}
.gallery-modal .modal-content {
  max-width: 90%;
  max-height: 90%;
  border: 6px solid var(--accent);
  border-radius: 4px;
}
.gallery-modal .close-modal {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

/* 16) Studs & Females shared */
.studs-page,
.females-page {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.studs-title,
.female-title {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  font-size: 2rem;
  margin: 2rem auto 1.5rem;
  text-align: center;
}
.stud-photos,
.female-photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.stud-photos img,
.female-photos img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border: 3px solid var(--accent);
  border-radius: 8px;
  transition: transform 0.2s;
}
.stud-photos img:hover,
.female-photos img:hover {
  transform: scale(1.03);
}
.stud-info,
.female-info {
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #fff;
  text-align: left;
  line-height: 1.6;
}
.stud-info p,
.female-info p {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}
.stud-info p::before,
.female-info p::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent);
}

/* ─── Mobile First Adjustments ─── */
@media (max-width: 768px) {
  /* 1) Shrink header nav */
  nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    padding: 0;
    margin: 1rem 2rem;
  }
  nav a {
    font-size: 1rem;
    padding: 0.25rem 0;
    width: 100%;
    text-align: left;
  }

  /* 2) Logo shrink */
  header .logo {
    max-height: 60px;
  }

  /* 3) Fluid containers */
  .carousel,
  .training-card,
  .studs-page,
  .females-page,
  .contact-card {
    width: 100%;
    max-width: none;
    margin: 1.5rem auto;
    padding: 0 1rem;
  }
  .carousel {
    border-width: 4px;
  }

  /* 4) Tighten grids & images */
  .stud-photos,
  .female-photos,
  .photo-gallery {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
  }
  .stud-photos img,
  .female-photos img,
  .photo-gallery img {
    width: 100%;
    max-width: none;
    height: auto;
    border-width: 2px;
  }

  /* 5) Shrink headings & text */
  .gallery-title,
  .studs-title,
  .female-title {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .slide-caption,
  .about-card,
  .stud-info,
  .female-info,
  .contact-info,
  .training-info h3 {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  /* 6) Shorten title spacing */
  .studs-title,
  .female-title,
  .gallery-title,
  .training-info h3 {
    margin-top: 1rem;
  }
}

/* ——— Contact: Logo as Background ——— */
.contact-wrapper {
  /* ensure single-column layout */
  flex-direction: column;
}

.logo-bg {
  position: relative;
  background-color: var(--primary);
  padding: 2rem 1.5rem;
  border: 3px solid var(--accent);
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
}

/* your logo behind the text */
.logo-bg {
  background-image: url('/static/images/VomRugerhaus.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 50% auto; /* half the width, auto height */
}

/* add a bit more bottom padding so text never overlaps logo */
.logo-bg {
  padding-bottom: 5rem;
}

/* style the “note” line */
.logo-bg .note {
  margin-top: 1.5rem;
  font-style: italic;
  opacity: 0.9;
}

/* phone icon (if not already present) */
.contact-info h4.phone::before {
  content: "📞";
  margin-right: 0.5rem;
}

/* ——— Family Photo Styling ——— */
.contact-family img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border: 3px solid var(--accent);
  border-radius: 8px;
  object-fit: cover;
}

/* ——— Contact Info Box ——— */
.contact-info {
  background: var(--primary);
  border: 3px solid var(--accent);  /* gold border */
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 450px;
  margin: 2rem auto;                /* center horizontally */
  text-align: left;
}

/* ——— Family Photo Centering ——— */
.contact-family {
  text-align: center;
  margin-bottom: 2rem;
}
.contact-family img {
  display: inline-block;
  max-width: 450px;
  width: 100%;
  border: 3px solid var(--accent);
  border-radius: 8px;
  object-fit: cover;
}

/* Emphasized note under phone */
.contact-note {
  margin-top: 1rem;
  font-style: italic;
  color: #ddd;          /* slightly lighter than white */
}

.testimonials-list {
  list-style: disc;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.testimonials-list li {
  margin-bottom: 1.5rem;
  color: #fff;               /* or whatever your text color is */
  line-height: 1.6;
}
.testimonials-list li strong {
  color: var(--accent);
  display: block;
  margin-top: 0.5rem;
}
