/*
Theme Name: MAAPAT for 3D
Theme URI: https://maapat-for-3d.org
Author: MAAPAT for 3D
Description: Custom theme for MAAPAT for 3D - Custom 3D Printing Services in Middletown, NY
Version: 1.0
*/

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

:root {
  --blue-dark: #034766;
  --blue-mid: #78a7bd;
  --orange: #f90;
  --white: #ffffff;
  --text: #333;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }

/* === HEADER === */
.site-header {
  background: var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.site-logo img { height: 60px; width: auto; }

.header-phone {
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-phone a { color: var(--orange); }

/* === NAV === */
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a.current-page { background: var(--orange); color: #fff; }

/* === HERO === */
.hero {
  min-height: 520px;
  background: var(--blue-dark) url('images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(3,71,102,0.88) 50%, rgba(3,71,102,0.4));
}
.hero-content {
  position: relative;
  max-width: 680px;
  padding: 60px 60px;
  color: #fff;
}
.hero-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-content p {
  font-size: 1.2rem;
  opacity: 0.92;
  margin-bottom: 30px;
}
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 15px 38px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.2s;
}
.btn:hover { background: #d07000; color: #fff; }
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  margin-left: 14px;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* === SECTION SHARED === */
.section { padding: 70px 30px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 1.9rem;
  color: var(--blue-dark);
  margin-bottom: 14px;
  font-weight: 700;
}
.section-sub {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 700px;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 10px;
}
.service-card {
  background: var(--blue-dark);
  border-radius: 10px;
  padding: 30px 22px;
  text-align: center;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(3,71,102,0.25); }
.service-card .icon { font-size: 2.2rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--orange); }
.service-card p { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.service-card a { color: var(--orange); font-weight: 600; font-size: 0.88rem; }
.service-card a:hover { color: #fff; }

/* === ABOUT BAND === */
.about-band {
  background: url('images/section-bg.jpg') center/cover no-repeat;
  position: relative;
  color: #fff;
}
.about-band::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(3,71,102,0.82);
}
.about-band .section-inner { position: relative; }
.about-band .section-title { color: #fff; }
.about-band .section-sub { color: rgba(255,255,255,0.9); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 10px;
}
.step {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 26px 20px;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
  margin-bottom: 14px;
}
.step h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* === FEATURES 3-COL === */
.features { background: #f4f8fd; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.feature-box {
  background: #fff;
  border-radius: 10px;
  padding: 30px 26px;
  border-top: 4px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.feature-box h3 { color: var(--blue-dark); margin-bottom: 10px; font-size: 1.1rem; }
.feature-box p { color: #555; font-size: 0.95rem; }

/* === CTA BAND === */
.cta-band {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 56px 30px;
}
.cta-band h2 { font-size: 2rem; margin-bottom: 14px; }
.cta-band p { font-size: 1.1rem; margin-bottom: 28px; opacity: 0.95; }
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { background: #fff3e0; color: var(--orange); }

/* === INNER PAGES === */
.page-hero {
  background: var(--blue-dark);
  color: #fff;
  padding: 60px 30px;
  text-align: center;
}
.page-hero h1 { font-size: 2rem; margin-bottom: 10px; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; }

.page-content { max-width: 900px; margin: 0 auto; padding: 60px 30px; }
.page-content h2 { color: var(--blue-dark); font-size: 1.6rem; margin: 30px 0 14px; }
.page-content h3 { color: var(--blue-dark); font-size: 1.2rem; margin: 24px 0 10px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 10px 0 20px 26px; }
.page-content li { margin-bottom: 8px; }

/* === CONTACT BLOCK === */
.contact-block {
  background: #f4f8fd;
  border-left: 5px solid var(--orange);
  padding: 28px 32px;
  border-radius: 6px;
  margin: 28px 0;
}
.contact-block p { margin-bottom: 6px; }

/* === FOOTER === */
.site-footer {
  background: #02364f;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 50px 30px 30px;
}
.footer-logo { margin: 0 auto 20px; height: 55px; }
.footer-info { font-size: 0.9rem; line-height: 2.1; }
.footer-info a { color: var(--orange); }
.footer-info strong { color: #fff; }
.footer-copy {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; padding: 12px 20px; min-height: auto; gap: 10px; }
  .main-nav { justify-content: center; }
  .hero-content { padding: 40px 24px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero { min-height: 420px; }
  .section { padding: 50px 20px; }
}
