body{
    font-family: "Plus Jakarta Sans", serif !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container{
    flex: 1;
}

.navbar {
  height: 5rem;

  background-color: white;
}

.fa-compass {
  color: #fe424d;
  font-size: 2rem;
}

.nav-link {
  color: #222222 !important;
}

/* Footer */

.f-info-links a{
    text-decoration: none;
    color: #222222;
}

.f-info-links a:hover{
    text-decoration: underline;
}

.f-info {
    height: 8rem;
    background-color: #ebebeb;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

.f-info-links{
    width: 100%;
}

.f-info-socials{
    font-size: 1.2rem;
    width: 100%;
}

.f-info-socials i{
    margin-right: 1rem;
}

.f-info-links,
.f-info-socials,
.f-info-brand{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cards */

.listing-card{
    border: none !important;
    margin-bottom: 2rem;
}

.card-img-top{
    border-radius: 1rem !important;
    width: 100% !important;
    object-fit: cover !important;
}

.card-body{
    padding: 0 !important;
}

.card-text p{
    font-weight: 400 !important;
}

.row>a{
    text-decoration: none;
}

.card-img-overlay{
    opacity: 0;
}

.card-img-overlay:hover{
    opacity: 0.2;
    background-color: white;
}

.add-btn,
.edit-btn{
  background-color: #fe424d !important;
  border: none !important;
}

/* show page */

.show-img{
    height: 30vh;
}

.btns{
    display: flex;
}

.show-card{
    padding-left: 0;
    padding-right: 0;
}
/* Map styles */
#map {
    width: 100%;
    height: 30vh;
    min-height: 200px;
    max-height: 400px;
}

 .search-btn {
    background-color: #fe424d !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 0 1rem !important;
  }
  .search-btn:hover {
    background-color: #fe424d !important;
    color: #fff !important;
  }

  .search-btn i {
    display: inline;
    margin-right: 0.5rem !important;
  }
  .search-input {
    border-radius: 25px !important;
    padding: 0.5rem 3rem !important;
    text-align: center !important;
  }

 #filters {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 1rem;
   padding: 1rem;
 }

 .filter {
   text-align: center;
   min-width: 100px;
   flex: 1 1 120px;
   padding: 0.5rem 1rem;
   border: 1px solid #ddd;
   border-radius: 20px;
   background-color: #fff;
   transition: all 0.3s;
   opacity: 0.8;
 }

 .filter:hover {
   opacity: 1;
   cursor: pointer;
   background-color: #f7f7f7;
 }

 .filter p {
   font-size: 0.8rem;
   margin: 0;
 }

  a{
    text-decoration: none !important;
    color: black !important;
  }
  .tax-info{
    display: none;
  }
.tax-switch{
  border: 1px solid black;
  border-radius: 20px ;
  height: 3.5rem;
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
}
/* navbar.css */
/* Base styles */
:root {
  --primary-color: #ff385c;
  --secondary-color: #008489;
  --light-gray: #f7f7f7;
  --dark-gray: #222222;
  --sidebar-width: 280px;
  --transition-speed: 0.3s;
}

/* Navbar styling */
.navbar {
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 10px 0;
  z-index: 1000;
  position: relative;
}

.container-fluid {
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.navbar-brand {
  margin-left: 15px;
}

.navbar-brand i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.nav-link {
  color: #222 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.search-input {
  border-radius: 30px;
  border: 1px solid #ddd;
  padding: 0.6rem 1.2rem;
  min-width: 250px;
  transition: all 0.3s;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(255, 56, 92, 0.25);
}

.search-btn {
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  padding: 0.6rem 1.2rem;
  transition: all 0.3s;
  border: none;
  white-space: nowrap;
}

.search-btn:hover {
  background-color: #e31c5f;
  transform: scale(1.03);
}

/* Sidebar toggle button */
.sidebar-toggle-btn {
  display: flex;
  position: static;
  transform: none;
  z-index: 1001;
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.sidebar-toggle-btn:hover {
  transform: scale(1.05);
  background: #e31c5f;
}

.sidebar-toggle-btn i {
  font-size: 1.3rem;
}

/* Sidebar container */
.sidebar-container {
  position: fixed;
  top: 0;
  right: calc(-1 * var(--sidebar-width));
  left: auto;
  width: var(--sidebar-width);
  height: 100%;
  background: white;
  z-index: 1100; /* Increased to ensure it's above navbar */
  box-shadow: 5px 0 15px rgba(0,0,0,0.1);
  transition: right var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

/* Show sidebar when toggle is active */
#sidebar-toggle:checked ~ .sidebar-container {
  right: 0;
}

/* Darken background when sidebar is open */
#sidebar-toggle:checked ~ .content-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  cursor: pointer;
}

/* Close button inside sidebar */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  transition: all 0.2s;
  z-index: 1003;
}

.close-btn:hover {
  color: var(--primary-color);
}

/* Sidebar content */
.sidebar-header {
  margin-top: 40px;
  margin-bottom: 30px;
  text-align: center;
}

.sidebar-header .sidebar-logo {
  display: block;
  margin: 0 auto 15px;
}

.sidebar-header .sidebar-logo i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.sidebar-header h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 0;
}

.sidebar-header p {
  color: #666;
  margin: 10px 0 0;
}

/* Search form in sidebar */
.sidebar-container .search-form {
  margin: 20px 0;
}

.sidebar-container .search-form .search-input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.sidebar-container .search-btn {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
}

/* Navigation links in sidebar */
.sidebar-nav {
  margin: 30px 0;
}

.sidebar-nav a {
  display: block;
  padding: 15px;
  margin: 8px 0;
  text-decoration: none;
  color: #222;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.sidebar-nav a i {
  margin-right: 12px;
  width: 25px;
  text-align: center;
  font-size: 1.2rem;
}

.sidebar-nav a:hover {
  background: #f5f5f5;
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Footer in sidebar */
.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}
.navbar-text{
  color: #ff385c !important;
  font-size: 1.3rem;
}
/* Responsive adjustments */
@media (min-width: 992px) {
  .sidebar-toggle-btn {
    display: none;
  }
}

@media (max-width: 992px) {
  .container .titlediv{
    font-size: 1.2rem;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  .navbar-collapse {
    background-color: white;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    margin-top: 5px;
  }
  
  .navbar-nav {
    width: 100%;
  }
  
  .search-form {
    margin: 1rem 0;
  }
  
  .search-input {
    min-width: 100%;
  }
  
  .navbar-nav.ms-auto {
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 280px;
  }
  
  .sidebar-toggle-btn {
    width: 35px;
    height: 35px;
  }
  
  .sidebar-header h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  :root {
    --sidebar-width: 100%;
  }
  
  .sidebar-container {
    padding: 15px;
  }
  
  .sidebar-header {
    margin-top: 30px;
  }
  
  .container-fluid {
    padding: 0 10px;
  }
  
  .navbar-brand {
    margin-left: 10px;
  }
}

@media (max-width: 768px) {
  #map {
    height: 25vh;
  }
}

@media (max-width: 480px) {
  #map {
    height: 20vh;
  }
}