a{
  text-decoration:none;
  color:#4b2e1e;
  font-size:16px;
  font-weight:600;
}


.image-container {
  width: 100%;
  height: 400px; 
  overflow: hidden;
  position: relative;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Section-2 */

.profile-section {
  background-color: #f7f7f7;
  padding: 40px 20px;
}

.profile-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  /* flex-wrap: wrap; */
}

.left-section, .right-section {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.left-section {
  max-width: 490px;
}

.right-section{
  min-width: 720px;
  padding:50px;
  background-color:#fff;
  padding:50px;
  border-radius:12px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  z-index:99;
  margin-top:-130px;
  object-fit: cover;
  border:5px solid #fff;
}
.profile-name h2{
  margin-left:25px;
  font-size:22px;
  font-weight:700;
 
}

.edit-btn {
  padding: 6px 12px;
  background-color: #eaeaea;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.general-info,
    .contact,
    .dogs,
    .followers {
      margin-top: 30px;
    }

    .about{
      max-width:710px;
    }

    .followers-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .view-all {
      background: none;
      border: none;
      color: #007bff;
      cursor: pointer;
      font-weight: bold;
    }

    .followers-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 15px;
      margin-top: 15px;
    }

    .follower-card {
     
      position: relative;
      padding-top: 20px;
    }

    .follower-card p{
      padding-left:50px;
      padding-top:10px;
      color:rgba(107, 62, 38, 1);
      font-size:13px;
      font-weight:700;
    }

    .image-stack {
      position: relative;
      width: 70%;
      aspect-ratio: 1 / 1;
      margin-bottom: 10px;
      padding-left:10px;
    }
    

    .image-stack img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border:2px solid rgba(217, 217, 217, 1);
      border-radius: 10px;
      transition: all 0.3s ease;
    }

    .image-stack img:nth-child(n) {
      transform: translate(
        calc((var(--total) - var(--i)) * 5px),
        calc((var(--total) - var(--i)) * 5px)
      );
      z-index: var(--i);
      opacity: calc(0.3 + var(--i) * 0.2);
    }

    .general-info h3{
      font-size:18px;
      font-weight:700;
    }

    .general-info p{
      padding-top:10px;
    }
    .contact p{
      padding-top:10px;
    }
    .dogs p{
      padding-top:10px;
    }
/* end */


/* Ad section start */
.ads-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 40px 40px 20px;
}
.ads-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
}

.ads-header h2 {
  font-size: 28px;
  margin: 0;
}

.view-all-btn {
  background-color: #4b2d1f; /* Your dark brown color */
  color: white;
  padding: 10px 20px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
}

.swiper.ads-carousel {
  padding: 10px;
}

.swiper-slide.ad-card {
  background: rgba(249, 246, 241, 1);
  border: 1px solid rgba(107, 62, 38, 0.3);
  border-radius: 10px;
  padding: 16px;
  position: relative;
  height: auto;
}

.published {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.ad-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
}

.ad-image img {
  width: 100%;
  height: auto;
  display: block;
}

.view-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #4b2e1e;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  text-decoration:none;
}

.ad-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 8px 0;
}

.ad-card .desc {
  font-size: 14px;
  color: #555;
}

.swiper-button-next,
.swiper-button-prev{
  color: #4b2e1e;
}

.swiper-pagination {
  margin-top: 20px;
  text-align: center;
}
.swiper-pagination-bullets.swiper-pagination-horizontal{
  display:none;
}
.swiper-button-next, .swiper-button-prev{
  color:#fff !important;
  border:1px solid #fff;
  border-radius:100%;
  padding:15px;
  background-color: #000;
}




/* Ad section end*/


/* Comment-section-start */

.comments-section-1{
  background-color: #f7f7f7;
}

.comments-section {
  background-color: #fff;
  padding: 40px 20px;
  margin: auto;
  max-width:1200px;
}
.comment{
  margin-top:20px;
}

.comment p{
  padding-top:10px;
}
/* Header */
.comments-section h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #111;
}

.comments-section h2 span {
  color: #999;
  font-weight: normal;
}

/* Top Comment Input Box */
.comments-section .comment-box {
  display: flex;
  padding: 10px 15px;
  margin-bottom: 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  align-items: center;
}

.comments-section .comment-box input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  color: #555;
  outline: none;
  background-color: #f1f1f1;
  border-radius: 30px;
}

.comments-section .send-btn {
  background: #4b2e1e;
  color: #fff;
  border: none;
  padding: 10px 50px;
  margin-left: 10px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
}

/* Comment Item */
.comments-section .comment {
  /* display: flex; */
  padding: 15px;
  background: #fff;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(85, 85, 85, 0.28);
}

.comments-section .avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.comments-section .comment-content {
  flex: 1;
}

.comments-section .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.comments-section .comment-header strong {
  font-size: 15px;
  font-weight: bold;
  color: #111;
}

.comments-section .comment-header .time {
  font-size: 13px;
  color: #999;
}

.comments-section .comment-content p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin: 0 0 10px;
}

/* Interaction Section (Like, Comment, Reply) */
.comments-section .comment-actions {
  display: flex;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 10px;
}

.comments-section .comment-actions a {
  color: #333;
  text-decoration: none;
}

.comments-section .reply-box {
  display: flex;
  gap: 10px;
  align-items: center;
}

.comments-section .reply-box input {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 30px;
  outline: none;
  background-color: #f5f5f5;
}

.comments-section .reply-box button {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
}

/* Animated Toggle Section */
.comments-section .comment-interaction {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.comments-section .comment-interaction.active {
  max-height: 160px;
  opacity: 1;
  margin-top: 10px;
}


.like-btn {
  margin-top:10px;
  display: flex;
  align-items: center;
  gap: 6px; 
  padding: 8px 12px;
  background-color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.like-btn img {
  width: 16px;  
  height: 16px;
}


/* Comment-section-end */

/* Mobile Responsive */

@media (max-width: 768px) {
      .profile-container{
        display:block;
      }
      .right-section{
        min-width:auto;
        padding:20px;
        margin-top:20px;
      }
      .image-container{
        height:200px;
      }
      .follower-card p{
        padding-left:10px;
      }
      .ads-header h2{
        font-size:22px;
      }
      .ad-image img{
       max-height:300px;
      }
      .comments-section{
       padding:40px 0px;
      }
      .reply{
       margin-left:15px !important;
      }
      .view-all-btn{
       font-size:12px;
}
.ads-header{
      padding:30px 0px;
}

}

.gallery-preview{
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px 20px;
    max-height:500px;
    
}

.img-thumbnail{
 height:320px; 
 width:100%; 
 object-fit:cover;
 border:3px solid #000;
}

.gallery-swiper{
  overflow-x: hidden;
}

/* Comment form */
 .comment-form-1 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-form-1 textarea {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  resize: none;
  width: 970px;
  height: 45px;
  font-size: 14px;
  background: #f9f9f9;
  outline: none;
  transition: border 0.3s ease;
}

.comment-form-1 textarea:focus {
  border-color: #6b3e26;
  background: #fff;
}

.comment-form-1 button[type="submit"] {
  background-color: #6b3e26;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.comment-form-1 button[type="submit"]:hover {
  background-color: #8c5333;
}

/* comment-form-2 */

.comment-form-2 {
  margin-top:10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-form-2 input{
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  resize: none;
  width: 400px;
  height: 45px;
  font-size: 14px;
  background: #f9f9f9;
  outline: none;
  transition: border 0.3s ease;
}

.comment-form-2 input:focus {
  border-color: #6b3e26;
  background: #fff;
}

.comment-form-2 button[type="submit"] {
  background-color: #6b3e26;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.comment-form-2 button[type="submit"]:hover {
  background-color: #8c5333;
}




@media (max-width: 600px) {
  .comment-form-1,
  .comment-form-2 {
    flex-direction: column;
    align-items: stretch;
  }

  .comment-form-1 textarea,
  .comment-form-2 input {
    width: 100%;
    height: auto; /* Allow height to adjust */
  }

  .comment-form-1 button[type="submit"],
  .comment-form-2 button[type="submit"] {
    width: 100%;
    padding: 12px 0;
  }
}


.swiper-button-next{
display:none !important;
}

.swiper-button-prev{
display:none !important;
}