/* ========================================================================== 
   WECANGET — styles.css (DARK MODE ONLY)
   - Single theme: dark
   - Tokens at top for easy brand edits
   - Clean reset, layout, components, responsive utilities
   ========================================================================== */

/* -----------------------------
   THEME TOKENS (edit here)
   ----------------------------- */
:root{
  /* Colors (dark theme) */
  --bg: #172554;            /* page background */
  --surface: #111827;       /* main surface (cards) */
  --surface-2: #1E293B;     /* elevated surface */
  --primary: #93C5FD;       /* primary CTA (light blue) */
  --primary-600: #60A5FA;
  --secondary: #C4B5FD;     /* purple accent */
  --accent: #6EE7B7;        /* success/positive */
  --muted: #94A3B8;         /* muted copy */
  --text: #F8FAFC;          /* main text (very light) */
  --text-2: #E6EEF8;        /* secondary text */
  --border: #334155;        /* subtle borders */
  --danger: #FB7185;
  --warning: #FBBF24;

  /* Typography */
  --font-sans: "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Liberation Sans", sans-serif;
  --font-head: "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --base-size: 16px;
  --line-height: 1.6;

  /* Layout & spacing */
  --container-max: 1200px;
  --space-xs: .25rem;
  --space-sm: .5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 3rem;

  /* Radius & shadow */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 4px 10px rgba(2,6,23,0.6);
  --shadow-md: 0 10px 30px rgba(2,6,23,0.7);

  /* Breakpoints */
  --bp-sm: 520px;
  --bp-md: 820px;
  --bp-lg: 1100px;
}

/* ========================================================================== 
   RESET & BASE
   ========================================================================== */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html,body { height: 100%; }
html { font-size: var(--base-size); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: var(--line-height);
  -webkit-font-feature-settings: "liga" 1;
}

/* Links */
a { color: var(--primary); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* Images */
img { max-width: 100%; height: auto; display: block; }

/* Accessibility helpers */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility spacing */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.text-center { text-align: center; }

/* ========================================================================== 
   TYPOGRAPHY
   ========================================================================== */
h1,h2,h3,h4,h5 { font-family: var(--font-head); color: var(--text); margin: 0 0 .5rem; line-height: 1.2; }
h1 { font-size: 2.25rem; letter-spacing: -0.02em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--text-2); }

/* lead */
.lead { color: var(--muted); font-size: 1rem; }

/* ========================================================================== 
   HEADER / NAV
   ========================================================================== */
.site-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
}
.header-row {
  display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 0;
}
.logo img { height:44px; display:block; }

/* NAV */
.main-nav .nav-list { list-style:none;margin:0;padding:0;display:flex;gap:.6rem;align-items:center; }
.nav-link{
  color:var(--text-2); padding:.5rem .7rem; border-radius:8px; font-weight:600; font-size:.98rem;
}
.nav-link:hover { background: rgba(255,255,255,0.02); color:var(--text); }

/* Header CTA */
.header-cta .btn { font-size:.95rem; padding:.5rem .9rem; border-radius:8px; }
.header-cta .btn-primary { background: linear-gradient(90deg,var(--primary), var(--primary-600)); color: #062038; box-shadow: var(--shadow-sm); border: none; }
.header-cta .btn-secondary { background: transparent; color: var(--primary); border: 1px solid rgba(255,255,255,0.06); }

/* ====== HERO (minimal: image-only) ======
   Shows the uploaded image (full) and hides overlay HTML.
================================================== */

.hero-full {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  overflow: hidden;
  display: block;
}

/* hero image container - center the image */
.hero-full .hero-media {
  width: 100%;
  height: 700px;              /* desktop hero height — matches your 1920x700 image */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* image: keep whole image visible (white-space maintained) */
.hero-full .hero-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
  object-fit: contain;        /* show entire image without cropping */
}

/* hide any overlay / copy / CTA left in HTML so only the image shows */
.hero-full .hero-copy,
.hero-full .hero-overlay,
.hero-full .hero-cta {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .hero-full .hero-media { height: 560px; }
}
@media (max-width: 820px) {
  .hero-full .hero-media { height: 460px; }
}
@media (max-width: 520px) {
  .hero-full .hero-media { height: 360px; }
  .hero-full .hero-media img { max-height: 100%; width: auto; }
}

/* ========================================================================== 
   SERVICES SECTION (separate from hero)
   ========================================================================== */
.services-section {
  padding: var(--space-lg) 0;
}
.services-section h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.45rem;
}

/* grid/service cards - reuse .grid/.card but give a slightly different surface */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.service-cards .card {
  padding: 1.1rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 20px rgba(2,6,23,0.45);
  color: var(--text-2);
}
.service-cards .card h3 { color: var(--text); margin-bottom:.5rem; }

/* ========================================================================== 
   GRID, CARDS & SECTIONS
   ========================================================================== */
.grid { display:grid; gap:1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items:stretch; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
}
.card h3 { color:var(--text); margin-bottom:.5rem; }

/* Feature list */
.features { display:grid; gap:1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ========================================================================== 
   BUTTONS
   ========================================================================== */
.btn {
  display:inline-block; text-decoration:none; cursor:pointer; border:0; transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-600));
  color: #062038; padding:.6rem 1rem; border-radius:8px; font-weight:700;
  box-shadow: 0 6px 18px rgba(8,16,40,0.45);
}
.btn-primary:hover { transform: translateY(-3px); opacity:.98; }
.btn-secondary {
  background: transparent; color: var(--text-2); padding:.55rem .9rem; border-radius:8px;
  border: 1px solid rgba(255,255,255,0.04); font-weight:600;
}
.btn-ghost { background: transparent; color: var(--muted); }

/* ========================================================================== 
   FORMS
   ========================================================================== */
.form label { display:block; margin-bottom:.5rem; font-weight:600; color:var(--text-2); }
.input, textarea {
  width:100%; padding:.65rem .8rem; border-radius:8px; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03); color: var(--text-2); outline:none;
}
.input:focus, textarea:focus {
  box-shadow: 0 6px 20px rgba(14,112,255,0.06);
  border-color: var(--primary-600);
}

/* Form actions */
.form-actions { margin-top: .75rem; display:flex; gap:.5rem; align-items:center; }

/* ========================================================================== 
   PORTFOLIO / IMAGES
   ========================================================================== */
.portfolio-grid { display:grid; gap:1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.portfolio-card { overflow:hidden; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid rgba(255,255,255,0.02); }

/* ========================================================================== 
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding: 2rem 0; color: var(--muted); margin-top: 2.5rem;
}
.footer-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.footer-links { list-style:none; padding:0; margin:0; color:var(--muted); }
.footer-links a { color: var(--muted); font-weight:600; }

/* Footer bottom */
.footer-bottom { display:flex; justify-content:space-between; gap:1rem; align-items:center; padding-top:1rem; border-top:1px solid rgba(255,255,255,0.02); color:var(--muted); }

/* ========================================================================== 
   SMALL WIDGETS: TICKER, TOOLTIPS, MODALS (lightweight)
   ========================================================================== */
.ticker { background: rgba(255,255,255,0.02); padding:.5rem .75rem; border-radius:8px; color:var(--text-2); }
.modal-backdrop { position:fixed; inset:0; background: rgba(2,6,23,0.7); display:flex; align-items:center; justify-content:center; z-index:1200; }
.modal { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); padding:1.25rem; border-radius:12px; max-width:720px; width:100%; box-shadow:var(--shadow-md); }

/* ========================================================================== 
   HELPERS & UTILITIES
   ========================================================================== */
.row { display:flex; gap:1rem; flex-wrap:wrap; }
.col { flex:1 1 0; }
.kv { display:flex; align-items:center; gap:.5rem; color:var(--text-2); }

.badge { background: rgba(255,255,255,0.03); padding:.25rem .5rem; border-radius:6px; color:var(--text-2); font-weight:700; }

/* ========================================================================== 
   RESPONSIVE
   ========================================================================== */
@media (max-width: var(--bp-md)) {
  .hero-inner { flex-direction:column-reverse; gap:1.25rem; }
  .header-row { padding:.6rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

@media (max-width: 520px) {
  h1 { font-size: 1.4rem; }
  .logo img { height:40px; }
  .hero-media { max-width:100%; }
  .main-nav .nav-list { gap:.3rem; }
}

/* ========================================================================== 
   END OF STYLES
   ========================================================================== */
