/* Shack Solutions — Full Stylesheet
   Glassy panels + gradient background sitewide */

/* ======================== */
/*      Design Tokens       */
/* ======================== */
:root {
  --orange: #E66425;
  --black: #000000;
  --light: #f9fafb;
  --muted: #e5e7eb;
  --ink: #111827;
  --accent: #fbbf24;
  --glass: rgba(255, 255, 255, 0.14);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* ======================== */
/*          Base            */
/* ======================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  color: var(--light);
  line-height: 1.6;
  min-height: 100vh;
}

/* Headings use Libre Baskerville for a premium look */
h1, h2, h3, h4, h5, h6,
.display,
.page-title {
    font-family: 'Libre Baskerville', serif;
}

.bg-gradient {
  background: linear-gradient(to bottom, var(--orange) 0%, var(--black) 100%);
}

a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #fff;
    text-decoration: underline;
}
.container { width: min(1100px, 90vw); margin: 0 auto; }

/* ======================== */
/*          Header          */
/* ======================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: #fff; text-decoration: none;
}
.logo { height: 32px; width: auto; display: block; }
.menu { display: flex; gap: 18px; align-items: center; }
.menu a { color: #fff; opacity: .95; }
.menu a[aria-current="page"] { text-decoration: underline; }
.cta-link {
  background: var(--accent);
  color: #000;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #fff;
}

/* ======================== */
/*           Hero           */
/* ======================== */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    text-align: center;
    padding: 40px 0;
}
.hero-center { text-align: center; }
.display {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: clamp(56px, 10vw, 100px);
  margin: 0 0 10px;
}
.tagline {
  font-size: clamp(12px, 1.6vw, 15px);
  opacity: .95;
  margin: 0 0 16px;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
  border: 1px solid transparent;
}
.btn.primary { background: var(--accent); color: #000; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }

/* ======================== */
/*       Section Panels     */
/* ======================== */
.section { padding: 60px 0; }

.card-wrap {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--light);
  padding: 40px 20px;
}

.page-title {
  font-family: 'Libre Baskerville', serif;
  color: #fff;
  margin: 0 0 10px;
}
.lead { color: #f3f4f6; margin-top: 0; }

/* ======================== */
/*          Grids           */
/* ======================== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Card style (used for services, contact cards) */
.card {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  color: var(--light);
}
.card h3 { margin: 0 0 8px; color: #fff; }
.card p, .card ul { margin: 0; color: #e5e7eb; }
.card ul { padding-left: 18px; }

/* ======================== */
/*          Work            */
/* ======================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.work-item {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.work-item img {
  display: block;
  width: 100%;
  height: 520px;   /* ✅ smaller thumbnail size */
  object-fit: contain;
  background: rgba(0, 0, 0, .25);
  padding: 6px;
}
.work-item figcaption {
  padding: 10px 12px;
  color: #e5e7eb;
  font-size: 14px;
}

/* ======================== */
/*         Contact          */
/* ======================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Partner Logo at Bottom of Landing Page */
.partner-logo {
  text-align: center;
  margin: 40px auto 20px;
  opacity: 0.85;
}

.partner-logo img {
  max-width: 200px;    /* adjust size */
  width: 50%;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.5)); /* subtle depth */
  transition: opacity 0.3s ease;
}

.partner-logo img:hover {
  opacity: 1;
}

/* ======================== */
/*          Footer          */
/* ======================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .6);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.socials { display: flex; gap: 14px; }

/* ======================== */
/*        Utilities         */
/* ======================== */
.spacer { height: 16px; }

/* ======================== */
/*       Responsive         */
/* ======================== */
@media (max-width: 900px) {
  .menu { display: none; }
  .nav-toggle { display: block; }
  .grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}