/* styles.css - Professional, clean design for Dr. Logan Kopp's site */

:root {
  --primary: #1a5f7a;
  --primary-dark: #134a61;
  --accent: #2e8b57;
  --light: #f8f9fa;
  --text: #333;
  --text-light: #666;
}

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

.download-bar {
  background: #f4c430;
  color: #1a1a1a;
  text-align: center;
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.download-bar a {
  color: #1a1a1a;
  font-size: 1.05rem;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 6rem 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-content h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta {
  display: inline-block;
  background: #ffffff;
  color: var(--primary);
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #ffffff;
  transition: background 0.2s, color 0.2s;
}

.cta:hover {
  background: transparent;
  color: #ffffff;
}

.cta-secondary {
  background: transparent;
  color: #ffffff;
}

.cta-secondary:hover {
  background: #ffffff;
  color: var(--primary);
}

.contact .cta,
.contact .cta-secondary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.contact .cta:hover,
.contact .cta-secondary:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

.tagline {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1rem 0;
  color: #e0f7fa;
}

.hero p {
  max-width: 700px;
  margin: 0.8rem auto;
  font-size: 1.1rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

section h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* About */
.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-photo {
  float: right;
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 0 1.5rem 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Photos / Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Reviews */
.reviews {
  background: var(--light);
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.review {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-left: 4px solid var(--accent);
}

.review p {
  font-style: italic;
  margin-bottom: 0.8rem;
}

.review span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.more-reviews {
  text-align: center;
  margin-top: 1rem;
}

.more-reviews a {
  color: var(--primary);
}

/* Blog */
.blog-list {
  max-width: 800px;
  margin: 2rem auto;
}

.blog-preview {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--primary);
}

.blog-preview h3 {
  margin-bottom: 0.5rem;
}

.blog-preview h3 a {
  color: var(--primary);
  text-decoration: none;
}

.blog-preview h3 a:hover {
  text-decoration: underline;
}

.blog-preview .date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.clinical {
  background: #f3f7f9;
}

/* Credentials */
.credentials {
  background: #fff;
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto 1.5rem;
}

.badge {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--light);
  border: 1px solid #d5e3ea;
  border-top: 4px solid var(--primary);
  border-radius: 10px;
  padding: 1.1rem 1rem;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  min-height: 120px;
  justify-content: center;
}

.badge strong {
  color: var(--primary);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.badge span {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.35;
}

.badge.logo {
  min-height: 140px;
  background: #fff;
  padding: 0.8rem;
}

.badge.logo img {
  width: 100%;
  height: 110px;
  object-fit: contain;
}

.service-area {
  max-width: 800px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.service-area h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.species {
  background: var(--light);
}

.species-list {
  max-width: 600px;
  margin: 1.5rem auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.species-list ul {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

.species-list li {
  padding: 0.4rem 0;
  position: relative;
  padding-left: 1.2rem;
}

.species-list li:before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background: white;
  padding: 1.8rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-top: 4px solid var(--accent);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.clinic-note {
  text-align: center;
  font-size: 1.05rem;
  margin-top: 1rem;
}

/* Credentials */
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 1.5rem;
}

.cred-grid ul {
  list-style: none;
  padding: 0;
}

.cred-grid li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 1.2rem;
}

.cred-grid li:before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

.more-info {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
}

/* Contact */
.contact {
  background: var(--light);
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

.contact-info a:hover {
  text-decoration: underline;
}

.referral-note {
  text-align: center;
  max-width: 700px;
  margin: 1.5rem auto 0;
  color: var(--text-light);
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: white;
  text-align: center;
  padding: 2rem 20px;
  font-size: 0.95rem;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a:hover {
  color: #fff;
}

footer .phone {
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid,
  .cred-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .about-photo {
    float: none;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    display: block;
  }

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

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  section {
    padding: 3rem 0;
  }

  .gallery img {
    height: 220px;
  }
}

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3.5rem 20px 2.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.page-hero p {
  max-width: 720px;
  margin: 0.4rem auto;
  font-size: 1.08rem;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose p,
.prose li {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

.prose h2 {
  text-align: left;
  font-size: 1.45rem;
  margin: 1.8rem 0 0.6rem;
}

.prose ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.faq details {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}

.faq details p {
  margin-top: 0.6rem;
}

.species-list a,
.card a.more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.species-list a:hover,
.card a.more:hover {
  text-decoration: underline;
}

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

.prose .cta {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  margin-top: 0.5rem;
}

.prose .cta:hover {
  background: var(--primary-dark);
  color: #fff;
}
