/* ============================================
   Von Haus Hushon Rottweilers
   Premium Dark Theme with Gold Accents
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-card: #222222;
  --bg-card-hover: #2a2a2a;
  --gold: #d4a843;
  --gold-light: #e8c76a;
  --gold-dark: #b8922e;
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --text-muted: #777777;
  --border: #333333;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  margin: 1rem auto;
  border: none;
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo .kennel-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1.2;
}

.site-logo .kennel-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Mobile hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.3) 0%,
    rgba(15, 15, 15, 0.6) 70%,
    rgba(15, 15, 15, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content .section-subtitle {
  font-size: 1rem;
  letter-spacing: 5px;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* --- Dog Cards --- */
.dog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.dog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}

.dog-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.dog-card-image {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.dog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dog-card:hover .dog-card-image img {
  transform: scale(1.05);
}

.dog-card-body {
  padding: 1.5rem;
}

.dog-card-body h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.dog-card-body .dog-aka {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.dog-card-body .dog-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.dog-card-body .dog-details dt {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dog-card-body .dog-details dd {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.dog-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.health-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.3);
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Dog Profile Page --- */
.dog-profile-hero {
  margin-top: 80px;
  padding: 60px 0;
  background: var(--bg-secondary);
}

.dog-profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.dog-profile-gallery img {
  width: 100%;
  border: 1px solid var(--border);
}

.dog-profile-info h1 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.dog-profile-info .dog-registered-name {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.dog-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.dog-stat {
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.dog-stat label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.dog-stat span {
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* Health Testing Table */
.health-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.health-table th {
  background: var(--bg-card);
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--gold-dark);
}

.health-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.health-table tr:hover td {
  background: rgba(212, 168, 67, 0.05);
}

.result-pass {
  color: #4caf50;
  font-weight: 600;
}

.result-pending {
  color: var(--text-muted);
  font-style: italic;
}

/* --- About / Our Program --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.about-values {
  list-style: none;
  padding: 0;
}

.about-values li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-values li .value-icon {
  color: var(--gold);
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-dark);
}

.about-values li h4 {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-values li p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Puppies Section --- */
.puppies-status {
  text-align: center;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto;
}

.puppies-status h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.puppies-status p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.contact-info-side {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  height: fit-content;
}

.contact-info-side h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail .detail-icon {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.contact-detail .detail-text h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-detail .detail-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .kennel-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: var(--gold);
}

.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding: 1.5rem 20px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
  margin-top: 80px;
  padding: 60px 0;
  background: var(--bg-secondary);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Health Testing Info Page --- */
.test-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.test-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color var(--transition);
}

.test-info-card:hover {
  border-color: var(--gold-dark);
}

.test-info-card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.test-info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Blog / News --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body .blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-body h3 {
  margin: 0.5rem 0;
}

.blog-card-body h3 a {
  color: var(--text-primary);
}

.blog-card-body h3 a:hover {
  color: var(--gold);
}

.blog-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 20px;
    display: block;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a::after {
    display: none;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .dog-grid {
    grid-template-columns: 1fr;
  }

  .dog-profile-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dog-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }
}
