/* SpaceLift, LLC - Clean Static Stylesheet */
:root {
  --color-primary: #2f4f4f;
  --color-primary-hover: #233c3c;
  --color-bg: #3a453c;
  --color-bg-alt: #354038;
  --color-surface: #2d372f;
  --color-header: #f8f8f6;
  --color-text: #eef1ee;
  --color-text-muted: #cfd6d0;
  --color-border: rgba(255, 255, 255, 0.14);
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-header);
  color: #1b1b1b;
  border-bottom: 1px solid rgba(47, 79, 79, 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.nav-item { position: relative; }

.nav-link, .nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1b1b1b;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover, .nav-dropdown-btn:hover, .nav-link.active {
  color: var(--color-primary);
  background-color: rgba(47, 79, 79, 0.08);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  padding: 8px 0;
  list-style: none;
  z-index: 200;
}

.nav-item:hover > .dropdown-menu,
.nav-item.open > .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 15px;
  color: #222;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.dropdown-menu a:hover, .dropdown-menu a.active {
  background-color: rgba(47, 79, 79, 0.09);
  color: var(--color-primary);
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(47, 79, 79, 0.35);
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 860px) {
  .mobile-menu-btn { display: inline-flex; align-items: center; gap: 6px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px 24px 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link, .nav-dropdown-btn { width: 100%; justify-content: space-between; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    background: #f6f7f6;
  }
}

/* Headings & Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #ffffff;
  margin-top: 0;
  line-height: 1.25;
}

.section { padding: 64px 0; }
.section-alt { background-color: var(--color-bg-alt); }
.section-accent { background-color: var(--color-primary); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  color: var(--color-text-muted);
}

/* Page Banner */
.page-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  padding: 64px 24px;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 34, 28, 0.56);
}

.page-banner > .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.page-banner p { color: #eef1ee; max-width: 680px; margin: 0 auto; font-size: 1.1rem; }

/* Hero Home */
.hero-home {
  padding: 56px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-bg) 100%);
}

.hero-home h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-bottom: 28px;
}

.hero-image-wrap {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.hero-image-wrap img { width: 100%; max-height: 620px; object-fit: cover; }

/* Cards & Feature Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body { padding: 24px; flex: 1; }
.card-body h3, .card-body h4 { font-size: 1.35rem; margin-bottom: 10px; }
.card-body p { margin: 0; color: var(--color-text-muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  background-color: #ffffff;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.btn:hover {
  background-color: transparent;
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--color-primary);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.03); }

/* Video Embed */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  background: #111;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Testimonials */
.testimonial-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 16px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Services list */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 28px;
}

.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { margin: 0; color: var(--color-text-muted); }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-surface);
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #ffffff;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: #1b1b1b;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 4px 0 0;
}

.form-status {
  padding: 12px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  display: none;
}

/* Social links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background-color: #242d26;
  color: var(--color-text-muted);
  padding: 48px 0 36px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }

.footer-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: none;
  font-size: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close { top: 18px; right: 20px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.32);
}
/* Social Showcase & Admin Uploader Styles */
.social-showcase {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.social-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.social-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.social-card span {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.fb-embed-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.fb-frame-wrap {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .social-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .social-grid { grid-template-columns: 1fr; }
}

/* Admin Catalog Manager */
.admin-panel {
  max-width: 1060px;
  margin: 0 auto;
}

.admin-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.admin-tab {
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

.admin-tab.active {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.2s, border-color 0.2s;
}

.dropzone.dragover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.admin-item {
  background: #232b24;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.admin-item-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-item-body input {
  width: 100%;
  padding: 7px 9px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: #1b1b1b;
  font-size: 13px;
}

.admin-item-actions {
  display: flex;
  gap: 6px;
  justify-content: space-between;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
}

.btn-sm:hover { background: rgba(255, 255, 255, 0.2); }
.btn-danger { background: #7f2929; border-color: #9e3838; }
.btn-danger:hover { background: #9e3838; }

.status-banner {
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
}
