/* ============================================
   LOD CONSTRUCTION — STYLES
   Monochromatic, typography-driven, minimalist
   ============================================ */

/* Custom Fonts */
@font-face {
  font-family: 'AstroSpace';
  src: url('fonts/AstroSpace.otf') format('opentype'),
       url('fonts/AstroSpace.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Google Fonts loaded in HTML head:
   Inter, Share Tech Mono */

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #222;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'AstroSpace', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.3;
}

h1 { font-size: 52px; letter-spacing: 0.5em; }
h2 { font-size: 32px; letter-spacing: 0.3em; margin-bottom: 40px; }
h3 { font-size: 20px; letter-spacing: 0.2em; margin-bottom: 20px; }
h4 { font-size: 16px; letter-spacing: 0.15em; margin-bottom: 16px; }

p { margin-bottom: 20px; color: #555; }

.tagline {
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 14px;
  color: #555;
}

.section-label {
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 12px;
  color: #999;
  margin-bottom: 20px;
  display: block;
}

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

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

.main-nav a {
  font-family: 'AstroSpace', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #222;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active { color: #555; border-color: #555; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #1a1a1a;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ---- Hero ---- */
.hero {
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

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

.hero-content h1 {
  color: #fff;
  margin-bottom: 30px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-content .tagline {
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.hero-content .slogan {
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.8);
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section--gray { background: #f8f8f8; }
.section--dark { background: #1a1a1a; color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #ccc; }
.section--dark .section-label { color: #666; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: 'AstroSpace', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 48px;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
  border: none;
}

.btn--outline {
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  background: transparent;
}

.btn--outline:hover { background: #1a1a1a; color: #fff; }

.btn--white {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

.btn--white:hover { background: #fff; color: #1a1a1a; }

.btn--solid {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #1a1a1a;
}

.btn--solid:hover { background: #333; border-color: #333; }

/* ---- Grid ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* ---- Service Cards ---- */
.service-card {
  padding: 50px 40px;
  border: 1px solid #eee;
  transition: border-color 0.3s;
}

.service-card:hover { border-color: #222; }

.service-card h3 { font-size: 18px; margin-bottom: 24px; }

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  font-size: 15px;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.service-card ul li:last-child { border-bottom: none; }

/* ---- Project Cards ---- */
.project-card {
  margin-bottom: 80px;
}

.project-image {
  width: 100%;
  height: 400px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.project-image span {
  font-family: 'AstroSpace', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.project-meta {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.project-meta-item {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

.project-meta-item strong {
  display: block;
  color: #222;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 4px;
}

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  padding: 60px 0;
}

.stat-number {
  font-family: 'AstroSpace', sans-serif;
  font-size: 48px;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  display: block;
  margin-bottom: 10px;
}

.section--dark .stat-number { color: #fff; }

.stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #999;
}

/* ---- Team ---- */
.team-card { text-align: center; }

.team-photo {
  width: 100%;
  height: 350px;
  background: #e0e0e0;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.15em;
}

.team-card h4 { margin-bottom: 6px; }

.team-card .role {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #999;
  text-transform: uppercase;
}

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 0;
  font-family: 'AstroSpace', sans-serif;
  font-size: 15px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  line-height: 1.5;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-family: 'Share Tech Mono', monospace;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 28px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* ---- Blog ---- */
.blog-card {
  border: 1px solid #eee;
  padding: 40px;
  transition: border-color 0.3s;
}

.blog-card:hover { border-color: #222; }

.blog-date {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.blog-card h3 { font-size: 16px; margin-bottom: 16px; }
.blog-card p { font-size: 14px; }
.blog-card a { text-decoration: none; }

/* ---- Contact ---- */
.contact-info-item {
  margin-bottom: 40px;
}

.contact-info-item h4 { margin-bottom: 8px; }

.contact-info-item p {
  font-size: 15px;
  color: #555;
}

.contact-info-item a {
  text-decoration: underline;
  color: #222;
}

.contact-form { max-width: 100%; }

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-family: 'AstroSpace', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #222;
  background: #fff;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #222; }

.form-group textarea { min-height: 160px; resize: vertical; }

/* ---- Footer ---- */
.site-footer {
  background: #1a1a1a;
  color: #999;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.footer-col p {
  font-size: 14px;
  color: #777;
  line-height: 1.8;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: #777;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* ---- Values ---- */
.value-item {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.value-item:last-child { border-bottom: none; }

.value-item h3 { margin-bottom: 12px; }

/* ---- Timeline ---- */
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.timeline-year {
  font-family: 'AstroSpace', sans-serif;
  font-size: 28px;
  color: #ccc;
  letter-spacing: 0.1em;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: 20px 0;
  margin-top: 100px;
}

.breadcrumbs ol {
  display: flex;
  gap: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

.breadcrumbs ol li::after { content: ' /'; margin-left: 12px; }
.breadcrumbs ol li:last-child::after { content: ''; }
.breadcrumbs a { text-decoration: none; color: #555; }
.breadcrumbs a:hover { color: #222; }

/* ---- Map Placeholder ---- */
.map-placeholder {
  width: 100%;
  height: 400px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  color: #999;
  letter-spacing: 0.15em;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  h1 { font-size: 36px; letter-spacing: 0.3em; }
  h2 { font-size: 26px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    transform: translateY(-120%);
    transition: transform 0.3s;
    z-index: 999;
  }

  .main-nav.open { transform: translateY(0); }

  .main-nav ul {
    flex-direction: column;
    padding: 40px;
    gap: 24px;
  }

  h1 { font-size: 28px; letter-spacing: 0.2em; }
  h2 { font-size: 22px; letter-spacing: 0.2em; }
  .section { padding: 60px 0; }
  .container { padding: 0 24px; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stat-number { font-size: 36px; }
  .site-header { height: 70px; padding-top: env(safe-area-inset-top); }
  .header-inner { padding: 0 16px; }
  .hero { height: 70vh; min-height: 500px; margin-top: 70px; }
  .hero-content h1 { font-size: 24px; letter-spacing: 0.15em; }
  .hero-content p { font-size: 14px; margin: 0 auto 20px; }
  .hero-content .tagline { font-size: 11px; letter-spacing: 0.2em; }
  .hero-content .slogan { font-size: 12px; letter-spacing: 0.15em; }
  .breadcrumbs { margin-top: 70px; }
  .main-nav { top: 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .project-image { height: 250px; }
  .team-photo { height: 280px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .project-meta { gap: 20px; }
}

@media (max-width: 480px) {
  h1 { font-size: 20px; letter-spacing: 0.1em; }
  h2 { font-size: 18px; letter-spacing: 0.15em; }
  .hero-content p { font-size: 13px; line-height: 1.6; }
  .hero-content .tagline { font-size: 10px; }
  .hero-content .slogan { font-size: 11px; letter-spacing: 0.1em; }
  .stats { grid-template-columns: 1fr; }
  .btn { padding: 14px 32px; font-size: 12px; }
  .section-label { font-size: 10px; letter-spacing: 0.3em; }
  p { font-size: 14px; }
}

/* Logo responsive sizing */
@media (max-width: 768px) {
  .logo-img { height: 34px; }
}
@media (max-width: 480px) {
  .logo-img { height: 28px; }
}

/* Project Gallery */
.project-gallery {
  margin-bottom: 24px;
}
.project-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 8px;
}
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.project-gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 2px;
}
@media (max-width: 768px) {
  .project-hero-img { height: 250px; }
  .project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .project-gallery-grid img { height: 120px; }
}
@media (max-width: 480px) {
  .project-hero-img { height: 200px; }
  .project-gallery-grid img { height: 100px; }
}
