/* ================================
   Reed Solutions, LLC — Global Stylesheet
   Author: Reed Solutions Web Design
   Updated: October 2025
   ================================ */

/* --------- ROOT VARIABLES --------- */
:root {
  --color-navy: #001f3f;
  --color-green: #00b894;
  --color-silver: #f1f2f6;
  --color-dark-gray: #2f3542;
  --color-white: #ffffff;
  --font-main: "Inter", "Segoe UI", Arial, sans-serif;
  --max-width: 1200px;
  --transition-speed: 0.3s;
}

/* --------- RESET --------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* --------- NAVBAR --------- */
header {
  background: var(--color-navy);
  padding: 0.8rem 2rem;
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.nav-links a:hover {
  color: var(--color-green);
}

.nav-links .btn {
  background: var(--color-green);
  color: var(--color-white);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background var(--transition-speed);
}

.nav-links .btn:hover {
  background: #019875;
}

/* --------- HERO SECTION --------- */
.hero {
  background: linear-gradient(to right, rgba(0, 31, 63, 0.9), rgba(0, 31, 63, 0.7)), 
              url("og-image.png") center/cover no-repeat;
  color: var(--color-white);
  text-align: center;
  padding: 7rem 2rem;
}

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

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background var(--transition-speed);
}

.btn-primary:hover {
  background: #019875;
}

/* --------- SERVICES SECTION --------- */
.services {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  color: var(--color-navy);
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service {
  background: var(--color-silver);
  padding: 2rem;
  border-radius: 12px;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 31, 63, 0.15);
}

.service h3 {
  color: var(--color-navy);
  margin-bottom: 0.8rem;
}

/* --------- FOOTER --------- */
footer {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: 2rem 1rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.socials img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-speed);
}

.socials img:hover {
  transform: scale(1.2);
}

/* --------- RESPONSIVE DESIGN --------- */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: var(--color-navy);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* --------- ACCESSIBILITY --------- */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}
