/*
Theme Name: Sylvia Blooms
Text Domain: sylvia-blooms
Version: 0.1.0
*/

:root{
  --sb-beige:#F2ECE4;
  --sb-charcoal:#2B2B2B;
  --sb-surface:#FBF8F3;
  --sb-white:#FFFFFF;
  --sb-accent:#D4837A;
  --sb-accent-dark:#B7645B;
  --sb-border:rgba(43,43,43,.12);
}

body{
  background: var(--sb-beige);
  color: var(--sb-charcoal);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
}

h1,h2,h3,h4,h5,h6{
  font-family: 'Tenor Sans', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: var(--sb-charcoal);
}

.sb-page{
  max-width: 1100px;
  margin: 14px auto 34px;
  background: #f2ece4;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
}

.sb-header{
  background: #f2ece4;
  border-bottom: 0;
}

.sb-header__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px 18px;
}

.sb-header__brand{
  display: flex;
  justify-content: center;
  padding: 6px 0 14px;
}

.sb-header__brand-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sb-header__logo{
  width: 200px;
  height: auto;
  display: block;
}

.sb-header__top{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.sb-header__nav-list{
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.sb-header__nav-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 4px;
  background: transparent;
  border: 0;
  color: var(--sb-charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sb-header__nav-link:hover{
  background: rgba(43,43,43,.06);
  color: var(--sb-charcoal);
}

.sb-header__nav-link--active{
  background: var(--sb-accent);
  border-color: var(--sb-accent);
  color: var(--sb-white);
}

.sb-header__nav-link--active:hover{
  background: var(--sb-accent-dark);
  border-color: var(--sb-accent-dark);
  color: var(--sb-white);
}

.sb-main{
  width: 100%;
  margin: 0;
  background: transparent;
  border-left: 0;
  border-right: 0;
  min-height: 60vh;
}

.sb-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--sb-accent);
  border: 1px solid var(--sb-accent);
  color: var(--sb-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sb-button:hover{
  background: var(--sb-accent-dark);
  border-color: var(--sb-accent-dark);
}

.sb-button--outline{
  background: transparent;
  color: var(--sb-charcoal);
  border-color: rgba(43,43,43,.35);
}

.sb-button--outline:hover{
  background: rgba(43,43,43,.06);
  border-color: rgba(43,43,43,.45);
  color: var(--sb-charcoal);
}

.sb-button--small{
  padding: 10px 14px;
  font-size: 11px;
}

.sb-home{
  padding: 18px 0 40px;
}

.sb-hero{
  margin: 0 18px 24px;
  background: var(--sb-white);
  border: 1px solid var(--sb-border);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
}

.sb-hero__media{
  position: relative;
  min-height: 360px;
}

.sb-hero__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10% 20%;
  display: block;
}

.sb-hero__content{
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.sb-hero__title{
  font-size: 44px;
  line-height: 1.05;
  margin: 0;
}

.sb-hero__lead{
  margin: 0;
  font-weight: 600;
  font-size: 14px;
}

.sb-hero__sub{
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  max-width: 36ch;
}

.sb-hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.sb-section{
  margin: 0 18px 24px;
  padding: 40px 28px;
  text-align: center;
}

.sb-section--card{
  background: var(--sb-white);
  border: 1px solid var(--sb-border);
}

.sb-section__title{
  font-size: 34px;
  margin: 0 0 12px;
}

.sb-section__text{
  margin: 0 auto 12px;
  max-width: 68ch;
  font-size: 13px;
  line-height: 1.8;
}

.sb-section__actions{
  margin-top: 18px;
}

.sb-photo{
  margin: 0 18px 24px;
  background: var(--sb-white);
  border: 1px solid var(--sb-border);
  overflow: hidden;
}

.sb-photo__image{
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 50% 80%;
  display: block;
}

.sb-footer{
  background: #f2ece4;
  border-top: 0;
}

.sb-footer__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 18px;
}

.sb-footer__follow{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-footer__follow-label{
  font-size: 12px;
  font-weight: 500;
}

.sb-footer__social{
  display: flex;
  gap: 10px;
}

.sb-footer__social-link{
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sb-charcoal);
  text-decoration: none;
}

.sb-footer__social-link:hover{
  color: var(--sb-accent-dark);
}

.sb-footer__brand{
  display: flex;
  justify-content: center;
}

.sb-footer__brand-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sb-footer__logo{
  width: 140px;
  height: auto;
  display: block;
}

.sb-footer__spacer{
  height: 1px;
}

@media (max-width: 860px){
  .sb-header__logo{
    width: 170px;
  }

  .sb-hero{
    grid-template-columns: 1fr;
  }

  .sb-hero__media{
    min-height: 280px;
  }

  .sb-hero__content{
    padding: 28px 22px;
  }

  .sb-hero__title{
    font-size: 34px;
  }

  .sb-photo__image{
    height: 320px;
  }

  .sb-section__title{
    font-size: 28px;
  }

  .sb-footer__inner{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .sb-footer__follow{
    align-items: center;
  }

  .sb-footer__spacer{
    display: none;
  }
}
