/* ================= Общие стили ================= */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f2bbf0, #fff0f5);
  color: #333;
}

/* ================= Шапка ================= */
header.header-main, header.header-about {
  background-color: rgba(152, 200, 229, 0.9);
  color: rgb(17, 55, 135);
  padding: 20px 0 10px;
}

.nav-row-main, .nav-row-about {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 40px; /* расстояние между ссылками и логотипом */
}

.nav-row-main .nav-link,
.nav-row-about .nav-link {
  color: rgb(17, 55, 135);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 14px;
  background: white;
  border-radius: 8px;
  border: 2px solid rgba(17, 55, 135, 0.25);
  transition: 0.2s ease;
}

.nav-row-main .nav-link:hover,
.nav-row-about .nav-link:hover {
  background: rgb(17, 55, 135);
  color: white;
}

/* Логотип */
.logo-main, .logo-about {
  max-width: 150px;
  margin: 0 auto;
  display: block;
}

/* Заголовок страницы */
header.header-main h1, header.header-about h1 {
  text-align: center;
  margin: 10px auto 20px;
  font-size: 32px;
  color: rgb(17, 55, 135);
  display: block;
}

/* ================= Родители ================= */
section.parents {
  padding: 10px 20px;
  background-color: #d9e3ef;
  text-align: center;
}

section.parents h2 {
  font-size: 30px;
  margin-bottom: 20px;
  color:rgb(168, 67, 143);
}

.parent-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.parent-card {
  width: 300px;
  text-align: center;
}

.parent-card img {
  width: 100%;
  height: 450px;
  object-fit: cover; /* сохраняет пропорции и красиво обрезает */
  border-radius: 10px;
  cursor: pointer;
}

.parent-card h3 {
  margin-top: 10px;
  font-size: 1.2rem;
}

/* ================= Котята ================= */
.kittens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.kitten-card {
  background-color: rgb(164, 216, 244);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.kitten-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.kitten-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  /* border: 4px solid #555; */
  border-radius: 12px;
  margin-top: 1rem;
}

.kitten-card h3 {
  margin: 0.5rem 0 0.2rem;
  color: #333;
}

.kitten-card p {
  margin: 0 0 1rem;
  color: #555;
  font-size: 1rem;
}

/* ================= Контакт ================= */
.contact {
  max-width: 600px;
  margin: 3rem auto;
  background-color: rgb(246, 238, 238);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.contact h2 {
  text-align: center;
  color: #333;
}

.contact input, .contact textarea {
  width: 100%;
  padding: 0.7rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact button {
  width: 100%;
  background-color: #3c8dea;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.contact button:hover {
  background-color: #333;
}





/* ================= Галерея About ================= */
.about-ragdoll {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.about-ragdoll section {
  margin-bottom: 40px;
}

.about-ragdoll h2 {
  font-size: 30px;
  margin-bottom: 15px;
  color: rgb(17, 55, 135);
}

.about-ragdoll p {
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 20px;
}

.about-ragdoll ul {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: 15px;
}

.about-ragdoll ul li {
  margin-bottom: 8px;
  font-size: 20px;
}

/* Галерея фотографий */
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.photo-card {
  width: 280px;       /* фиксированная ширина карточки */
  height: 500px;      /* фиксированная высота карточки */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-card img {
  width: 100%;
  height: 100%;       /* картинка заполняет всю карточку */
  object-fit: cover;  /* обрезаем лишнее, чтобы сохранить пропорции */
  display: block;
}


/* ================= Подвал ================= */
footer {
  text-align: center;
  padding: 20px 0;
  background-color: rgba(152, 200, 229, 0.9);
  color: rgb(17, 55, 135);
  margin-top: 5px;
}

/* ================= Lightbox ================= */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

/* ================= Адаптив ================= */
@media(max-width: 768px) {
  .nav-row-main,
  .nav-row-about {
    flex-direction: column;
    gap: 10px;
  }

  .logo-main,
  .logo-about {
    max-width: 110px;
  }

  header.header-main h1,
  header.header-about h1 {
    font-size: 1.6rem;
  }

  .parent-card {
    width: 220px;
  }

  .kitten-card img {
    height: 350px;
  }

  .kitten-card {
    width: 100%;
  }

  .photo-card {
    width: 90%;
  }
}








/* ================= Страница котят ================= */
.kittens-page {
  max-width: 1000px;
  margin: 0 auto;
  /* padding: 20px; */
}

.kittens-page h2 {
  font-size: 1.8rem;
  color: rgb(17, 55, 135);
  margin-bottom: 15px;
  text-align: center;
}

.kittens-page p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: center;
}

/* Сетка котят */
.kittens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.kitten-card {
  background-color: rgb(164, 216, 244);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kitten-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.kitten-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-bottom: 3px solid #555;
}

.kitten-card h3 {
  margin: 10px 0 5px;
  color: #333;
}

.kitten-card p {
  margin-bottom: 10px;
  color: #555;
}

/* Контактная форма (используем те же стили, что на главной) */





/* ================= Kitten Care Section ================= */
.kitten-care {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  background-color: #e6f2ff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.kitten-care h2 {
  text-align: center;
  color: rgb(17, 55, 135);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.care-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.care-card {
  background-color: rgb(248, 233, 247);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.care-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.care-card h3 {
  font-size: 25px;
  color: rgb(17, 55, 135);
  margin-bottom: 0.8rem;
}

.care-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

/* Адаптив */
@media (max-width: 768px) {
  .kitten-care {
    padding: 1.5rem 1rem;
  }

  .kitten-care h2 {
    font-size: 1.6rem;
  }

  .care-card {
    padding: 1rem;
  }
}



/* Form */
.contact {
  max-width: 600px;
  margin: 3rem auto;
  background-color: rgb(246, 238, 238);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.contact h2 {
  text-align: center;
  color: #333;
  margin-bottom: 1.5rem;
}

.contact input, .contact textarea {
  width: 100%;
  padding: 0.7rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact button {
  width: 100%;
  background-color: #3c8dea;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: 0.2s;
}

.contact button:hover {
  background-color: #264d7c;
}




/* ================= Галерея котят ================= */
.kitten-gallery {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.kitten-gallery h2 {
  font-size: 2rem;
  color: rgb(17, 55, 135);
  margin-bottom: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-card {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-card img {
  width: 100%;
  height: 200px; /* одинаковая высота для всех фото */
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Адаптив */
@media(max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


.kitten-price {
  font-weight: bold;
  color: rgb(17, 55, 135);
  margin-top: 5px;
  font-size: 1rem;
}

/* ================= Описание родителей ================= */
.parents-description {
  max-width: 900px;
  margin: 0px auto 30px;
  padding: 5px;
  background-color: #f0f8ff; /* мягкий голубой фон */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  text-align: center;
  animation: fadeIn 1s ease-in;
}

.parents-description h2 {
  color: rgb(17, 55, 135);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.parents-description p {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
}

/* Лёгкая анимация появления */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.place {
  font-size: 18px;
  color: #e23c05;
}


.instagram {
  vertical-align: middle;
  margin-right: 5px;
  margin-left: 5px;
  cursor: pointer;
}