.CategorySearch {
  display: flex;
  justify-content: center;
  gap: 70px;
  font-size: 25px;
  margin-top: 15px;
  width: 100%;
}
.CategorySearch h5 {
  font-weight: 400;
  font-family: "Nunito Sans", sans-serif;
}
.Recommendations {
  margin-top: 100px;
}
.container {
  max-width: 100%;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 7px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.primary-menu {
  display: flex;
  margin-bottom: 20px;
  gap: 10px;
}

.primary-menu a {
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap;
  background-color: #bcbec0;
}

.primary-menu a:hover {
  background-color: #e9ecef;
}

.primary-menu a.active {
  background-color: #0772ed; 
  color: #fff;
  font-weight: bold;
}

.secondary-category {
  display: flex;
  margin-bottom: 30px;
  gap: 10px;
}

.secondary-category a {
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  border-radius: 5px;
  font-size: 14px;
  background-color: #e9ecef;
  transition: background-color 0.3s;
  white-space: nowrap; 
}

.secondary-category a:hover {
  background-color: #dee2e6;
}

.secondary-category a.active {
  background-color: #e9ecef;
  font-weight: bold;
}

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

.destination-link {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  padding: 5px 0;
  transition: color 0.3s;
  white-space: nowrap;
}

.destination-link:hover {
  color: #007bff;
}

.container-wonder {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-top: 70px;
}

.header-wonder {
  text-align: center;
  margin-bottom: 25px;
  padding-top: 10px;
}

.container-wonder h1 {
  font-size: 4.2rem;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  color: white;
}

.subtitle {
  font-size: 1.2rem;
  color: #b0c4de;
  max-width: 600px;
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  gap: 30px;
  align-items: stretch;
  height: 450px;
}

.cards-section {
  flex: 1;
  position: relative;
  height: 420px;
}

.cards-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  height: 420px;
  margin-left: 50px;
}

.card {
  position: absolute;
  width: 280px;
  height: 380px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.7s ease,
    z-index 0.7s ease;
  cursor: pointer;
  left: 35%;
  transform: translateX(-50%);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-darker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(10px);
  transition: transform 0.5s ease;
}

.card h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-price {
  display: inline-block;
  background: white;
  color: black;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: bold;
  margin-top: 3px;
  font-size: 0.8rem;
}

.card.active {
  transform: translateX(-50%) scale(1.05);
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.card.active img {
  transform: scale(1.05);
}

.card.active .card-overlay {
  transform: translateY(0);
}

.card.prev {
  transform: translateX(-100%) scale(0.9);
  opacity: 0.8;
  z-index: 5;
  filter: brightness(0.8);
}

.card.next {
  transform: translateX(0%) scale(0.9);
  opacity: 0.8;
  z-index: 5;
  filter: brightness(0.8);
}

.card.hidden {
  opacity: 0;
  z-index: 1;
}

.description-section {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 35px;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.destination-title {
  font-size: 1.6rem;
  margin-bottom: 4px;
  color: white;
  line-height: 1.2;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.destination-location {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  color: #b0c4de;
  font-size: 0.75rem;
}

.destination-location i {
  color: #ffffff;
  font-size: 0.7rem;
}

.description-text {
  line-height: 1.35;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #e6f0ff;
  flex-shrink: 0;
  height: 60px;
  overflow: hidden;
}

.highlight-section {
  background: rgba(96, 94, 94, 0.253);
  border-radius: 6px;
  padding: 8px;
  margin: 6px 0;
  border-left: 2px solid #ffffff;
  flex: 1;
  height: fit-content;
  overflow: hidden;
  color: white;
}

.highlight-title {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.highlight-title i {
  font-size: 1rem;
}

.highlight-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  margin-bottom: 2px;
  padding-left: 12px;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.25;
}

.highlight-list li:before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #4ade80;
  font-size: 0.8rem;
}

.travel-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-top: 5px;
  flex-shrink: 0;
  height: 70px;
}

.info-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 6px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-label {
  font-size: 0.7rem;
  color: #b0c4de;
  margin-bottom: 1px;
}

.info-value {
  font-size: 0.9rem;
  font-weight: bold;
  color: #ffffff;
}

.indicators {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #ffffff;
  transform: scale(1.3);
}

.containerReview {
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 100px;
  opacity: 1;
  transform: translateY(0);
}

.page-title {
  font-size: 4rem;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: center;
  font-family: "Nunito Sans", sans-serif;
}

.page-subtitle {
  text-align: center;
  color: #b8bfc0;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.iconic-image {
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
.iconic-large .iconic-image {
  background-image: url("https://res.cloudinary.com/dicrvjstp/image/upload/v1765884274/15-Iconic-Places-in-the-World_Eiffel-Tower-Paris-France_rh2010_Adobe-Stock-Photo_lgydnh.jpg");
  min-height: 100%;
}
.iconic-small .iconic-image {
  background-image: url("https://via.placeholder.com/600x200?text=Hillside+Farm");
}
.iconic-x-small .iconic-image {
  background-image: url("https://via.placeholder.com/300x200?text=City+View");
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 100%;
  width: 100%;
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  
}
.right-column .iconic-image:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.iconic-large .iconic-image:hover{
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.bottom-right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.iconic {
  background: white;
  background: #464646;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.iconic-info {
  padding: 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
}

.iconic-info h3 {
  margin: 0;
  font-size: 1.1em;
  font-weight: bold;
}

.iconic-info p {
  margin: 5px 0 0;
  font-size: 0.85em;
  color: #ccc;
}

.iconic-price {
  font-size: 1.2em;
  font-weight: bolder;
  margin-top: 10px;
}

.iconic-small .iconic-image {
  height: 100%;
  min-height: 420px;
}

.iconic-x-small .iconic-image {
  padding-bottom: 75%;
}

.reviews-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.featured-review {
  flex: 1;
  min-width: 300px;
  max-width: 25%;
}

.section-title {
  font-size: 1.8rem;
  color: #ffffffde;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ffffff6e;
}

.featured-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(165, 165, 165, 0.08);
  padding: 25px;
  transition: transform 0.3s ease;
  cursor: default;
  position: relative;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.featured-card::after {
  content: none;
}

.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.user-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #000000;
  margin-right: 15px;
}

.user-details h3 {
  font-size: 1.4rem;
  color: #424243;
  margin-bottom: 5px;
}

.trip-date {
  color: #7f8c8d;
  font-size: 0.9rem;
}

.rating {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  background-color: #f8f9fa;
  padding: 10px 15px;
  border-radius: 8px;
}

.stars {
  color: #f1c40f;
  font-size: 1.2rem;
  margin-right: 15px;
}

.rating-value {
  font-weight: bold;
  color: #2c3e50;
  font-size: 1.1rem;
}

.review-content {
  margin-bottom: 20px;
}

.review-title {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.review-text {
  color: #555;
  line-height: 1.7;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #7f8c8d;
}

.helpful-count i {
  color: #3498db;
  margin-right: 5px;
}

.other-reviews {
  flex: 3;
  min-width: 300px;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-options label {
  font-weight: 600;
  color: #ffffff;
}

#sort-select {
  padding: 8px 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background-color: white;
  color: #333;
  font-size: 1rem;
  cursor: pointer;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.review-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default; 
  position: relative;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.review-card-user {
  display: flex;
  align-items: center;
}

.review-card-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  border: 2px solid #000000;
}

.review-card-name {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 3px;
}

.review-card-date {
  font-size: 0.85rem;
  color: #7f8c8d;
}

.review-card-rating {
  color: #f1c40f;
  font-size: 1rem;
}

.review-card-title {
  font-size: 1.1rem;
  color: #2b2e32;
  margin-bottom: 10px;
}

.review-card-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7f8c8d;
}

.review-card-helpful {
  display: flex;
  align-items: center;
  gap: 5px;
}

.review-card-helpful i {
  color: #3498db;
  cursor: default; 
  transition: color 0.2s;
}

.review-card-helpful i.active {
  color: #2980b9;
}

.load-more-container {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  padding: 12px 30px;
  background-color: #e15454;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: default; 
  transition: background-color 0.3s, transform 0.2s;
}

.load-more-btn:hover {
  background-color: #a72828;
  transform: translateY(
    0
  );
}

.load-more-btn:active {
  transform: translateY(0);
}

@media (max-width: 1224px) {
  .cards-section {
    height: 350px;
  }

  .cards-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 138px;
    height: 350px;
  }

  .card {
    width: 250px;
    height: 320px;
  }

  .description-section {
    display: none;
    height: auto;
    min-height: 350px;
    padding: 35px;
    margin-top: 50px;
    position: relative;
  }

  .travel-info {
    height: 65px;
  }
  .indicators {
    position: relative;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-container {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .reviews-container {
    flex-direction: column;
  }

  .featured-review {
    max-width: 100%;
  }

  .other-reviews {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
  .container-wonder {
    margin-top: 70px;
  }

  .header-wonder h1 {
    font-size: 2.1rem;
  }

  .subtitle {
    font-size: 0.8rem;
  }

  .cards-section {
    height: 300px;
  }

  .cards-wrapper {
    margin-left: -1px;
    height: 300px;
    margin-top: 10px;
  }

  .card {
    width: 220px;
    height: 280px;
    left: 50%;
  }

  .indicators {
    position: relative;
  }
  .indicator {
    margin-top: -100px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-title {
    font-size: 2rem;
  }
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 10px;
  }
  .primary-menu,
  .secondary-category {
    flex-wrap: wrap;
  }
  .CategorySearch {
    gap: 25px;
    font-size: 22px;
  }
  .property-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .right-column {
    gap: 10px;
  }

  .bottom-right-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .user-info {
    flex-direction: column;
    text-align: center;
  }

  .user-avatar {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .review-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
@media (max-width: 450px) {
  .CategorySearch {
    gap: 20px;
    font-size: 18px;
    margin-top: 15px;
    width: 100%;
  }
  .content-wrapper {
    overflow-x: hidden;
    margin-bottom: -30px;
    margin-top: 50px;
  }
  .destinations-grid a {
    font-size: 14px;
  }
  
}
