/* =========================
   SAMENIKA GLOBAL TRADE
   Premium Lightweight CSS
   Optimized for Core Web Vitals
========================= */

/* =========
   CSS RESET
========= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========
   VARIABLES
========= */

:root {
  --clr-bg: #07130f;
  --clr-bg-soft: #0d1f1a;
  --clr-primary: #c5a46d;
  --clr-secondary: #3d7d74;
  --clr-accent: #7dc9b7;
  --clr-text: #f6f3ed;
  --clr-muted: #b4b8b5;
  --clr-border: rgba(255,255,255,0.08);

  --shadow-soft:
    0 10px 30px rgba(0,0,0,0.25);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --container: 1240px;

  --transition:
    0.3s ease;
}

/* =========
   BASE
========= */

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:
    linear-gradient(
      to bottom,
      #07130f,
      #081915
    );

  color: var(--clr-text);
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -1px;
}

.section-subtitle {
  color: var(--clr-muted);
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;

  padding:
    1rem 1.6rem;

  border-radius: 999px;

  font-weight: 600;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition);

  border: 1px solid transparent;
}

.btn-primary {
  background: var(--clr-primary);
  color: #111;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);

  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.08);
}

/* =========
   NAVBAR
========= */

.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.65),
      rgba(0,0,0,0)
    );

  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  min-height: 84px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.logo span {
  color: var(--clr-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--clr-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: white;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
}

/* =========
   HERO
========= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;

  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(0,0,0,.20),
      rgba(0,0,0,.35)
    ),
    url("../images/hero.png");

  background-size: cover;
  background-position: center;

  z-index: -2;
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(61,125,116,.4),
      transparent 40%
    );

  z-index: -1;
}

.hero-content {
  max-width: 680px;
  margin-left: 6vw;
  padding-top: 120px;
}


.hero-eyebrow {
  color: var(--clr-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  font-size:
    clamp(3rem, 8vw, 6rem);

  line-height: .95;
  letter-spacing: -3px;

  margin-bottom: 1.5rem;
}

.hero-description {
  color: var(--clr-muted);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========
   CARDS
========= */

.cards-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(240px,1fr));

  gap: 2rem;
}

.product-card {
  position: relative;
  overflow: hidden;

  border-radius: var(--radius-lg);

  background: rgba(255,255,255,.04);

  border: 1px solid var(--clr-border);

  min-height: 150px;

  transition:
    transform var(--transition),
    border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.18);
}

.product-card img {
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.8),
      transparent
    );

  padding: 1.5rem;

  display: flex;
  align-items: flex-end;
}

/* =========
   ABOUT
========= */

.about-grid {
  display: grid;
  grid-template-columns:
    1.2fr .8fr;

  gap: 4rem;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 1.4rem;
}

.feature-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);

  background:
    rgba(255,255,255,.03);

  border: 1px solid var(--clr-border);
}

/* =========
   EXPORT MAP
========= */

.export-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.export-map img {
  width: 100%;
}


/* =========================
   TESTIMONIALS
========================= */

.testimonials-section {
  overflow: hidden;
}

.testimonial-slider {
  overflow: hidden;

  margin-top: 3rem;
}

.testimonial-track {
  display: flex;
  gap: 2rem;

  transition: transform .6s ease;
}

.testimonial-card {

  min-width: calc(33.333% - 1.4rem);

  padding: 2rem;

  border-radius: 28px;

  background:
    rgba(255,255,255,.04);

  border:
    1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0,0,0,.25);
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 1rem;

  margin-bottom: 1.5rem;
}

.testimonial-profile img {

  width: 72px;
  height: 72px;

  border-radius: 50%;

  object-fit: cover;

  border:
    2px solid rgba(255,255,255,.1);
}

.testimonial-profile h3 {

  font-size: 1.1rem;
  margin-bottom: .25rem;
}

.testimonial-profile span {

  color: var(--clr-muted);

  font-size: .95rem;
}

.testimonial-card p {

  color: rgba(255,255,255,.82);

  line-height: 1.8;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

  .testimonial-card {
    min-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {

  .testimonial-card {
    min-width: 100%;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

  .testimonial-card {
    min-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {

  .testimonial-card {
    min-width: 100%;
  }
}

/* =========
   CONTACT
========= */

.contact-grid {
  display: grid;
  grid-template-columns:
    repeat(2,1fr);

  gap: 3rem;
}

.contact-card {
  padding: 2rem;

  background:
    rgba(255,255,255,.03);

  border: 1px solid var(--clr-border);

  border-radius: var(--radius-lg);
}

/* =========
   FOOTER
========= */

.site-footer {
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--clr-border);
}

.footer-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(220px,1fr));

  gap: 3rem;
}

.footer-title {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: .8rem;
}

.footer-links a {
  color: var(--clr-muted);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;

  border-top: 1px solid var(--clr-border);

  color: var(--clr-muted);
  text-align: center;
}

/* =========
   RESPONSIVE
========= */

@media (max-width: 980px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    inset: 84px 0 auto 0;

    flex-direction: column;

    padding: 2rem;

    background: #081915;

    transform: translateY(-120%);
    transition: transform .3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 640px) {

  .section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}
/* =========================
   HEADER SCROLL EFFECT
========================= */

.site-header.scrolled {
  background:
    rgba(5, 15, 12, 0.92);

  border-bottom:
    1px solid rgba(255,255,255,.06);

  backdrop-filter:
    blur(18px);
}

/* =========================
   REVEAL ANIMATION
========================= */

[data-reveal] {
  opacity: 1;
  transform: translateY(24px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}