/*
 Theme Name:   Astra CluckTales Child
 Theme URI:    https://example.com/astra-clucktales-child/
 Description:  Child theme for CluckTales based on Astra
 Author:       CluckTales
 Template:     astra
 Version:      1.0.0
*/
/* ============================
   Homepage Styles
============================ */

.chicken-thumb-wrapper-home {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
  object-fit: cover;
/*  border: 3px solid #ccc;*/
}

.chicken-thumb-wrapper-home:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  border-color: #c36f49;
}

/* ============================
   Team Grid Styles
============================ */

.team-container {
  padding: 5em;
  padding-top: 0;
}

.chicken-group {
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
  margin-bottom: 3em;
}

.chicken-card {
  text-align: center;
  max-width: 250px;
  transition: transform 0.2s ease;
}

.chicken-image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
}

.chicken-image-wrapper img {
  display: block;
  transition: transform 0.3s ease;
}

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

.overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  border-radius: 0; /* Fixes the weird curve */
  pointer-events: none;
  padding: 0.5em;
}

.chicken-card:hover .overlay {
  opacity: 1;
  transform: translateY(0%);
}

.chicken-thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
/*  border: 3px solid #ccc; */
}

@media (max-width: 768px) {
    .chicken-thumb {
        width: 180px;
        height: 180px;
		margin: 0 auto;
    }
}

.chicken-thumb-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
}

.chicken-card h3 {
  font-size: 25px;
}

.chicken-thumb-wrapper img {
  display: block;
  transition: transform 0.3s ease;
}

.chicken-card:hover .chicken-thumb-wrapper img {
  transform: scale(1.05);
}

.chicken-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.chicken-card:hover .chicken-overlay {
  opacity: 1;
}

.chicken-title {
    margin: 0;
    font-size: 1rem;
    color: #555;
}

/* Grayscale for retired chickens */
.retired-group .chicken-thumb {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.retired-group .chicken-thumb:hover {
  filter: grayscale(0%);
}

/* ============================
   Chicken Profile Page Styles
============================ */

.chicken-profile {
  max-width: 400px;
  margin: 2em auto;
  padding: 2em;
  background: #3c3c3c;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chicken-profile img,
.chicken-profile .profile-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem;
  transition: filter 0.3s ease;
}

.profile-photo-wrapper {
    margin-bottom: 1em;
}

.profile-photo.perched {
  filter: grayscale(100%);
}

.chicken-profile img:hover {
  filter: grayscale(0%);
}

.chicken-profile h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5em;
  color: #FAF5E5;
}

.chicken-profile p {
  margin: 0.3em 0;
  font-size: 1rem;
}

.chicken-profile .fun-facts,
.chicken-profile .bio {
  margin-top: 1.5em;
}

.chicken-details {
  list-style: none;
  padding: 0;
  margin: 1em 0;
  color: #FAF5E5;
}

.chicken-details li {
  margin-bottom: 0.5em;
}

.chicken-details p {
  color: #FAF5E5;
}

/* ============================
   Photo Album Styles
============================ */

.photo-button {
  display: inline-block;
  margin-top: 1.5em;
  padding: 0.75rem 1.5rem;
  background-color: #0073aa;
  color: #fff;
  border-radius: 0.75rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.photo-button:hover {
  background-color: #005177;
}

.photo-album {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.photo-album .photo {
  flex: 1 1 200px;
  text-align: center;
}

.photo-album img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.photo-caption {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #555;
}

/* Chicken Single Page Styles */
.chicken-single-container {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}

.profile-img {
    max-width: 300px;
    border-radius: 50%;
}
.chicken-details p {
    margin: 0.3rem 0;
}
.chicken-fun-facts,
.chicken-bio {
    margin-top: 2rem;
}
.chicken-portfolio .portfolio-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.portfolio-gallery img {
    border-radius: 0.5rem;
    width: 100px;
    height: auto;
}
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 1rem;
}

.nav-buttons .prev-button {
    margin-right: auto;
}

.nav-buttons .next-button {
    margin-left: auto;
}
.back-button,
.prev-button,
.next-button {
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: #3c3c3c;
    border-radius: 0.5rem;
	color: #FAF5E5;
}
.profile-details {
    font-size: 1rem;
}

.chicken-image-centered {
    text-align: center;
    margin-bottom: 20px;
}
.egg-color-icon img {
  width: 25px;
  height: auto;
  display: block;
  margin: 0 auto;
}