/* =============================================
   AC FABWORKS — Main Stylesheet
   Professional | Bold | Minimal | Dark Industrial
   ============================================= */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --darker: #0d0d0d;
  --gray-dark: #1a1a1a;
  --gray: #2a2a2a;
  --gray-mid: #444;
  --gray-light: #888;
  --white: #ffffff;
  --off-white: #f0ede8;
  --orange: #e8520a;
  --orange-dark: #c44208;
  --orange-glow: rgba(232, 82, 10, 0.15);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
section { padding: 100px 0; }
h2 { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: 0.02em; line-height: 1.05; }
h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.03em; }
.section-label { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; display: block; }
.section-sub { color: var(--gray-light); max-width: 600px; margin: 16px auto 56px; font-size: 1.05rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }
.full-width { width: 100%; text-align: center; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 52px; width: auto; border-radius: 50%; }
.nav-links { display: flex; list-style: none; gap: 40px; align-items: center; }
.nav-links a { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; padding: 10px 24px; }
.nav-cta:hover { background: var(--orange-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--black);
  background-image:
    radial-gradient(ellipse at 60% 50%, rgba(232,82,10,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.95) 40%, transparent 100%); }
.hero-content { position: relative; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; z-index: 1; }
.hero-eyebrow { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.hero h1 { font-family: var(--font-head); font-size: clamp(3.5rem, 9vw, 7rem); font-weight: 900; line-height: 0.95; letter-spacing: 0.01em; margin-bottom: 28px; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.7); max-width: 520px; margin-bottom: 48px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  gap: 24px; padding: 14px 24px;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
}

/* ---- ABOUT ---- */
.about { background: var(--dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { color: rgba(255,255,255,0.75); margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; }
.about-text h2 { margin-bottom: 32px; }
.about-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--orange); display: block; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-light); }
.about-img { position: relative; display: flex; justify-content: center; align-items: center; }
.about-logo-large { width: 80%; max-width: 360px; border-radius: 50%; position: relative; z-index: 1; }
.about-accent { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: var(--orange-glow); filter: blur(60px); }

/* ---- SERVICES ---- */
.services { background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: var(--gray-dark);
  padding: 48px 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
  background: var(--orange); transition: width 0.3s;
}
.service-card:hover { background: #1e1e1e; }
.service-card:hover::before { width: 100%; }
.service-icon { font-size: 2rem; margin-bottom: 20px; display: block; }
.service-card h3 { margin-bottom: 16px; color: var(--white); }
.service-card p { color: var(--gray-light); font-size: 0.95rem; line-height: 1.7; }

/* ---- GALLERY ---- */
.work { background: var(--darker); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-grid img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform 0.3s, filter 0.3s;
  filter: grayscale(20%);
  cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.02); filter: grayscale(0%); }
.gallery-placeholder {
  grid-column: 1/-1;
  background: var(--gray-dark);
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-mid);
  font-family: var(--font-head);
  font-size: 1.2rem;
  text-align: center;
  border: 2px dashed var(--gray);
}

/* ---- WHY US ---- */
.why { background: var(--orange); color: var(--white); }
.why h2, .why p, .why li { color: var(--white); }
.why .section-label { color: rgba(255,255,255,0.7); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-list { list-style: none; margin-top: 32px; }
.why-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.2); font-size: 1.05rem; display: flex; align-items: center; gap: 14px; }
.check { font-size: 1.2rem; font-weight: 900; }
.why-quote { border-left: 4px solid rgba(255,255,255,0.4); padding-left: 40px; }
blockquote { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.3; font-style: italic; }
cite { display: block; margin-top: 20px; font-size: 0.85rem; letter-spacing: 0.1em; opacity: 0.7; text-transform: uppercase; }

/* ---- CONTACT ---- */
.contact { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; margin-top: 2px; }
.contact-item strong { font-family: var(--font-head); font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 1rem; }
.contact-item a:hover { color: var(--orange); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--gray-dark);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--gray-mid); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--orange); }
.contact-form select option { background: var(--gray-dark); }
.contact-form textarea { resize: vertical; }

/* ---- FOOTER ---- */
.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer-logo { height: 64px; width: auto; border-radius: 50%; opacity: 0.85; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-light); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-copy { color: var(--gray-mid); font-size: 0.8rem; text-align: center; }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-img { display: none; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid, .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-badge { flex-direction: column; gap: 8px; font-size: 0.75rem; }
  .about-stats { flex-direction: column; gap: 24px; }
}
