/* ========== Base ========== */
:root{
  /* colors & fonts come from head.php:
     --primary-color, --secondary-color, --font-heading, --font-body */
}

html, body { scroll-behavior: smooth; }
body { color:#222; background:#fff; }

/* Links */
a { color: var(--primary-color); text-decoration: none; }
a:hover { color: var(--secondary-color); text-decoration: underline; }

/* Buttons */
.btn-accent {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  box-shadow: 0 .125rem .3rem rgba(0,0,0,.12);
}
.btn-accent:hover { background: #f7a932; color:#fff; }

/* Navbar */
.navbar { backdrop-filter: saturate(1.1) blur(2px); }
.navbar .nav-link { color: #e8f0ec !important; opacity:.9; }
.navbar .nav-link:hover { color:#fff !important; opacity:1; }

/* ========== Hero (carousel) ========== */
.hero-section { min-height: 75vh; position: relative; }
.carousel-item { position: relative; }
.hero-slide {
  min-height: 75vh;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));
}
.carousel-caption {
  bottom: 20%;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
@media (max-width: 768px){
  .carousel-caption { bottom: 10%; }
  .carousel-caption .lead { font-size: 1rem; }
}

/* ========== Sections ========== */
section { scroll-margin-top: 80px; } /* anchor offset for sticky nav */

/* Cards */
.card { border-radius: 1rem; }
.card .card-body h3 { color: var(--primary-color); }

/* USP band & CTA band */
.cta-band { background: var(--primary-color); }
.badge.bg-success { background-color: var(--primary-color) !important; }

/* Process blocks */
#process .border { border-color:#e9ecef !important; }
#process .badge { font-size:.9rem; }

/* ========== Gallery ========== */
.gallery-thumb {
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.15);
}
.modal-img { width:100%; height:auto; display:block; }

/* ========== Footer ========== */
.site-footer { background: var(--primary-color); }
.footer-link { color:#dbeafe; }
.footer-link:hover { color: var(--secondary-color); }

/* ========== Utilities ========== */
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.08)!important; }
.rounded-3 { border-radius: 1rem !important; }

/* Accessibility: focus outlines */
a:focus, button:focus, .btn:focus {
  outline: 2px dashed var(--secondary-color);
  outline-offset: 2px;
}

/* Remove tap highlight on mobile */
* { -webkit-tap-highlight-color: rgba(0,0,0,0); }
