/* Lidcorp Trading — White & Dark Blue Theme */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a1628;
  --navy-light: #1a2d4a;
  --text: #1a1a1a;
  --text-muted: #444;
  --border: #e0e4e8;
  --bg-alt: #f5f7fa;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--navy);
  color: #fff;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.logo:hover { text-decoration: none; color: #fff; opacity: 0.9; }

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.nav ul {
  display: flex;
  gap: 4px;
}

.nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

.nav a:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/* Sections */
.section {
  padding: 48px 0;
  scroll-margin-top: 56px;
}

.section-hero {
  padding-top: 0;
}

.hero-inner {
  background: var(--bg-alt);
  border-bottom: 3px solid var(--navy);
  padding: 100px 24px 60px;
  text-align: center;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.hero-text {
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-text p:first-child {
  margin-top: 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.3;
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy);
}

.section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 12px;
}

.section h3:first-of-type { margin-top: 0; }

.section p {
  margin-bottom: 16px;
  color: var(--text);
}

.section p:last-child { margin-bottom: 0; }

/* Grid & Cards */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.section-alt .card {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  margin-bottom: 16px;
}

.card-icon svg { flex-shrink: 0; }

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px 0;
}

.card p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.card p:last-child { margin-bottom: 0; }

.card-span-2 { grid-column: span 2; }

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 48px 24px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand .footer-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand .footer-logo:hover { color: #fff; text-decoration: none; opacity: 0.9; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.75);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.footer-nav a:hover { color: #fff; text-decoration: none; }

.footer-contact p {
  font-size: 0.9rem;
  margin: 0 0 6px 0;
  line-height: 1.5;
}

.footer-contact a { color: rgba(255,255,255,0.9); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  margin: 0;
  color: rgba(255,255,255,0.6);
}

/* Tablet */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  .burger { display: flex; }

  .nav {
    position: fixed;
    top: 0; right: 0;
    width: 260px;
    height: 100vh;
    background: var(--navy);
    padding: 70px 20px 30px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 99;
  }

  .nav.open { transform: translateX(0); }

  .nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .nav a { padding: 12px 10px; font-size: 1rem; }

  .section { padding: 36px 0; }
  .hero-inner { padding: 80px 20px 48px; }
  .section h1 { font-size: 1.5rem; }
  .section h2 { font-size: 1.35rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .card-span-2 { grid-column: span 1; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px 24px;
  }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}
