/* =========
   Theme
   ========= */
:root {
  /* Clean, professional palette derived from the logo */
  --bg: #f6efe6;         /* warm cream */
  --surface: #ffffff;    /* white cards */
  --surface-2: #f3f4f6;  /* subtle alt section */
  --text: #16181c;       /* near-black */
  --muted: #5b6673;      /* muted text */
  --border: #e6e8ec;

  --brand: #b5332a;      /* deep red */
  --brand-dark: #8f261f;
  --accent: #2f5d7c;     /* steel blue */
  --accent-dark: #23465c;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;

  --container: 1100px;
}

/* =========
   Reset-ish
   ========= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #ffffff 32%, #ffffff 100%);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

/* Accessible helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========
   Layout
   ========= */
.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* =========
   Topbar
   ========= */
.topbar {
  background: #111318;
  color: #eaeef5;
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  flex-wrap: wrap;
}

.topbar__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: #eaeef5;
  opacity: 0.95;
}

.topbar__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.topbar__icon {
  font-size: 16px;
}

/* =========
   Header / Nav
   ========= */
.header {
  padding: 18px 0 30px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  height: 86px;
  width: auto;
  border-radius: 12px;
  /* If the logo has a background, this keeps it feeling intentional */
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.nav {
  position: relative;
}

.nav__toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.nav__toggleBars {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
}
.nav__toggleBars::before,
.nav__toggleBars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}
.nav__toggleBars::before { top: -6px; }
.nav__toggleBars::after { top: 6px; }

.nav__menu {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav__link {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  padding: 10px 10px;
  border-radius: 10px;
}

.nav__link:hover {
  background: rgba(47, 93, 124, 0.10);
  color: var(--accent-dark);
}

/* =========
   Hero
   ========= */
.hero {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.hero__content {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}

.hero__badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
}

.hero__card {
  display: grid;
}

.infoCard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  height: 100%;
}

.infoCard__title {
  margin: 0 0 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.infoCard__text {
  margin: 0 0 18px;
  font-size: 15px;
}

.infoCard__text:last-child {
  margin-bottom: 0;
}

/* =========
   Sections
   ========= */
.section {
  padding: 56px 0;
}

.section--alt {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header {
  margin-bottom: 22px;
}

.section__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

/* =========
   Buttons / Links
   ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: rgba(0,0,0,0.08);
}

.btn--primary:hover {
  background: var(--brand-dark);
}

.btn--secondary {
  background: rgba(47, 93, 124, 0.10);
  border-color: rgba(47, 93, 124, 0.20);
  color: var(--accent-dark);
}

.btn--secondary:hover {
  background: rgba(47, 93, 124, 0.16);
}

.link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
}

.link:hover {
  text-decoration: underline;
}

.link--inverse {
  color: #eaeef5;
}

/* =========
   Services
   ========= */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(47, 93, 124, 0.12);
  color: var(--accent-dark);
  border-radius: 10px;
  font-size: 16px;
  flex: 0 0 auto;
}

.service__title {
  margin: 0 0 4px;
  font-size: 16px;
}

.service__desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed rgba(181, 51, 42, 0.35);
  background: rgba(181, 51, 42, 0.06);
  border-radius: 14px;
}

/* =========
   Gallery
   ========= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.gallery__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.gallery__thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.gallery__item:hover .gallery__thumb {
  transform: scale(1.03);
}

.gallery__overlay {
  position: absolute;
  inset: auto 10px 10px 10px;
  background: rgba(17, 19, 24, 0.78);
  color: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
  transform: translateY(0);
}

/* =========
   Contact
   ========= */
.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 18px;
}

.contact__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact__heading {
  margin: 0 0 12px;
  font-size: 18px;
}

.contact__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.contact__row:first-of-type {
  border-top: none;
}

.contact__label {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
  min-height: 360px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* =========
   Lightbox
   ========= */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.is-open {
  display: block;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.75);
}

.lightbox__content {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 14px;
}

.lightbox__figure {
  margin: 0;
  background: #0f1218;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  overflow: hidden;
  display: grid;
}

.lightbox__img {
  width: 100%;
  height: min(72vh, 720px);
  object-fit: contain;
  background: #0f1218;
}

.lightbox__caption {
  padding: 10px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #fff;
  cursor: pointer;
}

.lightbox__nav {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  display: grid;
  place-items: center;
}

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

/* =========
   Footer
   ========= */
.footer {
  background: #111318;
  color: #eaeef5;
  padding: 18px 0;
}

.footer__inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer__left,
.footer__right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__sep {
  opacity: 0.6;
}

/* =========
   Responsive
   ========= */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand__logo {
    height: 72px;
  }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .nav__menu {
    position: absolute;
    right: 0;
    top: 52px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
    display: none;
    min-width: 180px;
  }

  .nav__menu.is-open {
    display: grid;
  }

  .nav__link {
    padding: 10px 12px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__thumb {
    height: 150px;
  }

  .lightbox__content {
    inset: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lightbox__nav {
    display: none; /* Swipe/keyboard + close is enough on small screens */
  }

  .lightbox__img {
    height: min(72vh, 620px);
  }

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