/* ------------------------------------------
   🌿 PCBS Global Styles – style.css
   Perfect Cow Breeding Solutions Ltd
   ------------------------------------------ */

:root {
  --color-primary: #245c2a;
  --color-accent: #a3d977;
  --color-dark: #333333;
  --color-light: #f9f9f9;
  --color-highlight: #f4e285;

  --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-heading: 2rem;
}
/*.text-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.text-nav a {
  background: #2e7d32;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.text-nav a:hover {
  background: #1b5e20;
} */

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.pcbs-submenu {
  background: #e8f5e9;
  border-bottom: 2px solid #c8e6c9;
  padding: 10px 20px;
  font-family: Arial, sans-serif;
}

.pcbs-submenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.pcbs-submenu li a {
  text-decoration: none;
  color: #2e7d32;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

.pcbs-submenu li a:hover {
  background: #c8e6c9;
}


body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-main);
  color: var(--color-primary);
  margin-bottom: 0.5em;
}

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

a:hover {
  color: var(--color-accent);
}

/* Buttons */
button,
input[type="submit"] {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
  background-color: var(--color-accent);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.card {
  background-color: white;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}

/* Logo Styling */
.logo-header {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto; /* Center the logo */
}

/* 🧭 SVG Interactive Navigation Styles */
.svg-nav-wrapper {
  width: 100%;
  max-width: 800px;
  margin: auto;
  display: block;
  padding: 1rem;
}

.svg-nav-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-link {
  fill: transparent;
  stroke: #2e5a2e;
  stroke-width: 2;
  cursor: pointer;
  transition: stroke-width 0.2s ease;
}

.svg-link:hover,
.svg-link:focus {
  stroke-width: 4;
  outline: none;
}

/* 🌿 Hero Section Styles */
.hero {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #2e5a2e;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333;
}

/* ✅ CTA Button Styles */
.cta-button {
  background-color: #2e5a2e;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #3a773a;
}

/*  Mobile SVG Nav Logic — Show Logo, Hide Visual Nav, Keep Links Clickable */
@media (max-width: 600px) {
  /* Hide nav tiles visually but keep them functional */
  .svg-nav-wrapper g#nav-tiles a {
    opacity: 0;
    pointer-events: auto;
  }

  /* Optional: subtle feedback when link is hovered or focused */
  .svg-nav-wrapper g#nav-tiles a:hover,
  .svg-nav-wrapper g#nav-tiles a:focus {
    opacity: 0.2;
  }

  /* Optional: scale down the logo on mobile (if it's styled via a wrapper) */
  .logo-header {
    max-width: 120px;
  }
}
