/* =========================
   NAVBAR (PROFESSIONAL + COMPACT)
========================= */

body {
  margin: 0;
}

.navbar {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  min-height: 120px !important;
   background: #111827 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.navbar .navbar-brand {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
   color: #ffffff !important;
}

.navbar .navbar-brand span {
  font-size: 16px;
  font-weight: 800;
}

.navbar .nav-link {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  font-weight: 600;
  color: #cbd5e1 !important;
}

.navbar .nav-link:hover {
    color: #ffffff !important;
}

.navbar .btn {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* Mobile: make menu spacing clean */
@media (max-width: 991px) {
  .navbar .navbar-nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar .nav-item {
    margin-bottom: 8px;
  }
}



/* Filter Bar */
.filter-card {
    border: none;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

#categoryFilter,
#searchInput {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 0.9rem;
}

#categoryFilter:focus,
#searchInput:focus {
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.12);
}

/* Button */
.btn-dark {
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn-dark:hover {
    transform: translateY(-2px);
}



.rental-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
    height: 100%;
    cursor: pointer;

    /* Responsive sizing */
    flex: 1 1 calc(20% - 1rem);
    min-width: 200px;
    max-width: 250px;
    box-sizing: border-box;
}

.rental-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.rental-card img {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.rental-card .card-body {
    padding: 16px 16px 18px 16px;
}

.rental-card h5 {
    font-size: 1.05rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 10px;
}

.rental-card p {
    margin: 0;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #374151;
}

.click-detail {
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #16a34a;
}



/* =========================
   PORTAL FOOTER
========================= */

.portal-footer {
    background: #6f7068;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 60px;
    position: relative;
}

.portal-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.portal-footer h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.portal-footer p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.portal-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portal-footer .footer-links li {
    margin-bottom: 10px;
}

.portal-footer .footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s ease;
}

.portal-footer .footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Social icons */
.portal-footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.portal-footer .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
    transition: 0.25s ease;
    text-decoration: none;
}

.portal-footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

/* Copyright */
.portal-footer .copyright {
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.portal-footer .copyright p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .portal-footer .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portal-footer .footer-content {
        grid-template-columns: 1fr;
    }
}


.modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

.modal-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    font-weight: 900;
    color: #111827;
}

.modal-body {
    background: #f9fafb;
}

/* Carousel */
#mediaCarousel {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.carousel-item img,
.carousel-item video {
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}

/* Modal list */
.list-group-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px !important;
    margin-bottom: 10px;
    padding: 12px 14px;
    background: #ffffff;
    font-size: 0.95rem;
}

.list-group-item strong {
    color: #111827;
}

.navbar .btn-outline-primary {
  border-color: #cbd5e1 !important;
  color: #ffffff !important;
}

.navbar .btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #ffffff !important;
}

.navbar .btn-primary {
  background: #2563eb !important;
  border-color: #2563eb !important;
}
