/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * COLORS
   */

  /* backgorund color */
  --bg-white: hsla(0, 0%, 100%, 1);
  --bg-gainsboro: hsla(154, 10%, 86%, 1);
  --bg-wild-blue-yonder: hsla(227, 39%, 75%, 1);
  --bg-orange-crayola: hsla(18, 97%, 62%, 1);
  --bg-roman-silver-alpha-30: hsla(210, 9%, 57%, 0.3);

  /* text color */
  --text-orange-crayola: hsla(18, 97%, 62%, 1);
  --text-blue-crayola: hsla(216, 98%, 52%, 1);
  --text-eerie-black: hsla(210, 11%, 15%, 1);
  --text-eerie-black-2: hsla(0, 0%, 7%, 1);
  --text-black: hsla(270, 100%, 0%, 1);

  /* border color */
  --border-eerie-black: hsla(0, 0%, 7%, 1);

  /**
   * TYPOGRAPHY
   */

  /* font family */
  --fontFamily-inter: 'Inter', sans-serif;
  --fontFamily-clashDisplay: 'ClashDisplay', cursive;

  /* font size */
  --fontSize-1: 6.2rem;
  --fontSize-2: 4.4rem;
  --fontSize-3: 3.8rem;
  --fontSize-4: 3.4rem;
  --fontSize-5: 3rem;
  --fontSize-6: 2.5rem;
  --fontSize-7: 2rem;
  --fontSize-8: 1.8rem;
  --fontSize-9: 1.4rem;
  --fontSize-10: 2.4rem;
  --fontSize-11: 1.2rem;

  /* font weight */
  --weight-semiBold: 600;

  /**
   * BOX SHADOW
   */

  --shadow-1: 0 4px 6px hsla(256, 100%, 9%, 0.1);
  --shadow-2: 4px 4px 0px hsla(0, 0%, 7%, 1);
  --shadow-3: 2px 2px 0px hsla(0, 0%, 7%, 1);

  /**
   * BORDER RADIUS
   */

  --radius-circle: 50%;

  /**
   * TRANSITION
   */

  --transition-1: 250ms ease;
  --transition-2: 500ms ease;

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a,
img,
span,
input,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

address { font-style: normal; }

ion-icon { pointer-events: none; }

html {
  font-family: var(--fontFamily-inter);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-white);
  color: var(--text-eerie-black-2);
  font-size: 1.6rem;
  line-height: 1.5;
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.shape {
  display: none;
  position: absolute;
}

.title {
  font-family: var(--fontFamily-clashDisplay);
  font-weight: var(--weight-semiBold);
  line-height: 1.2;
}

.h1 { font-size: var(--fontSize-2); }

.h2 { font-size: var(--fontSize-3); }

.h3 { font-size: var(--fontSize-5); }

.h4 { font-size: var(--fontSize-6); }

.btn {
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  max-width: max-content;
  min-width: max-content;
  padding: 15px 30px;
  border: 2px solid var(--border-eerie-black);
  box-shadow: var(--shadow-2);
  font-weight: var(--weight-semiBold);
  transition: var(--transition-1);
}

.btn:is(:hover, :focus-visible) { box-shadow: none; }

.btn-primary,
.btn-secondary {
  gap: 5px;
  text-transform: uppercase;
}

:is(.btn-primary, .btn-secondary) ion-icon {
  font-size: 2rem;
  transform: rotate(-45deg);
}

.btn-primary:is(:hover, :focus-visible) { color: var(--text-orange-crayola); }

.btn-secondary { background-color: var(--bg-orange-crayola); }

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--bg-gainsboro);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section { padding-block: 75px; }

.text-center { text-align: center; }

.section-title { margin-block-end: 45px; }

.product-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--fontSize-9);
  gap: 8px;
  opacity: 0;
}

.product-btn ion-icon { font-size: 1.4rem; }

.product-card:is(:hover, :focus-within) .product-btn { opacity: 1; }

.product-card .card-banner { position: relative; }

.product-card .card-content { margin-block-start: 30px; }

.product-card .card-title:is(:hover, :focus-visible) { text-decoration: underline; }

.product-card .price {
  color: var(--text-orange-crayola);
  font-family: var(--fontFamily-clashDisplay);
  font-size: var(--fontSize-7);
  font-weight: var(--weight-semiBold);
  margin-block-start: 10px;
}

.has-scrollbar {
  display: flex;
  align-items: center;
  gap: 40px;
  scroll-snap-type: inline mandatory;
  overflow-x: auto;
}

.has-scrollbar::-webkit-scrollbar { display: none; }

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.navbar .btn { display: none; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 25px;
  z-index: 4;
}

.header.active {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-open-btn { font-size: 3.5rem; }

.navbar {
  position: absolute;
  top: 85px;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: var(--transition-2);
}

.navbar.active {
  max-height: 310px;
  visibility: visible;
}

.navbar-list { padding-block-start: 15px; }

.navbar-link,
.cart-btn .span {
  font-weight: var(--weight-semiBold);
  text-transform: uppercase;
}

.navbar-link { padding: 10px 20px; }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 25px 20px;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  background-color: var(--bg-wild-blue-yonder);
  padding-block: 130px 75px;
}

.hero .container {
  display: grid;
  gap: 50px;
}

.hero-subtitle { font-size: var(--fontSize-4); }

.hero-title { margin-block: 16px 30px; }

.hero-text {
  font-size: var(--fontSize-8);
  line-height: 2.1;
  margin-block-end: 16px;
}

.hero-banner {
  max-width: max-content;
  margin-inline: auto;
}





/*-----------------------------------*\
  #FEATURE
\*-----------------------------------*/

.section.feature { padding-block-start: 0; }

.feature-list {
  display: grid;
  gap: 60px;
  margin-block-end: 60px;
}

.feature .btn { margin-inline: auto; }





/*-----------------------------------*\
  #OFFER
\*-----------------------------------*/

.offer { padding-block: 100px; }

.offer-card {
  background-color: var(--bg-white);
  border: 2px solid var(--border-eerie-black);
  box-shadow: var(--shadow-2);
  padding: 80px 30px;
}

.offer-card .card-title { font-size: var(--fontSize-1); }

.offer-card .card-text {
  font-size: var(--fontSize-8);
  line-height: 1.8;
  margin-block: 20px 45px;
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  position: relative;
  background-color: var(--bg-gainsboro);
  padding-block-start: 160px;
}

.footer-top {
  display: grid;
  gap: 30px;
  font-size: var(--fontSize-8);
  line-height: 1.7;
  margin-block-end: 60px;
}

.footer .logo { margin-block-end: 35px; }

.social-list {
  display: flex;
  gap: 10px;
  margin-block-start: 30px;
}

.social-link {
  background-color: var(--bg-white);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-circle);
  border: 2px solid var(--border-eerie-black);
  box-shadow: var(--shadow-3);
  transition: var(--transition-1);
}

.social-link:is(:hover, :focus-visible) {
  box-shadow: none;
  color: var(--text-orange-crayola);
  transform: translateY(-2px);
  border-color: currentColor;
}

.footer-list-title {
  font-size: var(--fontSize-10);
  margin-block-end: 30px;
}

address.footer-text { margin-block-end: 15px; }

.input-field {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-2);
  padding: 15px 30px;
  border: 2px solid var(--border-eerie-black);
  margin-block-end: 25px;
  outline: none;
  transition: var(--transition-1);
}

.input-field:focus { box-shadow: none; }

.footer .btn {
  font-size: 1.6rem;
  padding-inline: 40px;
}

.footer-bottom .wrapper {
  border-block-end: 2px solid var(--border-eerie-black);
  padding-block-end: 15px;
}

.link-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin-block-end: 15px;
}

.footer-bottom-link {
  font-size: var(--fontSize-11);
  font-weight: var(--weight-semiBold);
  text-transform: uppercase;
  transition: var(--transition-1);
}

.footer-bottom-link:is(:hover, :focus-visible) { color: var(--text-orange-crayola); }

.copyright {
  padding-block: 30px;
  font-size: var(--fontSize-8);
  text-align: center;
}

.footer .shape-1 {
  display: block;
  top: 0;
  right: 0;
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * OFFER
   */

  .offer-card { padding-inline: 50px; }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-4: 4.2rem;
    --fontSize-2: 7.8rem;
    --fontSize-3: 6.6rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .btn { padding: 20px 50px; }

  .section { padding-block: 150px; }

  .scrollbar-item { min-width: calc(50% - 20px); }

  .product-btn { padding: 15px 30px; }



  /**
   * HERO
   */

  .hero { padding-block: 200px 130px; }

  .hero-text {
    --fontSize-8: 2.2rem;
    line-height: 1.8;
  }

  .hero .btn { margin-block-start: 50px; }



  /**
   * FEATURE
   */

  .feature-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }



  /**
   * OFFER
   */

  .offer-card { padding-inline: 90px; }



  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 1fr; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }



  /**
   * HEADER
   */

  .header { padding-block: 0; }

  .header .container { border-block-end: 2px solid var(--border-eerie-black); }

  .nav-open-btn { display: none; }

  .navbar,
  .navbar.active {
    all: unset;
    display: flex;
    align-items: center;
  }

  .navbar-list {
    padding-block-start: 0;
    display: flex;
  }

  .cart-btn {
    border-inline-start: 2px solid var(--border-eerie-black); 
    padding-inline-start: 50px;
    margin-inline-start: 20px;
  }

  .header.active .container,
  .header.active .cart-btn { border: none; }

  

  /**
   * FOOTER
   */

  .footer .shape-2 {
    display: block;
    bottom: 100px;
    left: 0;
  }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1140px; }

  .scrollbar-item { min-width: calc(33.33% - 40px); }

  .shape { display: block; }



  /**
   * HEADER
   */

  .cart-btn { padding-block: 35px; }

  .navbar .btn {
    display: block;
    padding: 10px 25px;
    text-transform: uppercase;
    margin-inline-start: 20px;
  }



  /**
   * HERO
   */

  .hero { position: relative; }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-banner {
    position: relative;
    z-index: 1;
  }

  .hero .shape-1 {
    top: -140px;
    left: -120px;
    z-index: -1;
  }

  .hero .shape-2 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }



  /**
   * FEATURE
   */

  .feature-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * OFFER
   */

  .offer { padding-block: 200px; }

  .offer-card { width: 40%; }



  /**
   * FOOTER
   */

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    margin-block-end: 160px;
  }

  .footer-bottom .wrapper {
    display: flex;
    justify-content: space-between;
  }

  .footer .shape-2 { bottom: 160px; }

  .footer .shape-3 {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
  }

  .copyright {
    text-align: left;
    padding-block-end: 50px;
  }

}





/**
 * responsive for large than 1400px screen
 */

@media (min-width: 1400px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-2: 9rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1320px; }



  /**
   * FOOTER
   */

  .footer-bottom-link { font-size: 1.6rem; }

}

/* --- Animations & Interactivity Polish --- */

/* Navbar link underline animation */
.navbar-link {
  position: relative;
  transition: color 0.2s;
}
.navbar-link::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #a67c52;
  transition: width 0.3s;
  margin: 0 auto;
}
.navbar-link:hover::after, .navbar-link.active::after {
  width: 80%;
}

/* Button hover/press animation */
.btn, .header-action-btn, .cart-btn {
  transition: background 0.3s, color 0.3s, box-shadow 0.2s, transform 0.15s;
}
.btn:hover, .header-action-btn:hover, .cart-btn:hover {
  box-shadow: 0 4px 16px rgba(166,124,82,0.10);
  transform: translateY(-2px) scale(1.04);
}
.btn:active, .header-action-btn:active, .cart-btn:active {
  transform: scale(0.97);
}

/* Card hover lift effect */
.service-item, .product-card, .category-item, .blog-card {
  transition: box-shadow 0.25s cubic-bezier(.4,2,.6,1), transform 0.25s cubic-bezier(.4,2,.6,1);
}
.service-item:hover, .product-card:hover, .category-item:hover, .blog-card:hover {
  box-shadow: 0 8px 32px rgba(166,124,82,0.13), 0 2px 8px rgba(0,0,0,0.08);
  transform: scale(1.035) translateY(-6px);
  z-index: 2;
}

/* Section entrance animation */
.section, .hero, .service, .category, .product, .blog, .newsletter, .footer {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.section.visible, .hero.visible, .service.visible, .category.visible, .product.visible, .blog.visible, .newsletter.visible, .footer.visible {
  opacity: 1;
  transform: none;
}

/* Hero text and button entrance */
.hero-content > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.hero.visible .hero-content > * {
  opacity: 1;
  transform: none;
}
.hero.visible .hero-content > *:nth-child(1) { transition-delay: 0.2s; }
.hero.visible .hero-content > *:nth-child(2) { transition-delay: 0.4s; }
.hero.visible .hero-content > *:nth-child(3) { transition-delay: 0.6s; }

/* Smooth scroll for anchor links */
html { scroll-behavior: smooth; }

/* --- Advanced Interactivity & Animation Polish --- */

/* 1. Staggered Card Animations */
.product-list > li, .service-list > li, .category-list > li, .blog-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.product-list > li.visible, .service-list > li.visible, .category-list > li.visible, .blog-card.visible {
  opacity: 1;
  transform: none;
}

/* 2. Button Ripple Effect */
.btn, .header-action-btn, .cart-btn {
  position: relative;
  overflow: hidden;
}
.btn .ripple, .header-action-btn .ripple, .cart-btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background: rgba(166,124,82,0.18);
  pointer-events: none;
  z-index: 2;
}
@keyframes ripple {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* 3. Image Zoom on Hover */
.img-cover, .card-banner img, .category-banner img {
  transition: transform 0.5s cubic-bezier(.4,2,.6,1);
}
.product-card:hover .img-cover, .category-item:hover .img-cover, .service-item:hover .img-cover, .blog-card:hover .img-cover {
  transform: scale(1.07);
}

/* 4. Floating Labels for Inputs */
.input-field {
  position: relative;
  background: #fff;
  transition: border-color 0.3s;
}
.input-field:focus::placeholder {
  color: transparent;
}
.input-field:not(:placeholder-shown):not(:focus)::placeholder {
  color: #aaa;
}

/* 5. Scroll-to-Top Button */
#scrollToTopBtn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #a67c52;
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(166,124,82,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
}
#scrollToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* 6. Parallax Hero Image */
.hero-parallax {
  will-change: transform;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1);
}

/* Designer/Team Head Image Polish */
.team-card img, .designer-img, .head-img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  background: linear-gradient(120deg, #a67c52 40%, #fff 100%) border-box;
  box-shadow: 0 2px 16px rgba(166,124,82,0.10);
  position: relative;
  z-index: 1;
  animation: borderPulse 2.5s infinite linear;
}
@keyframes borderPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(166,124,82,0.18), 0 2px 16px rgba(166,124,82,0.10);
    border-color: #a67c52;
  }
  50% {
    box-shadow: 0 0 0 8px rgba(166,124,82,0.10), 0 2px 16px rgba(166,124,82,0.10);
    border-color: #fff;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(166,124,82,0.18), 0 2px 16px rgba(166,124,82,0.10);
    border-color: #a67c52;
  }
}

/* Improved, modern footer polish (light palette) */
.footer {
  background: #f8f8f8;
  color: #222;
  padding: 40px 0 18px 0 !important;
  font-size: 1.18rem;
  border-top: 1.5px solid #e5e5e5;
  box-shadow: 0 2px 24px 0 rgba(0,0,0,0.03);
}
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 18px;
}
.footer-brand {
  min-width: 180px;
  max-width: 260px;
}
.footer .logo {
  margin-bottom: 10px;
}
.footer-text {
  color: #555;
  font-size: 1.13rem;
  margin-bottom: 12px;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}
.footer-link {
  color: #444;
  text-decoration: none;
  display: block;
  margin-bottom: 7px;
  font-size: 1.13rem;
  position: relative;
  transition: color 0.2s;
}
.footer-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #a67c52;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.footer-link:hover {
  color: #a67c52;
}
.footer-link:hover::after {
  width: 80%;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.footer-social {
  color: #222;
  font-size: 1.35rem;
  transition: color 0.2s, transform 0.2s;
  border-radius: 50%;
  padding: 6px;
  background: #f3f3f3;
  box-shadow: 0 1px 4px 0 rgba(166,124,82,0.04);
}
.footer-social:hover {
  color: #a67c52;
  background: #ece0d1;
  transform: scale(1.18);
}
.footer-bottom {
  border-top: 1px solid #e5e5e5;
  margin-top: 10px;
  padding-top: 10px;
  text-align: center;
  color: #888;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-brand {
    max-width: 100%;
  }
  .footer {
    font-size: 1.05rem;
    padding: 28px 0 10px 0 !important;
  }
}

/* MENZ Logo Style */
.logo.menz-logo {
  font-size: 2.6rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.18em !important;
  color: #a67c52 !important;
  text-transform: uppercase !important;
  font-family: 'Jost', 'Arial Black', Arial, sans-serif !important;
  text-shadow: 0 2px 8px rgba(166,124,82,0.08);
  line-height: 1.1;
  display: inline-block;
}
@media (max-width: 700px) {
  .logo.menz-logo { font-size: 1.7rem !important; }
}

/* Undo text hierarchy for hero section */
.hero-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #a67c52;
  letter-spacing: 0.08em;
  margin-bottom: 0.7em;
  text-transform: uppercase;
}

/* Make the Man Summer Collection heading 2x larger */
.hero-title, .hero .h1, .hero h1 {
  font-size: 5.6rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
@media (max-width: 700px) {
  .hero-title, .hero .h1, .hero h1 { font-size: 3.4rem; }
}