/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  list-style: none;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}
:root {
  --text-color: #000000;
  --main-color: #333;
}
section {
  padding: 50px 10%;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 100px;
  background: navajowhite;
  border-bottom: 5px solid pink;
  margin-bottom: 20px;
}
.logo {
  width: 130px;
  font-size: 1.2rem;

  color: var(--text-color);
}
.logo span {
  color: var(--main-color);
}
.navbar {
  position: relative;
  display: flex;
}
.navbar a {
  font-size: 1rem;
  padding: 10px 20px;
  font-weight: 500;
  color: var(--text-color);
}
.navbar a:hover {
  color: var(--main-color);
}
#menu-icon {
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

.slider {
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.container-slider {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0px;
}
.home-img {
  flex: 1;
  text-align: center;
}

.home-img img {
  width: 100%;
  max-width: 500px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  background: pink;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  display: none;
}

.prev {
  left: 0px;
}
.next {
  right: 0px;
}

@media (max-width: 900px) {
  .container-slider {
    flex-direction: column;
    text-align: center;
  }
  .home-img img {
    max-width: 350px;
  }
  .prev {
    left: 0px;
  }
  .next {
    right: 0px;
  }
  .home {
    margin-top: 40px;
  }
}

.home {
  width: 100%;
  min-height: 100vh;
  /* background-image: url(img/background.jpg);
  background-repeat: no-repeat;
  background-size: covere;
  background-position: right;
  background-attachment: fixed; */
  display: flex;
  align-items: center;
}

.home-text {
  flex: 1;
}

.home-text h1 {
  font-size: 45px;
  margin-bottom: 20px;
}

.home-text span {
  color: #ff6b00;
}
h4{
    font-size: 20px;
    color:pink;
}
.home-text p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #ff6b00;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}
.btn:hover {
  background: #ff6b00;
}
.heading {
  text-align: center;
}
.heading span {
  font-size: 14px;
  font-weight: 500;
  color: var(--main-color);
  text-transform: uppercase;
}
.shop-container,
.new-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 1rem;
  margin-top: 2rem;
}

.box {
  position: relative;
  box-shadow: 1px 4px 4px rgb(0, 0, 0, 0.1);
  border-radius: 44px 4px 4px 4px;
  text-align: center;
}
.box .box-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 44px 4px 0 0;
  border: 5px solid pink;
}
.box .box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.box .box-img img:hover {
  transform: scale(1.1);
  transition: 0.5s;
}
.title-price {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
}
.title-price h3 {
  font-size: 1rem;
  font-weight: 600;
}
.box p {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0px 5px 19px 5px;
  color: var(--main-color);
}
.box button {
  padding: 10px 15px;
  margin: 10px;
}
.stars .bx {
  color: var(--main-color);
}
.box .bx-cart {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 7px;
  font-size: 20px;
  color: #fff;
  border-radius: 4px 0 4px 0;
  background: var(--main-color);
}
.box .bx-cart:hover {
  background: #8fc53d;
}
.new-container .box {
  border-radius: 4px;
}
.new-container .box .box-img {
  border-radius: 4px;
}
/* Servicess */

.sofa-section {
  background: #d8d1bf;
  padding: 80px 10%;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.top-heading {
  text-align: center;
  margin-bottom: 60px;
}

.top-heading span {
  color: #ff6b00;
  font-size: 14px;
  letter-spacing: 2px;
}

.top-heading h2 {
  font-size: 30px;
  margin-top: 10px;
  color: #0f2c59;
}

.sofa-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.sofa-text {
  flex: 1;
  animation: slideLeft 1s ease;
}

.sofa-text h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.sofa-text p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
  max-width: 500px;
}

.sofa-image {
  flex: 1;
  text-align: center;
  animation: slideRight 1s ease;
}

.sofa-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}

/* Animations */

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */

@media (max-width: 992px) {
  .sofa-text h1 {
    font-size: 60px;
  }

  .sofa-content {
    flex-direction: column;
    text-align: center;
  }

  .sofa-text p {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .sofa-section {
    padding: 60px 20px;
  }

  .sofa-text h1 {
    font-size: 40px;
  }

  .top-heading h2 {
    font-size: 22px;
  }
}

.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-img img {
  width: 80%;
  border-radius: 10px;
  object-fit: contain;
}
.about-text span {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--main-color);
}
.about-text p {
  font-size: 0.938rem;
  margin: 0.5rem 0 1.4rem;
}
.brands-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, auto));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}
.brands-container img {
  width: 100px;
  filter: grayscale(1);
}
.brands-container img:hover {
  width: 100px;
  filter: grayscale(0);
}
.newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(img/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.newsletter h2 {
  color: #fff;
}
.news-box {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}
.news-box input {
  width: 260px;
  height: 44px;
  border: none;
  outline: none;
  background: #fff;
  padding: 10px;
}
.news-box .btn {
  height: 44px;
  padding: 11px;
  border-radius: 0;
  font-weight: 500;
  text-transform: uppercase;
}
.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, auto));
  gap: 1rem;
}
.footer-box h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-box span {
  color: var(--main-color);
}
.footer-box p {
  font-size: 00.938rem;
  margin-bottom: 10px;
}
.social {
  display: flex;
  align-items: center;
}
.social a {
  font-size: 24px;
  margin-right: 10px;
  color: var(--text-color);
}
.social a:hover {
  color: var(--main-color);
}
.footer-box h3 {
  font-weight: 500;
  margin-bottom: 10px;
}
.footer-box li a {
  color: var(--text-color);
}
.footer-box li a:hover {
  color: var(--main-color);
}
.contact-info {
  display: flex;
  flex-direction: column;
}
.contact-info span {
  color: var(--text-color);
}
.copyright {
  padding: 20px;
  text-align: center;
  border-top: 5px solid pink;
  background: navajowhite;
}
/* Making Responsive */
@media (max-width: 991px) {
  header {
    padding: 18px 4%;
  }
  section {
    padding: 90px 4%;
  }
}
@media (max-width: 881px) {
  .home-text h1 {
    font-size: 2rem;
  }
  .shop-container,
  .new-container {
    grid-template-columns: repeat(auto-fit, minmax(218px, auto));
  }
}
@media (max-width: 768px) {
  header {
    padding: 2%;
  }
  #menu-icon {
    display: initial;
  }
  header .navbar {
    position: absolute;
    top: -500px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 4px 4px rgb(0 0 0 /10%);
    transition: 0.2s ease;
    text-align: left;
  }
  .navbar a {
    padding: 0.5rem;
    display: block;
  }
  .navbar.active {
    top: 100%;
  }
  .navbar a:hover {
    color: #fff;
    background: var(--main-color);
  }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-img {
    padding-top: 1rem;
    order: 2;
  }
}
@media (max-width: 491px) {
  .home-text h1 {
    font-size: 1.7rem;
  }
  .shop-container,
  .new-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  }
  .box .box-img {
    height: 300px;
  }
  .news-box input {
    width: 180px;
  }
  .about-text h2 {
    font-size: 1.2rem;
  }
}

.contact-buttons {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.contact-buttons a {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.whatsapp {
  background: #25d366;
}

.call {
  background: #ff6b00;
}

.contact-buttons a:hover {
  transform: scale(1.1);
}
