/* ========================================
   SOFT STEM CO.
   MODERN GARDEN PARTY
======================================== */


/* ========================================
   BRAND COLORS
======================================== */

:root {

  --burgundy: #7b1025;
  --deep-burgundy: #57091a;

  --rose: #d94f70;
  --pink: #ef8fa9;

  --soft-pink: #f9d9dd;
  --blush: #fde9e5;

  --peach: #f6b49e;

  --cream: #fff8ef;
  --warm-white: #fffdf9;

  --brown: #432828;
  --muted-brown: #806765;

  --border: #ecd8d2;

  --serif: "Cormorant Garamond", serif;
  --sans: "Montserrat", sans-serif;

}


/* ========================================
   RESET
======================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {

  font-family: var(--sans);

  background: var(--warm-white);

  color: var(--brown);

  line-height: 1.6;

}


img {

  display: block;

  max-width: 100%;

}


a {

  color: inherit;

  text-decoration: none;

}


button,
input {

  font: inherit;

}


/* ========================================
   ANNOUNCEMENT BAR
======================================== */

.announcement-bar {

  min-height: 38px;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 14px;

  padding: 8px 20px;

  background: var(--burgundy);

  color: white;

  font-size: 0.67rem;

  letter-spacing: 0.19em;

  text-transform: uppercase;

}


/* ========================================
   HEADER
======================================== */

.site-header {

  position: sticky;

  top: 0;

  z-index: 50;

  background: rgba(255, 250, 245, 0.97);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--border);

}


.header-inner {

  width: min(1350px, 94%);

  min-height: 96px;

  margin: auto;

  display: grid;

  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  gap: 35px;

}


.main-nav {

  display: flex;

  align-items: center;

  gap: 34px;

}


.right-nav {

  justify-content: flex-end;

}


.main-nav a:not(.instagram-icon) {

  position: relative;

  font-size: 0.7rem;

  font-weight: 600;

  letter-spacing: 0.11em;

  text-transform: uppercase;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;

}


.main-nav a:not(.instagram-icon):hover {

  color: var(--burgundy);

}


.main-nav .active::after {

  content: "";

  position: absolute;

  left: 0;

  right: 0;

  bottom: -8px;

  height: 1px;

  background: var(--burgundy);

}


/* ========================================
   BRAND NAME
======================================== */

.brand {

  text-align: center;

  color: var(--deep-burgundy);

}


.brand-name {

  display: block;

  font-family: var(--serif);

  font-style: italic;

  font-weight: 500;

  font-size: 3rem;

  line-height: 0.85;

}


.brand-tagline {

  display: block;

  margin-top: 11px;

  color: var(--burgundy);

  font-family: var(--sans);

  font-size: 0.54rem;

  font-weight: 600;

  letter-spacing: 0.34em;

  text-transform: uppercase;

}


/* ========================================
   INSTAGRAM ICON
======================================== */

.instagram-icon {

  width: 22px;

  height: 22px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

}


.instagram-icon svg {

  width: 22px;

  height: 22px;

  fill: var(--burgundy);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;

}


.instagram-icon:hover svg {

  transform: scale(1.09);

  opacity: 0.75;

}


/* ========================================
   HERO
======================================== */

.hero {

  min-height: 620px;

  display: grid;

  grid-template-columns: 59% 41%;

  background: var(--blush);

}


/*
  IMPORTANT:

  Upload a file named:

  hero-florals.jpg

  inside a GitHub folder named:

  images

*/

.hero-photo {

  min-height: 620px;

  background-image:
    linear-gradient(
      rgba(71, 10, 20, 0.02),
      rgba(71, 10, 20, 0.05)
    ),
    url("images/hero-florals.jpg");

  background-size: cover;

  background-position: center;

  background-color: #f2c9c0;

}


.hero-content {

  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 85px 8%;

  overflow: hidden;

}


.hero-content::before {

  content: "";

  position: absolute;

  width: 520px;

  height: 520px;

  top: -180px;

  right: -190px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.38);

}


.hero-content::after {

  content: "";

  position: absolute;

  width: 380px;

  height: 260px;

  right: -120px;

  bottom: -90px;

  border-radius: 55% 45% 0 0;

  background: rgba(246, 180, 158, 0.6);

}


.hero-content > * {

  position: relative;

  z-index: 2;

}


.eyebrow {

  margin-bottom: 15px;

  color: var(--rose);

  font-size: 0.66rem;

  font-weight: 600;

  letter-spacing: 0.26em;

  text-transform: uppercase;

}


.hero h1 {

  max-width: 600px;

  font-family: var(--serif);

  font-size: clamp(
    3.6rem,
    5vw,
    5.7rem
  );

  font-weight: 500;

  line-height: 0.86;

}


.hero h1 span {

  display: block;

  margin-top: 4px;

  color: var(--rose);

  font-style: italic;

}


.hero-copy {

  max-width: 440px;

  margin: 32px 0;

  font-family: var(--serif);

  font-size: 1.5rem;

  line-height: 1.35;

}


/* ========================================
   BUTTONS
======================================== */

.button {

  width: fit-content;

  display: inline-flex;

  justify-content: center;

  align-items: center;

  padding: 15px 29px;

  border-radius: 2px;

  font-size: 0.67rem;

  font-weight: 600;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  transition:
    transform 0.2s ease,
    background 0.2s ease;

}


.primary-button,
.secondary-button {

  color: white;

  background: var(--burgundy);

}


.primary-button:hover,
.secondary-button:hover {

  background: var(--deep-burgundy);

  transform: translateY(-2px);

}


/* ========================================
   SERVICES
======================================== */

.service-strip {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  padding: 14px 5%;

  background: #fdece9;

  border-top: 1px solid var(--border);

  border-bottom: 1px solid var(--border);

}


.service-item {

  min-height: 88px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 18px;

  padding: 15px 25px;

  border-right: 1px solid #eacbc5;

}


.service-item:last-child {

  border-right: 0;

}


.service-icon {

  color: var(--rose);

  font-size: 1.8rem;

}


.service-item h3 {

  margin-bottom: 4px;

  font-size: 0.69rem;

  letter-spacing: 0.12em;

  text-transform: uppercase;

}


.service-item p {

  color: var(--muted-brown);

  font-size: 0.63rem;

  letter-spacing: 0.09em;

  text-transform: uppercase;

}


/* ========================================
   SHOP SECTION
======================================== */

.shop-section {

  width: min(1450px, 92%);

  margin: auto;

  padding: 78px 0;

}


.section-heading {

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  gap: 30px;

  margin-bottom: 36px;

}


.section-heading h2,
.story-content h2,
.newsletter-copy h2 {

  font-family: var(--serif);

  font-size: clamp(
    2.7rem,
    4vw,
    4.3rem
  );

  font-weight: 500;

  line-height: 0.95;

}


.coming-soon-note {

  color: var(--burgundy);

  font-size: 0.64rem;

  font-weight: 600;

  letter-spacing: 0.17em;

  text-transform: uppercase;

}


/* ========================================
   PRODUCT GRID
======================================== */

.product-grid {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 20px;

}


.product-photo {

  aspect-ratio: 4 / 5;

  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;

  overflow: hidden;

  background-size: cover;

  background-position: center;

  background-color: var(--soft-pink);

}


.product-photo::after {

  content: "";

  position: absolute;

  inset: 0;

  background: rgba(
    73,
    20,
    31,
    0.06
  );

}


/*
  These are the FOUR temporary
  floral images.

  Upload all four inside the
  /images folder.
*/

.product-one {

  background-image:
    url("images/coming-soon-1.jpg");

}


.product-two {

  background-image:
    url("images/coming-soon-2.jpg");

}


.product-three {

  background-image:
    url("images/coming-soon-3.jpg");

}


.product-four {

  background-image:
    url("images/coming-soon-4.jpg");

}


.coming-soon-label {

  position: relative;

  z-index: 2;

  padding: 14px 20px;

  background: rgba(
    255,
    250,
    243,
    0.95
  );

  border: 1px solid
    rgba(
      123,
      16,
      37,
      0.08
    );

  color: var(--burgundy);

  font-size: 0.65rem;

  font-weight: 600;

  letter-spacing: 0.19em;

  text-transform: uppercase;

}


.product-card h3 {

  margin-top: 15px;

  font-family: var(--serif);

  font-size: 1.38rem;

  font-weight: 500;

}


.product-card p {

  margin-top: 3px;

  color: var(--muted-brown);

  font-size: 0.8rem;

}


/* ========================================
   STORY
======================================== */

.story-section {

  display: grid;

  grid-template-columns:
    55% 45%;

  background: var(--blush);

}


/*
  Upload this image as:

  images/story-bouquet.jpg
*/

.story-photo {

  min-height: 570px;

  background-image:
    url("images/story-bouquet.jpg");

  background-size: cover;

  background-position: center;

  background-color: #f2c7bc;

}


.story-content {

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 80px;

}


.story-content h2 span {

  display: block;

  color: var(--burgundy);

  font-style: italic;

}


.story-content > p:not(.eyebrow) {

  max-width: 475px;

  margin: 28px 0 32px;

  color: var(--brown);

  font-size: 0.94rem;

}


/* ========================================
   NEWSLETTER
======================================== */

.newsletter-section {

  width: min(1200px, 90%);

  margin: auto;

  padding: 95px 0;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 90px;

  align-items: center;

}


.newsletter-copy p:last-child {

  max-width: 500px;

  margin-top: 20px;

  color: var(--muted-brown);

}


.newsletter-form {

  display: flex;

  flex-wrap: wrap;

}


.newsletter-form input {

  flex: 1;

  min-width: 230px;

  padding: 17px 18px;

  background: white;

  border: 1px solid #d9c5c0;

  outline: none;

}


.newsletter-form input:focus {

  border-color: var(--burgundy);

}


.newsletter-form button {

  padding: 17px 26px;

  border: 0;

  background: var(--burgundy);

  color: white;

  cursor: pointer;

  font-size: 0.67rem;

  font-weight: 600;

  letter-spacing: 0.14em;

  text-transform: uppercase;

}


.newsletter-form button:hover {

  background: var(--deep-burgundy);

}


.form-disclaimer {

  width: 100%;

  margin-top: 13px;

  color: var(--muted-brown);

  font-size: 0.65rem;

  line-height: 1.5;

}


/* ========================================
   FOOTER
======================================== */

.site-footer {

  padding:
    68px 5%
    25px;

  background: var(--deep-burgundy);

  color: #fff8f4;

}


.footer-grid {

  width: min(1300px, 100%);

  margin: auto;

  display: grid;

  grid-template-columns:
    2fr
    repeat(3, 1fr);

  gap: 55px;

}


.footer-brand h2 {

  font-family: var(--serif);

  font-size: 2.9rem;

  font-style: italic;

  font-weight: 500;

  line-height: 1;

}


.footer-tagline {

  margin: 9px 0;

  font-family: var(--serif);

  font-size: 1.22rem;

}


.footer-brand > p:last-child,
.footer-column p {

  max-width: 300px;

  font-size: 0.79rem;

  opacity: 0.75;

}


.footer-column {

  display: flex;

  flex-direction: column;

  gap: 9px;

}


.footer-column h3 {

  margin-bottom: 7px;

  font-size: 0.67rem;

  letter-spacing: 0.19em;

  text-transform: uppercase;

}


.footer-column a {

  font-size: 0.79rem;

  opacity: 0.82;

  transition: opacity 0.2s ease;

}


.footer-column a:hover {

  opacity: 1;

}


/* Footer Instagram */

.footer-instagram {

  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-top: 7px;

}


.footer-instagram svg {

  width: 19px;

  height: 19px;

  fill: currentColor;

}


/* Footer bottom */

.footer-bottom {

  width: min(1300px, 100%);

  margin:
    50px auto
    0;

  padding-top: 20px;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.2
    );

  font-size: 0.65rem;

  opacity: 0.72;

}


/* ========================================
   ACCESSIBILITY
======================================== */

.sr-only {

  position: absolute;

  width: 1px;

  height: 1px;

  padding: 0;

  margin: -1px;

  overflow: hidden;

  clip: rect(
    0,
    0,
    0,
    0
  );

  white-space: nowrap;

  border: 0;

}


/* ========================================
   TABLET
======================================== */

@media
(max-width: 950px) {


  .header-inner {

    grid-template-columns: 1fr;

    gap: 18px;

    padding: 22px 0;

  }


  .brand {

    grid-row: 1;

  }


  .left-nav,
  .right-nav {

    justify-content: center;

  }


  .hero {

    grid-template-columns: 1fr;

  }


  .hero-photo {

    min-height: 480px;

  }


  .hero-content {

    min-height: 470px;

    padding: 60px 8%;

  }


  .service-strip {

    grid-template-columns: 1fr;

  }


  .service-item {

    border-right: 0;

    border-bottom:
      1px solid
      #eacbc5;

  }


  .service-item:last-child {

    border-bottom: 0;

  }


  .product-grid {

    grid-template-columns:
      repeat(2, 1fr);

  }


  .story-section {

    grid-template-columns: 1fr;

  }


  .story-content {

    padding: 65px 8%;

  }


  .newsletter-section {

    grid-template-columns: 1fr;

    gap: 35px;

  }


  .footer-grid {

    grid-template-columns:
      repeat(2, 1fr);

  }

}


/* ========================================
   MOBILE
======================================== */

@media
(max-width: 600px) {


  .announcement-bar {

    gap: 7px;

    font-size: 0.51rem;

    letter-spacing: 0.12em;

  }


  .main-nav {

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

  }


  .main-nav a:not(.instagram-icon) {

    font-size: 0.61rem;

  }


  .brand-name {

    font-size: 2.25rem;

  }


  .hero-photo {

    min-height: 390px;

  }


  .hero-content {

    min-height: 450px;

    padding:
      50px
      25px;

  }


  .hero h1 {

    font-size: 3.6rem;

  }


  .hero-copy {

    font-size: 1.3rem;

  }


  .section-heading {

    align-items: flex-start;

    flex-direction: column;

  }


  .product-grid {

    grid-template-columns: 1fr;

  }


  .product-photo {

    aspect-ratio: 5 / 5;

  }


  .story-photo {

    min-height: 430px;

  }


  .story-content {

    padding:
      55px
      25px;

  }


  .newsletter-section {

    padding: 70px 0;

  }


  .newsletter-form {

    display: block;

  }


  .newsletter-form input {

    width: 100%;

  }


  .newsletter-form button {

    width: 100%;

    margin-top: 10px;

  }


  .footer-grid {

    grid-template-columns: 1fr;

  }


  .footer-bottom {

    flex-direction: column;

  }

}
/* ========================================
   MOBILE POLISH
======================================== */

@media (max-width: 600px) {

  /* Tighten header */
  .header-inner {
    padding: 16px 0 18px;
    gap: 12px;
  }

  .brand-name {
    font-size: 2.15rem;
  }

  .brand-tagline {
    margin-top: 8px;
  }

  .main-nav {
    gap: 14px;
  }

  /* Bring hero closer to navigation */
  .hero {
    margin-top: 0;
  }

  .hero-photo {
    min-height: 340px;
    background-position: center center;
  }

  /* Slightly tighter hero copy */
  .hero-content {
    min-height: auto;
    padding: 48px 28px 58px;
  }

  .hero h1 {
    font-size: 3.15rem;
    line-height: 0.9;
  }

  .hero-copy {
    font-size: 1.22rem;
    margin: 26px 0;
  }

  /* Slightly smaller CTA */
  .button {
    padding: 14px 24px;
  }

  /* Shop cards */
  .shop-section {
    padding-top: 60px;
  }

  .product-photo {
    aspect-ratio: 1 / 1;
  }
}
