/* ============================================
   FITS Computer Recycling - Modern Stylesheet
   Modernized: January 2026
   Original Design: circa 2009
   ============================================ */

/* CSS Custom Properties (Variables) */
:root {
  /* Colors - matching original site */
  --color-primary-blue: #0033cc;
  --color-accent-blue: #0066cc;
  --color-teal: #3590D2;
  --color-light-blue: #3578A2;
  --color-step-blue: #5C78A2;
  --color-green: #006600;
  --color-dark-green: #003300;
  --color-text: #555;
  --color-text-dark: #2A2A2A;
  --color-white: #ffffff;
  --color-gray-bg: #CFCFD2;
  --color-dark-bg: #333;
  
  /* Typography */
  --font-primary: Tahoma, Arial, Helvetica, sans-serif;
  --font-secondary: Verdana, Arial, Helvetica, sans-serif;
  --font-serif: "Times New Roman", Times, serif;
  
  /* Layout */
  --max-width: 830px;
  --content-width: 790px;
  --header-height: 210px;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 100%;
  text-align: center;
  background-color: var(--color-dark-bg);
  background-image: url('../businessTemp/0743/page-bg2.gif');
  background-repeat: repeat-y;
  background-position: center top;
  line-height: 1.5;
}

/* Main Container */
.site-container {
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: var(--color-white);
  text-align: center;
}

/* Header */
.site-header {
  width: 100%;
  height: 0;
  padding-bottom: 25.3%; /* Aspect ratio of header image (210/830) */
  background: url('../businessTemp/0743/header2.jpg') no-repeat;
  background-size: 100% auto;
  background-position: top left;
}

/* Navigation */
.main-nav {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  text-align: center;
  padding-top: 10px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-accent-blue);
}

/* Main Content Area */
.main-content {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 15px;
  color: var(--color-text);
  text-align: center;
}

/* Page Titles */
.page-title {
  color: var(--color-green);
  font-family: var(--font-primary);
  font-size: 200%;
  line-height: 1;
  margin: 0 0 10px 0;
}

.page-subtitle {
  color: var(--color-green);
  font-size: 24px;
  margin: 10px 0;
}

.page-subtitle a {
  color: var(--color-dark-green);
  text-decoration: none;
}

.page-subtitle a:hover {
  text-decoration: underline;
}

/* Contact Info in Header Area */
.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-header h2 {
  margin: 0 0 5px 0;
}

/* Location Headers Row */
.location-headers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
  padding: 0 10px;
  align-items: center;
}

.location-header {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-light-blue);
  text-decoration: underline;
  font-family: var(--font-primary);
  line-height: 1.2;
  white-space: nowrap;
}

/* Column headers for mobile */
.column-header {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-light-blue);
  text-decoration: underline;
  font-family: var(--font-primary);
  margin-bottom: 15px;
}

/* Desktop/Mobile visibility helpers */
.desktop-only {
  display: grid; /* default for location-headers */
}

.mobile-only {
  display: none;
}

/* Three Column Layout */
.three-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
  text-align: left;
}

.column {
  padding: 10px;
}

.column.with-border {
  border-right: thin solid var(--color-teal);
}

/* Text Alignment Classes */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-blue {
  color: var(--color-accent-blue);
}

.text-primary-blue {
  color: var(--color-primary-blue);
}

/* Bold text for columns */
.bold-text {
  font-weight: bold;
}

/* Step Text (About page) */
.step-text {
  color: var(--color-step-blue);
  font-weight: bold;
}

/* Highlight Text */
.highlight {
  color: var(--color-accent-blue);
  font-weight: bold;
}

/* Center Section with Blue Text */
.center-section {
  text-align: center;
  color: var(--color-light-blue);
  margin: 20px 0;
}

/* Footer Info Section */
.footer-info {
  text-align: center;
  padding: 20px;
}

.footer-info p {
  margin: 5px 0;
}

.footer-info .emphasis {
  font-weight: bold;
  color: var(--color-primary-blue);
}

.footer-info .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: #0033ff;
}

/* Bottom Navigation */
.bottom-nav {
  padding: 10px;
  font-size: 12px;
  color: var(--color-text-dark);
}

.bottom-nav a {
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 0 5px;
}

.bottom-nav a:hover {
  color: var(--color-accent-blue);
}

.bottom-nav a.active {
  color: #cc0000;
  font-weight: bold;
}

/* Equipment List (shred-tex page) */
.equipment-list {
  text-align: left;
  margin: 10px 0 10px 40px;
  padding: 0;
  line-height: 1.4;
}

.equipment-list li {
  margin: 2px 0;
  font-weight: normal;
}

.equipment-list li.list-section-header {
  margin-top: 10px;
  font-weight: bold;
  list-style: none;
  margin-left: -20px;
}

/* Site Footer */
.site-footer {
  width: 100%;
  padding: 1em 0;
  background-color: var(--color-gray-bg);
  text-align: center;
}

.site-footer p {
  margin: 0;
  padding: 0.5em 0;
  font-family: var(--font-secondary);
  font-size: 60%;
}

/* Images */
.bordered-image {
  border: 2px solid #000;
}

/* Links in Content */
.main-content a {
  color: teal;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px dotted teal;
}

.main-content a:hover {
  color: red;
  border-bottom: none;
}

/* FAQ Styles */
.faq-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px;
}

.faq-row {
  display: flex;
  margin-bottom: 15px;
}

.faq-label {
  background-color: #607D9B;
  color: white;
  padding: 10px;
  min-width: 60px;
  text-align: right;
  font-weight: bold;
}

.faq-label .q {
  color: #FFFF00;
  font-size: 16px;
}

.faq-label .a {
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.faq-content {
  padding: 10px 15px;
  text-align: left;
  flex: 1;
}

/* Services Page Styles */
.service-option {
  margin: 20px 0;
  padding: 15px;
  background-color: #f9f9f9;
}

.option-title {
  font-weight: bold;
  color: var(--color-primary-blue);
  font-size: 18px;
  margin-bottom: 10px;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 20px 0;
}

.contact-location {
  text-align: center;
}

.contact-location h3 {
  color: var(--color-primary-blue);
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-location p {
  color: #336699;
  font-size: 18px;
  margin: 5px 0;
}

/* Phone Display */
.phone-display {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-primary-blue);
}

/* Before/After Images */
.before-after {
  text-align: center;
}

.before-after img {
  max-width: 100%;
  height: auto;
  border: 2px solid #000;
  margin: 10px 0;
}

/* Checklist Icon */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}

.checklist-item img {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}

/* Shred-Tex Placeholder */
.shred-tex-placeholder {
  width: 100%;
  max-width: 850px;
  height: 500px;
  background-color: #1a1a1a;
  border: 3px solid #444;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 18px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media screen and (max-width: 860px) {
  .site-container {
    width: 100%;
  }
  
  /* Hide desktop headers, show mobile headers */
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  .three-columns {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .column.with-border {
    border-right: none;
    border-bottom: thin solid var(--color-teal);
    padding-bottom: 15px;
  }
  
  .location-header {
    text-align: center !important;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  /* Make bottom nav more prominent on mobile */
  .bottom-nav {
    font-size: 14px;
    padding: 15px 10px;
    line-height: 2;
  }
  
  .bottom-nav a {
    display: inline-block;
    padding: 5px 8px;
  }
}

/* Mobile */
@media screen and (max-width: 480px) {
  body {
    background-image: none;
    background-color: var(--color-white);
  }
  
  .page-title {
    font-size: 130%;
  }
  
  .page-subtitle {
    font-size: 16px;
  }
  
  .phone-display {
    font-size: 20px;
  }
  
  .main-content {
    padding: 15px 10px;
  }
  
  .location-header {
    font-size: 16px;
    white-space: normal;
  }
  
  .footer-info .tagline {
    font-size: 16px;
  }
  
  .faq-row {
    flex-direction: column;
  }
  
  .faq-label {
    text-align: center;
  }
  
  /* Ensure columns stack properly */
  .three-columns {
    display: block;
  }
  
  /* Hide the desktop location headers row on mobile */
  .location-headers.desktop-only {
    display: none;
  }
  
  .column,
  .location-header {
    width: 100%;
    margin-bottom: 15px;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
  }
  
  .site-container {
    max-width: 100%;
  }
  
  .main-nav,
  .bottom-nav {
    display: none;
  }
}
