/* === Global Layout & Typography === */
body {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #008080;
}

/* === Navbar with Teal Tint Background === */
.navbar {
  background-color: #e0f7f7 !important; /* light teal background */
  color: #008080 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 5rem;
  z-index: 1000;
  position: fixed;
  top: 0;
  width: 100%;
}

.navbar .nav-link,
.navbar a {
  color: #008080 !important;
  font-weight: 600;
  transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar a:hover {
  color: #004d4d !important;
}

.navbar .navbar-brand {
  color: #ff5a50 !important;
  font-weight: bold;
}

.navbar .navbar-brand * {
  color: inherit !important;
}

/* === Banner Section === */
.full-width-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 500px;
  background-image: url("/images/mainnav.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.banner-text {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  text-align: center;
  background: linear-gradient(
    90deg,
    #ffffff 20%,
    #b2e0e0 50%,
    #ffffff 80%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  line-height: 1.3;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === Filters Styling === */
#filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 2rem 0;
}
.filter {
  margin: 0 1rem 1rem 0;
  opacity: 0.7;
  color: #008080;
  font-weight: 500;
  transition: opacity 0.2s, color 0.2s;
}
.filter:hover {
  opacity: 1;
  color: #ff5a50;
  cursor: pointer;
}

/* === Category Section === */
.categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 2rem 0;
}
.category-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 128, 128, 0.4);
}
.category-name {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #008080;
  text-align: center;
}

/* === Subcategory Panels === */
.subcategory-panel {
  margin-top: 15px;
  display: none;
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.subcategory-panel.active {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.subcategory-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}
.subcategory-item i {
  font-size: 1.5rem;
  color: #008080;
}
.subcategory-item span {
  margin-top: 5px;
  font-size: 0.8rem;
  color: #008080;
  text-align: center;
}

/* === Updated Listing Cards Styling with Text Color Changes === */
.cardlink {
  text-decoration: none;
  color: inherit;
}
.listing-card {
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 128, 128, 0.15);
  background-color: #ffffff; /* Ensures card background is white */
}
.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 128, 128, 0.25);
}
.card-img-top {
  height: 18rem;
  object-fit: cover;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  filter: brightness(0.95);
}
.card-body {
  padding: 1rem 1.2rem;
  color: #004d4d; /* Darker text color for better contrast */
}
.card-title {
  font-size: 1.2rem;
  color: #006666;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card-text {
  color: #333; /* Updated to a darker color for better visibility */
  font-size: 0.95rem;
}
.tax-info {
  font-size: 0.85rem;
  color: #666;
}

/* === Footer Info === */
.f-info {
  text-align: center;
  padding: 1rem;
  background: #f2f2f2;
  border-top: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-height: 8rem;
}

.f-info-brand {
  flex: 1 1 100%;
  font-weight: bold;
  margin: 0.5rem 0;
  color: #008080;
}

.f-info-links {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
}

.f-info-links a {
  margin: 0 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
  color: #008080 !important; /* Tint color */
}

.f-info-links a:hover {
  color: #004d4d; /* Darker tint on hover */
}

.f-info-socials {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
}

.f-info-socials i {
  font-size: 1.4rem;
  margin: 0 0.75rem;
  transition: color 0.2s;
  color: #008080;
}

.f-info-socials i:hover {
  color: #333;
}

/* === Responsive Adjustments === */
@media (min-width: 1200px) {
  .categories-container {
    flex-wrap: nowrap;
  }
}



/* Banner */
.banner-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  padding: 2rem 0;
}
.banner-section img {
  width: 90%;
  max-width: 1000px;
  border-radius: 16px;
  border: 4px solid #ff5a50;
}

/* About Section */
.about-section {
  max-width: 850px;
  background-color: #ffffff;
  margin: 3rem auto;
  padding: 2.5rem;
  border: 2px solid #ff5a50;
  border-radius: 16px;
  color: #008080;
}
.about-section h1 {
  font-size: 2.5rem;
  color: #ff5a50;
  margin-bottom: 1rem;
}
.about-section .highlight {
  color: #008080;
}
.about-section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Creator Section */
.creator-highlight {
  background-color: #ffffff;
  padding: 3rem 1rem;
}
.creator-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.creator-wrapper img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #008080;
}
.creator-text {
  flex: 1;
  color: #008080;
}
.creator-text h2 {
  font-size: 2rem;
  color: #ff5a50;
  margin-bottom: 1rem;
}
.creator-text p {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* Closing Note */
.closing-message {
  text-align: center;
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  font-style: italic;
  color: #008080;
  background-color: #ffffff;
  border: 2px solid #ff5a50;
  border-radius: 12px;
}

.contact-container {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: #ffeceb; /* Tint color applied */
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
}

.contact-container h1 {
  font-size: 2.7rem;
  text-align: center;
  color: #ff5a50;
}
.contact-container .highlight {
  color: #ff5a50;
}
.intro-text {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  color: #008080;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

/* Info Block */
.contact-info {
  flex: 1 1 300px;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #ff5a50;
}
.contact-info h2 {
  color: #008080;
  margin-bottom: 1rem;
}
.contact-info p {
  margin: 0.5rem 0;
  font-size: 1.05rem;
}
.contact-info a {
  color: #008080;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
.social-icons {
  margin-top: 1rem;
}
.social-icons a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1rem;
  color: #008080;
  text-decoration: none;
}
.social-icons a:hover {
  text-decoration: underline;
}

/* Form Block */
.contact-form {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-size: 1rem;
  transition: 0.3s ease;
  color: #008080;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff5a50;
  box-shadow: 0 0 0 3px rgba(255, 90, 80, 0.2);
  outline: none;
}
.contact-form button {
  background: #ff5a50;
  color: white;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background: #e34b42;
}

.faq-container {
  max-width: 760px;
  margin: 3rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #ff5a50;
  font-family: 'Segoe UI', sans-serif;
  color: #008080;
}

.faq-container h1 {
  text-align: center;
  color: #ff5a50;
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

details {
  margin-bottom: 1rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #ff5a50;
  padding: 1rem 1.5rem;
  transition: background 0.3s ease;
}

details:hover {
  background: #fff1f0;
}

summary {
  font-weight: 600;
  font-size: 1.15rem;
  color: #008080;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 1.7rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0.1rem;
  transition: transform 0.3s ease;
  color: #ff5a50;
  font-size: 0.9rem;
}

details[open] summary::before {
  transform: rotate(90deg);
}

details p {
  margin-top: 0.75rem;
  padding-left: 0.5rem;
  color: #008080;
  line-height: 1.6;
  font-size: 1rem;
}

a {
  color: #ff5a50 !important;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
.legal-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', sans-serif;
  color: #1f2937;
}

.legal-container h1 {
  text-align: center;
  font-size: 2rem;
  color: #0f766e;
  margin-bottom: 1rem;
}

.legal-container h2 {
  color: #334155;
  margin-top: 2rem;
  font-size: 1.3rem;
}

.legal-container p, .legal-container ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  margin-top: 0.5rem;
}

.legal-container ul {
  padding-left: 1.5rem;
}

.legal-container a {
  color: #0f766e;
  text-decoration: none;
}

.legal-container a:hover {
  text-decoration: underline;
}

  .show-container {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 1.5rem;
  }

  .hero-wrap {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
  }
  .hero-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
  }
  .hero-wrap::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent 30%);
  }

  .info-panel {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 400px;
  }
  .info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .info-category,
  .info-line {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 1rem;
  }
  .info-category i,
  .info-line i {
    margin-right: 0.5rem;
    width: 1rem;
    text-align: center;
  }
  .info-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 0.25rem;
  }
  .info-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }
  .spacer { flex-grow: 1; }
  hr { border: none; border-top: 1px solid #eee; margin: 1rem 0; }

  .btn-book {
    width: 100%;
    padding: 0.75rem;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-bottom: 1rem;
  }
  .btn-book:hover { background: #333; }

  .about-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
  }
  .description { line-height: 1.6; }

  .leave-header,
  .reviews-header {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
  }
  .review-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
  }
  .starability-result,
  .review-card .card-body {
    color: #000;
  }

  .owner-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn-owner-edit,
  .btn-owner-delete {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .btn-owner-edit {
    background-color: #007bff;
    color: #fff;
  }
  .btn-owner-edit:hover {
    background-color: #0056b3;
  }
  .btn-owner-delete {
    background-color: #dc3545;
    color: #fff;
    border: none;
  }
  .btn-owner-delete:hover {
    background-color: #a71d2a;
  }

  @media (max-width: 768px) {
    .hero-wrap img { height: 250px; }
    .info-panel { min-height: auto; }
  }

  .cardlink,
.cardlink:hover {
  text-decoration: none;
}
.card-text i.far.fa-calendar-alt {
  margin-left: 0.5rem; /* adjust this value as needed */
}
.card-text {
  margin-bottom: 0.3rem !important;   /* reduce bottom margin for all texts */
}

.card-date {
  margin-top: 0.2rem !important;  /* reduce space from the price above */
  margin-bottom: 0 !important;    /* remove unnecessary bottom margin */
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
}

.card-date i {
  margin-right: 0.4rem;
  color: #999;
}
@media (max-width: 768px) {
  .navbar-collapse {
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .navbar-collapse a {
    display: block;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 6px;
    text-decoration: none;
    color: #008080;
    font-weight: 500;
  }

  .navbar-collapse a:hover {
    background: #008080;
    color: #fff;
  }
}
footer {
  margin-top: auto;
  width: 100%;             /* Stretch full width */
  background: #f8f9fa;
  padding: 15px 20px;
  text-align: center;
  border-top: 1px solid #ddd;
  color: #333;
  box-sizing: border-box;  /* Prevents overflow */
}
