* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #1a1a1a;
  color: #ffffff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: block;
}

@media (max-width: 1930px) {
.hero-section {
  
  height: 75vh !important;

  
}
}



.navbar {
  background-image: url("../images/dark-grey-texture.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 0 0px 0;
  border-bottom: 3px solid #b40b0b;
}

.navbar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.navbar > .container-fluid {
    position: relative;
    z-index: 1;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  color: #dc2626;
  letter-spacing: 2px;
  line-height: 1;
}

.logo-subtext {
  font-size: 0.75rem;
  color: #ffffff;
  letter-spacing: 3px;
  border-top: 2px solid #ffffff;
  padding-top: 2px;
  margin-top: 2px;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #ff0000 !important;
}

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

.nav-separator {
  color: #666;
  margin: 0 0.5rem;
}

.btn-book-now {
  background-color: #dd2b31;
  background: linear-gradient(180deg, rgba(221, 43, 49, 1) 0%, rgb(119, 17, 23) 100%);
  padding: 1px 36px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffffff;
  transition: all 0.3s;
  border-radius: 0;
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: #e15055 #791218 #791218 #791218;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  height: 33px;
}

.btn-book-now:hover {
  background-color: #b91c1c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Mobile Sidebar Styles - Right Side */
@media (max-width: 991.98px) {
    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #1a1a1a;
        z-index: 9999;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    }

    .mobile-sidebar.show {
        right: 0;
    }

    /* Backdrop */
    .mobile-sidebar.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: calc(100vw - 280px);
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    /* Sidebar Header */
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #333;
    }

    .mobile-welcome {
        font-size: 18px;
        font-weight: 700;
        color: #ffffff;
    }

    .sidebar-header .btn-close {
        font-size: 1rem;
    }

    /* Mobile Only / Desktop Only */
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    /* Navbar Nav */
    .navbar-nav {
        padding: 0;
    }

    /* Mobile Menu Item */
    .mobile-menu-item {
        display: flex;
        align-items: center;
        padding: 15px 20px !important;
        color: #ffffff !important;
        text-decoration: none;
        border-bottom: 1px solid #2a2a2a;
        transition: background-color 0.2s;
    }

    .mobile-menu-item:hover {
        background-color: rgba(255, 0, 0, 0.1);
    }

    .menu-item-content {
        display: flex;
        align-items: center;
        gap: 15px;
        flex: 1;
    }

    .menu-icon {
        font-size: 20px;
        color: #ffffff;
        width: 24px;
    }

    /* Mobile Dropdown */
    .mobile-dropdown {
        border-bottom: 1px solid #2a2a2a;
    }

    .mobile-dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        background: transparent;
        border: none;
        color: #ffffff;
        text-align: left;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .mobile-dropdown-toggle:hover {
        background-color: rgba(255, 0, 0, 0.1);
    }

    .dropdown-arrow {
        font-size: 14px;
        color: #dc2626;
        transition: transform 0.3s;
    }

    .dropdown-arrow.rotated {
        transform: rotate(180deg);
    }

    /* Dropdown Menu */
    .mobile-dropdown-menu {
        background-color: #0f0f0f;
    }

    .dropdown-sub-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 20px 12px 50px;
        color: #cccccc;
        text-decoration: none;
        font-size: 14px;
        border-bottom: 1px solid #1a1a1a;
        transition: all 0.2s;
    }

    .dropdown-sub-item:hover {
        background-color: rgba(255, 0, 0, 0.05);
        color: #ffffff;
        padding-left: 55px;
    }

    .sub-icon {
        font-size: 16px;
        color: #999;
    }

    /* Logout Button */
    .mobile-logout-btn {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        background: transparent;
        border: none;
        border-bottom: 1px solid #2a2a2a;
        color: #dc2626;
        text-align: left;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .mobile-logout-btn:hover {
        background-color: rgba(220, 38, 38, 0.1);
    }

    /* Scrollbar */
    .mobile-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .mobile-sidebar::-webkit-scrollbar-track {
        background: #0f0f0f;
    }

    .mobile-sidebar::-webkit-scrollbar-thumb {
        background: #dc2626;
        border-radius: 3px;
    }

    .mobile-sidebar::-webkit-scrollbar-thumb:hover {
        background: #b91c1c;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }

    .sidebar-header {
        display: none;
    }
}


.hero-section {
  position: relative;
  height: 515px;
  /* background-image: url(../images/mechanix-banner-5.jpg); */
  background-size: cover;
  background-position: center;
  padding-left: 4rem;
  display: flex;
  background-position: center 12%;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 0;
  width: 100%;
  
}

.hero-overlay {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.125), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1498px;
  margin-top: 30px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
    padding-top: 40px;
}

.btn-hero-primary {
  background-color: #dd2b31;
  background: linear-gradient(180deg, rgba(221, 43, 49, 1) 0%, rgb(119, 17, 23) 100%);
  padding: 7px 66px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.3s;
  margin-left: 21px;
  border-radius: 0;
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: #e15055 #791218 #791218 #791218;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  height: 46px;
}

.btn-hero-primary:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-hero-secondary {
  background: #35363a;
  background: linear-gradient(170deg, rgba(53, 54, 58, 1) 0%, rgba(20, 20, 24, 1) 100%);
  padding: 7px 66px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.3s;
  border-radius: 0;
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: #4f5156 #35363a #35363a #4f5156;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  height: 46px;
}

.car-box {
  position: absolute;
  bottom: -55px;
  right: 0px;
  width: 86%;
  text-align: right;
}

.btn-hero-secondary:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.services-icons {
  background-color: #1a1a1a;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.services-icons::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/dark-grey-texture.png") center / cover no-repeat;
  opacity: 1;
  z-index: 0;
}

.services-icons::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.services-icons > .container {
  position: relative;
  z-index: 1;
}

.service-item {
  text-align: center;
  padding: 0rem 1rem;
  transition: transform 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3.5rem;
  color: #dc2626;
  margin-bottom: 1rem;
}

.services-icons {
  padding: 0.5rem 0;
  background: transparent;
}

.services-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.service-item-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 550;
  font-size: 1.1rem;
  text-transform: capitalize;
}

.service-item-custom img {
  width: 72px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
}

.service-divider {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
  font-weight: 300;
}

.service-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.membership-section {
  position: relative;
  padding: 2rem 2rem 0rem;
  border-top: 1px solid #333;
  overflow: hidden;
}

.membership-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/dark-grey-texture.png") center / cover no-repeat;
  opacity: 1;
  z-index: 0;
  letter-spacing: 1px;
}

.membership-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 53%));
  z-index: 0;
}

.membership-section > * {
  position: relative;
  z-index: 1;
}

.membership-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.membership-subtitle {
  font-size: 1.6rem;
  color: #cccccc;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.membership-section span {
  text-shadow: 0 4px 12px rgb(0, 0, 0);
}

.btn-member {
  background-color: #dd2b31;
  background: linear-gradient(180deg, rgba(221, 43, 49, 1) 0%, rgb(119, 17, 23) 100%);
  padding: 7px 66px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.3s;
  border-radius: 0;
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: #e15055 #791218 #791218 #791218;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  height: 46px;
}

.btn-member:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.footer {
  background-image: url("../images/dark-grey-texture.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid #333;
}

.footer::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

.footer .container,
.footer .footer-content {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #f9eded;
}

.footer-separator {
  color: #666;
}

.social-icon {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #666;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  transform: translateY(-2px);
}

.logo-img {
  height: auto;
  width: auto;
  max-width: 392px;
  object-fit: contain;
  opacity: 32.9;
  transform: none;
}

.navbar-brand {
  padding: 10px 0px 10px 45px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-link span {
  pointer-events: auto;
}

.service-link img {
  display: block;
}

.service-link:hover {
  opacity: 0.85;
}

.mx-demo-ribbon {
  position: fixed;
  top: 220px;
  right: 14px;
  z-index: 99999;
  background: rgba(225, 43, 43, .95);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
}

.mx-demo-ribbon small {
  font-size: 11px;
  font-weight: 600;
  opacity: .95;
  text-transform: none;
  letter-spacing: 0;
}

/* Auth Modal Styles */
#mxAuthModal .modal-dialog {
    max-width: 460px;
}

#mxAuthModal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

#mxAuthModal .modal-header {
    border-bottom: 0;
    padding: 18px 20px 10px;
}

#mxAuthModal .modal-title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.2px;
}

#mxAuthModal .modal-body {
    padding: 14px 20px 20px;
}

#mxAuthModal .nav-tabs {
    border-bottom: 0;
    gap: 10px;
}

#mxAuthModal .nav-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 14px;
    color: #6b7280;
    background: #8b919d;
    transition: all 0.2s ease;
}

#mxAuthModal .nav-tabs .nav-link:hover {
    background: #e5e7eb;
    color: #111827;
}

#mxAuthModal .nav-tabs .nav-link.active {
    background: linear-gradient(180deg, rgba(221, 43, 49, 1) 0%, rgb(119, 17, 23) 100%);
    border: 2px solid #791218;
    color: #fff;
}

#mxAuthModal .form-label {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

#mxAuthModal .form-control {
    border-radius: 12px;
    padding: 11px 12px;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

#mxAuthModal .form-control:focus {
    border-color: #111827;
    box-shadow: 0 0 0 0.18rem rgba(17, 24, 39, 0.12);
}

#mxAuthModal .btn {
    border-radius: 12px;
    padding: 11px 12px;
    font-weight: 800;
}

#mxAuthModal .btn-primary {
    background: #111827;
    border-color: #111827;
}

#mxAuthModal .btn-primary:hover {
    background: #0b1220;
    border-color: #0b1220;
}

#mxAuthModal .btn-success {
    background: #16a34a;
    border-color: #16a34a;
}

#mxAuthModal .btn-success:hover {
    background: #15803d;
    border-color: #15803d;
}

#mxAuthModal .alert {
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

#mxAuthModal .tab-content {
    margin-top: 12px;
}

#mxAuthModal .btn-close {
    transform: scale(0.95);
    opacity: 0.7;
}

#mxAuthModal .btn-close:hover {
    opacity: 1;
}

/* Unavailable rental card styling */
.rental-card.rental-unavailable {
    opacity: 0.75;
}

.rental-img-disabled {
    position: relative;
}

.rental-img-disabled img {
    filter: grayscale(80%);
    opacity: 0.6;
}

.unavailable-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

.unavailable-badge {
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Disabled button */
.rental-btn-disabled {
    background-color: #6c757d !important;
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.7;
}

.rental-btn-disabled:hover {
    background-color: #6c757d !important;
    transform: none !important;
}