/* ===== MYTRASTA TRADING – FZCO — style.css ===== */

/* --- Custom Properties --- */
:root {
  --navy: #0f2744;
  --navy-deep: #0a1b30;
  --navy-soft: rgba(15, 39, 68, 0.08);
  --orange: #e07b27;
  --orange-dark: #b85f17;
  --dark: #0f2744;
  --gray: #5b6a7d;
  --gray-soft: #eef1f5;
  --line: #d9dee5;
  --white: #ffffff;
  --bg-hero: #f6f8fb;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.navbar-logo img {
  height: 52px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero (no visual, typography only) --- */
.hero {
  position: relative;
  background: var(--bg-hero);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
  max-width: 860px;
  text-align: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-highlight {
  color: var(--orange);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Section Common --- */
section[id] {
  scroll-margin-top: 100px;
}

.section {
  padding: 88px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 52px;
  font-size: 1.02rem;
}

.section--alt {
  background: var(--gray-soft);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn--outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--small {
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.25;
}

.about-text h2 span {
  color: var(--orange);
  font-weight: 600;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 22px;
  line-height: 1.8;
  font-size: 1.02rem;
}

.about-stats {
  display: grid;
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.stat-sub {
  font-size: 0.9rem;
  color: var(--gray);
}

/* --- Directions (services) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  padding: 36px 28px;
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 4px;
  background: var(--navy-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-card p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* --- Partners --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.partner-item {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
  text-align: center;
  padding: 22px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.partner-item:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* --- Contact --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.08);
  border-color: var(--orange);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: var(--navy-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-card a:not(.btn) {
  color: var(--orange);
  transition: color 0.2s;
  font-weight: 500;
}

.contact-card a:not(.btn):hover {
  color: var(--orange-dark);
}

.trn-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 4px !important;
}

.trn-sub {
  font-size: 0.85rem;
  color: var(--gray);
}

/* --- Footer --- */
.footer {
  background: var(--navy-deep);
  color: #a8b3c1;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 420px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  color: var(--white);
  margin-bottom: 18px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.footer-trn {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .navbar .container {
    position: relative;
  }

  .hero-content {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

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

  .about-stats {
    order: 2;
  }

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

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

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

  .section {
    padding: 56px 0;
  }
}
