
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Quicksand:wght@300;400&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.8rem;

  /*========== Colors ==========*/
  --primary: #a1823d; /* #bd9857 */
  --light: hsl(38, 75%, 70%); /* #ECC279 */
  --dark: hsl(35, 30%, 46%); /* #987b52 */
  --blue-color: hsl(208, 80%, 28%);
  --button-color: hsl(0, 0%, 17%);
  --button-color-alt: hsl(0, 0%, 21%);
  --bar-color: hsl(0, 0%, 99%);
  --bar-color-alt: #f4f4f4;
  --title-color: hsl(0, 0%, 8%); 
  /* --text-color: hsl(0, 0%, 35%); */
  --text-color: hsl(0, 0%, 8%);
  --text-color-light: hsl(0, 0%, 55%);
  --main-gradient: linear-gradient(60deg, #987b52, #cea65f, #987b52);
  /* --main-gradient: linear-gradient(60deg, #987b52, #bd9857, #987b52);
   */
  --body-color: hsl(0, 0%, 99%);
  --container-color: #fff;
  --border-color: hsl(0, 0%, 94%);
  --white: #fff;
  --red:   #f00;
  --black: #000;
  --grey2: #222;
  --grey3: #333;
  --grey6: #666;
  --grey8: #888;

  /*========== Font and typography ==========*/
  /* --body-font: 'Cinzel', sans-serif; */
  --body-font: 'Cinzel', sans-serif;
  --biggest-font-size: 2.5rem;
--h1-font-size: 2.25rem;
--h2-font-size: 1.5rem;
--h3-font-size: 1.25rem;
--normal-font-size: 1rem;
--small-font-size: .875rem;
--smaller-font-size: .8rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-bold: 700;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (max-width: 768px) {
  :root {
    --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  }
}

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

html {
  scroll-behavior: smooth;
  /* scroll-snap-type: y mandatory; */
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  margin: 0;
  background-color: var(--body-color);
  color: var(--text-color);
  /*For animation dark mode*/
  transition: .4s;
}

h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: var(--font-medium);
}

p{
  text-align: justify;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

svg {
  stroke: transparent;
  stroke-width: 0px;
}

img {
  width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/
body.dark-theme {
  --primary: hsl(38, 44%, 54%);
  --button-color: hsl(0, 0%, 24%);
  --button-color-alt: hsl(0, 0%, 28%);
  --bar-color: hsl(0, 0%, 17%);
  --bar-color-alt: hsl(0, 0%, 21%);
  --title-color: hsl(0, 0%, 95%);
  --text-color: hsl(0, 0%, 95%);
  /* --text-color: hsl(0, 0%, 75%); */
  --body-color: hsl(0, 0%, 0%);
  /* --body-color: hsl(0, 0%, 12%); */
  --container-color: hsl(0, 0%, 16%);
  /* --container-color: hsl(0, 0%, 0%); */
  --border-color: hsl(0, 0%, 20%);
}

/*========== Button Dark/Light ==========*/
.change-theme {
  color: var(--primary);
  font-size: 1.25rem;
  cursor: pointer;
}

/*========== 
    Color changes in some parts of 
    the website, in dark theme 
==========*/
.dark-theme .change-theme,
.dark-theme .nav__toggle,
.dark-theme .nav__shop,
.dark-theme .button--gray {
  /* color: hsl(0, 0%, 15%); */
  color: var(--primary);
}

.dark-theme .scroll-header {
  box-shadow: 0 2px 4px hsla(0, 0%, 4%, .3);
}

.scroll-header .change-theme,
.scroll-header .nav__toggle,
.scroll-header .nav__shop {
  color: var(--primary);
}

.dark-theme::-webkit-scrollbar {
  background: hsl(0, 0%, 30%);
}

/*=============== SCROLL UP START ===============*/
.scrollup, .scrolldown {
  position: fixed;
  right: 1rem;
  background-color: var(--container-color);
  display: flex;
  border-radius: 50%;
  padding: .45rem;
  opacity: 9;
  z-index: 10;
  transition: .4s;
}

.scrollup {
  bottom: -20%;
}

.scrollup.show-scroll {
  bottom: 5rem;
  opacity: 1;
}

.scrollup__icon, .scrolldown__icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.scrollup:hover, .scrolldown:hover {
  background-color: #222;
  opacity: 1;
}

.scrolldown {
  top: 80vh;
  right: 50%;
  transform: translateX(50%);
  cursor: pointer;
}

.hide-scrolldown {
  display: none;
}
/*=============== SCROLL UP END ===============*/

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 100%;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.flex {
  display: flex;
}

.order-2{
  order: -2;
}

.main {
  overflow: hidden;
}

.section {
  /* padding: 6rem 0 1rem; */
  padding: 4rem 2rem 1rem;
  /* scroll-snap-align: center; */
}

.section_top{
  height: calc(var(--header-height) + 2rem);
  width: 100%;
}

.content_top{
  height: 3rem;
  width: 100%;
}


.section__title {
  position: relative;
  font-size: var(--h4-font-size);
  margin-bottom: var(--mb-2);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.section__title::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 67px;
  height: 1px;
  background-color: var(--primary);
}

.title_pattern {
  width: 100%;
  display: grid;
  place-items: center;
}

.title_pattern img {
  width: 100%;
  max-width: 28rem;
}

.subtitle{
  font-size: var(--h4-font-size);
  color: var(--text-color);
  margin-bottom: var(--mb-0-5);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.description {
  font-size: 0.75rem;
  color: var(--text-color);
  margin-bottom: var(--mb-0-5);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.box-center{
    height: 4px;
    padding: 1rem;
    display: grid;
    place-items: center;
}
.gold_line_10 {
    width: 8rem;
    height: 1px;
    background: var(--primary);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background: transparent;
  background: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  /*For animation dark mode*/
  transition: .4s;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main_nav {
  height: var(--header-height);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav__logo, 
.nav__toggle, 
.nav__shop, 
.nav__close {
  color: var(--primary);
}

.nav_pattern_bar {
  width: 100%;
  height: 2rem;
}

.logo_img {
  margin-top: .6rem;
  width: 50px;
}

.nav__btns {
  display: flex;
  align-items: center;
  column-gap: .75rem;
}

.nav__btns i{
  margin-left: .25rem;
  color: var(--primary);
}

.nav__toggle, 
.nav__shop {
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 985px) {

  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    padding: 6rem 2rem 3.5rem;
    transition: .3s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 1.5rem;
}

.nav__link {
  color: var(--primary);
  font-size: 1rem;
  padding: .5rem;
  border-radius: 0.5rem;
  transition: all 300ms ease;
}

.nav__link:hover {
  color: var(--grey8);
}

.nav__close {
  font-size: 2rem;
  position: absolute;
  top: .9rem;
  right: 1.25rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 2px 4px hsla(0, 4%, 15%, .10);
}

/* Active link */
.active-link {
  color: var(--primary);
}

.shop-bar{
    width: 100%;
    height: 3rem;
  }

/*=============== HOME ===============*/


.logo-box {
  height: 100vh;
  text-align: center;
  display: grid;
  place-items: center;
  /* margin-bottom: 3rem; */
}

.main-box {
  width: 100vw;
  height: 100%;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  /* place-items: center; */
}

.main-pattern-bar {
  width: 32px;
  height: 100%;
  background: 
    url('../auimg/pattern.png');/* Position the pattern image */
}

.patt-bar{
  padding: 1rem;
  padding-bottom: .5rem;
}

.logo_data {
  height: 100%;
  width: 100%;
  /* display: grid; */
  /* gap: .5rem;
  place-items: center; */
}

.home_logo{
  /* display: grid;
  place-items: center; */
}

.home_logo_img{
  width: 80%;
  max-width: 168px;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.home_img-bg {
  background-image: var(--main-gradient);
  width: 300px;
  height: 430px;
  padding-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  justify-self: flex-end;
  transform: translateX(1.5rem);
}

.home_img-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 2rem;
  }

.home__img {
  border-right: 6px solid var(--primary);
  width: 420px;
}

.home-menu {
  /* background: #f00; */
  width: 100%;
  padding: 1rem;
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .5rem;
}

home-menu a {
  color: var(--primary);
}

.home-menu .home-menu-item {
  color: var(--primary);
  font-size: .8rem;
  text-align: center;
  background-color: var(--bar-color);
  padding: .5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--primary);
}

.home-menu .home-menu-item:hover {
  background-color: var(--bar-color-alt);
}

.home-menu .home-menu-item a {
  color: var(--primary);
}

.icon-box{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}

.ig-icon{
  margin-top: 5px;
  width: 1.1rem;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--button-color);
  color: #FFF;
  padding: 1.25rem 2rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover {
  background-color: var(--button-color-alt);
}

.button--gray {
  background-color: hsl(0, 0%, 75%);
  color: var(--title-color);
}

.button--gray:hover {
  background-color: hsl(0, 0%, 63%);
}

.button--small {
  padding: 1rem 1.5rem;
}

/*=============== FEATURED ===============*/
.featured__container {
  top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.featured__card {
  position: relative;
  text-align: center;
  background-color: var(--container-color);
  padding: 2rem 0;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  overflow-y: hidden;
  transition: .3s;
}

.featured__tag {
  background-color: var(--primary);
  padding: .5rem 2.5rem;
  color: #fff;
  text-transform: uppercase;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  position: absolute;
  transform: rotate(-90deg);
  left: -2.5rem;
  top: 2rem;
}

.featured__data {
    margin-bottom: 2rem;
  }

.featured__img {
  height: 214px;
  margin-bottom: var(--mb-1);
}

.cata__title {
  color: var(--primary);
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  margin-top: var(--mb-3);
}

.featured__title, 
.featured__price {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
}

.featured__title {
  text-transform: uppercase;
  padding: 1rem;
  margin-bottom: var(--mb-0-25);
}

.featured__dimension{
  padding: 0 2rem;
  font-size: var(--smaller-font-size);
  line-height: 1.5;
  padding-bottom: 1rem;
}

.featured__price{
  display: block;
  color: var(--primary);
  transition: .3s;
}

.featured__button {
  font-size: var(--small-font-size);
  transform: translateY(1rem);
  opacity: 0;
}

.featured__card:hover {
  box-shadow: 0 12px 32px hsla(0, 0%, 20%, .1);
  /* padding: 2rem 0 3rem 0; */
}
/*=============== STORY ===============*/

.story_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.story_description {
  /* margin-bottom: var(--mb-2-5); */
  line-height: 1.75rem;
}

.story_img {
  background: var(--primary);
  /* border: .25rem solid var(--primary); */
  border-top: 6px solid var(--primary);
}

.story__txt{
  width: 100%;
  color: var(--primary);
  text-align: center;
  font-weight: var(--font-bold);
  margin-bottom: .5rem;
}




/*=============== FOOTER ===============*/
.footer__container {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.footer__copy {
  display: block;
  margin: 3.5rem 0 1rem 0;
  text-align: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background: hsl(0, 0%, 74%);
}

::-webkit-scrollbar-thumb {
  background: hsl(0, 0%, 17%);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 560px) {
  .section {
    padding: 4rem 1rem 1rem;
  }
  .mobi_hide{
    display: none;
  }
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .logo_img {
    padding: .25rem;
  }
  
  .home__img {
    width: 100%;
  }
  .home__button {
    font-size: var(--smaller-font-size);
  }
  .home_social {
    left: -7.75rem;
  }

  .story_description {
    text-align: center;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .home_logo_img{
    width: 80%;
    max-width: 128px;
  }
  .logo_img {
    padding: .25rem;
  }

  .home_container {
    /* padding-top: 6rem; */
    grid-template-columns: 1fr max-content;
    align-items: center;
  }
  .home_img-bg {
    order: 1;
    transform: translate(1.5rem, -6rem);
  }
  .home__data {
    padding: 0 0 3rem 6rem;
  }
  .home_social {
    left: -8rem;
    top: 50%;
  }

  .story_description {
    text-align: center;
  }

  
}

@media screen and (min-width: 767px) {

  .home_container {
    padding-top: 6rem;
    grid-template-columns: 1fr max-content;
    align-items: center;
  }
  .home_img-bg {
    order: 1;
    transform: translate(1.5rem, -6rem);
  }
  .home__data {
    padding: 0 0 3rem 6rem;
  }
  .home_social {
    top: 50%;
  }

  .story__section-title {
    text-align: initial;
  }
  .story__section-title::before {
    margin: initial;
  }
}

@media screen and (min-width: 985px) {

  .nav__toggle, 
  .nav__close {
    display: none;
  }

  .nav {
    justify-content: initial;
    column-gap: 3rem;
  }
  .nav__list {
    margin-left: 1rem;
    flex-direction: row;
    column-gap: .25rem;
    z-index: var(--z-fixed);
  }
  .nav__link {
    text-transform: initial;
    font-size: .8rem;
    padding: 0 .5rem;
  }
  
  .nav__btns {
    margin-left: auto;
  }

  .section__title {
    font-size: var(--h4-font-size);
  }

  .home_container {
    column-gap: 2rem;
  }
  .home_img-bg {
    width: 480px;
    height: 680px;
  }
  
  .home_social {
    left: -6rem;
    top: 50%;
  }
  .home__data {
    padding: 0 0 8rem 6rem;
  }
}
