/* After Hours IT Services — Main Stylesheet */

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

:root {
  --blue: #0077B6;
  --blue-dark: #005A8E;
  --orange: #FF6B35;
  --orange-dark: #E55A25;
  --white: #ffffff;
  --light: #F0F7FF;
  --grey: #6B7280;
  --dark: #1A1A2E;
  --font: 'Segoe UI', Arial, sans-serif;
}

body { font-family: var(--font); color: var(--dark); line-height: 1.6; background: var(--white); }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }

/* NAV */
nav {
  background: var(--blue);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-brand span { color: var(--orange); }
.nav-links { display: flex; gap: 0; }
.nav-links a {
  color: var(--white);
  padding: 1.2rem 1.2rem;
  display: block;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--blue-dark); color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  border-radius: 4px;
  padding: 0.5rem 1.2rem !important;
  margin-left: 1rem;
  font-weight: 600;
}
.nav-cta:hover { background: var(--orange-dark) !important; color: var(--white) !important; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 1rem 0; }
.hamburger span { width: 25px; height: 3px; background: var(--white); border-radius: 3px; display: block; transition: 0.3s; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, #003A5C 100%);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,107,53,0.08);
  border-radius: 50%;
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.1; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.25rem; margin-bottom: 0.5rem; opacity: 0.9; }
.hero .tagline { font-size: 1rem; opacity: 0.75; font-style: italic; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue); }

/* SECTIONS */
section { padding: 4rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--blue); margin-bottom: 0.5rem; }
.section-sub { color: var(--grey); margin-bottom: 2.5rem; font-size: 1.05rem; }
.section-divider { width: 60px; height: 4px; background: var(--orange); margin: 0.5rem 0 2rem; border-radius: 2px; }

/* INTRO */
.intro { background: var(--light); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.intro-text p { color: var(--grey); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1rem; }
.intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card { background: var(--white); border-radius: 10px; padding: 1.5rem; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.07); border-top: 3px solid var(--orange); }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--blue); }
.stat-label { color: var(--grey); font-size: 0.9rem; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  transition: background 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,119,182,0.12); }
.service-card:hover::before { background: var(--orange); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; color: var(--blue); margin-bottom: 0.5rem; font-weight: 700; }
.service-card p { color: var(--grey); font-size: 0.95rem; margin-bottom: 1rem; }
.service-card a { color: var(--orange); font-weight: 600; font-size: 0.9rem; }
.service-card a:hover { color: var(--orange-dark); }

/* ADDITIONAL SERVICES */
.additional { background: var(--blue); color: var(--white); }
.additional .section-title { color: var(--white); }
.additional .section-sub { color: rgba(255,255,255,0.75); }
.add-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.add-item { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.add-item::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.free-consult { margin-top: 2rem; background: var(--orange); color: var(--white); padding: 1.5rem 2rem; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.free-consult strong { font-size: 1.1rem; }

/* PROCESS STEPS */
.steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { background: var(--blue); color: var(--white); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; margin-top: 0.1rem; }
.step-content h4 { font-size: 1rem; color: var(--dark); margin-bottom: 0.2rem; }
.step-content p { color: var(--grey); font-size: 0.9rem; }

/* SERVICE DETAIL SECTIONS */
.service-detail { border-bottom: 1px solid #e5e7eb; padding-bottom: 3rem; margin-bottom: 3rem; }
.service-detail:last-child { border-bottom: none; }
.service-detail-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.service-detail-icon { font-size: 2.5rem; background: var(--light); width: 70px; height: 70px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-detail-header h2 { font-size: 1.6rem; color: var(--blue); }
.service-detail-header p { color: var(--grey); }

/* CONTACT FORM */
.contact-section { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form { background: var(--white); padding: 2.5rem; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border 0.2s;
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-info h3 { font-size: 1.4rem; color: var(--blue); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-item-icon { background: var(--blue); color: var(--white); width: 42px; height: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.9rem; color: var(--grey); margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--dark); }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; font-size: 0.9rem; }
.hours-day { color: var(--grey); }
.hours-time { color: var(--dark); font-weight: 600; }

/* ABOUT */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }
.value-card { text-align: center; padding: 2rem 1.5rem; background: var(--white); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { color: var(--blue); margin-bottom: 0.5rem; }
.value-card p { color: var(--grey); font-size: 0.9rem; }

/* FOOTER */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.footer-brand span { color: var(--orange); }
.footer-tagline { font-size: 0.85rem; opacity: 0.7; line-height: 1.6; }
footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 0.95rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; opacity: 0.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; display: flex; justify-content: space-between; font-size: 0.85rem; opacity: 0.6; flex-wrap: wrap; gap: 0.5rem; }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); padding: 3.5rem 2rem; }
.page-header h1 { font-size: 2.4rem; font-weight: 800; }
.page-header p { opacity: 0.85; margin-top: 0.5rem; font-size: 1.05rem; }

/* ALERT */
.alert { padding: 1rem 1.25rem; border-radius: 6px; margin-top: 1rem; font-size: 0.95rem; display: none; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .add-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--blue-dark); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 1rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .add-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: 1fr 1fr; }
}
