/* ===========================================================
   Encriptar, Filtrar, Hackear
   Misma estructura/plantilla que birminghamcyberarms.co.uk,
   recoloreada de violeta a ámbar.
   =========================================================== */

html { scroll-behavior: smooth; }

#libro, #galeria, #autor { scroll-margin-top: 130px; }

body {
  padding: 0px;
  margin: 0px;
  font-size: 16px;
  font-family: 'Red Hat Display';
  background: #0b0414;
}

@font-face {
  font-family: 'Avalon';
  src: url('../fonts/Avalon.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cyber';
  src: url('../fonts/Cyber.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.mob-view { display: none; }

p:last-child { margin-bottom: 0px; }

h1 { font-size: 64px; }
h2 { font-size: 40px; }
h3 { font-size: 24px; }

ul { list-style: none; padding: 0px; }
a { text-decoration: none !important; transition: ease-in-out 0.5s; color: #ff7a1a; }

.container-fluid { max-width: 1300px; }

/* ---------- nav ---------- */

nav.navbar.navbar-expand-lg.navbar-light {
  padding: 0px;
  background: #0b0414;
  border-bottom: 1px solid #2a1608;
}

a.navbar-brand {
  font-family: 'Cyber', sans-serif;
  color: #fff;
  font-size: 22px;
  letter-spacing: 2px;
  margin-left: 15px;
}

ul.navbar-nav.ml-auto.white-nav li a {
  transition: ease-in-out 0.5s;
  color: #fff;
  border-top: 4px solid transparent;
  font-family: 'Red Hat Display', sans-serif;
  padding: 35px 25px;
  display: block;
}

ul.navbar-nav.ml-auto.white-nav li a.active,
ul.navbar-nav.ml-auto.white-nav li a:hover {
  color: #fff !important;
  border-top: 4px solid #ff7a1a;
}

span.navbar-toggler-icon i { color: #fff; font-size: 25px; }
button { outline: none !important; box-shadow: none !important; }

.nav-item-buy {
  display: flex;
  align-items: center;
}

ul.navbar-nav.ml-auto.white-nav li a.nav-buy {
  color: #150a26 !important;
  background: #ff7a1a;
  border-top: 4px solid transparent !important;
  margin: 0;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 700;
}

ul.navbar-nav.ml-auto.white-nav li a.nav-buy:hover {
  background: #fff;
  color: #150a26 !important;
}

/* ---------- botón flotante de compra ---------- */

.buy-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  background: #ff7a1a;
  color: #150a26;
  border: none;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(255, 122, 26, 0.45);
  transition: ease-in-out 0.25s;
}

.buy-fab i { margin-right: 6px; }

.buy-fab:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 122, 26, 0.6);
}

@media (max-width: 480px) {
  .buy-fab { right: 14px; bottom: 14px; padding: 14px 16px; font-size: 0; }
  .buy-fab i { margin-right: 0; font-size: 20px; }
}

/* ---------- modal de compra ---------- */

.buy-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 3, 10, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.buy-modal.open { display: flex; }

.buy-modal-box {
  position: relative;
  background: #0b0414;
  border: 1px solid #ff7a1a;
  border-radius: 4px;
  max-width: 420px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 122, 26, 0.2);
}

.buy-modal-icon {
  color: #ff7a1a;
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.buy-modal-box h3 {
  font-family: 'Cyber', sans-serif;
  color: #fff;
  font-size: 28px;
  margin-bottom: 14px;
}

.buy-modal-box p {
  color: #cfc9bd;
  font-size: 15px;
  margin: 0;
}

.buy-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  color: #83786a;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.buy-modal-close:hover { color: #ff7a1a; }

/* ---------- hero ---------- */

section.banner-area {
  background: #0b0414;
  margin-top: 90px;
  width: 100%;
  padding: 44px 0px 40px;
  position: relative;
  z-index: 2;
}

img.img-rbt {
  width: 100%;
  border: 1px solid #2a1608;
  margin-top: 0px;
  margin-bottom: 20px;
}

.caption-area {
  position: relative;
  transform: translateY(-40%);
  top: 40%;
}

.caption-area h1 span.first-font {
  font-size: 22px;
  font-family: 'Avalon';
  color: #ff7a1a;
  text-transform: uppercase;
  display: block;
}

.caption-area h1 b.middle-font {
  font-size: 68px;
  display: block;
  font-weight: 400;
  color: #fff;
  font-family: 'Avalon';
  text-transform: uppercase;
  line-height: 1.05;
}

.caption-area h1 span.thrd-font {
  font-family: 'Avalon';
  color: #fff;
  text-transform: uppercase;
  font-size: 52px;
  display: block;
}

/* ---------- why-bca / secciones oscuras ---------- */

section.why-bca {
  background: #0b0414;
  padding: 100px 0px 90px;
  border-top: 1px solid #2a1608;
}

.why-us p {
  color: #cfc9bd;
  font-size: 16px;
  max-width: 720px;
  margin-bottom: 50px !important;
}

.why-us h2 {
  color: #fff;
  font-family: 'Cyber';
  font-size: 48px;
  margin-bottom: 30px;
}

.why-us p b { color: #ff7a1a; }
.why-us p i { color: #ff7a1a; font-style: normal; }

img.two-big {
  margin: 0 auto;
  display: block;
  width: 100%;
  border: 1px solid #2a1608;
}

.icon-left-one {
  position: relative;
  padding-left: 0px;
  padding-top: 8px;
  margin-bottom: 32px;
  min-height: 36px;
}

.icon-left-one i {
  width: 42px;
  font-size: 26px;
  top: 4px;
  left: 0px;
  position: absolute;
  color: #ff7a1a;
}

.icon-left-one h3 {
  font-size: 20px;
  padding-left: 54px;
  font-weight: 700;
  font-family: 'Red Hat Display';
  color: #fff;
}

.icon-left-one p {
  font-size: 15px;
  color: #cfc9bd;
  padding-left: 54px;
  padding-right: 20px;
  padding-top: 6px;
}

/* ---------- galería (sección estilo "products") ---------- */

section.products {
  background: #0b0414;
  padding: 100px 0px 110px;
  border-top: 1px solid #2a1608;
}

section.products h2 {
  color: #fff;
  font-family: 'Cyber';
  font-size: 48px;
  margin-bottom: 15px;
}

section.products > .container-fluid > .row:first-child p {
  color: #cfc9bd;
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 600px;
}

.gallery-row { row-gap: 1rem; }

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #2a1608;
  background: #150a26;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 2552 / 3699;
  position: relative;
}

.gallery-item:hover { border-color: #ff7a1a; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.04); }

/* ---------- autor: lista de links tipo "products" skew buttons ---------- */

ul.list-area li {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

ul.list-area li a {
  float: left;
  transition: ease-in-out 0.5s;
  color: #fff;
  transform: skewX(-30deg);
  background: #000;
  border: 1px solid #ff7a1a;
  padding: 15px 40px;
  font-weight: 900;
}

ul.list-area li a span { transform: skewX(30deg); display: inline-block; }

ul.list-area li a:hover { background: #ff7a1a; color: #150a26; }

.author-photo {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #ff7a1a;
  position: relative;
  overflow: hidden;
  background: #150a26;
  margin: 0 auto;
}

.author-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }

.author-photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Cyber', sans-serif;
  font-size: 2.5rem;
  color: #ff7a1a;
  background: rgba(255, 122, 26, 0.08);
}

.author-photo.no-photo img { display: none; }
.author-photo.no-photo .author-photo-fallback { display: flex; }

/* ---------- footer ---------- */

footer {
  padding: 22px 0px;
  border-top: 1px solid #2a1608;
  background: #0b0414;
}

footer p {
  color: #83786a;
  font-size: 0.8rem;
  margin: 0;
  text-align: center;
}

.bottom-right p { font-size: 16px; font-weight: 800; }

.white-link { color: #fff; text-decoration: underline !important; }
.white-link:hover { color: #ffd9b3; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 3, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: min(90vw, 700px);
  max-height: 78vh;
  width: auto;
  border: 1px solid #2a1608;
  box-shadow: 0 0 60px rgba(255, 122, 26, 0.2);
}

.lightbox-caption {
  color: #cfc9bd;
  font-size: 0.8rem;
  margin-top: 1rem;
  text-align: center;
  max-width: 500px;
  font-family: 'Red Hat Display';
}

.lightbox-caption #lightbox-title {
  color: #fff;
  font-weight: 700;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 1px solid #4a3520;
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: #ff7a1a;
  color: #ff7a1a;
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ---------- responsive ---------- */

@media (max-width: 991px) {
  .caption-area { transform: translateY(0); top: 0; text-align: center; margin-bottom: 30px; }
  .caption-area h1 b.middle-font { font-size: 48px; }
  .caption-area h1 span.thrd-font { font-size: 38px; }
  section.banner-area { padding: 40px 0px 20px; }
}

@media (max-width: 767px) {
  .mob-view { display: block; }
  .dsk-view { display: none; }
  ul.navbar-nav.ml-auto.white-nav li a { padding: 12px 17px; }
  .nav-item-buy { align-items: flex-start; margin-top: 6px; }
  ul.navbar-nav.ml-auto.white-nav li a.nav-buy { display: inline-block; }
  .icon-left-one p, .icon-left-one h3 { padding-left: 0; padding-right: 0; }
  .icon-left-one { padding-left: 54px; }
  .icon-left-one i { top: 4px; }
  .bottom-left, .bottom-right { text-align: center; }
  ul.social-list.clearfix { text-align: center; margin-top: 0; }
  ul.social-list.clearfix li { display: inline-block; }
  ul.social-list.clearfix li a { float: none; }
  .bottom-right p { text-align: center !important; }
}

@media (max-width: 480px) {
  .gallery-row .col-6 { flex: 0 0 50%; max-width: 50%; }
}
