/* ============================================
   COLORS USED (kept simple, written directly):
   #d07ec5  pink
   #052539  dark navy
   #b9cbc5  sage green
   #e5dcdf  light mauve (page background)
   #c8e0f4  light blue
   ============================================ */

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

html {
  background-color: #e5dcdf;
}

body {
  font-family: 'League Spartan', sans-serif;
  background-color: #e5dcdf;
  color: #052539;
  line-height: 1.5;
}


/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.star {
  color: #d07ec5;
  font-size: 22px;
}

.logo-text {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 1px;
}

.nav-links a {
  color: #052539;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1px;
  margin-left: 30px;
}

.nav-links a:hover {
  color: #d07ec5;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 40px 60px 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  max-width: 480px;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
}

.pink-line {
  width: 50px;
  height: 4px;
  background-color: #d07ec5;
  margin: 25px 0;
}

.hero-text p {
  font-size: 16px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-image {
  width: 380px;
  height: 460px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== BUTTONS ===== */
.button-dark {
  background-color: #052539;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 24px;
  font-size: 14px;
  letter-spacing: 1px;
}

.button-dark:hover {
  background-color: #d07ec5;
}

.button-text {
  color: #052539;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
}

.button-text:hover {
  color: #d07ec5;
}

/* ===== FEATURED WORK ===== */
.work {
  background-color: #ffffff;
  padding: 70px 60px;
}

.work-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.eyebrow {
  color: #d07ec5;
  font-size: 22px;
  letter-spacing: 1px;
}

.view-all {
  color: #052539;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
}

.cards {
  display: flex;
  gap: 30px;
}

/* flex: 1 makes the four cards share the row equally */
.card {
  flex: 1;
}

.card .image-placeholder {
  height: 230px;
  margin-bottom: 15px;
}

.card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 18px;
}

/* ===== ABOUT ===== */
.about {
  position: relative;
  padding: 80px 60px;
}

.blue-bar {
  background-color: #c8e0f4;
  width: 75%;
  height: 70px;
  margin-bottom: 40px;
}

.big-star {
  position: absolute;
  top: 70px;
  right: 80px;
  color: #d07ec5;
  font-size: 70px;
}

.about-inner {
  display: flex;
  align-items: stretch;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.about-image {
  width: 380px;
  flex-shrink: 0;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  max-width: 480px;
}

.about-heading {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin: 10px 0 25px 0;
}

.about-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.read-more {
  color: #052539;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.read-more:hover {
  color: #d07ec5;
}

/* ===== CALL TO ACTION ===== */
.cta {
  background-color: #d07ec5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
}

.cta h2 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
  display: flex;
  gap: 60px;
  padding: 50px 60px;
  border-top: 1px solid #d07ec5;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: #052539;
}

.footer-column h4 {
  color: #d07ec5;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.footer-column a {
  display: block;
  color: #052539;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-column a:hover {
  color: #d07ec5;
}

.footer-column p {
  font-size: 14px;
  margin-bottom: 18px;
}

/* ===== MOBILE (screens up to 768px wide) ===== */
@media (max-width: 768px) {
  .navbar,
  .hero,
  .about-inner,
  .cards,
  .cta,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-image,
  .about-image {
    width: 100%;
    height: 300px;
    margin-top: 30px;
  }

  .cta {
    gap: 20px;
  }
}

/* ============================================
   DECORATIVE BACKGROUND SHAPES
   (kept together so all the decoration code is
   easy to find. Each shape is placed with
   position: absolute inside a section that has
   position: relative.)
   ============================================ */

/* The navbar sits above the hero so the blue block
   is allowed to hang down over the top of the page. */
.navbar {
  position: relative;
  z-index: 2;
}

/* These sections become the "anchor" for the shapes inside them. */
.hero,
.work,
.cta {
  position: relative;
}

/* The CTA banner hides anything that pokes outside its edges. */
.cta {
  overflow: hidden;
}

/* Keep the real text/buttons on top of the decorations. */
.logo,
.nav-links,
.hero-text,
.hero-image,
.cta h2,
.cta .button-dark {
  position: relative;
  z-index: 1;
}

/* --- light-blue block, top-right by the nav --- */
.blue-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 120px;
  background-color: #c8e0f4;
  z-index: 0;
}

/* --- shared "step" squares (sage green) --- */
.step-tall,
.step-mid,
.step-short {
  display: block;
  width: 55px;
  background-color: #b9cbc5;
}

.step-tall  { height: 130px; }
.step-mid   { height: 90px;  }
.step-short { height: 50px;  }

/* align-items: flex-end lines the squares up along
   the bottom so their tops form the "stairs". */
.hero-steps,
.cta-steps {
  position: absolute;
  bottom: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
}

.hero-steps {
  left: 0;
}

.cta-steps {
  right: 0;
}

/* --- decorative image, bottom-right of the work section --- */
.work-corner-img {
  position: absolute;
  right: 40px;
  bottom: 20px;
  width: 120px;
  height: auto;
}
