
:root {
  --pink: #ef5c95;
  --soft-pink: #fde3ed;
  --blue: #3c86c8;
  --cream: #fffaf6;
  --ink: #171717;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 52px;
  background: #fffaf7;
}

.logo img {
  width: 185px;
}

nav {
  display: flex;
  gap: 54px;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
}

nav a.active {
  color: var(--pink);
  border-bottom: 3px solid var(--pink);
  padding-bottom: 8px;
}

.cart {
  border: 0;
  background: transparent;
  font-size: 28px;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  padding: 70px 60px;
  background: linear-gradient(#dff6ff 0%, #fff1df 70%);
  overflow: hidden;
}

.hero h1 {
  margin: 0;
  font-size: 72px;
  line-height: 0.95;
  color: var(--pink);
  font-family: Georgia, serif;
}

.hero h1 span {
  color: var(--blue);
}

.mini-wave {
  width: 90px;
  margin: 24px 0;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 350px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--pink);
  color: white;
  padding: 16px 28px;
  border-radius: 7px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-image {
  position: relative;
  height: 460px;
}

.bag {
  position: absolute;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.bag img {
  position: absolute;
  width: 105px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.bag-blue {
  width: 360px;
  height: 250px;
  left: 60px;
  top: 80px;
  background: #fefefe;
  border: 18px solid #93c5ee;
}

.bag-floral {
  width: 280px;
  height: 200px;
  left: 330px;
  top: 190px;
  background: #fff9ef;
  border: 16px solid #ffb2c3;
}

.bag-pink {
  width: 260px;
  height: 270px;
  right: 20px;
  top: 120px;
  background: #ffdce6;
  border: 18px solid #f28da5;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 60px;
  background: #fffaf7;
  border-top: 1px solid #f1ddd5;
  border-bottom: 1px solid #f1ddd5;
}

.features div {
  font-size: 14px;
}

.features strong {
  display: block;
  margin: 8px 0;
  color: var(--pink);
  text-transform: uppercase;
  font-size: 13px;
}

.shop {
  padding: 60px;
  text-align: center;
}

.shop h2 {
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 4px;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 34px;
}

.products article {
  background: white;
  border: 1px solid #f1ddd5;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.product-img {
  height: 280px;
  position: relative;
}

.product-img img {
  position: absolute;
  width: 105px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.product-img.blue {
  background: #dff2ff;
}

.product-img.pink {
  background: #ffe1e8;
}

.product-img.floral {
  background: #fff3e8;
}

.products h3,
.products p {
  padding: 0 22px;
}

.products h3 {
  color: var(--blue);
  text-transform: uppercase;
}

.products button {
  margin: 0 22px 24px;
  background: var(--pink);
  color: white;
  border: 0;
  padding: 14px 28px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 800;
}

/* FOOTER */

.sunset-footer {
  margin-top: 60px;
  background: #fff7fb;
  overflow: hidden;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr 420px 110px 80px;
  align-items: center;
  gap: 28px;
  padding: 28px 90px;
  background: linear-gradient(90deg, #ffdce9, #fff2f7, #ffdce9);
  border-top: 1px solid #f4c4d5;
  border-bottom: 1px solid #f4c4d5;
}

.footer-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 14px;
  background: radial-gradient(circle at 10px -1px, transparent 10px, #ffdce9 11px) repeat-x;
  background-size: 22px 14px;
}

.top-flower {
  width: 95px;
  justify-self: end;
}

.top-copy h2 {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.top-copy p {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.55;
}

.top-form {
  display: grid;
  grid-template-columns: 1fr 165px;
  height: 52px;
  background: white;
  border: 1px solid #efb6ca;
  border-radius: 8px;
  overflow: hidden;
}

.top-form input {
  border: 0;
  padding: 0 18px;
  font-size: 15px;
}

.top-form button {
  border: 0;
  background: var(--pink);
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top-wave {
  width: 90px;
}

.top-starfish {
  width: 68px;
}

.footer-bottom-area {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr 1fr;
  gap: 52px;
  min-height: 285px;
  padding: 55px 90px 88px;
  background:
    radial-gradient(circle at left center, rgba(239, 92, 149, 0.12), transparent 18%),
    radial-gradient(circle at right center, rgba(239, 92, 149, 0.10), transparent 20%),
    linear-gradient(180deg, #fffaf6, #fff7fb);
}

.footer-bottom-area::before,
.footer-bottom-area::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  bottom: 35px;
  opacity: 0.17;
  background: repeating-conic-gradient(
    from 15deg,
    #d99aac 0deg 7deg,
    transparent 7deg 22deg
  );
  border-radius: 50%;
}

.footer-bottom-area::before {
  left: -78px;
}

.footer-bottom-area::after {
  right: -70px;
}

.big-flower {
  position: absolute;
  left: 36px;
  bottom: 82px;
  width: 180px;
  z-index: 2;
}

.footer-logo-block {
  position: relative;
  z-index: 3;
  padding-left: 155px;
  padding-top: 26px;
}

.footer-logo-block img {
  width: 210px;
}

.footer-logo-block p {
  margin: 14px 0 0;
  color: #666;
  font-size: 14px;
}

.footer-col {
  position: relative;
  z-index: 3;
  padding-top: 22px;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: #222;
  text-decoration: none;
  font-size: 14px;
}

.footer-socials {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-socials a {
  color: var(--pink);
  font-size: 34px;
  font-weight: 800;
  text-decoration: none;
}

.beach-art {
  position: absolute;
  right: 50px;
  bottom: 22px;
  width: 365px;
  height: 235px;
  z-index: 4;
}

.shell-img {
  position: absolute;
  left: 14px;
  bottom: 4px;
  width: 115px;
}

.surf-img {
  position: absolute;
  left: 115px;
  bottom: 0;
  width: 105px;
}

.palm-img {
  position: absolute;
  right: 28px;
  bottom: 0;
  width: 190px;
}

.beach-art span {
  position: absolute;
  right: 0;
  bottom: 72px;
  color: var(--pink);
  font-size: 58px;
}

.footer-copy {
  margin: 0;
  padding: 18px;
  text-align: center;
  background: rgba(255, 250, 246, 0.85);
  border-top: 1px solid #f1ded8;
  color: #666;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* MOBILE */

@media (max-width: 800px) {
  .site-header,
  nav {
    flex-direction: column;
    gap: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 44px 24px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .features,
  .products {
    grid-template-columns: 1fr;
  }

  .shop {
    padding: 44px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 38px 24px;
  }

  .top-flower,
  .top-wave,
  .top-starfish {
    justify-self: center;
    margin: 0 auto;
  }

  .top-form {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    grid-template-columns: 1fr;
    height: auto;
  }

  .top-form input,
  .top-form button {
    height: 52px;
    text-align: center;
  }

  .footer-bottom-area {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 24px 240px;
  }

  .footer-bottom-area::before,
  .footer-bottom-area::after {
    display: none;
  }

  .big-flower {
    position: static;
    width: 120px;
    margin: 0 auto;
  }

  .footer-logo-block {
    padding: 0;
  }

  .footer-logo-block img {
    margin: 0 auto;
  }

  .footer-col {
    padding-top: 0;
  }

  .footer-socials {
    justify-content: center;
  }

  .beach-art {
    right: 50%;
    bottom: 20px;
    transform: translateX(50%);
    width: 285px;
    height: 190px;
  }

  .shell-img {
    width: 95px;
  }

  .surf-img {
    width: 82px;
    left: 92px;
  }

  .palm-img {
    width: 145px;
  }

  .beach-art span {
    font-size: 42px;
    bottom: 60px;
  }
}