
/* =========================================================
   SPLENDORZ ASIA
   RED & BLACK DESIGN
   ========================================================= */

:root {
  --black: #080808;
  --black-soft: #101010;
  --black-card: #171717;
  --black-line: #292929;

  --red: #e32124;
  --red-bright: #da1216;

  --white: #f7f7f7;
  --muted: #a5a5a5;
  --text: #d5d5d5;

  --content-width: 1160px;
  --nav-height: 86px;
}

/* GENERAL */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font-family: inherit;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.section-shell {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--white);
  line-height: 1.12;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -1.8px;
}

h2 span,
h1 span {
  color: var(--red-bright);
}

p {
  margin-top: 0;
  color: var(--muted);
}

/* LOADER */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity .4s ease, visibility .4s ease;
}

.site-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 48px;
  height: 48px;
  border: 3px solid #333;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* NAVIGATION */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(7, 7, 7, .88);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(5,5,5,.97);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.main-nav {
  width: min(var(--content-width), calc(100% - 48px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img,
.footer-brand img {
  width: 190px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  padding: 9px 0;
  color: #ddd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
}

/* HERO */
.hero-section {
  position: relative;
  min-height: min(850px, 100vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080808 url("../uploads/banner-03.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4,4,4,.98) 0%,
      rgba(5,5,5,.88) 48%,
      rgba(5,5,5,.48) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0,0,0,.65),
      transparent 45%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content-width), calc(100% - 48px));
  margin: 70px auto 0;
  padding: 70px 0 95px;

}

.hero-content h1 {
  max-width: 800px;
  margin: 0 0 26px;
  font-size: clamp(36px, 8vw, 70px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: .99;
  letter-spacing: 1px;
}

.hero-description {
  max-width: 590px;
  margin-bottom: 30px;
  color: #c4c4c4;
  font-size: 18px;
  line-height: 1.8;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin: 0 0 38px;
}

.hero-services span {
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  color: #eee;
  background: rgba(0,0,0,.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

/* BUTTONS */
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 25px;
  border: 1px solid var(--red);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.button-primary {
  color: white;
  background: var(--red);
}

.button-primary:hover {
  background: var(--red-bright);
  box-shadow: 0 10px 30px rgba(229,9,20,.25);
  transform: translateY(-2px);
}

.button span {
  font-size: 18px;
  line-height: 1;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 24px;
  height: 38px;
  border: 1px solid #777;
  border-radius: 20px;
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 2px;
  height: 8px;
  background: var(--red);
  animation: scrollHint 1.3s infinite;
}

@keyframes scrollHint {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* INTRO */
.intro-section {
  padding: 105px 0;
  background: var(--red);
}

.intro-inner {
  max-width: 900px;
  text-align: center;
}

.intro-section .eyebrow {
  color: #1a0000;
}

.intro-section h2 {
  color: white;
}

.intro-section h2 span {
  color: #230000;
}

.intro-section p:last-child {
  max-width: 790px;
  margin: 0 auto;
  color: rgba(255,255,255,.86);
  font-size: 16px;
}

/* ABOUT */
.about-section {
  background: var(--black);
}

.section-heading {
  max-width: 700px;
  margin: 0 0 70px;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}

.section-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading-center > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
  margin: 0 0 90px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.is-visible,
.section-heading.is-visible,
.intro-inner.is-visible,
.contact-layout.is-visible {
  opacity: 1;
  transform: none;
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-row-reverse .feature-image {
  order: 1;
}

.feature-number {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
}

.feature-copy h3 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3vw, 38px);
}

.feature-copy p {
  max-width: 510px;
  margin: 0;
}

.feature-image {
  position: relative;
  min-height: 330px;
  background: var(--black-card);
}

.feature-image::before {
  position: absolute;
  z-index: 1;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--red);
  content: "";
  pointer-events: none;
}

.feature-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 350px;
  object-fit: cover;
  filter: saturate(.75);
}

/* SOLUTIONS */
.solutions-section {
  background: #0e0e0e;
}

.solution-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 0 0 38px;
}

.solution-tab {
  padding: 11px 16px;
  border: 1px solid #383838;
  border-radius: 2px;
  color: #c9c9c9;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: .2s ease;
}

.solution-tab:hover,
.solution-tab.active {
  border-color: var(--red);
  color: white;
  background: var(--red);
}

.solution-description {
  display: none;
  max-width: 900px;
  min-height: 220px;
  margin: 0 auto 42px;
  padding: 38px 42px;
  border-left: 3px solid var(--red);
  background: #171717;
  animation: fadeIn .3s ease;
}

.solution-description.active {
  display: block;
}

.solution-description .eyebrow {
  margin-bottom: 10px;
}

.solution-description h3 {
  margin-bottom: 15px;
  font-size: 28px;
}

.solution-description p:last-child {
  margin-bottom: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #1b1b1b;
}

.gallery-item img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  filter: grayscale(25%) brightness(.8);
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item > span {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 20px;
  color: white;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-item > span b {
  color: var(--red-bright);
  font-size: 20px;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0) brightness(1);
}

.gallery-item[hidden] {
  display: none;
}

/* IMAGE VIEWER */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 55px 25px;
  background: rgba(0,0,0,.94);
  cursor: zoom-out;
}

.image-viewer img {
  max-width: min(1100px, 95vw);
  max-height: 85vh;
  object-fit: contain;
}

.image-viewer button {
  position: absolute;
  top: 18px;
  right: 28px;
  border: 0;
  color: white;
  background: none;
  font-size: 42px;
  cursor: pointer;
}

/* CONTACT */
.contact-section {
  background: #080808;
}

.contact-intro {
  max-width: 720px;
  margin-bottom: 65px;
}

.contact-intro p:last-child {
  max-width: 650px;
  margin-bottom: 0;
}

.contact-intro p a {
  color: white;
  border-bottom: 1px solid var(--red);
}

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 75px;
  padding: 48px;
  border: 1px solid #292929;
  background: #111;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 8px;
}

.contact-label {
  margin-bottom: 14px;
  color: var(--red-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-email {
  margin-bottom: 35px;
  color: white;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-location {
  padding-left: 17px;
  border-left: 2px solid var(--red);
  color: var(--muted);
  font-size: 13px;
}

/* CONTACT FORM */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row:nth-child(4) {
  grid-column: 1 / -1;
}

.form-row label {
  color: #ddd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  outline: none;
  border: 1px solid #383838;
  border-radius: 2px;
  color: white;
  background: #090909;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-row textarea {
  min-height: 145px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,9,20,.1);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #777;
}

.form-submit {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 185px;
}

/* FOOTER */
.site-footer {
  background: #111;
  border-top: 1px solid #292929;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr .7fr;
  gap: 45px;
  padding-top: 65px;
  padding-bottom: 65px;
}

.footer-brand img {
  margin-bottom: 20px;
}

.footer-brand p,
.footer-column p {
  max-width: 260px;
  margin-bottom: 0;
  font-size: 13px;
}

.footer-column h3 {
  margin-bottom: 17px;
  color: white;
  font-size: 15px;
}

.footer-column h3::after {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 10px;
  background: var(--red);
  content: "";
}

.footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-navigation a {
  margin: 3px 0;
  color: var(--muted);
  font-size: 13px;
  transition: color .2s ease;
}

.footer-navigation a:hover {
  color: var(--red-bright);
}

.footer-bottom {
  border-top: 1px solid #292929;
}

.footer-bottom .section-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  padding-bottom: 19px;
  color: #777;
  font-size: 11px;
}

.footer-bottom a {
  color: #ddd;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 900;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 2px;
  color: white;
  background: var(--red);
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: #b9000a;
}

/* TABLET */
@media (max-width: 900px) {

  :root {
    --nav-height: 76px;
  }

  .nav-links {
    gap: 20px;
  }

  .feature-row {
    gap: 38px;
  }

  .contact-layout {
    gap: 35px;
    padding: 32px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

}

/* MOBILE */
@media (max-width: 680px) {

  .section-shell,
  .main-nav,
  .hero-content {
    width: min(100% - 36px, var(--content-width));
  }

  .section {
    padding: 78px 0;
  }

  .site-header {
    height: 70px;
  }

  .brand img {
    width: 160px;
    max-height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    border-top: 1px solid #292929;
    background: rgba(5,5,5,.98);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding: 13px 5px;
  }

  .nav-link::after {
    right: auto;
    width: 35px;
  }

  .hero-section {
    min-height: 690px;
    background-position: 60% center;
  }

  .hero-content {
    margin-top: 55px;
    padding: 65px 0 85px;
  }

  .hero-content h1 {
    font-size: clamp(48px, 13vw, 70px);
    letter-spacing: -2.5px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-services {
    gap: 7px;
  }

  .hero-services span {
    padding: 6px 9px;
    font-size: 9px;
  }

  .intro-section {
    padding: 75px 0;
  }

  .intro-section p:last-child {
    font-size: 14px;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 65px;
  }

  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-image {
    order: initial;
  }

  .feature-image {
    min-height: 230px;
    margin-right: 8px;
  }

  .feature-image img {
    height: 250px;
  }

  .solution-tabs {
    justify-content: flex-start;
    gap: 7px;
  }

  .solution-tab {
    padding: 9px 11px;
    font-size: 9px;
  }

  .solution-description {
    min-height: 0;
    padding: 25px 22px;
  }

  .solution-description h3 {
    font-size: 23px;
  }

  .solution-description p:last-child {
    font-size: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-item {
    min-height: 150px;
  }

  .gallery-item img {
    height: 165px;
  }

  .gallery-item > span {
    padding: 12px;
    font-size: 9px;
  }

  .contact-intro {
    margin-bottom: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 24px 18px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .form-row:nth-child(4),
  .form-submit {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom .section-shell {
    flex-direction: column;
    gap: 6px;
  }

}

/* SMALL MOBILE */
@media (max-width: 390px) {

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 220px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

}
