/* Development Construction — Yeezy-inspired brutalist minimal */
/* Design tokens from yeezy.com reference */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --color-bg: #FFFFFF;
  --color-text: #000000;
  --color-heading: #000000;
  --color-accent: #000000;
  --color-border: rgba(0,0,0,0.1);
  --color-surface: #F5F5F5;
  --color-muted: rgba(0,0,0,0.4);
  --color-hover: #333333;
  --color-overlay: rgba(0,0,0,0.55);
  --color-nav-bg: #FFFFFF;
  --color-footer-bg: #000000;
  --color-footer-text: #FFFFFF;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-size-base: 15px;
  --line-height-base: 1.6;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max-width: 1200px;
  --grid-gap: 2px;
  --card-padding: 24px;
  --nav-height: 64px;
  --footer-padding: 40px 0;

  /* Effects */
  --border-radius: 0;
  --transition: all 0.3s ease;
}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--line-height-base);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.1;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  transition: var(--transition);
}

.header-logo img {
  height: 48px;
  width: auto;
}

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

.header-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: var(--transition);
  position: relative;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-muted);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: var(--transition);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.header-cta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  background: var(--color-text);
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.header-cta:hover {
  background: var(--color-hover);
}

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

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

.mobile-toggle.active span:first-child {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.mobile-toggle.active span:last-child {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* === HERO === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  padding: 0 24px;
  max-width: 800px;
}

.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  background: #FFFFFF;
  color: #000000;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-cta:hover {
  background: rgba(255,255,255,0.85);
}

/* === SECTIONS === */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}

.service-card {
  background: var(--color-surface);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.service-card:hover h3 {
  color: var(--color-bg);
}

.service-card h3 {
  margin-bottom: 12px;
  transition: var(--transition);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.service-card:hover p {
  color: rgba(255,255,255,0.6);
}

/* === PROJECTS GRID === */
.projects-grid,
.projects-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.projects-grid-full {
  width: 100%;
  /* Edge-to-edge yeezy-style tight grid */
}

.project-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

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

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

.project-card .project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #FFFFFF;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-info {
  opacity: 1;
}

.project-info h4 {
  color: #FFFFFF;
  margin-bottom: 4px;
}

.project-info span {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* === ABOUT TEASER === */
.about-section {
  background: var(--color-surface);
}

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

.about-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.about-text h2 {
  margin-bottom: 24px;
}

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

.text-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
  transition: var(--transition);
}

.text-link:hover {
  border-color: var(--color-muted);
  color: var(--color-muted);
}

/* === STATS === */
.stats-bar {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--color-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.cta-phone a {
  color: var(--color-text);
  transition: var(--transition);
}

.cta-phone a:hover {
  color: var(--color-muted);
}

.cta-btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  background: var(--color-text);
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cta-btn:hover {
  background: var(--color-hover);
}

/* === FOOTER === */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: var(--footer-padding);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  filter: invert(1);
}

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

.footer-links a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact {
  font-size: 0.875rem;
  opacity: 0.6;
}

.footer-contact a {
  transition: var(--transition);
}

.footer-contact a:hover {
  opacity: 1;
}

.footer-credit {
  font-size: 0.6875rem;
  opacity: 0.3;
  margin-top: 16px;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 1024px) {
  .header-logo img {
    max-height: 42px;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--color-bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a {
    font-size: 0.875rem;
    color: var(--color-text);
  }

  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .projects-grid,
  .projects-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  .hero {
    min-height: 500px;
  }

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

  .projects-grid,
  .projects-grid-full {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-grid {
    gap: 24px;
  }

  section {
    padding: 48px 0;
  }

  .cta-phone {
    font-size: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
