/* Core brand palette */
:root {
  --assan-dark: #0f1f1c;
  --assan-green: #0f766e;
  --assan-lime: #8fd694;
  --assan-gold: #f6c343;
  --assan-sand: #f0efe7;
  --assan-deep: #062a2f;
  --assan-muted: #6c757d;
  --assan-radius: 1.2rem;
  color-scheme: light;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--assan-dark);
  background-color: var(--assan-sand);
  line-height: 1.65;
  letter-spacing: 0.01em;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/abuko.jpg") center/cover no-repeat;
  opacity: 0.5;
  z-index: -1;
  transform: scale(1.05);
}

main.container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--assan-radius);
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 40px 80px rgba(6, 42, 47, 0.2);
  backdrop-filter: blur(2px);
}

a {
  color: var(--assan-green);
  text-decoration: none;
}

a:hover {
  color: var(--assan-gold);
}

.navbar {
  background: rgba(6, 42, 47, 0.9);
  backdrop-filter: blur(6px);
}

.navbar .nav-link,
.navbar-brand {
  color: #fff !important;
  font-weight: 600;
}

.navbar .nav-link.active {
  color: var(--assan-gold) !important;
}

.hero {
  background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.65), rgba(6, 42, 47, 0.95)),
    url("../img/hero-texture.svg");
  background-size: cover;
  border-radius: var(--assan-radius);
  padding: clamp(3rem, 8vw, 6rem);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 35px 65px rgba(6, 42, 47, 0.35);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: calc(var(--assan-radius) - 0.4rem);
  pointer-events: none;
}

.highlight-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero h1 span {
  color: var(--assan-gold);
}

.shadow-card {
  background: #fff;
  border-radius: var(--assan-radius);
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(12, 51, 54, 0.15);
  border: 1px solid rgba(6, 42, 47, 0.08);
}

.shadow-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.hero .shadow-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--assan-dark);
}

.hero .shadow-card h3 {
  color: var(--assan-deep);
}

.stat-tile {
  border-radius: var(--assan-radius);
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(6, 42, 47, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.1);
}

.stat-tile strong {
  font-size: 2.6rem;
  color: var(--assan-green);
  display: block;
}

.site-card {
  border-radius: var(--assan-radius);
  background: #fff;
  border: 1px solid rgba(15, 31, 28, 0.08);
  box-shadow: 0 20px 45px rgba(6, 42, 47, 0.12);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(6, 42, 47, 0.18);
}

.site-card__header {
  background: linear-gradient(120deg, var(--assan-green), var(--assan-gold));
  color: #fff;
  padding: 1.6rem;
}

.site-card__body {
  padding: 1.75rem;
}

.site-card__body p {
  margin-bottom: 0.7rem;
}

.badge-tag {
  background: rgba(15, 118, 110, 0.1);
  color: var(--assan-deep);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  color: var(--assan-green);
  background-color: rgba(15, 118, 110, 0.08);
}

.contact-card {
  background: #fff;
  border-radius: var(--assan-radius);
  padding: 2rem;
  border: 1px solid rgba(6, 42, 47, 0.1);
  box-shadow: 0 20px 45px rgba(6, 42, 47, 0.12);
}

.contact-card .icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  background: rgba(15, 118, 110, 0.12);
  display: grid;
  place-items: center;
  color: var(--assan-green);
  font-size: 1.3rem;
  margin-right: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gallery-grid figure {
  margin: 0;
  background: #fff;
  border-radius: 0.9rem;
  border: 1px solid rgba(6, 42, 47, 0.08);
  box-shadow: 0 16px 35px rgba(6, 42, 47, 0.12);
  overflow: hidden;
  cursor: pointer;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-grid figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--assan-muted);
  border-top: 1px solid rgba(15, 31, 28, 0.05);
  background: #fafafa;
  text-transform: capitalize;
  letter-spacing: 0.08em;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 12, 13, 0.85);
  backdrop-filter: blur(4px);
}

.lightbox__dialog {
  position: relative;
  width: min(90vw, 960px);
  background: #000;
  border-radius: 1rem;
  padding: 1.5rem 3.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.6);
}

.lightbox__figure {
  margin: 0;
  flex: 1;
  text-align: center;
}

.lightbox__figure img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 0.6rem;
}

.lightbox__figure figcaption {
  margin-top: 0.85rem;
  color: #e6f0ee;
  font-size: 0.95rem;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.lightbox__nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav span {
  font-size: 1.3rem;
}

.lightbox__nav--prev {
  margin-right: -0.5rem;
}

.lightbox__nav--next {
  margin-left: -0.5rem;
}

.footer {
  background: #020c0d;
  color: #9db2af;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer h5 {
  color: #fff;
  font-weight: 600;
}

.footer a {
  color: #9db2af;
}

.footer a:hover {
  color: var(--assan-gold);
}

.page-heading {
  margin-bottom: 2rem;
}

.page-heading span {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--assan-muted);
}

.page-heading h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-top: 0.35rem;
}

.seo-block {
  border-left: 4px solid var(--assan-green);
  padding-left: 1rem;
  font-size: 0.95rem;
  color: var(--assan-muted);
}

.btn-cta {
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
}

@media (max-width: 992px) {
  .hero {
    padding: 2.75rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 2rem;
  }

  .shadow-card {
    padding: 1.5rem;
  }
}
