/* ===== Custom Cut & Build – Professional Industrial Theme (Blue / White / Grey) ===== */
:root {
  --bg: #f7f8fa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #0b1c3a;          /* deep navy */
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0b1c3a;           /* navy from logo */
  --accent-hover: #1e3a5f;
  --accent-light: #e8eef6;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(11, 28, 58, 0.08);
  --shadow-strong: 0 10px 40px rgba(11, 28, 58, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Oswald', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(11,28,58,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo-img {
  height: 38px;
  width: auto;
  border-radius: 6px;
  display: block;
}

.logo-text {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.footer-logo {
  height: 36px;
  border-radius: 6px;
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-nav {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
}

.btn-nav:hover { background: var(--accent-hover); color: #fff; }

.btn-full { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11,28,58,0.92) 0%, rgba(11,28,58,0.7) 50%, rgba(11,28,58,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
  max-width: 680px;
  color: #fff;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 span {
  color: #93c5fd;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn-primary {
  background: #fff;
  color: var(--accent);
}

.hero .btn-primary:hover {
  background: #e8eef6;
}

.hero .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

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

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Advantages ===== */
.advantages {
  background: var(--accent-light);
}

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

.advantage h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.advantage p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 12px;
  color: var(--accent);
}

.about-lead {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-content .btn {
  margin-top: 12px;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.projects-grid-rich {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(11,28,58,0.9));
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
}

.project-card-rich {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.project-card-rich:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.project-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--accent-light);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.project-card-rich:hover .project-media img {
  transform: scale(1.04);
}

.project-media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 200px;
  background: linear-gradient(135deg, var(--accent-light), #d4e0f0);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.placeholder-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.project-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.project-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.project-body p:last-child {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.projects-note {
  text-align: center;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .projects-grid-rich {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--bg-dark);
  padding: 70px 0;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
  color: #fff;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 480px;
  margin-inline: auto;
}

.cta-banner .hero-ctas {
  justify-content: center;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-banner .btn-primary:hover {
  background: #e8eef6;
}

.cta-banner .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.cta-banner .btn-outline:hover {
  background: #fff;
  color: var(--accent);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-list a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row textarea { resize: vertical; min-height: 110px; }

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Social / Footer ===== */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: var(--accent);
  color: #fff;
}

.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 40px 0 28px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-social a:hover { color: #fff; }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--bg-elevated);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    box-shadow: var(--shadow);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle { display: flex; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image { order: -1; }

  .about-image img { min-height: 260px; }
}

@media (max-width: 520px) {
  .hero-content { padding: 60px 0 80px; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; }
  .section { padding: 70px 0; }
}


/* ===== Project thumbs & open button ===== */
.project-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}

.project-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(11, 28, 58, 0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
}

.project-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 12px 0;
  overflow-x: auto;
}

.project-thumbs .thumb {
  flex: 0 0 56px;
  height: 44px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--accent-light);
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}

.project-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-thumbs .thumb:hover,
.project-thumbs .thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 12, 28, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-figure {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  margin: 0;
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox-figure figcaption {
  color: rgba(255,255,255,0.85);
  margin-top: 14px;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  opacity: 0.85;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

body.lightbox-open { overflow: hidden; }

@media (max-width: 720px) {
  .lightbox { padding: 56px 12px 24px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.4rem; }
  .lightbox-nav.prev { left: 6px; }
  .lightbox-nav.next { right: 6px; }
}


/* ===== Shop in Action ===== */
.shop-action {
  background: var(--bg);
  padding-top: 40px;
}

.shop-action-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.shop-shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 4/3;
}

.shop-shot-feature {
  grid-row: 1 / span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

.shop-shot img,
.shop-shot .shop-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-shot .shop-video {
  background: #0b1c3a;
}

.shop-shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(11,28,58,0.88));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .shop-action-grid {
    grid-template-columns: 1fr 1fr;
  }
  .shop-shot-feature {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16/9;
  }
}

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