
/*
  Theme Name: fashion
  Author: Sherry Khattak

*/




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

:root {
  --black: #11100f;
  --cream: #f3efe7;
  --muted: #8d887f;
  --line: #d8d1c6;
  --gold: #b39462;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--black);
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.navbar {
  height: 86px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 231, .96);
}

.logo,
.footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  letter-spacing: .2em;
  font-weight: 600;
}

.navbar nav {
  display: flex;
  gap: 38px;
}

.navbar nav a,
.nav-actions button {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.nav-actions {
  display: flex;
  gap: 20px;
}

.nav-actions button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: 48% 52%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw;
}

.eyebrow {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.5rem, 8vw, 8.5rem);
  line-height: .78;
  font-weight: 500;
  letter-spacing: -.04em;
}

em {
  font-style: italic;
  font-weight: 400;
}

.hero-text {
  max-width: 390px;
  color: #625f58;
  line-height: 1.8;
  margin: 35px 0;
}

.btn {
  width: fit-content;
  padding: 17px 25px;
  background: var(--black);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  transition: .3s;
}

.btn span {
  margin-left: 25px;
}

.btn:hover {
  background: var(--gold);
}

.hero-image {
  position: relative;
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08), transparent),
    url("https://images.unsplash.com/photo-1496747611176-843222e1e57c?auto=format&fit=crop&w=1400&q=85")
    center / cover;
}

.image-label {
  position: absolute;
  bottom: 35px;
  right: 35px;
  color: white;
  text-align: right;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  letter-spacing: .2em;
}

.image-label small {
  font: .55rem "Inter", sans-serif;
  letter-spacing: .18em;
}

.intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 150px 30px;
}

.intro h2,
.section-heading h2,
.statement h2,
.newsletter h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 500;
  line-height: .95;
}

.intro > p:last-child {
  max-width: 650px;
  margin: 35px auto 0;
  line-height: 1.9;
  color: #68635b;
}

.collections {
  padding: 100px 5vw 150px;
  background: #e9e4db;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 55px;
}

.text-link {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  border-bottom: 1px solid var(--black);
  padding-bottom: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-image {
  height: 570px;
  position: relative;
  background-position: center;
  background-size: cover;
}

.product-image span {
  position: absolute;
  top: 18px;
  left: 18px;
  color: white;
  font-size: .65rem;
  letter-spacing: .15em;
}

.image-one {
  background-image: url("https://images.unsplash.com/photo-1539109136881-3be0616acf4b?auto=format&fit=crop&w=900&q=85");
}

.image-two {
  background-image: url("https://images.unsplash.com/photo-1566174053879-31528523f8ae?auto=format&fit=crop&w=900&q=85");
}

.image-three {
  background-image: url("https://images.unsplash.com/photo-1584917865442-de89df76afd3?auto=format&fit=crop&w=900&q=85");
}

.product-info {
  display: flex;
  justify-content: space-between;
  padding: 20px 2px;
}

.product-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.product-info p,
.product-info strong {
  font-size: .67rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.product-info strong {
  color: var(--black);
}

.statement {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 760px;
}

.statement-image {
  background: url("https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=1400&q=85") center / cover;
}

.statement-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10%;
}

.statement-content > p:not(.eyebrow) {
  max-width: 390px;
  margin: 35px 0;
  color: #68635b;
  line-height: 1.9;
}

.newsletter {
  padding: 150px 20px;
  text-align: center;
  background: var(--black);
  color: var(--cream);
}

.newsletter .eyebrow {
  color: #aaa49b;
}

.newsletter p:not(.eyebrow) {
  color: #aaa49b;
  margin: 25px auto 40px;
}

.newsletter form {
  display: flex;
  max-width: 540px;
  margin: auto;
  border-bottom: 1px solid #77716a;
}

.newsletter input {
  flex: 1;
  padding: 17px 5px;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
}

.newsletter input::placeholder {
  color: #77716a;
}

.newsletter button {
  border: 0;
  background: transparent;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .65rem;
  cursor: pointer;
}

footer {
  background: var(--black);
  color: #aaa49b;
  border-top: 1px solid #302e2a;
  padding: 45px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .footer-logo {
  color: var(--cream);
}

footer p,
footer a {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

footer div:last-child {
  display: flex;
  gap: 22px;
}

@media (max-width: 800px) {
  .navbar nav {
    display: none;
  }

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

  .hero-content {
    min-height: 650px;
    padding: 60px 7vw;
  }

  .hero-image {
    min-height: 600px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 650px;
  }

  .statement-image {
    min-height: 600px;
  }

  .section-heading {
    align-items: start;
    gap: 30px;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-actions button:first-child {
    display: none;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .intro,
  .collections {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .newsletter form {
    display: block;
    border: 0;
  }

  .newsletter input {
    width: 100%;
    border-bottom: 1px solid #77716a;
    margin-bottom: 20px;
  }
}
