:root {
  --primary: #c5a059; /* Muted Bronze/Gold from fixtures */
  --secondary: #2c343e; /* Deep Slate */
  --accent: #c5a059;
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;
  --bg-main: #0f0f0f;
  --bg-dark: #050505;
  --border: rgba(255, 255, 255, 0.08);
  --spacing: 2rem;
  --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Layout */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  margin-left: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

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

main {
  padding-top: 80px;
  width: 100%;
}

section {
  padding: 4rem 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--bg-dark);
  color: white;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -2px;
  line-height: 1;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.main-render {
  grid-column: span 2;
  aspect-ratio: 4/5;
  background: #eee;
  overflow: hidden;
  border-radius: 4px;
}

.main-render img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.main-render:hover img {
  transform: scale(1.05);
}

.dwg-detail {
  aspect-ratio: 1/1;
  background: #ffffff;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}

.dwg-detail::before {
  content: "BLUEPRINT";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: #000;
  opacity: 0.4;
  font-weight: 700;
}

.dwg-detail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  filter: contrast(1.1);
}

.project-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--secondary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 8px;
  margin-bottom: 12px;
}

/* Contact Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-cta h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  gap: 2rem;
}

.btn-contact {
  padding: 1rem 2.5rem;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-contact:hover {
  background: white;
  color: var(--bg-dark);
}

/* Utility */
.accent-text {
  color: var(--accent);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.stat-item h3 {
  font-size: 2rem;
}

.footer-subtext {
  margin-bottom: 3rem;
  opacity: 0.8;
}

.copyright {
  margin-top: 6rem;
  font-size: 0.8rem;
  opacity: 0.5;
}

.cad-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 2rem;
  }
  section {
    padding: 2rem 2rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}
