/*
 * Stylesheet for OfferLab Review website
 *
 * This stylesheet defines the visual appearance of the OfferLab review
 * website. The design uses a clean, modern palette inspired by the
 * generated illustrations. A dark blue header anchors the page and
 * orange accents guide the eye to calls‑to‑action. Sections are
 * separated with alternating background colours for clear hierarchy.
 */

/*
 * Import Roboto from Google Fonts. The weights 400, 500 and 700 are used
 * throughout the site for body text, buttons and headings.
 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/*
 * Previously the site used custom OfferLab fonts (font‑22349, font‑22350, font‑22353).
 * These declarations have been removed in favour of the Roboto sans‑serif typeface.
 */

/* Reset some basic elements to ensure consistent rendering */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* Use Roboto for all body copy */
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #0a1f44;
  background-color: #f7f9fc;
}

header {
  background-color: #0a1f44;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Custom header layout to accommodate logo */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Container for the logo icon and title */
.logo-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Logo icon style */
.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

header h1 {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  transition: background-color 0.2s;
  border-radius: 0.25rem;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Hero section */
.hero {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #0a1f44 0%, #041021 100%);
  color: #fff;
}

/* Video section styling */
.video-section {
  background-color: #ffffff;
  color: #0a1f44;
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}

.video-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0a1f44;
}

.video-section p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #2a3d66;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Constrain the width of the animated GIF for better layout on large screens */
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

/* Pain points list styling */
.pain-list {
  list-style-type: disc;
  margin-left: 2rem;
  color: #2a3d66;
}

.pain-list li {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

/* Banner styling */
.banner {
  margin: 3rem auto;
  text-align: center;
  max-width: 1200px;
  padding: 0 2rem;
}

.banner img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.hero img {
  max-width: 400px;
  width: 80%;
  height: auto;
  margin-top: 2rem;
}

.hero-content {
  max-width: 800px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #e0e8f0;
  font-family: 'Roboto', sans-serif;
}

.btn {
  display: inline-block;
  background-color: #ff7a00;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s;
  /* Use Roboto for buttons to keep typography consistent */
  font-family: 'Roboto', sans-serif;
}

.btn:hover {
  background-color: #e56b00;
}

/* Section styling */
section {
  padding: 4rem 1rem;
}

section:nth-of-type(even) {
  background-color: #ffffff;
}

section:nth-of-type(odd) {
  background-color: #f1f5fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0a1f44;
  font-family: 'Roboto', sans-serif;
}

section p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #2a3d66;
  font-family: 'Roboto', sans-serif;
}

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

.feature-card {
  background-color: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0a1f44;
  font-family: 'Roboto', sans-serif;
}

.pros-cons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.pros-cons div {
  flex: 1 1 300px;
  background-color: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pros-cons ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

footer {
  background-color: #0a1f44;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

footer a {
  color: #ffcc80;
  text-decoration: none;
  font-weight: bold;
}

/*
 * Banner section styling
 * This section displays promotional banners linking to your OfferLab affiliate.
 */
.banners-section {
  padding: 4rem 1rem;
  /* Use a subtle background to distinguish from other sections */
  background-color: #f1f5fa;
}
.banners-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0a1f44;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}
.banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.banners-grid a {
  display: block;
}
.banners-grid img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
    padding: 4rem 2rem;
  }
  .hero-content {
    flex: 1;
    padding-right: 2rem;
  }
  .hero img {
    flex: 1;
    margin-top: 0;
  }
}
