
:root{
  --bg:#ffffff;--panel:#f7f8fa;--ink:#111217;--muted:#6b7280;--line:#e5e7eb;
  --accent:#111217;--accent-ink:#ffffff;--radius:18px;--shadow:0 10px 30px rgba(17,18,23,.08)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}
img{max-width:100%;height:auto;display:block}
a{color:#111217}
.container{max-width:1180px;margin:0 auto;padding:0 24px}

/* Section-level customization knobs */
.section{
  --section-min-h:auto;                 /* e.g., 60vh, 800px */
  --section-bg:none;                    /* e.g., url('/assets/img/hero.jpg') */
  --section-bg-size:cover;
  --section-bg-pos:center;
  --section-bg-repeat:no-repeat;
  --section-bg-overlay:transparent;     /* e.g., rgba(255,255,255,.75) */
  --section-color:var(--ink);           /* text color override */
  --section-pad:72px;                   /* vertical padding */
  position:relative;
  padding:var(--section-pad) 0;
  min-height:var(--section-min-h);
  color:var(--section-color);
  overflow:clip;
}
.section.alt{background:var(--panel)}
.section.has-bg::before{
  content:"";
  position:absolute;inset:0;z-index:0;
  background-image:var(--section-bg);
  background-size:var(--section-bg-size);
  background-position:var(--section-bg-pos);
  background-repeat:var(--section-bg-repeat);
}
.section.has-bg::after{
  content:"";
  position:absolute;inset:0;z-index:1;background:var(--section-bg-overlay);
}
.section > .container, .section > .container *{position:relative;z-index:2}

/* Type & UI */
h1,h2,h3{letter-spacing:-.01em;margin:0 0 14px}
h1{font-weight:800;font-size:clamp(3rem,3.8vw + 1rem,4rem)}
h2{font-weight:800;font-size:clamp(1.5rem,1.6vw + 1rem,2rem)}
h3{font-weight:700;font-size:1.15rem}
p{margin:0 0 10px}
.lead{font-weight:300;font-size:1.125rem;color:var(--muted);max-width:100ch;text-align: center;}
.kicker{font-weight:800;text-transform:uppercase;letter-spacing:.14em;color:#9aa3af;font-size:.8rem;margin-bottom:10px}
.badge{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:.35rem .65rem;margin:.25rem .35rem 0 0;color:var(--muted);font-weight:700;background:rgba(255,255,255,.8)}
.btn{display:inline-block;background:var(--accent);color:var(--accent-ink);padding:.9rem 1.2rem;border-radius:12px;text-decoration:none;font-weight:900;box-shadow:var(--shadow)}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line);box-shadow:none}
.btn.ghost a:hover{color:#fff}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}
.grid{display:grid;gap:22px}
.grid.two{grid-template-columns:1fr}
.grid.three{grid-template-columns:1fr}
@media(min-width:960px){ .grid.two{grid-template-columns:1.5fr 1fr} .grid.three{grid-template-columns:repeat(3,1fr)} }
header.site{position:/*sticky*/;top:0;background:rgba(255,255,255,.85);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--line);z-index:10}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;gap:.75rem;align-items:center;text-decoration:none;color:var(--ink)}
.logo{width:40px;height:40px;border-radius:10px;background:#111217;display:grid;place-items:center;color:#fff;font-weight:900}
nav a{color:#374151;text-decoration:none;margin-left:16px;font-weight:800}
nav a:hover{color:#111217}
.gallery{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.gallery img{border-radius:14px;border:1px solid var(--line);background:#fff}
.table{width:100%;border-collapse:collapse}
.table th,.table td{border:1px solid var(--line);padding:.9rem;border-radius:10px}
.table th{text-align:left;background:#fafafa}
input,select,textarea{width:100%;padding:.9rem 1rem;border-radius:12px;border:1px solid var(--line);background:#fff;color:#111;outline:none}
textarea{min-height:140px;resize:vertical}
label{font-weight:800;margin:8px 0 6px;display:block}
.req::after{content:" *";color:#ef4444}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
footer{padding:28px 0;border-top:1px solid var(--line);color:#6b7280;font-weight:700}
small.muted{color:#9aa3af}

/* Carousel (autoplay + captions) */
.carousel{display:grid;gap:14px}
.carousel-stage{
  position:relative;border:1px solid var(--line);border-radius:14px;
  overflow:hidden;box-shadow:var(--shadow);background:#fff
}
.carousel-image{width:100%;height:min(65vh,640px);object-fit:cover;display:block}
.cbtn{
  position:absolute;top:50%;transform:translateY(-50%);
  border:0;background:rgba(17,18,23,.6);color:#fff;width:42px;height:42px;
  border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:24px;line-height:1
}
.cbtn:hover{background:rgba(17,18,23,.8)}
.cbtn.prev{left:10px}
.cbtn.next{right:10px}

/* Play/Pause button (top-right) */
.cbtn.playpause{
  top:14px;right:14px;transform:none;width:38px;height:38px;font-size:18px;background:rgba(17,18,23,.7)
}

.carousel-caption{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(to top, rgba(17,18,23,.55), rgba(17,18,23,0));
  color:#fff;padding:18px 16px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.25)
}

/* Thumbnails */
.carousel-thumbs{display:grid;grid-auto-flow:column;gap:10px;overflow-x:auto;padding-bottom:2px}
.carousel-thumbs::-webkit-scrollbar{height:8px}
.carousel-thumbs::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:8px}
.thumb{border:2px solid transparent;padding:2px;border-radius:10px;background:#fff;cursor:pointer}
.thumb img{display:block;width:110px;height:72px;object-fit:cover;border-radius:8px}
.thumb.is-active{border-color:#111217}

/* Small screens */
@media (max-width:600px){
  .thumb img{width:84px;height:56px}
  .carousel-image{height:46vh}
}

/* --- Rotating Header Word GO! --- */
.hero-headline { font-weight: 800; letter-spacing: 0.2px; }
#swap-word {
  display: inline-block; 
  position: relative;
  /* default animation durations (ms); can be overridden per entry in JS */
  --in: 280ms;
  --out: 220ms;
}

/* --- Animation helpers (don’t edit unless customizing motions) --- */
.anim-reset { animation: none !important; }

/* Fade */
.fade-out { animation: fadeOut var(--out) ease forwards; }
.fade-in  { animation: fadeIn  var(--in)  ease forwards; }
@keyframes fadeOut { to { opacity: 0; filter: blur(2px); transform: translateY(2px); } }
@keyframes fadeIn  { from { opacity: 0; filter: blur(2px); transform: translateY(-2px); } to { opacity: 1; filter: blur(0); transform: translateY(0);} }

/* Wipe (reveals left→right using clip-path) */
.wipe-out { animation: wipeOut var(--out) ease forwards; }
.wipe-in  { animation: wipeIn  var(--in)  ease forwards; }
@keyframes wipeOut { to { clip-path: inset(0 100% 0 0); opacity: 0.2; } }
@keyframes wipeIn  { from { clip-path: inset(0 100% 0 0); opacity: 0.2; }
                     to   { clip-path: inset(0 0 0 0);   opacity: 1; } }

/* Slide-up */
.slide-up-out { animation: slideUpOut var(--out) cubic-bezier(.2,.7,.2,1) forwards; }
.slide-up-in  { animation: slideUpIn  var(--in)  cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes slideUpOut { to { transform: translateY(-60%); opacity: 0; } }
@keyframes slideUpIn  { from { transform: translateY(60%);  opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Type (quick type-on effect; pairs with fade-out for exit) */
.type-in  { animation: typeIn var(--in) steps(12,end) forwards; white-space: nowrap; }
@keyframes typeIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0);} }
/* --- Rotating Header Word NO! --- */

/* --- Header container --- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg, #fff);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0.5rem 1rem;
}

/* --- Logo --- */
.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: clamp(100px, 12vw, 160px); /* responsive size */
}

.header-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,.15));
  transition: transform .25s ease, filter .25s ease;
}

.header-logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.22));
}

/* --- Nav styling (example) --- */
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-color, #222);
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--accent-color, #0080ff);
}


/* === GavWraps Vibrant Palette Additions === */

/* Brand palette */
:root {
  --brand-red: #ef233c;
  --brand-orange: #f77f00;
  --brand-yellow: #ffbe0b;
  --brand-blue: #3a86ff;
  --brand-teal: #00bfa6;
  --brand-dark: #111217;
  --brand-light: #f8f9fb;
}

/* Update default accent to the vibrant red */
:root {
  --accent: var(--brand-red);
  --accent-ink: #fff;
}

/* Buttons with fun hover states */
.btn {
  transition: background 0.25s ease, transform 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--brand-blue);
}
.btn.ghost:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* Badges get the full color wheel treatment */
.badge:nth-of-type(1) { background: var(--brand-red); color: #fff; }
.badge:nth-of-type(2) { background: var(--brand-orange); color: #fff; }
.badge:nth-of-type(3) { background: var(--brand-yellow); color: var(--brand-dark); }
.badge:nth-of-type(4) { background: var(--brand-teal); color: #fff; }

/* Section headers with a subtle color bar */
h2 {
  position: relative;
  display: inline-block;
}
h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 50%;
  height: 4px;
  background: var(--brand-blue);
  border-radius: 2px;
}

/* Carousel tweaks to match the palette */
.cbtn {
  background: rgba(58, 134, 255, 0.75); /* brand-blue semi */
}
.cbtn:hover {
  background: rgba(239, 35, 60, 0.85); /* brand-red semi */
}
.thumb.is-active {
  border-color: var(--brand-teal);
}
.carousel-caption {
  background: linear-gradient(to top, rgba(239,35,60,.65), rgba(0,0,0,0));
}

/* Fun accent for links */
a {
  color: var(--brand-blue);
}
a:hover {
  color: var(--brand-red);
}

/* Card with optional image GO!  */
.card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.card img.card-img {
  display:block;
  width:100%;
  height:180px;            /* adjust as needed */
  object-fit:cover;
  border-bottom:1px solid var(--line);
}

.card-content {
  padding:22px;
  flex:1;
}

/* If no image is present, card-content still has top corners rounded */
.card:not(:has(img.card-img)) {
  border-radius:var(--radius);
}
/* Card with optional image NO!  */


/* --- Gallery grid GO! --- */


/* --- Gallery grid NO! --- */


}
