/* VCS Theme — design tokens cloned from the React app (src/index.css) */

:root {
  --vcs-bg: hsl(0 0% 7%);
  --vcs-card: hsl(0 0% 9%);
  --vcs-card-2: hsl(0 0% 12%);
  --vcs-fg: hsl(0 0% 98%);
  --vcs-muted: hsl(0 0% 65.1%);
  --vcs-border: hsl(0 0% 17.5%);
  --vcs-gold: #E6C164;
  --vcs-gold-soft: rgba(230, 193, 100, 0.15);
  --vcs-gold-strong: #D4A744;
  --vcs-red: hsl(0 62.8% 30.6%);

  --vcs-radius: 0.5rem;
  --vcs-radius-lg: 0.75rem;

  --vcs-shadow: 0 10px 30px rgba(0,0,0,0.5);

  --vcs-font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--vcs-font);
  background: var(--vcs-bg);
  color: var(--vcs-fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--vcs-gold); text-decoration: none; transition: color .15s; }
a:hover { color: var(--vcs-gold-strong); }

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

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; color: var(--vcs-muted); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: var(--vcs-radius);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--vcs-gold); color: #111; }
.btn-primary:hover { background: var(--vcs-gold-strong); color: #111; }
.btn-outline { background: transparent; color: var(--vcs-gold); border-color: var(--vcs-gold); }
.btn-outline:hover { background: var(--vcs-gold-soft); color: var(--vcs-gold); }
.btn-ghost { background: transparent; color: var(--vcs-fg); }
.btn-ghost:hover { background: var(--vcs-card-2); }

/* Cards */
.card {
  background: var(--vcs-card);
  border: 1px solid var(--vcs-border);
  border-radius: var(--vcs-radius-lg);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--vcs-gold); }

.card-img { border-radius: var(--vcs-radius); margin-bottom: 1rem; aspect-ratio: 16/10; object-fit: cover; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vcs-border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.nav-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--vcs-fg); font-weight: 600; font-size: 1.05rem; }
.nav-brand img { height: 38px; width: auto; }
.primary-nav { display: flex; gap: 1.4rem; align-items: center; }
.primary-nav a { color: var(--vcs-fg); font-weight: 500; font-size: .95rem; }
.primary-nav a:hover { color: var(--vcs-gold); }
.nav-cta { display: flex; gap: .6rem; align-items: center; }

.nav-toggle { display: none; background: none; border: 0; color: var(--vcs-fg); padding: .4rem; cursor: pointer; }
.lang-switcher a { display: inline-block; padding: .25rem .5rem; border-radius: .35rem; font-size: .85rem; color: var(--vcs-muted); }
.lang-switcher a.is-active { color: var(--vcs-gold); background: var(--vcs-gold-soft); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
                 flex-direction: column; gap: 0; background: var(--vcs-card);
                 border-bottom: 1px solid var(--vcs-border); padding: 1rem 1.25rem; }
  .primary-nav.is-open { display: flex; }
  .nav-cta { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  background: radial-gradient(ellipse at top, rgba(230,193,100,0.08), transparent 60%), var(--vcs-bg);
  text-align: center;
}
.hero h1 { background: linear-gradient(180deg, #fff, #cfcfcf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--vcs-muted); max-width: 720px; margin-inline: auto; margin-bottom: 2rem; }
.hero .cta-row { display: inline-flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 span { color: var(--vcs-gold); }
.section-title p { max-width: 700px; margin-inline: auto; }

.grid { display: grid; gap: 1.4rem; }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Footer */
.site-footer { background: #0a0a0a; border-top: 1px solid var(--vcs-border); padding: 3rem 0 1.5rem; color: var(--vcs-muted); }
.site-footer h4 { color: var(--vcs-fg); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer ul li a { color: var(--vcs-muted); }
.site-footer ul li a:hover { color: var(--vcs-gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--vcs-border); font-size: .85rem; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Blog post */
.entry-meta { color: var(--vcs-muted); font-size: .85rem; margin-bottom: .75rem; }
.entry-content h2, .entry-content h3 { color: var(--vcs-fg); margin-top: 2rem; }
.entry-content a { color: var(--vcs-gold); text-decoration: underline; }
.entry-content blockquote {
  border-left: 3px solid var(--vcs-gold);
  background: var(--vcs-card);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--vcs-fg);
  font-style: italic;
}
.entry-content img { border-radius: var(--vcs-radius); }

/* WooCommerce minimal alignment */
.woocommerce ul.products li.product { background: var(--vcs-card); border: 1px solid var(--vcs-border); border-radius: var(--vcs-radius-lg); padding: 1rem; }
.woocommerce ul.products li.product:hover { border-color: var(--vcs-gold); }
.woocommerce ul.products li.product .price { color: var(--vcs-gold); font-weight: 600; }
.woocommerce a.button, .woocommerce button.button { background: var(--vcs-gold); color: #111; border-radius: var(--vcs-radius); }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--vcs-gold-strong); color: #111; }

/* Helpers */
.text-gold { color: var(--vcs-gold); }
.text-muted { color: var(--vcs-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 2rem; } .mt-4 { margin-top: 4rem; }
.mb-0 { margin-bottom: 0; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 1rem; background: var(--vcs-gold); color: #111; padding: .5rem 1rem; border-radius: var(--vcs-radius); }
.skip-link:focus { left: 1rem; }
