@import url('https://fonts.googleapis.com/css2?family=Ms+Madi&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cause:wght@400;500;600&display=swap');

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

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Cause', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #faf9f7;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-left {
  flex: 1;
}

.logo {
  font-family: 'Ms Madi', cursive;
  font-size: 1.8rem;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.6;
}

.nav-link {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-right {
  flex: 1;
  text-align: right;
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Ms Madi', cursive;
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtext {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: 400px;
  background-color: #e8e6e1;
  border-radius: 8px;
  object-fit: cover;
}

/* Bird Profiles Section */
.birds {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.birds h2 {
  font-family: 'Ms Madi', cursive;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0;
}

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

.bird-card {
  padding: 0;
}

.bird-image {
  width: 100%;
  height: 250px;
  background-color: #e8e6e1;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.bird-card h3 {
  font-family: 'Ms Madi', cursive;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.pronunciation {
  font-size: 0.75rem;
  color: #999;
  font-family: 'Cause', sans-serif;
  font-weight: normal;
}

.bird-stats {
  width: 100%;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.bird-stats tr {
  border-bottom: 1px solid #f0f0f0;
}

.bird-stats tr:last-child {
  border-bottom: none;
}

.bird-stats th {
  text-align: left;
  font-weight: 600;
  padding: 0.1rem 0;
  color: #666;
  width: 40%;
}

.bird-stats td {
  padding: 0.1rem 0;
  padding-left: 1rem;
}

.bird-bio {
  font-size: 1.2rem;
  color: #555;
  margin-top: 1rem;
}

/* Products Section */
.products {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.divider {
  font-size: 1.5rem;
  color: #999;
  margin-bottom: 1rem;
}

.products h2 {
  font-family: 'Ms Madi', cursive;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.products-subtext {
  color: #666;
  font-size: 1rem;
}

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

.product-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.product-image {
  width: 100%;
  height: 200px;
  border-radius: 6px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-card h4 {
  font-family: 'Cause', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.product-description {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: auto;
  padding-bottom: 1rem;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.product-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #1a1a1a;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: background-color 0.3s ease;
}

.product-button:hover {
  background-color: #777;
}

/* FAQ Section */
.faq {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.faq h2 {
  font-family: 'Ms Madi', cursive;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 0;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border: none;
  border-radius: 0;
  overflow: visible;
  border-bottom: 1px solid #e8e6e1;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  width: 100%;
  padding: 1.25rem 0;
  text-align: left;
  background-color: transparent;
  border: none;
  font-family: 'Cause', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button:hover {
  opacity: 0.7;
}


.accordion-button::after {
  content: '+';
  font-size: 1.5rem;
  margin-left: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-button::after {
  content: '−';
  transform: rotate(0deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
  padding: 0 0 1.25rem 0;
}

.accordion-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

.accordion-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.accordion-content li {
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.accordion-content a {
  color: #1a1a1a;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.accordion-content a:hover {
  opacity: 0.6;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #e8e6e1;
  margin-top: 3rem;
}

.footer-left {
  flex: 1;
}

.footer-logo {
  font-family: 'Ms Madi', cursive;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a1a1a;
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: opacity 0.3s ease;
}

.social-link svg {
  width: 100%;
  height: 100%;
}

.social-link.instagram {
  color: #E1306C;
}

.social-link.tiktok {
  color: #000;
}

.social-link.youtube {
  color: #FF0000;
}

.social-link:hover {
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: 1.5rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-image {
    height: 300px;
  }

  .birds, .products, .faq {
    padding: 2rem 1rem;
  }

  .bird-grid, .product-grid {
    grid-template-columns: 1fr;
  }

  .products h2 {
    font-size: 1.5rem;
  }

  .faq h2 {
    font-size: 2.2rem;
  }

  .accordion-button {
    font-size: 1.1rem;
    padding: 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-left, .footer-right {
    flex: none;
  }

  .footer-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-right {
    text-align: center;
  }

  .logo {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }
}
