@import url("https://fonts.googleapis.com/css2?family=Italiana&family=Poppins:wght@300;400;500&display=swap");

:root {
  --color-headings: #f4ece3; /* Soft Cream */
  --color-body: #5a5b67; /* Soft Slate Gray */
  --color-navBar: #3d1d1d; /* Deep Brown */
  --color-primary: #a97c8d; /* Mauve */
  --color-secondary: #9b8579; /* Taupe */
  --color-highlight: #f4ece3; /* Cream */
  --color-accent: #806b79; /* Muted Purple */
  --color-button: #806b79; /* Use Muted Purple for buttons */
  --color-backgroundmain: #e8d3d1; /* Dusty Rose */
  --color-footer: #5a5b67; /* Use Soft Slate Gray for footer */
  --font-body: "Poppins", sans-serif;
}

/* Base Styles */
body {
  font-family: var(--font-body);
  color: var(--color-body);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 1rem auto;
}

/* Header & Navigation */
.header-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--color-navBar);
  backdrop-filter: blur(5px);
}

.header-logo {
  font-size: 2.5rem;
  letter-spacing: 0.25em;
  font-weight: 300;
  color: var(--color-highlight);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subheading {
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-highlight);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-highlight);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-dot {
  width: 3px;
  height: 3px;
  background-color: var(--color-highlight);
  border-radius: 50%;
  margin: 0 12px;
}

/* Page title section */

.page-title-section {
  margin-top: 8rem; /* Adds significant space below nav */
  /* or */
  padding-top: 8rem; /* Alternative approach */
}

/* Carousel Styles */
.carousel {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-highlight);
  width: 100%;
  max-width: 800px;
  z-index: 2;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s ease;
  color: var(--color-highlight);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background-color: var(--color-navBar);
  position: absolute;
  padding: 1rem 0;
  border-radius: 0.5rem;
  margin-top: 1rem;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-highlight);
}

/* Sections */
.welcome-section {
  background: linear-gradient(
    145deg,
    var(--color-highlight),
    var(--color-backgroundmain)
  );
  padding: 50px 20px;
  border-radius: 8px;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: var(--color-body);
}

/* Service Cards */
.service-card {
  position: relative;
  width: 300px;
  height: 400px;
  background-size: cover;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card p {
  text-align: center;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--color-highlight);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-highlight);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .overlay {
  opacity: 1;
}

.overlay button {
  background-color: var(--color-button);
  color: var(--color-highlight);
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.overlay button:hover {
  background-color: var(--color-primary);
}
/* Pricing Section */
.pricing-section {
  padding: 4rem 0;
}

.pricing-section h2 {
  color: #5a5b67;
  margin-bottom: 3rem;
}

/* Package Cards */
.package-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.package-title {
  color: #36454f;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* List Styling */
.package-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem auto;
  max-width: 90%; /* Keep the content contained */
  text-align: left;
}

.package-list li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: #5a5b67;
}

.package-list li::before {
  content: "•";
  color: #a97c8d; /* Accent color for bullet points */
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* Buttons */
.btn-primary {
  background-color: #a97c8d;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #b2948a;
  transform: translateY(-2px);
}

/* Testimonials */
.testimonial-card {
  background: var(--color-highlight);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.testimonial-text {
  font-style: italic;
  color: var(--color-body);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
}

/* Footer */
.footer {
  background-color: var(--color-footer);
  color: var(--color-highlight);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-link {
  color: var(--color-highlight);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer h5 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--color-primary);
  color: var(--color-highlight);
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--color-button);
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .header-logo {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .carousel-content h2 {
    font-size: 2rem;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  .carousel {
    height: 100vh; /* Reduce height on mobile for better fit */
  }

  .carousel-image {
    object-fit: cover; /* Ensures the entire image is visible */
    object-position: center bottom;
  }

  .rental-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
  }
}
