/**** HEADER (Nav only) ****/
.header {
  position: relative;
  z-index: 10;
  width: 100%;
}

/**** NAVIGATION ****/
.main--nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 3.2rem;
  background-color: #000;
}

.nav--logo-img {
  height: 6rem;
  width: auto;
}

.nav--list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav--list li {
  list-style: none;
}

.nav--list-item:link,
.nav--list-item:visited {
  text-decoration: none;
  color: #faf7f2;
  font-size: 1.8rem;
  padding: 1.2rem 2rem;
  border-radius: 9px;
  transition: all 0.3s;
}

.nav--list-item:hover,
.nav--list-item:active {
  color: #333;
  background-color: #f8d7da;
  box-shadow: inset 0 0 0 3px #fc5927;
}

/* Cart Button */
.nav--btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  padding: 0.6rem;
  color: #faf7f2;
  transition: color 0.3s ease;
}

.nav--btn:hover {
  color: #fc5927;
}

.nav--btn-icon {
  font-size: 2rem;
}

#cart-count {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(40%, -40%);
  background-color: #fc5927;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile nav button */
.btn-mobile-nav {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* show via media queries */
}

.icon-mobile-nav {
  width: 4.8rem;
  height: 4.8rem;
  color: #fff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/**** STICKY NAVIGATION ****/
.sticky .header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 999;
  height: 8rem;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
}

/**** HERO SECTION ****/
.hero-section {
  background-image: url("/images/hero-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  border-top: 5px solid #fc5927;
}

.hero--content {
  max-width: 60ch;
  color: #f7f7f7;
}

.hero--title {
  font-size: 4.2rem;
  font-weight: 300;
  line-height: 1.2;
}

.hero--subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero--description {
  font-size: 1.6rem;
  line-height: 1.8;
}

.hero--btn {
  display: flex;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.hero--btn-primary,
.hero--btn-secondary {
  display: inline-block;
  font-size: 1.6rem;
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Primary button */
.hero--btn-primary {
  background-color: #fc5927;
  color: #fff;
}

.hero--btn-primary:hover {
  background-color: #ca471f;
  box-shadow: inset 0 0 0 3px #ca471f;
}

/* Secondary button */
.hero--btn-secondary {
  background-color: #fff;
  color: #333;
}

.hero--btn-secondary:hover {
  background-color: #f8d7da;
  box-shadow: inset 0 0 0 3px #fff;
}

/**** SECTION COLLECTIONS ****/

.section--collections {
  padding: 4.8rem 0 9.6rem 0;
}

.collections--content {
  text-align: center;
  margin-bottom: 4.8rem;
}

.collections--content hr {
  width: 60px;
  margin: 2rem auto 0;
  border: 1px solid #fc5927;
}

.collections--item {
  border-radius: 9px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collections--item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.collections--item-img {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* Makes it a square */
  width: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.collections--item-img:hover img {
  transform: scale(1.1);
}

.collections--item-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #1f1f1f;
  font-weight: 400;
  letter-spacing: 1px;
}

/**** SECTION LOGO ****/

.section--logo {
  padding: 4.8rem 0;
  background-color: #faf7f1;
}

.logo--content {
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo--heading {
  font-size: 0.8rem;
  font-weight: 300;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: #888;
  text-align: center;
}

.logo--img {
  width: 200px;
  height: 3.2rem;
  filter: brightness(0);
  opacity: 50%;
}
/**** SECTION ABOUT ****/
.section--about {
  padding: 6rem 2rem;
  background-color: #ffeee9;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 4rem;
}

.grid--2-cols {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* Text Column */
.about--content {
  text-align: left;
  color: #333;
}

.about--title {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  color: #4c2012;
}

.about--secondary {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2.4rem;
  color: #111;
}

.about--description {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
  color: #444;
}

/* Image Column */
.about--item {
  display: flex;
  justify-content: center;
}

.about--item-img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 2px solid #fd8b68;
}

/* SECTION PRODUCTS */

.section--products {
  padding: 4.8rem 0 9.6rem 0;
}

.products--content {
  text-align: center;
  margin-bottom: 4.8rem;
}

.products--content hr {
  width: 60px;
  margin: 2rem auto 0;
  border: 1px solid #fc5927;
}

.products--item {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products--item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Image container */
.products--image {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Product image */
.products--item-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
  aspect-ratio: 1 / 1; /* Makes it a square */
}

.products--item:hover .products--item-img {
  transform: scale(1.05);
}

/* Product text info */
.products--info {
  margin-top: 1rem;
}

.products--item-title {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0.4rem 0 0.2rem;
  color: #222;
}

.products--item-price {
  font-size: 1.4rem;
  color: #777;
}

/* Optional overlay buttons (fade in on hover) */
.products--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.products--item:hover .products--overlay {
  opacity: 1;
}

.products--btn {
  background: #111;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.products--btn:hover {
  background: #444;
}

/**** SECTION PRICING ****/
.section--pricing {
  padding: 6.4rem 0 9.6rem 0;
  background-color: #faf7f1;
}

/* Section content */
.pricing--content {
  text-align: center;
  margin-bottom: 4.8rem;
}

.pricing--content hr {
  width: 60px;
  margin: 2rem auto 0;
  border: 1px solid #fc5927;
}

.heading--primary {
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #333;
}

.heading--secondary {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 2.4rem;
  color: #b03e1b;
}

.pricing--description {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #666;
  max-width: 60ch;
  margin: 0 auto;
}

/* Plan cards */
.pricing--plan {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers everything horizontally */
  justify-content: flex-start;
  padding: 2.4rem;
  border-radius: 12px;
  background-color: #fff;
  border: 2px solid #fc6a3d;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing--plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pricing--plan-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #b03e1b;
}

.pricing--plan-price {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 3.2rem;
  color: #333;
}

/* Features */
.pricing--plan-features {
  list-style: none;
  padding-left: 0;
  margin: 0 0 2.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.pricing--plan-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  color: #333;
  text-align: left;
}

.pricing--plan-icon {
  font-size: 1.6rem;
  margin-right: 0.8rem;
  color: #fc6a3d;
  height: 2.4rem;
  width: 2.4rem;
  text-align: center;
}

/* Buttons */
.pricing--plan-btn {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 9px;
  background: linear-gradient(135deg, #fc6a3d, #b03e1b);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.pricing--plan-btn:hover {
  background: linear-gradient(135deg, #b03e1b, #fc6a3d);
  transform: scale(1.05);
}

/* Premium Highlight */
.pricing--plan-premium {
  background-color: #ffeee9;
  border: 2px solid #fc6a3d;
}

.pricing--plan-premium::before {
  content: "Most Popular";
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd43b, #f0b432);
  color: #222;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Plan note */
.pricing--plan-note {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
  margin: 3.2rem auto 2.4rem;
  max-width: 70ch;
}

/* Features Grid */
.feature {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature--icon {
  margin-bottom: 1.2rem;
  padding: 1rem;
  background-color: #feded4;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  color: #e35023;
}

.feature--title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #333;
}

.feature--description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

/**** SECTION REVIEW ****/

.section--review {
  padding: 4.8rem 0 9.6rem 0;
  background-color: #faf7f1;
}

.review--content {
  text-align: center;
  margin-bottom: 4.8rem;
}

.review--content hr {
  width: 60px;
  margin: 2rem auto 0;
  border: 1px solid #fc5927;
}

.review {
  background-color: #fff;
  padding: 2.4rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.review--stars {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: #fc6a3d;
}

.review--text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
  font-style: italic;
}

.review--user {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #f0f0f0;
  padding-top: 1.6rem;
}

.review--user-img {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  border: 2px solid #fc6a3d;
  object-fit: cover;
}

.review--user-info p:first-child {
  font-weight: 600;
  color: #333;
}

.review--user-info p:last-child {
  font-size: 1.1rem;
  color: #777;
}

/**** SECTION CTA ****/

.section--cta {
  position: relative;
  padding: 6.4rem 0;
  background: url("/images/background-cta.jpg") center center/cover no-repeat;
  color: #eeeeee;
  text-align: center;
}

/* dark overlay for readability */
.section--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.section--cta .container {
  position: relative;
  z-index: 2; /* keeps text above overlay */
}

.title--cta {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta--content {
  max-width: 800px;
  margin: 0 auto;
}

.heading--cta {
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
  color: #eeeeee;
}

.cta--btn {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.4rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background-color: #fc5927;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 9px;
  padding: 0.8rem 1.6rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-cta-primary:hover {
  background-color: #b03e1b;
}

.btn-cta-secondary {
  background-color: #fff;
  color: #333;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 9px;
  padding: 0.8rem 1.6rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-cta-secondary:hover {
  background-color: #f8d7da;
  box-shadow: inset 0 0 0 3px #fff;
}

/**** SECTION NEWSLETTER ****/

.section--newsletter {
  padding: 4.8rem 0 9.6rem 0;
  background-color: #ffeee9;
}

.newsletter--content {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.4rem auto;
}

.newsletter--form {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  gap: 0;
  margin-top: 2.4rem;
  max-width: 500px;
}

.newsletter--input {
  flex: 1;
  padding: 1.8rem 1.5rem;
  border: 1px solid #fc6a3d;
  font-size: 1.8rem;
  text-align: center;
  font-weight: 400;
  border-radius: 9px 0 0 9px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter--input:focus {
  border-color: #b03e1b;
  box-shadow: 0 0 6px rgba(252, 89, 39, 0.4);
}

.newsletter--btn {
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background-color: #fc5927;
  border-radius: 0 9px 9px 0;
}

.newsletter--btn:hover {
  background-color: #b03e1b;
}

/**** SECTION FOOTER ****/

.footer {
  padding: 4.8rem 0 0;
  background-color: #222;
  color: #eeeeee;
  font-size: 1.2rem;
}

/* Logo + Social */
.footer--logo {
  margin-bottom: 3.2rem;
}

.footer--logo-img {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
}

.footer--social {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
}

.footer--icon {
  width: 2rem;
  height: 2rem;
  color: #aaa;
  transition: color 0.3s ease;
}

.footer--icon:hover {
  color: #fc5927;
}

/* Links */
.footer--title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  color: #fff;
}

.footer--list {
  list-style: none;
  padding: 0;
  margin: 0 0 3.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer--list li {
  line-height: 1.6;
}

.footer--link {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer--link:hover {
  color: #fc5927;
}

/* Bottom section */
.footer--bottom {
  border-top: 1px solid #444;
  margin-top: 2.4rem;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  font-size: 1rem;
  color: #aaa;
}

.footer--bottom-description {
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer--bottom-description:hover {
  color: #fc5927;
}

.footer--bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}

.footer--bottom a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer--bottom a:hover {
  color: #fc5927;
}

/* Scroll animation */
.collections--item,
.products--item,
.review,
.feature--icon,
.pricing--plan {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.scrolled {
  opacity: 1;
  transform: translateY(0);
}

/* Default Back-to-Top (Desktop) */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
  background-color: #fc5927;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, transform 0.3s;
  z-index: 1000;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Smooth hover lift for buttons */
.btn,
.hero--btn-primary,
.hero--btn-secondary,
.btn-cta-primary,
.btn-cta-secondary {
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover,
.hero--btn-primary:hover,
.hero--btn-secondary:hover,
.btn-cta-primary:hover,
.btn-cta-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
