/* Netwire PC – Professional Website Styles
   Colors: Black, Bright Red, White, Gray */

:root {
  --red: #e30613;
  --red-dark: #b80510;
  --black: #111111;
  --black-soft: #1c1c1c;
  --gray-dark: #333333;
  --gray-mid: #666666;
  --gray-light: #e5e5e5;
  --gray-bg: #f6f6f6;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER ========== */
header {
  background: var(--black);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  overflow: visible;
}

.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.logo img {
  display: block;
  height: auto;
  width: auto;
  max-height: 58px;
  max-width: 300px;
  pointer-events: none;
  object-fit: contain;
}

.logo-text { display: none; }

.logo:hover { opacity: 0.92; }



@media (max-width: 480px) {
  .logo img {
    max-height: 44px;
    max-width: 200px;
  }
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  align-items: center;
}

nav a {
  display: block;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #c8c8c8;
  text-transform: uppercase;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--white);
  background: rgba(227, 6, 19, 0.28);
}

nav .dropdown { position: relative; }

nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--black-soft);
  border: 1px solid #2e2e2e;
  border-top: 2px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  padding: 0.45rem 0;
  z-index: 50;
}

nav .dropdown:hover .dropdown-menu { display: block; }

nav .dropdown-menu a {
  display: block;
  padding: 0.65rem 1.15rem;
  font-size: 0.84rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #d0d0d0;
  border-radius: 0;
}

nav .dropdown-menu a:hover {
  background: rgba(227, 6, 19, 0.35);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(160deg, #0d0d0d 0%, #1a1a1a 55%, #221111 100%);
  color: var(--white);
  padding: 3.5rem 1.5rem 3.75rem;
  text-align: center;
  border-bottom: 3px solid var(--red);
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
}

.hero .logo-hero {
  width: 92%;
  max-width: 920px;
  height: auto;
  margin: 0 auto 1.75rem;
  display: block;
}

@media (max-width: 900px) {
  .hero .logo-hero { width: 88%; max-width: 480px; }
}

@media (max-width: 768px) {
  .hero .logo-hero { width: 85%; max-width: 320px; }
  .hero { padding: 2.75rem 1.25rem 3rem; }
}

@media (max-width: 480px) {
  .hero .logo-hero { width: 80%; max-width: 260px; }
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero .cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover { background: var(--red); color: var(--white); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: var(--gray-dark); }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--red);
  color: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.cta-banner p {
  opacity: 0.95;
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
}

.cta-banner .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner input {
  padding: 0.7rem 0.95rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.92rem;
  min-width: 140px;
  flex: 1;
}

/* ========== SECTIONS ========== */
section {
  padding: 3.75rem 0;
}

section.bg-light {
  background: var(--gray-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-title h2 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.section-title p {
  color: var(--gray-mid);
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto;
}

.page-header {
  background: var(--black);
  color: var(--white);
  padding: 2.75rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--red);
}

.page-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.page-header p {
  color: #bbbbbb;
  font-size: 1.05rem;
}

/* ========== LAYOUT ========== */
.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 1.75rem; }
}

.two-col h2 {
  font-size: 1.7rem;
  margin-bottom: 0.9rem;
}

.two-col p {
  color: #444;
  margin-bottom: 0.85rem;
}

.highlight { color: var(--red); }

.check-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.check-list .check {
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* ========== CARDS ========== */
.grid { display: grid; gap: 1.35rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
  display: block;
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: #ddd;
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  color: var(--black);
}

.card p {
  color: var(--gray-mid);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ========== SERVICE DETAIL ========== */
.service-detail {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.service-detail h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.service-detail p {
  color: #444;
  margin-bottom: 0.9rem;
}

.service-detail ul.check-list {
  margin-top: 1rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 2rem 0;
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.gallery-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-item .caption {
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  color: #444;
  background: var(--gray-bg);
  font-size: 0.9rem;
}

/* Before/After pairs */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.ba-pair .gallery-item {
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.ba-pair .gallery-item img {
  height: 260px;
}

.ba-pair .caption {
  padding: 0.7rem 0.85rem;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ba-pair .caption.before {
  background: #efefef;
  color: #555;
}

.ba-pair .caption.after {
  background: var(--red);
  color: #fff;
}

@media (max-width: 640px) {
  .ba-pair {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ba-pair .gallery-item img { height: 220px; }
}

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: #555;
  margin-bottom: 0.65rem;
}

.contact-info a {
  color: var(--red);
  font-weight: 600;
}

.contact-info a:hover { text-decoration: underline; }

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1.15rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

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

/* ========== FOOTER ========== */
footer {
  background: var(--black);
  color: #aaa;
  padding: 2.5rem 1.5rem 1.75rem;
  text-align: center;
  border-top: 3px solid var(--red);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.35rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: #ccc;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links a:hover { color: var(--white); }

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.social-links a svg {
  width: 20px;
  height: 20px;
  display: block;
}

.social-links a:hover {
  transform: scale(1.1);
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.social-links .google { background: #4285F4; }
.social-links .facebook { background: #1877F2; }
.social-links .instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-links .youtube { background: #FF0000; }

.social-text-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  margin-bottom: 1.1rem;
}

.social-text-links a {
  color: #999;
  font-size: 0.85rem;
}

.social-text-links a:hover { color: var(--white); }

footer .phone-line {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

footer .phone-line a {
  color: var(--white);
  font-weight: 600;
}

footer .phone-line a:hover { color: var(--red); }

footer > p:last-child {
  font-size: 0.82rem;
  color: #777;
  margin-top: 0.75rem;
}

/* ========== MOBILE NAV ========== */
@media (max-width: 820px) {
  .menu-toggle { display: block; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black-soft);
    flex-direction: column;
    padding: 0.5rem 0 1rem;
    border-bottom: 3px solid var(--red);
    gap: 0;
  }

  nav ul.open { display: flex; }

  nav li { width: 100%; }

  nav a {
    padding: 0.85rem 1.5rem;
    border-radius: 0;
  }

  nav .dropdown-menu {
    position: static;
    display: none;
    border: none;
    border-top: none;
    box-shadow: none;
    background: #151515;
    min-width: 100%;
    padding: 0;
  }

  nav .dropdown.open .dropdown-menu,
  nav .dropdown:hover .dropdown-menu {
    display: block;
  }

  nav .dropdown-menu a {
    padding-left: 2.25rem;
  }
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}


/* Contact info items */
.info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.info-item .icon {
  font-size: 1.35rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.88rem;
  color: #333;
  margin-bottom: 0.15rem;
}

.info-item a {
  color: var(--red);
  font-weight: 600;
}

.info-item a:hover {
  text-decoration: underline;
}

/* Full-width button */
.btn-block {
  width: 100%;
  display: block;
  margin-top: 0.35rem;
}

/* Ensure form controls always fill the card */
.form-card form {
  display: block;
  width: 100%;
}

.form-card .form-group {
  margin-bottom: 1.1rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


/* ========== OUR TEAM ========== */
.team-member + .team-member {
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-light);
}

.team-member {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.75rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.team-photo {
  width: 280px;
  max-width: 100%;
}

.team-photo img {
  width: 280px;
  height: 340px;
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
  display: block;
}

@media (max-width: 700px) {
  .team-photo,
  .team-photo img {
    width: 240px;
    height: 290px;
    margin-left: auto;
    margin-right: auto;
  }
}

.team-bio h2 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.team-title {
  color: var(--red);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
}

.team-bio p {
  color: #444;
  margin-bottom: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .team-member + .team-member {
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-light);
}

.team-member {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .team-photo {
    max-width: 260px;
    margin: 0 auto;
  }
  .team-bio .cta-group {
    justify-content: center !important;
  }
}


/* Related services internal links */
.related-services {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.related-services h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.related-services ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}

.related-services a {
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
}

.related-services a:hover {
  text-decoration: underline;
}


/* Homepage hero messaging */
.hero-tagline {
  color: #ffffff;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 720px;
  margin: 0 auto 1rem;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
}
