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

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --content-width: 1100px;
  --hero-gap: 80px;
  --vertical-gap: 52px;
  --brands-gap: 52px;

  --bg: #000000;
  --text: #f4f5f7;
  --glass: rgba(6, 7, 10, 0.76);
  --glass-border: rgba(255, 255, 255, 0.10);
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Playfair Display", serif;
  overflow-x: hidden;
}

body.dark {
  background: var(--bg);
  color: var(--text);
}

/* ======================================================
   PARTICLES
====================================================== */

#particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: #000000;
  display: block;
}

.main-nav,
main,
.contact-footer {
  position: relative;
  z-index: 2;
}

/* ======================================================
   NAVBAR
====================================================== */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);

  min-height: 96px;
  padding: 0 36px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;

  transition:
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 460ms ease;
  will-change: transform, opacity;
}

.main-nav.nav-hidden {
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  pointer-events: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 16px 0;
  line-height: 1;
}

.main-nav a:hover {
  opacity: 0.85;
}

.nav-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -53%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  height: 150px;
  width: auto;
  display: block;
}

.main-nav .shopping-cart {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  line-height: 0;
}

.main-nav .shopping-cart img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav .shopping-cart:hover img {
  opacity: 1;
  transform: translateY(-1px) scale(1.04);
}

/* ======================================================
   MAIN
====================================================== */

main {
  width: 100%;
  padding: var(--hero-gap) 32px 0;
}

.content-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ======================================================
   TOP CONTENT
====================================================== */

.text1 {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  padding: 0 32px;
}

.top-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 0 auto var(--vertical-gap);
}

.picture-behind-scene {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.hero-title {
  width: min(var(--content-width), 100%);
  margin: 0 0 var(--vertical-gap);
  text-align: center;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 96px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.text1 p {
  max-width: 1080px;
  margin: 0 auto;
  font-size: 24px;
  line-height: 1.6;
  text-align: left;
  color: var(--text);
}

/* ======================================================
   BRANDS SECTION
====================================================== */

.brands-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--brands-gap);
  padding: var(--brands-gap) 0 0;
  overflow: hidden;
}

.brands-title {
  width: min(var(--content-width), 100%);
  margin: 0;
  padding: 0 32px;
  text-align: center;
  font-weight: 400;
  font-size: clamp(30px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brands-title span {
  display: block;
}

.brands-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 18px 0 26px;
  background: transparent;
}

.brands-marquee::before,
.brands-marquee::after {
  display: none;
}

.brands-track {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.brand-logo-link {
  position: absolute;
  left: 0;
  top: 50%;

  width: 220px;
  min-width: 220px;
  height: 220px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  transform: translate3d(var(--x, 0px), -50%, 0);
  will-change: transform;
}

.brand-logo-link:hover .brand-logo-frame {
  transform: scale(1.06);
}

.brand-logo-frame {
  width: 165px;
  height: 165px;
  border-radius: 50%;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 250ms ease;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.35));
}

.zoom-allin {
  transform: scale(2.65);
}

.zoom-autoshow {
  transform: scale(2.45);
}

.zoom-lukes {
  transform: scale(2.55);
}

.zoom-mam {
  transform: scale(2.55);
}

.zoom-orcafy {
  transform: scale(2.35);
}

.zoom-shawarma {
  transform: scale(2.35);
}

.zoom-stc {
  transform: scale(2.55);
}

.zoom-tmp {
  transform: scale(2.55);
}

.zoom-vellemo {
  transform: scale(2.60);
}

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

.contact-footer {
  padding: 24px 0 40px;
}

.contact-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-right {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  opacity: 0.78;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social:hover img {
  opacity: 1;
  transform: translateY(-1px) scale(1.04);
}

/* ======================================================
   SAFE TOP-TO-BOTTOM REVEAL ANIMATION
====================================================== */

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

body.about-js-ready .about-reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

body.about-js-ready .about-reveal-scale {
  transform: translateY(24px) scale(0.975);
}

body.about-js-ready .about-reveal.about-animate {
  animation: aboutRevealUp 950ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--about-delay, 0ms);
}

body.about-js-ready .about-reveal-scale.about-animate {
  animation: aboutRevealScale 980ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--about-delay, 0ms);
}

@keyframes aboutRevealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutRevealScale {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.975);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 992px) {
  .brands-track {
    height: 190px;
  }

  .brand-logo-link {
    width: 190px;
    min-width: 190px;
    height: 190px;
  }

  .brand-logo-frame {
    width: 145px;
    height: 145px;
  }
}

@media (max-width: 768px) {
  :root {
    --vertical-gap: 34px;
    --brands-gap: 34px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 48px);
    line-height: 1.15;
  }

  .brands-title {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.15;
    padding: 0 16px;
  }

  .text1 p {
    font-size: 18px;
    text-align: left;
  }

  .picture-behind-scene {
    width: 140px;
    height: 140px;
  }

  .top-images {
    gap: 18px;
  }

  .main-nav {
    min-height: 84px;
    padding: 10px 18px;
  }

  .nav-links {
    gap: 16px;
    max-width: calc(100% - 150px);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    font-size: 12px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .nav-logo {
    top: 50%;
    transform: translate(-50%, -54%);
  }

  .nav-logo img {
    height: 104px;
  }

  .main-nav .shopping-cart {
    right: 18px;
  }

  .main-nav .shopping-cart img {
    width: 26px;
    height: 26px;
  }

  main {
    padding: 72px 20px 0;
  }

  .text1 {
    padding: 0 16px;
  }

  .brands-track {
    height: 145px;
  }

  .brand-logo-link {
    width: 145px;
    min-width: 145px;
    height: 145px;
  }

  .brand-logo-frame {
    width: 112px;
    height: 112px;
  }

  .contact-right {
    margin-top: 24px;
    gap: 20px;
  }

  .social img {
    width: 48px;
    height: 48px;
  }
}

/* ======================================================
   PHONE NAV FIX
   Matches the clean homepage/media mobile navbar.
====================================================== */

@media (max-width: 560px) {
  .main-nav {
    min-height: 84px;
    padding: 5px 12px 7px;

    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 42px 24px;
    column-gap: 14px;
    row-gap: 0;

    align-items: center;
    justify-content: center;
    justify-items: center;

    position: sticky;
  }

  .main-nav.nav-hidden {
    transform: translate3d(0, -100%, 0);
    opacity: 0;
    pointer-events: none;
  }

  .nav-logo {
    position: static;
    grid-column: 1 / -1;
    grid-row: 1;
    transform: none;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0;
    line-height: 0;
  }

  .nav-logo img {
    height: 50px;
    width: auto;
  }

  .nav-links {
    grid-column: 1;
    grid-row: 2;

    width: auto;
    max-width: none;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 14px;
    overflow: visible;
    padding: 0;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    font-size: 10.5px;
    letter-spacing: 0.06em;
    padding: 4px 0;
    white-space: nowrap;
    line-height: 1;
  }

  .main-nav .shopping-cart {
    position: static;
    grid-column: 2;
    grid-row: 2;

    transform: translateY(-1px);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 11px;
    height: 11px;
    padding: 0;
    margin: 0;
    line-height: 0;
  }

  .main-nav .shopping-cart img {
    width: 11px;
    height: 11px;
    object-fit: contain;
    display: block;
  }

  main {
    padding: 44px 16px 0;
  }

  .text1 {
    padding: 0 16px;
  }

  .top-images {
    margin-bottom: 34px;
  }

  .hero-title {
    margin-bottom: 34px;
  }

  .contact-footer {
    padding: 64px 24px 74px;
  }

  .contact-section {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .contact-right {
    margin-top: 28px;
    margin-bottom: 18px;
    min-height: 56px;
    overflow: visible;
  }
}

/* ======================================================
   EXTRA SMALL PHONE FIX
====================================================== */

@media (max-width: 390px) {
  .main-nav {
    min-height: 80px;
    padding: 4px 9px 6px;
    grid-template-rows: 39px 23px;
    column-gap: 11px;
  }

  .nav-logo img {
    height: 47px;
  }

  .nav-links {
    gap: 11px;
    padding: 0;
  }

  .nav-links a {
    font-size: 9.5px;
    letter-spacing: 0.05em;
  }

  .main-nav .shopping-cart {
    width: 10px;
    height: 10px;
    transform: translateY(-1px);
  }

  .main-nav .shopping-cart img {
    width: 10px;
    height: 10px;
  }

  .hero-title,
  .brands-title {
    font-size: 30px;
  }

  .contact-footer {
    padding-left: 26px;
    padding-right: 26px;
    padding-bottom: 78px;
  }
}