/*
  Marc Olivetti — Landing Page Styles
  - Mobile-first responsive layout using flex and grid
  - Semantic structure paired with accessible defaults
*/

/* CSS Reset (lightweight) */
/* @font-face {
  font-family: var(--ivypresto-font);
  src: url('assets/fonts/IvyPrestoDisplay-BoldItalic.eot');
  src: url('assets/fonts/IvyPrestoDisplay-BoldItalic.eot?#iefix') format('embedded-opentype'),
      url('assets/fonts/IvyPrestoDisplay-BoldItalic.woff2') format('woff2'),
      url('assets/fonts/IvyPrestoDisplay-BoldItalic.woff') format('woff'),
      url('assets/fonts/IvyPrestoDisplay-BoldItalic.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
} */
 
:root {
  --ivypresto-font: "ivypresto-display";
  --font-helvetica-neue: 'Helvetica Neue', sans-serif;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('assets/fonts/HelveticaNeue-Medium.eot');
  src: url('assets/fonts/HelveticaNeue-Medium.eot?#iefix') format('embedded-opentype'),
      url('assets/fonts/HelveticaNeue-Medium.woff2') format('woff2'),
      url('assets/fonts/HelveticaNeue-Medium.woff') format('woff'),
      url('assets/fonts/HelveticaNeue-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, li, figure { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

body {
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 24px;
  border-bottom: none;
  display: flex;
  justify-content: center;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-block;
}

.logo img {
  height: auto;
  width: 100%;
  max-width: 90px;
}

h1 { font-size: clamp(28px, 5vw, 48px); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(22px, 3.6vw, 32px); margin-bottom: 16px; font-weight: 400;}


/* Hero */
#hero {
  position: relative;
  padding: 0;
}

.hero-media img { width: 100%; height: auto; }

.hero-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: min(10vh, 88px);
  display: grid;
  gap: 12px;
  color: #000000;
}

.hero-content .hero-content-title{
  font-family: "ivypresto-display";
  font-size: 30px;
  line-height: 40px;
  font-weight: 400;
  text-transform: uppercase;
}
.hero-content .hero-content-title span{
  font-weight: 100;
  font-style: italic;
}

/* About */
#about{
    text-align: center;
    background: #000;
    color: #fff;
    padding: 7% 0;
}
#about .about-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;margin-top: 30px;}
#about .about-actions a { 
  padding: 8px 25px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-family: 'Helvetica Neue';
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 15px;
  min-height: 36px;
}
.about-wrapper{
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.about-wrapper p{
  font-family: 'Manrope';
  font-weight: 400;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 24px;
}

.about-wrapper p.about-subtitle {
  margin-bottom: 0;
  font-size: 10px;
  line-height: 14px;
  margin-top: 40px;
}
.about-wrapper h2{
  font-family: var(--ivypresto-font);
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 0;
}
/* Collection */
#collection .product {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 0 0;
  border-bottom: 1px solid #707070;
}

#collection .product-media {     
  width: 100%;
  height: 100%;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#collection .notes { display: grid; gap: 6px; margin-top: 8px; }

.product-content {
  max-width: 100%;
  padding: 20px;
}
/* Features */
#features .feature {
  display: grid;
  gap: 16px;
  align-items: center;
}

.product-content h3{
  font-family: var(--ivypresto-font);
  font-size: 28px;
  line-height: 34px;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.product-content-subheading{
  font-family: 'Manrope';
  font-size: 18px;
  line-height: 27px;
}

.product-content-subheading span{
  font-weight: 600;
}
.product-content-description {
  margin: 25px 0;
  font-size: 16px;
  line-height: 22px;
  font-family: 'Manrope';
  font-weight: 400;
}

.product-content-description p{
  margin-bottom: 15px;
}

#collection .product-notes {
  display: grid;
  grid-template-columns: repeat(1, 100%);
  gap: 15px;
  margin: 10px 0;
  justify-content: center;
}

#collection .product-notes li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 16px;
  line-height: 22px;
  font-family: 'Manrope';
  font-weight: 400;
  text-align: left;
}

#collection .product-notes li span {
  font-weight: 600;
}

footer {
  padding: 10px 0;
  background: #000000;
  color: #fff; 
}
footer p{
  padding: 0 1rem;
}
.footer-copyright{
  font-size: 11px;
  line-height: 14px;
}
.product-notes-icon{
  width: 36px;
  height: 36px;
}
.product-notes-content-wrapper{
  display: flex;
  flex-direction: column;
}
/* Responsive Layouts */
@media (min-width: 750px) {
  /* position hero text on the right for larger screens */
  .hero-content { left: auto; right: 6%; max-width: 400px; bottom: 30%;}
  #features .feature { grid-template-columns: 1fr 1fr; }
  #testimonials .testimonial { grid-template-columns: auto 1fr; }
  #collection .product-notes { grid-template-columns: repeat(3, 33.33%); }
  #collection .product-notes li{align-items: center; text-align: center;}
  .product-content-subheading{
    font-size: 20px;
  }
  .about-wrapper p.about-subtitle{
    font-size: 12px;
    line-height: 22px;
  }
  #about .about-actions a { 
    font-size: 14px;
    line-height: 18px;
    min-height: 41px;
  }
  .hero-banner-mobile{display: none;}
  .hero-banner-desktop{display: block;}
}

@media (min-width: 990px) {
  .hero-content{max-width: 480px; }
  #collection .product { 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
  }
  .product-content h3{
    font-size: 30px;
    line-height: 47px;
  }
  .product-content{
    max-width: 638px;
  }
  .product-content-subheading{
    font-size: 18px;
    line-height: 25px;
  }
  .about-wrapper p{
    font-size: 18px;
    line-height: 29px;
  }
  footer p{
    padding: 0 5rem;
  }
  .about-wrapper{
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .about-wrapper h2{
    font-size: 26px;
    line-height: 40px;
  }
  .about-wrapper p.about-subtitle{
    font-size: 16px;
    line-height: 22px;
  }
  #about .about-actions a { 
    font-size: 16px;
    line-height: 20px;
    min-height: 47px;
  }
  .hero-content .hero-content-title{
    font-size: 40px;
    line-height: 50px;
  }
  .logo img {
    max-width: 120px;
  }
  .product-notes-icon{
    margin-bottom: 16px;
  }
}
@media (min-width: 1301px) {
  .hero-content {
    left: auto;
    right: 12%;
  }
}
@media (min-width: 1600px) {
  .product-content-description{
    font-size: 20px;
    line-height: 27px;
  }
  .about-wrapper p{
    font-size: 20px;
    line-height: 34px;
  }
  .about-wrapper h2{
  font-size: 30px;
  line-height: 47px;
  }
  .hero-content .hero-content-title{
    font-family: var(--ivypresto-font);
    font-size: 47px;
    line-height: 54px;
  }
  #collection .product { 
    gap: 50px; 
  }
  .product-content{
    max-width: 638px;
    padding: 0 0 0 40px;
  }
}

@media (min-width: 990px) and (max-width: 1300px) {
  .hero-content .hero-content-title {
    font-size: 35px;
    line-height: 45px;
  }
}

@media (max-width: 749px) {
  .hero-banner-mobile{display: block;}
  .hero-banner-desktop, .hero-content, .logo img{display: none;}
  #collection .product-notes li{
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 23px;
  }
}

