/* Base Styles */
:root {
  --dominant-color: #2c3e50;
  --highlight-color: #e74c3c;
  --action-color: #3498db;
  --bright-color: #ecf0f1;
  --deep-color: #2c3e50;
  --content-color: #333;
  --content-light: #7f8c8d;
  --smooth-transition: all 0.3s ease;
  --soft-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


.container-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--deep-color);
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  height: auto;
}
.footer-img{
  max-width: 100%;
  height: 100px !important;
}

a {
  text-decoration: none;
  color: var(--action-color);
  transition: var(--smooth-transition);
}

a:hover {
  color: var(--highlight-color);
}

ul {
  list-style: none;
}

/* Button Styles */
.action-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--action-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--smooth-transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--soft-shadow);
}

.action-btn:hover {
  background-color: var(--highlight-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.action-btn-secondary {
  background-color: var(--highlight-color);
}

.action-btn-secondary:hover {
  background-color: #c0392b;
}

/* Property Section */
.premium-listing-section {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.premium-listing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.1) 0%,
    rgba(52, 152, 219, 0.1) 100%
  );
  z-index: 0;
  opacity: 0.5;
}

.listing-content-box {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: var(--smooth-transition);
}

.listing-content-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.listing-header-area {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(
    to right,
    var(--dominant-color),
    var(--deep-color)
  );
  color: white;
  position: relative;
  overflow: hidden;
}

.listing-header-area::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==");
  opacity: 0.3;
}

.listing-header-area .header-left-content .listing-main-title {
  color: white;
  margin-bottom: 10px;
  position: relative;
  animation: fadeInDown 0.8s ease;
}

.listing-header-area .listing-location {
  display: flex;
  align-items: center;
  font-size: 18px;
  opacity: 0.9;
  animation: fadeInLeft 0.8s ease 0.2s both;
}

.listing-header-area .listing-location img {
  margin-right: 10px;
  width: 20px;
  filter: brightness(0) invert(1);
}

/* Image Gallery */
.listing-gallery-wrapper {
  position: relative;
  padding: 20px;
  background-color: #f5f5f5;
}

.featured-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: var(--smooth-transition);
  animation: zoomIn 0.8s ease;
}

.featured-image:hover {
  transform: scale(1.01);
}

.gallery-thumbnails {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--action-color) #f1f1f1;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 8px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background-color: var(--action-color);
  border-radius: 10px;
}

.gallery-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--smooth-transition);
  opacity: 0.8;
  border: 2px solid transparent;
  flex-shrink: 0;
  animation: fadeIn 0.5s ease;
}

.gallery-thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
  border-color: var(--action-color);
}

.gallery-thumb.active-thumb {
  opacity: 1;
  border-color: var(--highlight-color);
}

/* Content Section */
.listing-details-content {
  padding: 30px;
}

/* Facilities List */
.facilities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.facilities-list li {
  display: flex;
  align-items: center;
  background-color: var(--bright-color);
  padding: 15px;
  border-radius: 8px;
  flex: 1 1 200px;
  min-width: 200px;
  transition: var(--smooth-transition);
  animation: fadeInUp 0.5s ease;
  animation-fill-mode: both;
}

.facilities-list li:hover {
  transform: translateY(-5px);
  box-shadow: var(--soft-shadow);
}

.facilities-list li h4 {
  margin: 0;
  font-size: 16px;
  color: var(--content-color);
}

/* Call to Action */
.listing-cta-area {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(
    135deg,
    var(--dominant-color) 0%,
    var(--deep-color) 100%
  );
  color: white;
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.listing-cta-area::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  animation: pulse 8s infinite linear;
}

.listing-cta-area h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Floating Elements */
.floating-dot {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
  z-index: 0;
}

.floating-dot:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 5%;
  animation-delay: 0s;
}

.floating-dot:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 10%;
  right: 5%;
  animation-delay: 1s;
}

.floating-dot:nth-child(3) {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 10%;
  animation-delay: 2s;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .listing-header-area {
    flex-direction: column;
    text-align: center;
  }

  .listing-header-area .header-left-content,
  .listing-header-area .right {
    width: 100%;
    justify-content: center;
  }

  .listing-header-area .listing-location {
    justify-content: center;
  }

  .featured-image {
    height: 350px;
  }

  .cta-buttons-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .featured-image {
    height: 250px;
  }

  .gallery-thumb {
    width: 80px;
    height: 60px;
  }
}