/* =========================================================
   VIVARK — MAIN STYLESHEET
   ========================================================= */

:root {
  --black: #050505;
  --black-soft: #0b0b0b;
  --card: #111111;
  --card-light: #171717;
  --white: #ffffff;
  --muted: #a7a7a7;
  --gold: #d4af37;
  --gold-light: #f0d77a;
  --border: rgba(255,255,255,0.09);
  --max-width: 1200px;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,5,5,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 35px rgba(0,0,0,.45);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 125px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #eee;
  font-size: 14px;
  font-weight: 500;
  transition: color .25s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold) !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: #000 !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(212,175,55,.12), transparent 35%),
    #050505;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .95;
  letter-spacing: -4px;
  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  max-width: 560px;
  color: #bcbcbc;
  font-size: 18px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all .3s ease;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border-radius: 24px;
}

/* =========================================================
   QUICK SERVICES
   ========================================================= */

.service-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #090909;
}

.service-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-strip-item {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.service-strip-item:last-child {
  border-right: 0;
}

.service-strip-item strong {
  display: block;
  font-size: 14px;
}

.service-strip-item span {
  color: #888;
  font-size: 12px;
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* =========================================================
   EBAY FEATURE
   ========================================================= */

.ebay-section {
  position: relative;
  padding: 75px 0;
  background:
    linear-gradient(135deg, rgba(212,175,55,.08), transparent 55%),
    #0a0a0a;
  border-bottom: 1px solid var(--border);
}

.ebay-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 42px;
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 24px;
  background: #101010;
}

.ebay-box h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 10px;
}

.ebay-box p {
  color: #aaa;
  max-width: 650px;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 45px;
}

.service-card {
  position: relative;
  min-height: 290px;
  padding: 32px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,.65);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  background: #151515;
}

.service-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  opacity: .5;
}

.service-icon {
  font-size: 34px;
  margin-bottom: 22px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
}

.service-card p {
  margin: 0;
  line-height: 1.7;
  color: #aaa;
  font-size: 14px;
}

.service-tag {
  display: inline-block;
  margin-top: 24px;
  padding: 7px 12px;
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 50px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================================
   PORTFOLIO
   ========================================================= */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  border: 1px solid var(--border);
}

.portfolio-item img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  transition: transform .5s ease;
}

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

.portfolio-caption {
  padding: 18px;
}

.portfolio-caption h3 {
  font-size: 17px;
  margin-bottom: 5px;
}

.portfolio-caption p {
  color: #999;
  font-size: 13px;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-copy p {
  color: #aaa;
  line-height: 1.9;
  margin-bottom: 18px;
}

.about-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.about-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-point strong {
  color: var(--gold);
}

.about-image img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--border);
}

/* =========================================================
   QUOTE / CONTACT
   ========================================================= */

.quote-section {
  background: #090909;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: start;
}

.quote-copy h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  margin-bottom: 20px;
}

.quote-copy p {
  color: #aaa;
  line-height: 1.8;
}

.contact-box {
  padding: 32px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 22px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: #888;
}

.contact-row a {
  color: var(--gold);
  text-align: right;
}

.contact-row a:hover {
  color: var(--gold-light);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 55px 0 30px;
  background: #030303;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 45px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  width: 130px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: #888;
  max-width: 400px;
  line-height: 1.7;
}

.footer-column h4 {
  margin-bottom: 18px;
  color: #fff;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: #888;
  transition: color .25s ease;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  color: #666;
  font-size: 12px;
}

/* =========================================================
   SCROLL REVEAL ANIMATION
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   LINKS / HOVER
   ========================================================= */

a {
  transition: color .25s ease;
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 750px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .header-inner {
    min-height: 68px;
  }

  .logo img {
    width: 105px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 5%;
    background: rgba(5,5,5,.98);
    border-bottom: 1px solid var(--border);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }

  .nav-cta {
    text-align: center;
    margin: 10px 0;
  }

  .hero-inner {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 68px);
    letter-spacing: -3px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .service-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-strip-item {
    border-bottom: 1px solid var(--border);
  }

  .section {
    padding: 75px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: auto;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .ebay-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .contact-box {
    padding: 24px;
  }

  .contact-row {
    flex-direction: column;
    gap: 6px;
  }

  .contact-row a {
    text-align: left;
    word-break: break-word;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .container {
    width: 90%;
  }

  .hero h1 {
    font-size: 43px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .service-strip-item {
    padding: 18px 10px;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}