/* ========================================
   PAWZYNC UNIFIED STYLESHEET
   Version: 1.1 (Logo Height Control Added)
   ======================================== */

/* ---------- 1. CSS VARIABLES ---------- */
:root {
  --primary: #12B6C8;      /* PawZync Teal Blue */
  --secondary: #F28C28;    /* Warm Orange (Cat) */
  --accent: #C97A3A;       /* Golden Brown (Dog) */
  --soft-sky: #6FD6E3;     /* Soft Sky Blue */
  --bg-light: #F5F7F8;     /* UI - Soft Light Gray */
  --text-dark: #111111;    /* UI - Charcoal Black */
  --text-light: #4a5568;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ---------- 2. BASE STYLES ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9375rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  text-align: center;
  min-width: 200px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: #0fa5b5;
  transform: translateY(-3px);
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-light);
}

/* ---------- 4. COMPONENTS ---------- */
/* Cards */
.feature-card,
.tier-card,
.pricing-card,
.reminder-item,
.trust-feature {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover,
.tier-card:hover,
.pricing-card:hover,
.reminder-item:hover,
.trust-feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--soft-sky);
}

/* Feature Grids */
.feature-grid,
.reminder-grid,
.trust-features,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

/* Lists */
.tier-features,
.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.tier-features li,
.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tier-features li:last-child,
.pricing-features li:last-child {
  border-bottom: none;
}

.tier-features li::before,
.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Highlight Box */
.highlight {
  background: linear-gradient(135deg, var(--soft-sky) 0%, var(--bg-light) 100%);
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid var(--border);
}

/* Feature Description */
.feature-description {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
}

/* ---------- 5. SECTIONS ---------- */
/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after,
.final-cta::before,
.final-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.hero::before {
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
}

.hero::after {
  bottom: -20%;
  left: -10%;
  width: 200px;
  height: 200px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: white;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.trust-bullets {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.trust-bullet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 1.05rem;
}

.trust-bullet::before {
  content: '✓';
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

.cta-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Trust Bar */
.trust-bar {
  background-color: var(--soft-sky);
  padding: 1.25rem 0;
  text-align: center;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

/* Booking Features */
.booking-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.booking-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.booking-feature::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Clinic Features */
.clinic-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.clinic-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.clinic-feature::before {
  content: '•';
  color: var(--primary);
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Tier Cards */
.tier-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0;
}

.tier-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  text-align: center;
}

/* Pricing Cards */
.pricing-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.pricing-features li::before {
  margin-right: 0.5rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
}

.final-cta::after {
  bottom: -20%;
  left: -10%;
  width: 200px;
  height: 200px;
}

.final-cta h2 {
  color: white;
  margin-bottom: 2rem;
  font-size: 2.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.faq-question {
  background-color: var(--bg-light);
  padding: 1.25rem 1.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--soft-sky);
  color: var(--text-dark);
}

.faq-answer {
  padding: 1.25rem 1.75rem;
  background-color: white;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ---------- 6. SHARED NAVIGATION ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(10px);
}

.site-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* ✅ Distributes space intelligently */
  gap: 1rem; /* Optional: small gap for visual separation */
}

/* Ensure menu takes available space without overflowing */
.menu {
  flex: 1; /* ✅ Let menu expand to fill remaining space */
  min-width: 0; /* Prevents overflow on narrow screens */
  padding: 0 1rem;
}

/* On large screens, give menu more breathing room */
@media (min-width: 980px) {
  .menu {
    flex: 2; /* Give menu 2x priority over other elements */
  }
}

/* LOGO CONTAINER */
.brand {
  display: flex;
  align-items: center; /* Center logo vertically */
  text-decoration: none;
  min-width: 190px;
}

/* LOGO IMAGE - HEIGHT CONTROL */
.brand .logo-img {
  max-height: 100px; /* Desktop max height */
  height: auto;
  width: auto;
  display: block;
  transition: var(--transition);
}

/* FOOTER LOGO (different size) */
.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.brand-mark {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 1.5rem;
  color: var(--primary);
  margin-left: 8px; /* Space between logo and text if both used */
}

.brand-tag {
  font-size: .78rem;
  color: var(--text-light);
  margin-left: 8px;
}

/* Hide text branding when logo image is present */
.brand.has-logo .brand-mark,
.brand.has-logo .brand-tag {
  display: none;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  flex: 1;
}

.menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 10px;
  border-radius: 10px;
  transition: var(--transition);
}

.menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  display: none;
}

.dropdown:hover::after {
  display: block;
}

.dropdown-menu {
  position: absolute;
  top: 46px;
  left: 0;
  min-width: 290px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  display: none;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text-dark);
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

/* ---------- 7. FOOTER ---------- */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

/* ---------- 8. RESPONSIVE DESIGN ---------- */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .site-nav .nav-inner {
    gap: 20px;
  }
  
  /* Reduce logo size on medium screens */
  .brand .logo-img {
    max-height: 80px;
  }
}

@media (max-width: 980px) {
  /* Mobile Navigation */
  .menu {
    display: none;
    position: fixed;
    inset: 70px 14px auto 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 998;
  }

  body.menu-open .menu {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0 0 8px 0;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Section Adjustments */
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cta-container,
  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    min-width: auto;
  }

  .trust-bullets {
    flex-direction: column;
    align-items: center;
  }

  .feature-grid,
  .reminder-grid,
  .trust-features,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  /* Smaller logo on mobile */
  .brand .logo-img {
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .feature-card,
  .tier-card,
  .pricing-card,
  .reminder-item,
  .trust-feature {
    padding: 1.75rem;
  }
  
  /* Extra small logo on tiny screens */
  .brand .logo-img {
    max-height: 50px;
  }
}

/* Utility Classes */
.bg-light {
  background-color: var(--bg-light);
}