*{
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

img {
    width: 50px;
    height: 50px;
}

.header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgba(196, 187, 177, 0.488);
    height: 100px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: rgb(222, 102, 33);
    text-decoration: font-weight;
    font-size: 20px;
    display: inline-block;
 }


 .cover {
    position: relative;
    background-image: url("./images/cover.jpg");
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
 }

 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
 }

 .content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    color: white; 
    font-family: Arial, Helvetica, sans-serif;
    width: 1000px;
  }
  .content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  .content p {
    font-size: 1.5rem;
  }
      .cards {
      display: flex;
      justify-content: space-around;
      gap: 20px;
      flex-wrap: wrap;
      margin-top: 20px;
    }

    .pet-card-container {
      perspective: 1000px;
    }

    .pet-card {
      width: 250px;
      height: 300px;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0\.6s;
      border: 1px solid #ccc;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      font-family: Arial, sans-serif;   
}

    .pet-card:hover {
      transform: rotateY(180deg);
    }

    .pet-card-front, .pet-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 8px;
    }

    .pet-card-front {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .pet-card-back {
      background-color: #f9f9f9;
      color: #333;
      transform: rotateY(180deg);
      padding: 15px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .pet-card img {
      width: 100%;
      border-radius: 6px;
      object-fit: cover;
      height: 180px;
    }

    .pet-card h2 {
      margin: 10px 0 8px;
      font-size: 1.4em;
      color: #333;
    }

    .pet-card p {
      font-size: 1em;
      color: #555;
      margin: 0 0 12px;
    }

    .pet-card ul {
      list-style: none;
      padding: 0;
      margin: 0;
      color: #444;
      font-size: 0.9em;
    }

    .pet-card ul li {
      margin-bottom: 5px;
    }
   h3 {
     margin-top: 40px;
     margin-bottom: 40px;
     font-size: 40px;
     text-align: center;
     font-family: Arial;
     }  
     h4 {
     margin-top: 40px;
     margin-bottom: 40px;
     font-size: 30px;
     text-align: center;
     font-family: Arial;
     }  
     h5 {
     font-size: 20px;
     text-align: center;
     font-family: Arial;
     }  
     h2 {
      font-family: Arial;
     }
     .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }
    .form__container {
      background: white;
      padding: 20px 30px;
      border-radius: 8px;
      max-width: 400px;
      width: 90%;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      font-family: Arial, sans-serif;
      gap: 30px;
      display: flex;
      flex-direction: column;
    }
    .form__container label {
      display: block;
      margin-bottom: 8px;
      font-weight: bold;
      font-size: 14px;
      color: #333;
    }
    .form__container input,
    .form__container textarea {
      width: 100%;
      padding: 8px 20px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 14px;
      font-family: inherit;
      box-sizing: border-box;
      transition: border-color 0.3s;
    }
    .form__container input:focus,
    .form__container textarea:focus {
      border-color: #fda313;
      outline: none;
    }
    .form__container button {
      width: 50%;
      padding: 10px;
      background-color: #ff9900;
      border: none;
      color: white;
      font-size: 16px;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .form__container button:hover {
      background-color: #d27001;
    }
    .form {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      margin-top: 50px;
      gap: 20px;
    }
    .form__container_btn {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .grid {
    display: grid;
    grid-template-columns: 300px 400px 350px;
    grid-template-rows: repeat(3, 200px);
    gap: 20px;
      }

    .grid div {
      border: 0px;
      justify-items: center; 
      align-items: center;
     
    }

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

    h2 {
      margin-bottom: 20px;
      color: rgb(0, 0, 0)
      }

    .grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .item1 {
    grid-column: 1/2;
    grid-row: 1/2;
    }

    .item2 {
    grid-column: 1/2;
    grid-row: 2/3;
}

   .item3 {
    grid-column: 2/3;
    grid-row: 1/3;
   }

    .item4 {
    grid-column: 3/4;
    grid-row: 1/2;
}   
   .item5 {
    grid-column: 3/4;
    grid-row: 2/3;
}
    
    .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
    

  .grid div {
    border: 0px;
    justify-items: center; 
    align-items: center;
    }
    
  .grid-item p {
   position: absolute;
   top: 60%;
   left: 50%;
   transform: translate(-50%, -50%);
   margin: 0;
   padding: 5px 10px;
   font-size: 18px;
   color: rgb(255, 255, 255);
   border-radius: 5px;
   z-index: 2;
   width: 200px;
}

body.dark {
  background-color: #121212;
  color: #ffffff;
}


#theme-toggle {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
  background: #f0f0f0;
  color: #000;
  border-radius: 5px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark #theme-toggle {
  background: #333;
  color: #fff;
}

#theme-toggle span {
  display: inline-block;
  transition: opacity 0.3s ease;
  position: relative;
}

.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

 h6 {
   color: black, white;
   text-align: center;
   margin-bottom: 30px;
   border-bottom: 2px solid #e2922b;
   padding-bottom: 10px;
   font-size: 40px;
   font-family: Arial;
    }
        
        .create-post-btn {
            display: block;
            width: 200px;
            background-color: #e7a128;
            color: white;
            text-align: center;
            padding: 10px;
            margin: 0 auto 30px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s;
        }
    .create-post-btn:hover {
            background-color: #db8f1d;
        }
        
        .post {
            background: white;
            margin-bottom: 20px;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .post:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .post h3 {
            color: #000000cb;
            margin-top: 0;
            margin-bottom: 10px;
        }
        
        .post p {
            color: #e98707d6;
            margin-bottom: 15px;
        }
        
        .post-meta {
            font-size: 0.8em;
            color: #95a5a6;
            display: flex;
            justify-content: space-between;
        }
        .loading {
            text-align: center;
            font-style: italic;
            color: #7f8c8d;
            padding: 20px;
        }
        
        .error {
            color: #e27e20;
            text-align: center;
            padding: 20px;
        }

 footer {
    background-color: #ffffff;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #f0f0f0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative; 
}

.footer-content p:first-child {
    color: #555555;
    font-size: 0.95rem;
    text-align: center; 
}

.footer-content p.right {
    color: #888888;
    font-style: italic;
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
}

.social-icons img {
    width: 22px;
    height: 22px;
    filter: brightness(0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin: 20px 0;
}

.footer-links a {
    color: #444444;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    padding-bottom: 3px;
}

.footer-links a:hover {
    color: #000000;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000000;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.newsletter {
    text-align: center;
    margin: 25px auto;
    max-width: 500px;
}

.newsletter p {
    color: #333333;
    margin-bottom: 15px;
    font-size: 1rem;
}

.newsletter input {
    padding: 12px 15px;
    width: 60%;
    max-width: 300px;
    border: 1px solid #dddddd;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-right: 10px;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter input:focus {
    border-color: #aaaaaa;
}

.newsletter button {
    padding: 12px 25px;
    background-color: #333333;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter button:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.slogan {
    text-align: center;
    color: #222222;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    font-style: italic;
}

  @media (max-width: 768px) {
    .nav {
      display: none;
    }

    .content_h1 {
     font-size: 20px;
   }

   .content_p {
    font-size: 12px;
   }
  }

  .menuToggle {
  display: block;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  -webkit-user-select: none;
  user-select: none;
}

.menuToggle a {
  text-decoration: none;
  color: #ededed;
  transition: color 0.3s ease;
}

.menuToggle a:hover {
  color: #f77f1c;
}

.menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}

.menuToggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 5px;
  position: relative;
  background: #333;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.3s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.3s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.3s ease;
}

.menu {
  position: absolute;
  width: 280px;
  max-height: 100vh;
  margin: -100px 0 0 -20px;
  padding: 50px;
  padding-top: 125px;
  box-sizing: border-box;
  overflow-y: auto;
  background: rgba(35, 35, 35, 0.95);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  border-radius: 0 20px 20px 0;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
}

.menu li {
  padding: 12px 0;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu li:last-child {
  border-bottom: none;
}

.menu li label {
  cursor: pointer;
  display: block;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu li label:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #fff;
}

.menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

.menuToggle input:checked ~ ul {
  transform: none;
}

.about-cover {
  min-height: 40vh;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
}

.about-content h2 {
  text-align: center;
  color: #ff7b00;
  margin-bottom: 35px;
  font-size: 2.4rem;
  font-weight: 600;
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #ff7b00;
  border-radius: 2px;
}

.about-text {
  margin-bottom: 55px;
  line-height: 1.8;
  font-size: 1.1rem;
  padding: 25px;
  background: #fffaf0;
  border-radius: 12px;
  border-left: 4px solid #ff7b00;
  box-shadow: 0 5px 15px rgba(255,123,0,0.1);
}

.team-section {
  margin: 60px 0;
  width: 100%;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 45px;
  margin-top: 35px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-member {
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,123,0,0.1);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  display: block;
  border: 3px solid #ff7b00;
}

.team-member:hover {
  transform: translateY(-5px);
}
