/* Adaugat de mine pentru overflow: */
html,
body {
  overflow-x: hidden;
}

.hero-bg {
  background-image: linear-gradient(
      rgba(92, 64, 51, 0.7),
      rgba(92, 64, 51, 0.7)
    ),
    url(Gallery/bkground.jpg);
  height: 500px;
}

.briar-brown {
  background-color: #5c4033;
}
.briar-light {
  background-color: #8b5a2b;
}
.briar-dark {
  background-color: #3e2723;
}
.text-briar {
  color: #5c4033;
}
.border-briar {
  border-color: #5c4033;
}

#pipe_img {
  width: 40px;
}

#signature {
  height: 3rem;
}

.menu_text {
  font-size: 1.5rem;
}

.btn {
  margin: 5px;
}

.btn:hover {
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.center-div {
  text-align: center;
  margin: 2rem 0 2rem 0;
}

.product-images-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 1rem 0;
}

#bigSpecsDiv {
  padding: 0 2rem 2rem 2rem;
}

#specsDiv {
  background-color: rgb(239, 241, 241);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-left: 2rem;
  /* gap: 2rem; */
}

.small-image {
  width: 150px; /* Dimensiune fixă pentru imaginile mici */
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 5px;
  margin: 5px;
}

.small-image:hover {
  transform: scale(1.1); /* Efect de zoom pe hover pentru imagini mici */
}

#large-image {
  border-radius: 1rem;
  max-width: 70vw;
}

.large-image-container {
  text-align: center;
}

.contact {
  display: flex;
  justify-content: center;
}

.itemDescription {
  font-size: 1.5rem;
  text-align: center;
  margin: 0 1rem 0 1rem;
  /* text-indent: 30px; */
}

.specText {
  color: #523934;
}

.rightSpecsText,
.middleSpecsText {
  padding-left: 7rem;
}

.storyParagraphContainer {
  padding-right: 30px;
}

.buttons-align {
  display: flex;
  justify-content: space-evenly;
}

#product-div {
  display: flex;
  justify-content: center;
}

.fullImage {
  width: 100%; /* Imagine mare care se întinde pe toată lățimea containerului */
  height: auto;
  display: block;
  margin: 0 auto;
}

.normalImage {
  width: 50vw;
}

#logo {
  width: 300px;
  margin-top: 30px;
}

p {
  font-size: 16px;
  padding: 10px;
}

#bigDiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

#mainDiv {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  /* max-width: 800px; */
  max-width: 70vw;
  padding-bottom: 10px;
  gap: 10px;
}

.card {
  color: black;
}

footer {
  margin-bottom: 50px;
  color: white;
}

/* Desters daca nu merge: */
#gallery-div {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 coloane */
  gap: 2rem;
}

#gallery-div > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
}

#gallery-div img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

#gallery-div h3,
#gallery-div p {
  font-size: 1rem;
  margin: 0.5rem 0;
  text-align: center;
}

#gallery-div a.btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  display: inline-block;
  text-align: center;
  margin: 0.5rem auto;
}

@media only screen and (max-width: 750px) {
  footer {
    font-size: small;
    margin-bottom: 100px;
  }

  #mainDiv {
    max-width: 90vw;
  }

  .itemDescription {
    font-size: 1rem;
  }

  .fullImage {
    width: 100vw;
  }

  #large-image {
    max-width: 100vw;
  }

  .product-images-div {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin: 1rem 0 1rem 0;
  }

  #bigSpecsDiv {
    text-align: center;
  }

  .rightSpecsText,
  .middleSpecsText {
    padding-left: 0;
  }

  #specsDiv {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* gap: 2rem; */
    padding: 0;
  }

  .small-image {
    width: 100px;
  }

  .storyParagraphContainer {
    padding-right: 0;
  }

  .hero-bg {
    background-image: linear-gradient(
        rgba(92, 64, 51, 0.7),
        rgba(92, 64, 51, 0.7)
      ),
      url(Gallery/m_bkground.jpg);
    background-size: cover; /* umple toată zona definită */
    background-position: center; /* centrează imaginea */
    background-repeat: no-repeat;
    height: 300px;
  }

  /* De sters daca nu merge: */
  #gallery-div {
    /* grid-template-columns: repeat(
      3,
      1fr
    ); 
    overflow-x: auto; */
    gap: 1rem;
  }

  #gallery-div > div {
    width: 100%; /* asigură dimensiuni vizibile */
  }

  .mobile-text-center {
    display: none;
  }
}
