.btn-outline-light1 {
  border: 2px solid purple;
  background-color: transparent;
  color: white;
  padding: 10px 24px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;

  animation: heartbeatPurple 2.5s infinite;
  box-shadow: 0 0 8px rgba(128, 0, 128, 0.3);
}

/* Heartbeat with solid purple at full zoom */
@keyframes heartbeatPurple {
  0%, 100% {
    transform: scale(1);
    background-color: transparent;
    box-shadow: 0 0 8px rgba(128, 0, 128, 0.3);
  }
  50% {
    transform: scale(1.05);
    background-color: purple;
    box-shadow: 0 0 14px rgba(128, 0, 128, 0.5);
  }
}

/* Hover effect */
.btn-outline-light1:hover {
  background-color: purple;
  color: white;
  box-shadow: 0 0 18px rgba(128, 0, 128, 0.8);
  transform: scale(1.05);
  animation: none; /* Pause heartbeat on hover */
}

/* Pink line at bottom */
.pink-line {
  background-color: rgb(248, 0, 178); /* Dark background for active button */
  color: black; /* Text color */
  text-align: center;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Center div style */
.full-screen {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.content-container {
  width: 100%;
  max-width: 800px;
  padding: 5px;
  text-align: center;
  box-sizing: border-box;
  border-radius: 8px;
}

.content-heading {
  margin: 0;
  font-size: 2rem;
  color: #333;
}

.content-text {
  font-size: 18px;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

/* Photo grid layout */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
}

@media (min-width: 576px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Photo items */
.photo-item {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Entrance animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation delays */
.photo-item:nth-child(1) { animation-delay: 0s; }
.photo-item:nth-child(2) { animation-delay: 0.2s; }
.photo-item:nth-child(3) { animation-delay: 0.4s; }
.photo-item:nth-child(4) { animation-delay: 0.6s; }
.photo-item:nth-child(5) { animation-delay: 0.8s; }
.photo-item:nth-child(6) { animation-delay: 1s; }
.photo-item:nth-child(7) { animation-delay: 1.2s; }

/* 2 columns CSS */
.container1 {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin-top: 50px;
  margin-bottom: 50px;
  border: 1px solid purple;
  padding-bottom: 20px;
}

.column1, .column2 {
  flex: 0 0 50%;
  padding: 10px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .column1, .column2 {
    flex: 0 0 100%;
  }
}

/* Carousel styles */
#sk__project-1-gallery-basic {
  position: relative;
  width: 100%;
  max-height: 800px;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  align-items: center;
  width: 100%;
  height: 800px;
  justify-content: center;
}

.carousel-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control-prev, .carousel-control-next {
  z-index: 10;
}

/* Header container */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.h4-dark {
  /* Placeholder for h4 styles */
}

.book-now-button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.book-now-button:hover {
  background-color: #0056b3;
}

/* JavaScript dynamic line insertion uses flexbox on p tags */
p {
  /* default styling, will be overridden by JS */
}

/* Table and rate styles */
.table-title {
  text-align: center;
  font-family: Arial, sans-serif;
  color: white;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.rates-table th,
.rates-table td {
  padding: 10px;
  text-align: left;
  font-family: Arial, sans-serif;
  color: white;
}

.rates-table th {
  background-color: #333;
}

.rates-table tr:nth-child(even) {
  background-color: rgba(68, 68, 68, 0.5);
}

.rates-table tr:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Languages, tags, location containers and buttons */
.languages-container, .tags-container, .location-container {
  margin-top: 10px;
  margin-bottom: 20px;
}

.btn-language, .btn-tag, .btn-location {
  border: 1px solid purple;
  border-radius: 20px;
  padding: 5px 12px;
  margin-right: 8px;
  margin-bottom: 2px;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  background-color: transparent;
  cursor: not-allowed;
  text-align: center;
  font-family: Arial, sans-serif;
  text-transform: capitalize;
}

.languages-container, .tags-container {
  display: flex;
  flex-wrap: wrap;
}

.btn-language:hover, .btn-tag:hover, .btn-location:hover {
  border-color: #ccc;
}

/* Grid container for 2 columns layout */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.column-one, .column-two {
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.column-one p, .column-two p {
  margin: 10px 0;
  line-height: 1;
}

.label {
  font-weight: bold;
  text-align: left;
  text-transform: uppercase;
  flex-basis: 40%;
  font-size: 20px;
}

.value {
  text-align: right;
  text-transform: uppercase;
  color: rgb(248, 0, 178);
  flex-basis: 60%;
  font-weight: bold;
  font-size: 20px;
}

/* Responsive div styling */
.responsive-div {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.responsive-div h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.responsive-div p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive for very small screens */
@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .column-one, .column-two {
    width: 100%;
    padding: 10px;
  }

  .column-one p, .column-two p {
    margin: 5px 0;
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .responsive-div {
    width: 100%;
    padding: 10px;
  }

  .responsive-div h3 {
    font-size: 1.3rem;
  }

  .responsive-div p {
    font-size: 1.1rem;
  }
}

/* Responsive for medium size screens */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .column-one, .column-two {
    width: 100%;
  }

  .column-one p, .column-two p {
    margin: 5px 0;
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .responsive-div {
    width: 100%;
  }

  .responsive-div h3 {
    font-size: 1.4rem;
  }

  .responsive-div p {
    font-size: 1.2rem;
  }
}

/* Responsive for large screens */
@media (min-width: 769px) {
  .grid-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Back to Gallery */
.back-to-gallery {
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.back-to-gallery:hover {
  color: #f39c12;
  border-color: #f39c12;
}

.back-icon {
  font-size: 18px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.back-to-gallery:hover .back-icon {
  transform: translateX(-5px);
}

/* Review Summary */
.review-summary {
  text-align: center;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-summary p {
  font-size: 1.2em;
  margin: 5px 0;
}

.review-summary strong {
  font-size: 1.5em;
  color: rgb(193, 0, 241);
}
