/* Global defaults */
:root {
  --text: #f4f4f4;
  --gap: 12px;
  --radius: 16px;
  --hero-overlay-start: rgba(0,0,0,0.55);
  --hero-overlay-end: #0b0b0b;
  --nav-overlay-top: rgba(0,0,0,0.85);
  --gradient: linear-gradient(135deg, #b37e0d, #fdf2a5);
  --mainBg: #1a1a1a;
  --gray2: #313131;
  --golden-dark: #b37e0d;
  --golden-light: #fdf2a5;
  --golden: #e2c164;
  --text-light-gray: #d0d0d0;
}

@font-face {
  font-family: 'Fractul Variable';
  src: url('/assets/fonts/fractul-variable.woff2') format('woff2');
  font-weight: 100 900; /* variable range */
}

a {
  text-decoration:none;
}

h2 {
  font-size:22px;
}
.br {
  border-radius:var(--radius);
}
.mainBg {
  background:var(--mainBg)
}
.gradientBg {
  background: var(--gradient);
  color:#000000;
}
.btn-outline {
  border-color: var(--golden);
  color: #f4f4f4;
}
.btn-primary {
  border-radius:99px;
  border:none;
}
.btn-outline-secondary {
  display:flex;
  align-items:center;
  justify-content:center;
}

.text-muted {
  color:#3e3d3d !important;
}
.mini-icon {
  height:10px;
}
body , .modal-content{
  font-family: "fractul-variable", sans-serif;
  background-color: #000000;
  color: #ffffff;
  
}
#qrModal .modal-content{
  background-color: #FFFFFF;
}
#qrModalLabel {
  color:#000;
}

.navbar {
  background: linear-gradient(to bottom, rgba(0,0,0,0.90), rgba(0,0,0,0));
  position: fixed;
  top: 0;
  width: 100%;
  z-index:20;
  transition: backdrop-filter 0.3s ease;
}

.navbar .login-register-btn {
  background:var(--gradient);
  color:#000000;
  border:none;
  align-items:center;
  display:flex;
}

.navbar.scrolled {
  backdrop-filter: blur(7px);
}

.navbar .nav-link, .nav-link:hover{
  color: var(--text)
}

/* Select2 event search */
.navbar > .container {
  position: relative;
}

.navbar-nav-select-wrapper {
  width: 100%;
  margin: 0.75rem 0;
  order: 2;
}

@media (min-width: 992px) {
  .navbar-nav-select-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    margin: 0;
    order: unset;
  }
}

/* Search box styling */
.nav-search-container {
  position: relative;
  width: 100%;
}

.nav-search-input {
  width: 100% !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid #555 !important;
  border-radius: 99px !important;
  height: 40px !important;
  padding: 0 16px 0 36px !important;
  color: #f4f4f4 !important;
  font-size: 0.9rem !important;
  line-height: 40px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.nav-search-input::placeholder {
  color: #999 !important;
}

.nav-search-input:focus {
  background: rgba(255,255,255,0.12) !important;
  border-color: #777 !important;
}

.nav-search-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: transparent;
  border: none;
  border-radius: 0 0 12px 12px;
  list-style: none;
  padding: 8px 0 0 0;
  margin: 0;
  max-height: 300px;
  overflow-y: auto;
  display: block;
  z-index: 999;
}

.nav-search-list li {
  padding: 10px 16px;
  color: #ccc;
  font-size: 0.9rem;
  cursor: pointer;
  background: rgba(0,0,0,0.88);
  border: none;
  margin: 4px 0;
  border-radius: 8px;
  font-weight:700;
}

.nav-search-list li:first-child {
  margin-top: 0;
}

.nav-search-list li:last-child {
  margin-bottom: 0;
}

.nav-search-list li:hover,
.nav-search-list li.selected {
  background: var(--gradient);
  color: #000;
}

/* Search icon */
.nav-search-container::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat center;
  pointer-events: none;
  z-index: 1;
}

.title .gold{
  border-radius: var(--radius);
  color:var(--golden);
}
.navbar .logo {
  height:70px;
}
.navbar-expand-lg .navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    margin-left: auto;
  }
}

@media (max-width: 991px) {
  .navbar .navbar-collapse {
    padding: 1rem 0;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    order: 3;
    width: 100%;
    padding-top: 0.5rem;
  }

  .navbar .logo {
    height: 50px;
  }

  .navbar {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  /* Mobile nav modal */
  #navModal .modal-content {
    background-color: #000000;
  }

  #navModal .modal-header {
    background-color: #1a1a1a;
  }

  #navModal .nav-link {
    color: #f4f4f4;
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  #navModal .nav-link:hover {
    color: var(--golden);
  }

  #navModal .nav-link.active {
    color: var(--golden);
  }

  #navModal .lang-flag {
    height: 18px;
    margin-right: 8px;
  }
}

/* Language dropdown */
.lang-dropdown {
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.6rem;
}

.lang-menu {
  background: #fff2;
  border: 1px solid hsl(0, 0%, 20%);
  min-width: auto;
}

.lang-menu .dropdown-item {
  color: #ccc;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
}

.lang-menu .dropdown-item:hover,
.lang-menu .dropdown-item.active {
  background: var(--mainBg);
  color: #fff;
}

.lang-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 4px;
}

.gold {
  color: #f4f4f4;
}

.section-box {
  background: var(--mainBg);
  border-radius: var(--radius);
  padding: 3rem;
}

.form-control,.form-select {
  background: var(--gray2);
  color: #fff;
  border: none;
  border-radius: 0px;
  border-radius:99px;
  padding-left:20px;
}
.form-control:focus {
  background: var(--gray2);
  color: #fff;
  outline:none;
  border: none;
  box-shadow:none;
}

.form-control::placeholder {
  color: #777;
}

.swiper-button-next .swiper-navigation-icon,
.swiper-button-prev .swiper-navigation-icon {
  display:none;
}

.swiper-button-next::after,
.swiper-container-rtl .swiper-button-prev::after,
.swiper-button-prev::after {
  content: "";
  opacity: 1;
}

.swiper-big-container .swiper-button-next,
.swiper-big-container .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background:#ffffff50;
  padding:10px 10px;
  border-radius:99px;
  height: auto;
  margin: 0;
}

.swiper-big-container .swiper-button-next {
  right: -5px;
}

.swiper-big-container .swiper-button-prev {
  left: -5px;
}

.swiper-button-next img,
.swiper-button-prev img {
  height: 20px;
}

.swiper-button-next {
  right: 0;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-prev img {
  transform: rotate(180deg);
}

.swiper-big-container {
  position: relative;
}

footer {
  color: #777;
}

footer .extras a{
  color:#3e3d3d
}

footer .footer-logo {
  height:70px;
}

footer .section-box {
  background-image: url('../../assets/images/logo_simple.png');
  background-size: 30%;
  background-position: right  bottom ;
  background-repeat: no-repeat;
}

footer .socialMedia {
  margin-top:20px;
  margin-bottom:20px;
}
footer .followUs {
  font-size:30px;
  text-align:center;
  color:#3e3d3d;
  font-weight:800;
}

footer .socialMedia .sm-logo{
  height:40px
}

/* Footer contact buttons */
.footer-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px auto;
  width: 500px;
  flex-wrap: wrap;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 99px;
  padding: 12px 28px;
  text-decoration: none;
  transition: opacity 0.2s;
  width: 240px;
  justify-content: center;
}

.btn-contact:nth-child(3) {
  display: block;
  margin-top: 12px;
}

.btn-contact:hover, .btn-primary:hover, .btn-buy:hover, .btn-inspect:hover, .gotoDetail:hover,.login-register-btn:hover  {
  opacity: 0.85;
  color: #000;
}

.btn-contact svg {
  flex-shrink: 0;
}

/* Social icons below footer box */
.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.footer-social-icons .sm-logo {
  height: 32px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-social-icons .sm-logo:hover {
  opacity: 1;
}



.inputLabel {
  padding-left:10px;
  padding-bottom:10px;
}
.form-control, .btn-primary, .form-select, .btn {
  height:45px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-outline-secondary {
  border-radius:99px;
}

@media screen and (max-width:991px) {
  footer .footer-logo {
    height:50px;
  }

  footer .followUs {
    font-size:25px;
  }

  .footer-contact-buttons {
    flex-direction: column;
    align-items: center;
    width:auto;
  }

  .btn-contact {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    font-size:0.75rem;
    margin-top:0px !important;
  }
}
/* ---------- Blog Cards ---------- */
.blogDiv {
  background: #151515;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blogDiv:hover {
  transform: translateY(-6px);
}

.blogDiv .imageWrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #1a1a1a;
}

.blogDiv .imageElem {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blogDiv .text {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blogDiv .linkElem {
  text-decoration: none;
  color: inherit;
}

.blogDiv .nameElem {
  font-size: 1rem;
  font-weight: 600;
  color: #ddd;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.blogDiv .linkElem:hover .nameElem {
  color: var(--golden);
}

.blogDiv .miniDate {
  font-size: 0.85rem;
  color: #999;
  display: block;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.whitebg {
  background-color: #151515;
}

.br-small {
  border-radius: 8px;
}


.alert-info {
  --bs-alert-color: #000;
  --bs-alert-bg: var(--golden);
  --bs-alert-border-color: none;
  --bs-alert-link-color: none;
  font-weight:700;
}