/* Basic styling for the first two Blue Ridge Computers sections. */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.image-row {
  display: flex;
  gap: 20px;
}

.image-row > div {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 650px) {
  .image-row {
    flex-direction: column;
  }
}

.hero {
  min-height: 675px;
  display: flex;
  justify-content: center;
  background:
    linear-gradient(rgba(0, 0, 0, .60), rgba(0, 0, 0, .60)),
    url("hero.webp") center center / cover no-repeat;
  text-align: center;
  color: #fff;
}

.hero-content {
  width: min(900px, calc(100% - 32px));
  padding: 58px 0 32px;
}

h1 {
  margin: 0 0 32px;
  color: #63bce9;
  font-size: 42px;
  line-height: 1.2;
}

.tagline {
  margin: 0 0 42px;
  color: #d7efff;
  font-size: 29px;
  letter-spacing: 1px;
}

.hero-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 2px 16px 8px;
  background: rgba(0, 0, 0, .38);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1.5;
}

.hero-details p {
  margin: 0;
}

.hero-details a {
  color: inherit;
  text-decoration: none;
}

.hero-products {
  margin: 10px 0 0;
  color: #76c5ed;
  font-size: 29px;
  line-height: 1.27;
}

.repair {
  min-height: 464px;
  padding: 0 20px 16px;
  background: #eaf2f8;
  text-align: center;
}

.repair h2 {
  margin: 0;
  color: #326a9f;
  font-size: 34px;
  line-height: .99;
}

.repair h3 {
  margin: 24px 0 32px;
  color: #333333;
  font-size: 26px;
}

.we-do {
  margin: 0 0 3px;
  font-size: 20px;
}

.repair ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-size: 20px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding-top: 48px;
  }

  h1 {
    font-size: 26px;
  }
 
 h2 {
   font-size: 20px;
 	color: 333333;
 }
  .tagline,
  .hero-products {
    font-size: 22px;
  }

  .hero-details {
    grid-template-columns: 1fr;
    gap: 14px;
    font-size: 19px;
  }

  .repair {
    padding-top: 4px;
    padding-bottom: 24px;
  }

  .repair h2 {
    font-size: 20px;
  }

  .repair h3 {
    margin: 20px 0;
    font-size: 18px;
  }

  .repair ul,
  .we-do {
    font-size: 18px;
  }
/* Add these rules to styles.css. */
.visit-section {
  padding: 42px 20px;
  background: #fff;
  text-align: center;
}

.section-inner {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.visit-section h2 {
  margin: 0 0 18px;
  color: #4a0808;
  font-size: 34px;
}

.visit-address,
.visit-section p {
  font-size: 19px;
  line-height: 1.5;
}

.visit-phone {
  color: #326a9f;
  font-weight: 700;
  text-decoration: none;
}

.directions-link {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 5px;
  background: #326a9f;
  color: #fff;
  text-decoration: none;
}

.accessories-section {
  padding: 38px 20px 52px;
  background: #f5f7f8;
}

.accessory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.accessory-card {
  padding: 20px;
  background: #fff;
  text-align: center;
}

.accessory-card img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 230px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.accessory-card h2 {
  margin: 0 0 5px;
  color: #326a9f;
  font-size: 23px;
}

.accessory-card p {
  margin: 3px 0;
  font-size: 18px;
}

.accessory-card .price {
  color: #c5282c;
  font-weight: 700;
}

@media (max-width: 620px) {
  .accessory-grid {
    grid-template-columns: 1fr;
    max-width: 390px;
  }

  .accessory-card img {
    height: 210px;
  }

.visit-section,
.accessories-section {
  text-align: center;
}

.section-inner,
.accessory-grid {
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  background-color: #263238;
  color: #ffffff;
  padding: 18px 10px;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}