/* style.css — JMC Angola theme
   (rebuilt from scratch to match the site's visible brand colors; the original
   bundled theme CSS is not available on the server or in any local backup) */

:root {
  --gold: #f5b754;
  --dark: #1b1b1b;
  --cream: #f7f3ea;
  --muted: #7a7a7a;
}

/* ---------- headings / section titles ---------- */
h1 { font-size: 42px; }
h2 { font-size: 32px; }
.section-subtitle {
  display: inline-block; color: var(--gold); font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; font-size: 14px; margin-bottom: 10px;
}
.section-title { font-size: 32px; font-weight: 700; color: var(--dark); }
.section-title span { color: var(--gold); }

/* ---------- preloader ---------- */
.preloader-bg { position: fixed; inset: 0; background: #fff; z-index: 9998; }
#preloader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.preloader-position.loader { width: 46px; height: 46px; border: 4px solid #eee; border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
.preloader-position.loader span { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
body.loaded .preloader-bg, body.loaded #preloader { display: none; }

/* ---------- floating mobile buttons ---------- */
.mobile-buttons-container { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.mobile-float-button {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.test-drive-button { background: var(--dark); }
.whatsapp-button { background: #25D366; }
.mobile-float-button .icon img { width: 22px; filter: brightness(0) invert(1); }
.mobile-float-button .icon i { color: #fff; font-size: 22px; }
.progress-wrap { display: none; }

/* ---------- navbar ---------- */
.navbar { position: sticky; top: 0; z-index: 500; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); padding: 14px 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo-wrapper .logo { display: inline-flex; }
.logo-img { height: 40px; width: auto !important; }
.navbar-toggler { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.navbar-toggler-icon i { font-size: 22px; }
.navbar-collapse { display: flex; align-items: center; gap: 30px; flex: 1; justify-content: flex-end; }
.navbar-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-weight: 600; font-size: 14px; letter-spacing: .3px; color: var(--dark); padding: 6px 0; }
.nav-link:hover { color: var(--gold); }
.nav-item.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; background: #fff; min-width: 200px; padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); border-radius: 6px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; z-index: 50;
}
.nav-item.dropdown:hover .dropdown-menu,
.dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: block; padding: 8px 18px; font-size: 14px; color: var(--dark); white-space: nowrap; }
.dropdown-item:hover { background: var(--cream); color: var(--gold); }
.navbar-right { display: flex; align-items: center; gap: 22px; }
.navbar-right .wrap { display: flex; align-items: center; gap: 10px; }
.navbar-right .icon img { height: 20px; }
.navbar-right .icon i { font-size: 20px; color: var(--gold); }
.navbar-right .text p { margin: 0; font-size: 11px; color: var(--muted); }
.navbar-right .text h5 { margin: 0; font-size: 14px; }

@media (max-width: 991px) {
  .navbar-toggler { display: block; }
  .navbar-collapse { display: none; width: 100%; flex-direction: column; align-items: flex-start; margin-top: 16px; }
  .navbar-collapse.show { display: flex; }
  .navbar-nav { flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
  .dropdown-menu.show { display: block; }
  .navbar-right { flex-direction: column; align-items: flex-start; margin-top: 14px; gap: 14px; }
}

/* ---------- hero / banner-header ---------- */
.header { color: #fff; }
.banner-header { min-height: 340px; display: flex; align-items: center; color: #fff; background-color: var(--dark); }
.banner-header h1 { color: #fff; margin: 4px 0 0; }
.banner-header h1 span { color: var(--gold); }
.banner-header h6 { letter-spacing: 2px; text-transform: uppercase; }

/* ---------- process-number ---------- */
.process-number .item { display: flex; gap: 18px; align-items: flex-start; }
.process-number .no {
  flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--dark); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px;
}
.process-number h5 { margin-bottom: 6px; }

/* ---------- about ---------- */
.about .list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.list-icon { color: var(--gold); font-size: 16px; margin-top: 3px; }
.about .item { position: relative; }
.curv-butn.icon-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.curv-butn .icon {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex;
  align-items: center; justify-content: center; font-size: 22px; color: var(--dark);
}
.br-left-top, .br-right-bottom { display: none; }

/* ---------- buttons ---------- */
.button-1, .button-2, .booking-button {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 4px;
  font-weight: 700; font-size: 14px; letter-spacing: .3px; border: 2px solid transparent; cursor: pointer;
  transition: all .2s ease;
}
.button-1, .booking-button { background: var(--gold); color: var(--dark); }
.button-1:hover, .booking-button:hover { background: var(--dark); color: var(--gold); }
.button-2 { background: transparent; color: var(--dark); border-color: var(--dark); }
.button-2:hover { background: var(--dark); color: #fff; }
.lets-talk .button-1 { background: var(--gold); color: var(--dark); }

/* ---------- gallery detail overlay text ---------- */
.gallery-detail { position: absolute; left: 16px; bottom: 12px; z-index: 2; color: #fff; font-weight: 600; }

/* ---------- cars3 / cars4 (model carousels) ---------- */
.cars3 .item, .cars4 .item {
  border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fff; position: relative;
}
.cars3 .item .img, .cars4 .item .img { display: block; position: relative; }
.cars3 .item img, .cars4 .item img { width: 100%; height: 200px; object-fit: cover; }
.cars3 .arrow, .cars4 .arrow {
  position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--dark); display: flex; align-items: center; justify-content: center; z-index: 2;
}
.cars3 .info, .cars4 .info { padding: 16px; }
.cars3 .title, .cars4 .title { font-weight: 700; margin-bottom: 8px; }
.cars3 .details, .cars4 .details { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--muted); }
.cars3 .details span, .cars4 .details span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- car detail page (specs sidebar / features) ---------- */
.features { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #e6e6e6; }
.features p { margin: 0; font-weight: 600; }
.book { text-align: center; }
.sidebar-car .item, .sidebar-list { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 20px; }

/* ---------- booking form section ---------- */
.booking-inner { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 30px; }
.form1 { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.form1 > div { flex: 1 1 200px; }
.input1_wrapper label, .select1_wrapper label { display: block; margin-bottom: 6px; font-size: 13px; color: rgba(255,255,255,.85); font-weight: 600; }
.input1_inner input, .select1_inner select {
  width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.95);
}
.form1 .c6 { flex: 0 0 auto; }
.booking-button { width: 100%; justify-content: center; }

/* ---------- blog / notícias ---------- */
.blog1 .item, .blog2 .item { position: relative; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid #eee; }
.blog2 .item img { width: 100%; height: 190px; object-fit: cover; }
.blog2 .title { padding: 16px 16px 0; }
.blog2 .title h6 { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.blog2 .title h4 { font-size: 16px; margin-bottom: 12px; }
.blog2 .curv-butn { position: static; padding: 0 16px 16px; }
.blog2 .icon-show span { display: block; text-align: center; font-weight: 700; font-size: 13px; }
.icon-hidden { display: none; }
.wrapper .date a { font-size: 12px; color: var(--muted); }
.wrapper .category { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin: 6px 0; }
.wrapper .text a { font-weight: 700; color: var(--dark); }
.wrapper .icon-btn { display: inline-flex; margin-top: 10px; color: var(--gold); font-weight: 700; }

/* ---------- lets-talk / CTA ---------- */
.lets-talk h5 { font-size: 30px; margin: 8px 0 12px; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.85); }
.first-footer { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-contact-links-wrapper { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.footer-contact-link-wrapper { display: flex; gap: 14px; align-items: center; }
.icon-footer { width: 46px; height: 46px; border-radius: 50%; background: rgba(245,183,84,.15); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.footer-contact-link-content h6 { margin: 0 0 4px; font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: .5px; }
.footer-contact-link-content p { margin: 0; color: #fff; font-weight: 600; font-size: 14px; }
.footer-contact-links-divider { display: none; }
.second-footer { padding: 40px 0; }
.footer-logo img { height: 60px !important; margin-bottom: 14px; filter: brightness(0) invert(1); }
.widget-title { color: #fff; font-size: 16px; margin-bottom: 16px; }
.usful-links ul li { margin-bottom: 10px; }
.usful-links a { color: rgba(255,255,255,.75); }
.usful-links a:hover { color: var(--gold); }
.social-icons ul { margin-top: 16px; }
.social-icons a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social-icons a:hover { background: var(--gold); color: var(--dark); }
.widget-newsletter { display: flex; margin-top: 10px; }
.widget-newsletter input { flex: 1; padding: 12px 14px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; border-radius: 4px 0 0 4px; }
.widget-newsletter button { background: var(--gold); color: var(--dark); border: 0; padding: 0 18px; border-radius: 0 4px 4px 0; cursor: pointer; }
.bottom-footer-text { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.6); }
.bottom-footer-text a { color: rgba(255,255,255,.8); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.55); padding: 20px; }
.modal.show { display: flex; }
.modal-dialog { width: 100%; max-width: 760px; }
.modal-content { background: #fff; border-radius: 10px; overflow: hidden; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #eee; }
.modal-title { margin: 0; font-size: 18px; }
.btn-close { border: 0; background: none; font-size: 20px; cursor: pointer; line-height: 1; }
.btn-close::before { content: "\2715"; }
.modal-body { padding: 22px; }
.modal-body .booking-inner { background: none; border: 0; padding: 0; }
.modal-body .input1_inner input, .modal-body .select1_inner select,
.contact__form input, .contact__form textarea, .contact__form select {
  background: #fff; border: 1px solid #e2e2e2; color: #1b1b1b;
}
.contact__form { display: flex; flex-direction: column; gap: 14px; }
.contact__form .row { margin: 0 -8px; }
.contact__form .row > div { padding: 0 8px; margin-bottom: 14px; }
.alert-success { background: #e7f7ee; color: #1a7f4b; padding: 10px 14px; border-radius: 4px; }

/* ---------- misc ---------- */
.pagination-wrap { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.gallery-filter, .filter-radio-group { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }

@media (max-width: 767px) {
  h1 { font-size: 30px; }
  .section-title { font-size: 24px; }
  .section-padding { padding: 50px 0; }
  .footer-contact-links-wrapper { flex-direction: column; }
}
