/* ==============================
   CSS RESET (modern minimal)
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
               sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

ul {
  list-style: none;
}

/* ==============================
   CSS VARIABLES (THEME)
================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2563eb;
  --accent-hover: #1e40af;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,.08);
}

/* ==============================
   LAYOUT
================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main.container {
  padding: 60px 20px;
}

/* ==============================
   HEADER & NAV
================================ */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.main-nav a {
  margin-left: 24px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a.active {
  color: var(--accent);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ==============================
   TYPOGRAPHY
================================ */
h1, h2, h3, h4 {
  line-height: 1.25;
  margin-bottom: 16px;
}

h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }

p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

strong {
  color: var(--text);
}

/* ==============================
   CONTENT (TinyMCE output safe)
================================ */
.content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
}

.content a {
  color: var(--accent);
  text-decoration: underline;
}

/* ==============================
   BUTTONS
================================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .2s ease;
}

.btn:hover {
  background: var(--accent-hover);
}

/* ==============================
   HERO
================================ */
.hero {
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
  padding: 80px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text p {
  font-size: 18px;
  max-width: 520px;
}

.hero-visual img {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

/* ==============================
   SERVICES / COLLECTIONS
================================ */
.services {
  padding: 40px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.service-card {
  display: block;
  background: var(--bg-soft);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  font-size: 15px;
}

.service-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--accent);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ==============================
   SINGLE SERVICE PAGE
================================ */
.service-single {
  max-width: 800px;
  margin: 0 auto;
}

.service-single h1 {
  margin-bottom: 24px;
}

.service-single img {
  margin: 32px 0;
  border-radius: var(--radius);
}

.service-single ul {
  list-style: disc;
  margin-left: 20px;
}

/* ==============================
   FOOTER
================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ==============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }

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

  .hero-visual {
    order: -1;
  }

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

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .main-nav {
    margin-top: 12px;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 16px;
  }
}

/* ==============================
   CTA
================================ */
.cta {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  margin: 80px auto;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  margin-bottom: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --bg-soft: #020617;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --border: #1e293b;
  }
}

/* ==============================
   CONTENT SAFE
================================ */
.content iframe,
.content img {
  max-width: 100%;
  height: auto;
}

/* Lazy images */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity .3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

