/* ============================================================
   Oblivion Solutions — Static Site Stylesheet
   Fonts: Merriweather (headings), Lato (body)
   Primary: #2794EB  |  Light section bg: #E0F0FF
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #1a1919;
  background: #ffffff;
  line-height: 1.7;
}

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

a {
  color: #2794eb;
  text-decoration: none;
}

a:hover {
  color: #2385d3;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  line-height: 1.3;
  color: #1a1919;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.4rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout Containers ---------- */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--blue {
  background: #e0f0ff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .subheading {
  color: #555;
  font-size: 1rem;
  margin-top: 0.3rem;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: 32px;
}

.grid--2col {
  grid-template-columns: 5fr 6fr;
  align-items: center;
}

.grid--2col-rev {
  grid-template-columns: 6fr 5fr;
  align-items: center;
}

.grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 11px 24px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  line-height: 1.4;
}

.btn--primary {
  background: #2794eb;
  color: #ffffff;
  border: 2px solid #2385d3;
}

.btn--primary:hover {
  background: #2385d3;
  color: #ffffff;
}

.btn--outline {
  background: transparent;
  color: #2794eb;
  border: 2px solid #2794eb;
}

.btn--outline:hover {
  background: #2794eb;
  color: #ffffff;
}

.btn--sm {
  font-size: 0.875rem;
  padding: 8px 18px;
}

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__link {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1919;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav__link:hover {
  color: #2794eb;
}

/* Dropdown */
.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.dropdown-chevron {
  width: 10px;
  height: 10px;
  fill: currentColor;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.site-nav__dropdown-toggle[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.site-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  min-width: 200px;
  z-index: 200;
  padding: 6px 0;
}

.site-nav__dropdown-menu.open {
  display: block;
}

.site-nav__dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1919;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

a.site-nav__dropdown-item:hover {
  background: #e0f0ff;
  color: #2794eb;
}

.site-nav__dropdown-item--disabled {
  color: #aaa;
  cursor: default;
  font-weight: 400;
}

.external-icon {
  width: 11px;
  height: 11px;
  fill: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

.coming-soon {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #e0f0ff;
  color: #2794eb;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1919;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  padding: 132px 0;
  color: #ffffff;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.2rem;
}

.hero .btn {
  margin-top: 12px;
}

/* ============================================================
   CUSTOMER LOGOS
   ============================================================ */
.customers {
  padding: 56px 0;
}

.customers .section-header {
  margin-bottom: 36px;
}

.customers-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 60px;
}

.customers-grid img {
  max-height: 60px;
  width: auto;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}

.customers-grid img:hover {
  opacity: 1;
  filter: none;
}

/* ============================================================
   WHY WE STAND OUT — Feature Icons
   ============================================================ */
.features .grid--3col {
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 16px;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #2794eb;
  border-radius: 4px;
  margin: 0 auto 20px;
}

.feature-card__icon svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.feature-card h3 {
  margin-bottom: 12px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services .section-header {
  margin-bottom: 56px;
}

.service-row {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
}

.service-row:last-of-type {
  margin-bottom: 0;
}

.service-row--img-left {
  grid-template-columns: 5fr 6fr;
}

.service-row--img-right {
  grid-template-columns: 6fr 5fr;
}

.service-row__img img {
  border-radius: 4px;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.service-row__text h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.services-cta {
  margin-top: 56px;
  text-align: center;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 72px 0;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-card blockquote {
  font-style: italic;
  color: #333;
  font-size: 0.93rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-card blockquote p {
  margin-bottom: 0.8rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eeeeee;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author__avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2794eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author__name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author__role {
  font-size: 0.8rem;
  color: #666;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__img img {
  border-radius: 4px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-card__photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}

.team-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 0.9rem;
  color: #444;
  flex: 1;
}

.team-card .btn {
  margin-top: 16px;
  align-self: flex-start;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info {
  padding-right: 24px;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
}

.contact-info__item svg {
  width: 20px;
  height: 20px;
  fill: #2794eb;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Contact Form */
.contact-form-wrapper {
  background: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
}

.contact-form-wrapper__title {
  background: #2794eb;
  color: #ffffff;
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  padding: 16px 24px;
}

.contact-form {
  padding: 28px 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1919;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #eeeeee;
  background: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: #1a1919;
  border-radius: 3px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2794eb;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
}

.form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 16px;
  border-radius: 4px;
  margin-top: 16px;
  font-weight: 600;
}

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */
.newsletter {
  padding: 48px 0;
  background: #1a1919;
  color: #ffffff;
}

.newsletter .container {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 40px;
}

.newsletter__text h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.newsletter__text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.newsletter__form {
  display: flex;
  gap: 0;
}

.newsletter__form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 3px 0 0 3px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  background: #ffffff;
  color: #1a1919;
}

.newsletter__form input[type="email"]:focus {
  outline: 2px solid #2794eb;
}

.newsletter__form button {
  background: #2794eb;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 0 3px 3px 0;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter__form button:hover {
  background: #2385d3;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #ffffff;
  padding: 48px 0 0;
  border-top: 1px solid #eeeeee;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand__logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
}

.footer-nav h4,
.footer-social h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #1a1919;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #2794eb;
}

.footer-social__icons {
  display: flex;
  gap: 16px;
}

.footer-social__icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #1a1919;
  transition: background 0.2s, color 0.2s;
}

.footer-social__icons a:hover {
  background: #2794eb;
  color: #ffffff;
}

.footer-social__icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid #000000;
  padding: 20px 0;
  margin-top: 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: #555;
}

.footer-bottom a {
  color: #555;
}

.footer-bottom a:hover {
  color: #2794eb;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }

  /* Nav */
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .site-nav.open {
    display: flex;
  }

  /* Dropdown goes inline on mobile */
  .site-nav__dropdown {
    width: 100%;
  }

  .site-nav__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid #e0f0ff;
    border-radius: 0;
    padding: 0;
    margin-top: 8px;
    margin-left: 12px;
  }

  .site-nav__dropdown-item {
    padding: 8px 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    position: sticky;
  }

  /* Grids */
  .grid--2col,
  .grid--2col-rev,
  .grid--3col,
  .service-row--img-left,
  .service-row--img-right {
    grid-template-columns: 1fr;
  }

  .service-row--img-right .service-row__img {
    order: -1;
  }

  .grid--2col-rev .about__img {
    order: -1;
  }

  /* Hero */
  .hero {
    padding: 80px 0;
  }

  /* Newsletter */
  .newsletter .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .newsletter__form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter__form input[type="email"] {
    border-radius: 3px;
  }

  .newsletter__form button {
    border-radius: 3px;
    padding: 12px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Form rows */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-info {
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .customers-grid {
    gap: 28px 36px;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
}
