/* ============================================
   Blue Ridge Arcade - Main Stylesheet
   Clean, professional B2B theme
   Inspired by NEN-style: light backgrounds,
   bold typography, generous whitespace
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: #1a5276;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #2980b9;
}

a:focus {
  outline: 2px solid #2980b9;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- Navigation --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a5276;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-transform: uppercase;
}

.nav-logo:hover {
  color: #2980b9;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #555555;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #1a5276;
}

/* --- Hero Section --- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 55vh;
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #1a5276 0%, #2c3e50 100%);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  line-height: 1.7;
  font-weight: 400;
}

/* --- About Section --- */
.about {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.about h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a5276;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.about p {
  color: #555555;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits-list li {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  line-height: 1.7;
  color: #444444;
  font-size: 1rem;
}

.benefits-list li strong {
  color: #1a5276;
  font-weight: 700;
}

/* --- Contact Section --- */
.contact {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #e9ecef;
}

/* --- Service Area Section --- */
.service-area {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #e9ecef;
}

.service-area h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a5276;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.service-area p {
  color: #555555;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.contact h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a5276;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.contact-cta {
  background-color: #f0f7fc;
  border: 1px solid #d4e6f1;
  border-left: 4px solid #2980b9;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-email {
  color: #555555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-email a {
  font-weight: 600;
}

/* --- Contact Form --- */
.contact-form {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.4rem;
}

.form-group label span {
  color: #e74c3c;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2980b9;
  box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #adb5bd;
}

/* --- Form Validation Errors --- */
.error-message {
  display: block;
  font-size: 0.85rem;
  color: #e74c3c;
  margin-top: 0.35rem;
  min-height: 0;
  line-height: 1.4;
}

.error-message:empty {
  display: none;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e74c3c;
}

.form-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background-color: #fdedec;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
}

/* --- Submit Button --- */
.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: #ffffff;
  background-color: #2980b9;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-submit:hover {
  background-color: #1a5276;
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit:focus {
  outline: 2px solid #1a5276;
  outline-offset: 2px;
}

.btn-submit:disabled {
  background-color: #adb5bd;
  cursor: not-allowed;
}

/* --- Confirmation Message --- */
.confirmation-message {
  background-color: #eafaf1;
  border: 1px solid #a9dfbf;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  color: #1e8449;
  font-size: 1rem;
  line-height: 1.6;
}

.confirmation-message[hidden] {
  display: none;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: #2c3e50;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 4rem;
}

/* ============================================
   Media Queries - Larger Screens
   ============================================ */

/* Tablet and up (600px+) */
@media (min-width: 600px) {
  .hero {
    min-height: 55vh;
    padding: 5rem 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .about,
  .contact,
  .service-area {
    padding: 5rem 2rem;
  }

  .contact-form {
    padding: 2.5rem;
  }

  .btn-submit {
    width: auto;
    min-width: 220px;
  }
}

/* Desktop (900px+) */
@media (min-width: 900px) {
  nav {
    padding: 1.25rem 2rem;
  }

  .nav-links {
    gap: 2.5rem;
  }

  .hero {
    min-height: 60vh;
    padding: 6rem 2rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-tagline {
    font-size: 1.4rem;
  }

  .about,
  .contact,
  .service-area {
    padding: 5rem 2rem;
  }

  .about h2,
  .contact h2,
  .service-area h2 {
    font-size: 2rem;
  }

  .benefits-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .map-container {
    height: 500px;
  }
}

/* Large desktop (1200px+) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }

  .about,
  .contact,
  .service-area {
    max-width: 1000px;
  }
}

/* Extra large / ultra-wide (1800px+) */
@media (min-width: 1800px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .about,
  .contact,
  .service-area {
    max-width: 1100px;
  }

  nav {
    max-width: 1400px;
  }
}
