/* ===== Black & Blue Customs — styles.css ===== */

:root {
  --black: #0a0e14;
  --black-soft: #10151d;
  --black-card: #161c26;
  --blue: #2f8fff;
  --blue-dark: #1c5fd1;
  --blue-glow: #5aa9ff;
  --white: #f4f6f9;
  --grey: #9aa5b3;
  --border: #232b38;

  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  margin: 0;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--grey);
}

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

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

.section {
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--blue);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.section-sub {
  color: var(--grey);
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

/* ===== Header / Nav ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

.logo span {
  color: var(--blue);
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(47, 143, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
}

.hero-inner {
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(47, 143, 255, 0.25);
}

.hero .tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--grey);
  margin: 1.75rem auto 2.5rem;
  max-width: 560px;
}

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.95rem 2.2rem;
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--black);
  box-shadow: 0 0 0 1px var(--blue-dark), 0 8px 24px rgba(47, 143, 255, 0.25);
}

.btn-primary:hover {
  background: var(--blue-glow);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--blue-dark), 0 12px 28px rgba(47, 143, 255, 0.35);
}

/* ===== What We Do ===== */

.what-we-do {
  background: var(--black-soft);
}

/* ===== Gallery ===== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.gallery-item span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(244, 246, 249, 0.85);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Placeholder color swatches — swap for real photos */
.swatch-1 { background: linear-gradient(135deg, #10151d, #1c5fd1); }
.swatch-2 { background: linear-gradient(135deg, #161c26, #2f8fff); }
.swatch-3 { background: linear-gradient(135deg, #0a0e14, #245ec4); }
.swatch-4 { background: linear-gradient(135deg, #1c5fd1, #0a0e14); }
.swatch-5 { background: linear-gradient(135deg, #2f8fff, #10151d); }
.swatch-6 { background: linear-gradient(135deg, #163057, #0a0e14); }

/* ===== About ===== */

.about-section {
  background: var(--black);
}

/* ===== Contact ===== */

.contact-section {
  background: var(--black-soft);
  text-align: center;
}

.contact-section .section-inner {
  max-width: 600px;
}

.contact-section h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--black);
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--grey);
}

/* ===== Responsive ===== */

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

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black-soft);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-links li {
    border-top: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
  }
}

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

  .section {
    padding: 3.5rem 1.25rem;
  }
}
