/* Common Layout Elements */
.container {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section {
  max-width: 1440px;
  margin: 4rem auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.section.reverse {
  flex-direction: row-reverse;
}

.section img {
  width: 50%;
  border-radius: 8px;
  object-fit: cover;
}

.section .text {
  width: 50%;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.two-column > div {
  flex: 1 1 45%;
}

.column-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Hero Section */
.hero {
  background: var(--main-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 3rem;
}

.hero img {
  width: 100%;
  max-width: 1440px;
  border-radius: 8px;
  object-fit: cover;
}

/* Buttons */
.cta-btn, .button-l, .btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: 1px solid var(--primary-color);
}

.cta-btn:hover, .button-l:hover, .btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--main-bg);
  border-top: 3px solid var(--primary-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .section {
    flex-direction: column;
    padding: 0 24px;
    gap: 2rem;
  }

  .section.reverse {
    flex-direction: column;
  }

  .section img,
  .section .text {
    width: 100%;
  }

  .two-column {
    flex-direction: column;
  }

  .container {
    margin: 2rem auto;
  }
}
