/* Reset default styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements */
ul,
ol {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


:root {
  /* Color palette */
  --color-grey: #a8a18c;
  --color-beige: #D7C9AA;
  --color-offwhite: #F6F5F1;
  --color-accent: #B85633;
  --color-black: #1E1E1E;
  --color-white: #fff;

  /* Font sizes */
  --font-h1-desktop: 48px;
  --font-h1-mobile: 32px;
  --font-h2-desktop: 40px;
  --font-h2-mobile: 30px;
  --font-hero-subtitle: 24px;
  --font-body-desktop: 18px;
  --font-body-mobile: 16px;

  /* Spacing */
  --space-section: 128px;
  --space-section-mobile: 32px;
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  --space-xxxl: 80px;
  --space-4xl: 128px;

  /* Border radius */
  --radius: 4px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-black);
  background: var(--color-white);
  margin: 0;
  font-size: var(--font-body-desktop);
  line-height: 1.6;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-m) 0;
  background: var(--color-white);
  max-width: 1240px;
  margin: 0 auto;
}

.navbar__brand {
  font-weight: 500;
  font-size:  var(--font-h2-desktop);
  letter-spacing: 2%;
  flex: 1;
}

.contact__btn {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: var(--space-xs) var(--space-l);
  font-size: 1em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 500;
  transition: background 0.2s;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

.contact__btn:hover {
  background: #a04a2d;
}

.contact__icon {
  font-size: 1.1em;
  margin-left: var(--space-xs);
}

 .navbar {
    padding: var(--space-m) 20px;
  }

/* Hero section */
.hero {
  background: var(--color-offwhite);
  text-align: center;
  padding: 240px 80px;
  margin: 0 auto;
  max-width: 1240px;
}

.hero__title {
  font-size: var(--font-h1-desktop);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}


.hero__subtitle {
  font-size: var(--font-hero-subtitle);
  margin-bottom: 48px;
}

/* Section base */
.section {
  padding: 150px 20px;
  max-width: 1240px;
  margin: 0 auto;
}



.section h2 {
  font-size: var(--font-h2-mobile);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: var(--space-m);
  text-align: center;
}

.section .text-align {
  text-align: center;
}


/* About section */
.about {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.about .text {
  flex: 1.5;
}

.section .text p {
  margin-bottom: var(--space-xs);
}

.about__image {
  flex: 1;
  min-width: 240px;
}

.about__image img {
  width: 100%;
  object-fit: cover;
}

/* Checklist */
.checklist__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.checklist .text {
  margin-bottom: var(--space-xl);
}


.checklist__item {
  font-size: var(--font-body-mobile);
  margin-bottom: var(--space-s);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-offwhite);
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  justify-content: space-between;
}

.checklist__item div {
  padding: var(--space-s);
}


.checkmark {
  height: 100%;
}

/* Usage grid */
.usage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
}

.usage__item {
  background: var(--color-grey);
  color: var(--color-white);
  padding: var(--space-m);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.steps {
  background: var(--color-offwhite);
  max-width: none;
  padding: 300px 0;
}

.section__container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Steps */
.steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  margin: 0 auto;
}

.steps__list li {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: flex-start;
  margin-bottom: var(--space-m);
  border: 1px solid var(--color-beige);
  gap: var(--space-m);
  min-height: 220px;
  align-content: center;
}

.steps__list li .steps__number {
  background: var(--color-beige);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-m);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 220px;

}

.steps__list li .steps__number::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-left: 20px solid var(--color-beige);
}

.steps__text {
  padding: var(--space-m);
  align-self: center;
}

.steps__text p {
  font-size: var(--font-body-mobile);
}

.steps__text div {
  font-size: var(--font-hero-subtitle);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.steps__number {
  font-size: 2em;
  font-weight: 700;
  color: var(--color-grey);
  margin-right: var(--space-m);
  min-width: 48px;
  text-align: center;
}

/* Gallery */
.gallery {
  padding: 300px 20px;
}

.gallery__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-m);
  margin-top: var(--space-m);
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel__container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 500px;
  overflow: hidden;
}

.carousel__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.carousel__navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
}

.carousel__image.active {
  opacity: 1;
}

.carousel__btn {
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
  flex-shrink: 0;
  background: transparent
}

.carousel__btn img {
  width: 40px;
  height: 40px;
}


.gallery .text, .contact .text {
  margin-bottom: var(--space-l);
}

.gallery .text {
  text-align: center;
}

/* Contact */
.contact {
  text-align: center;
  background: var(--color-offwhite);
  max-width: none;
}

/* Footer */
.footer {
  background: var(--color-beige);
  color: var(--color-black);
  text-align: center;
  padding: var(--space-xl) var(--space-l) var(--space-l) var(--space-l);
  font-size: var(--font-body-mobile);
}

.footer__brand {
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: var(--space-xs);
}

.footer__info p {
  margin: var(--space-xs) 0;
}

.footer__link {
  color: var(--color-black);
  text-decoration: none;
}

.footer__hr {
  margin: var(--space-m) 0;
  border: none;
  border-top: 1px solid var(--color-grey);
}



/* Responsive styles */
@media (max-width: 900px) {
  .about {
    flex-direction: column;
    gap: var(--space-m);
  }
  .usage__grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
  padding: 150px 40px;
}

  .navbar {
    padding: 24px 40px;
  }

}







@media (max-width: 600px) {
  body {
    font-size: var(--font-body-mobile);
  }
  .navbar {
    padding: var(--space-m) var(--space-s);
  }
 .navbar__brand{
  font-size: var(--font-h1-mobile);
 }
 .hero {
  padding: 200px 16px;
  margin: 0 16px;
}

.hero h1 {
  text-align: left;
}
 .hero__subtitle {
  font-size: var(--font-hero-subtitle-mobile);
  text-align: left;
 }
  .section {
    padding: 250px 16px;
  }
  .section .about {
    padding: 0 16px;
  }


  .section h2 {
    font-size: var(--font-h2-mobile);
    line-height: 36px;
    text-align: left;
  }
  .section text {
    text-align: left;
  }

  .contact {
    padding: 250px 16px;
    text-align: left;
  }

  .contact__btn {
    margin-left: 0;
  }

  .hero__title {
    font-size: var(--font-h1-mobile);
  }


  .gallery {
  padding: 250px 16px;
  }

  .gallery__carousel {
    flex-direction: column;
    gap: var(--space-s);
    align-items: center;
    justify-content: center;
  }

  .carousel__container {
    max-width: 100%;
    height: 300px;
  }

 

  .carousel__btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .gallery .text {
  text-align: left;
}

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

  .usage__item {
  justify-content: left;
}

  .steps__list li {
    flex-direction: column;
    gap: var(--space-xs);
    align-items: flex-start;
  }

  .checklist {
    padding: 0 16px;
  }

  .checklist .text {
  text-align: left;
  }

  .usage__grid {
  gap: var(--space-xs);
}

.footer {
  text-align: left;
}

}