/* base.css — shared structure for every skin.
   Skins set the CSS variables below and a few accent tweaks. */

:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --text: #1f2933;
  --muted: #6b7280;
  --accent: #f0932b;
  --accent-2: #e07b13;
  --on-accent: #ffffff;
  --header-bg: #1f2933;
  --header-text: #ffffff;
  --border: #e2e6ea;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(0,0,0,.10);
  --font-head: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hero-bg: linear-gradient(135deg, #1f2933, #3e4c59);
  --hero-text: #ffffff;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); line-height: 1.6; font-size: 17px;
}
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }

/* Header */
.site-header {
  background: var(--header-bg); color: var(--header-text);
  position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.main-nav a {
  color: var(--header-text); text-decoration: none; margin-left: 22px; font-weight: 600; opacity: .9;
}
.main-nav a:hover { opacity: 1; color: var(--accent); }

/* Hero */
.hero {
  background: var(--hero-bg); color: var(--hero-text); text-align: center;
  padding: 90px 20px; background-size: cover; background-position: center;
}
.hero h1 { font-size: clamp(32px, 6vw, 56px); margin: 0 0 12px; }
.hero .tagline { font-size: clamp(17px, 2.4vw, 22px); opacity: .92; margin: 0 auto 28px; max-width: 640px; }
.cta {
  display: inline-block; background: var(--accent); color: var(--on-accent); text-decoration: none;
  padding: 14px 30px; border-radius: var(--radius); font-weight: 700; font-size: 17px;
  transition: transform .1s, background .15s;
}
.cta:hover { background: var(--accent-2); transform: translateY(-2px); }

/* Sections */
.section { padding: 70px 0; }
.section:nth-of-type(even) { background: var(--surface); }
.section h2 { font-size: clamp(26px, 4vw, 38px); text-align: center; margin: 0 0 10px; }
.section-sub { margin: 0 0 34px; color: var(--muted); }

/* About */
.about .bio { max-width: 760px; margin: 20px auto 0; font-size: 18px; }
.service-area { text-align: center; margin-top: 26px; font-size: 17px; }

/* Gallery */
.gallery-group { margin-top: 46px; }
.gallery-group h3 { font-size: 24px; margin: 0 0 4px; color: var(--accent-2); }
.group-desc { margin: 0 0 18px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tile {
  border: 0; padding: 0; cursor: pointer; background: var(--surface);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/3; transition: transform .15s, box-shadow .15s;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.20); }

/* Contact */
.contact-cards { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 24px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none;
  background: var(--bg); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 40px; min-width: 220px; box-shadow: var(--shadow);
  transition: transform .12s, border-color .15s;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.contact-card .ci { font-size: 30px; }
.contact-card .cl { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.contact-card .cv { font-weight: 700; font-size: 19px; }

/* Footer */
.site-footer { background: var(--header-bg); color: var(--header-text); text-align: center; padding: 28px 20px; }
.site-footer p { margin: 0; opacity: .85; }

/* Lightbox / slideshow */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center; padding: 30px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lb-figure img {
  max-width: 90vw; max-height: 78vh; margin: 0 auto; border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
.lb-figure figcaption { color: #fff; margin-top: 14px; font-size: 16px; opacity: .9; }
.lb-close, .lb-nav {
  position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 54px; height: 54px; border-radius: 50%; font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.lb-close:hover, .lb-nav:hover { background: var(--accent); }
.lb-close { top: 20px; right: 24px; font-size: 22px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; opacity: .8; font-size: 14px; }

@media (max-width: 560px) {
  .main-nav a { margin-left: 14px; font-size: 14px; }
  .section { padding: 50px 0; }
  .lb-nav { width: 44px; height: 44px; }
}
