/*-----------------------------------*\
  #style.css
\*-----------------------------------*/



/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --red-orange-color-wheel: hsl(17, 96%, 48%);
  --middle-blue-green: hsl(167, 45%, 72%);
  --smokey-black: hsl(0, 0%, 7%);
  --spanish-gray: hsl(0, 0%, 60%);
  --granite-gray: hsl(0, 0%, 40%);
  --tan-crayola: hsl(27, 46%, 58%);
  --light-gray: hsl(0, 0%, 80%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_25: hsla(0, 0%, 0%, 0.25);
  --black_50: hsla(0, 0%, 0%, 0.4);
  --black_70: hsla(0, 0%, 0%, 0.7);
  --cultured: hsl(220, 16%, 96%);
  --manatee: hsl(218, 11%, 65%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);

  /**
   * typography
   */

  --ff-roboto: 'Roboto', sans-serif;
  --ff-mr_de_haviland: 'Mr De Haviland', cursive;

  --fs-1: 6rem;
  --fs-2: 3rem;
  --fs-3: 2rem;
  --fs-4: 1.8rem;
  --fs-5: 1.4rem;
  --fs-6: 1.2rem;

  --fw-700: 700;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 50px;

  /**
   * shadow
   */

  --shadow: 0 0 2px hsla(0, 0%, 0%, 0.2);

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #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; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--black);
  font-size: 1.6rem;
  line-height: 1.7;
}

body.active { overflow: hidden; }

:focus-visible { outline-offset: 4px; }

::placeholder { color: var(--manatee); }

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }

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

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.social-wrapper {
  display: flex;
  align-items: center;
}

.social-list {
  display: flex;
  gap: 30px;
}

.social-link { transition: var(--transition-1); }

.social-link:is(:hover, :focus) { color: var(--tan-crayola); }

.section { padding-block: var(--section-padding); }

.img-holder {
  aspect-ratio: var(--width) / var(--height);
 background-color: white;
  overflow: visible;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h2,
.h3 {
  color: var(--smokey-black);
  font-weight: var(--fw-500);
  line-height: 1.4;
}

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-3); }

.grid-list {
  display: grid;
  gap: 35px;
}

.has-before {
  position: relative;
  z-index: 1;
}

.has-before::before {
  content: "";
  position: absolute;
}


/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: 15px 20px;
  z-index: 4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header + .content {
  margin-top: 5px;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo img {
  max-width: 100px;
  height: auto;
}

.input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 500px;
}

.input-field {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.input-wrapper ion-icon {
  margin-left: -30px;
  margin-right: 10px;
  cursor: pointer;
}

.header-action {
  display: flex;
  gap: 15px;
}

.header-action-btn {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  transition: var(--transition-1);
  background: none;
  border: none;
  cursor: pointer;
}

.header-action-btn ion-icon {
  font-size: 24px;
  margin-right: 5px;
}

.header-action-btn span {
  display: none;
}

.header-action-btn:is(:hover, :focus) {
  color: var(--tan-crayola);
}

@media (min-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header .container {
    flex-direction: row;
    align-items: center;
  }

  .header-action-btn span {
    display: inline;
  }

  .navbar {
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
  }

  .navbar-list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .navbar-link {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--black);
    padding: 0.2rem 0.75rem;
    transition: color 0.3s;
  }

  .navbar-link:is(:hover, :focus) {
    color: var(--tan-crayola);
  }

  .header-action-btn[aria-label="open menu"] {
    display: none;
  }
}

@media (max-width: 767px) {
 /* Responsive Navbar */
/* Responsive Navbar */
.navbar {
  display: none;
  position: fixed;
  top: 65px; /* Adjust according to the height of the header */
  right: 0;
  width: 80%;
  max-width: 300px;
  background-color: var(--white);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 20px; /* Add padding */
}

.navbar.active {
  transform: translateX(0);
  display: block;
}

/* Remove overlay styles */
.overlay {
  display: none;
}

/* Desktop Navbar */
@media (min-width: 768px) {
  .navbar {
    display: flex !important;
    position: static;
    transform: none;
    background: none;
    width: auto;
    max-width: none;
    align-items: center;
    justify-content: flex-end;
    padding: 0; /* Remove padding for desktop */
  }

  .navbar-list {
    display: flex;
    gap: 20px;
  }

  .header-action-btn[aria-label="open menu"] {
    display: none;
  }

  .overlay {
    display: none;
  }
}
}
/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

/* Hero section styles */
.hero {
  padding-block-start: calc(var(--section-padding) + 60px);
}

.hero-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hero-card {
  position: relative;
}

.hero-card .img-cover {
  transition: var(--transition-2);
}

.hero-card:is(:hover, :focus) .img-cover {
  transform: scale(1.1);
}

.hero-card .card-content {
  position: absolute;
  top: 30px;
  left: 10px;
  right: 10px;
}

.hero-card :is(.card-title, .card-text) {
  font-weight: var(--fw-500);
  color: white; /* Set text color to white */
  padding: 0; /* Remove padding */
  line-height: 1.2; /* Adjust line height to reduce space between lines */
}

.hero-card .card-title {
  font-size: var(--fs-4);
  transition: var(--transition-1);
}
.hero-card .card-text {
  font-size: var(--fs-5);
  transition: var(--transition-1);
}

.hero-card .card-title:is(:hover, :focus) {
  color: var(--tan-crayola);
}

/* Ensure the hero section has some margin at the top to make space for the fixed header */
.content {
  margin-top: 100px;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    transition: opacity 1s ease-in-out;
}

.carousel-item img {
    width: 100%;
    vertical-align: middle;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    background-color: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    user-select: none;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button.prev:hover, button.next:hover {
    background-color: rgba(0,0,0,0.8);
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
  text-align: center;
}

.about .section-title {
  font-family: var(--ff-mr_de_haviland);
  font-size: var(--fs-1);
  font-weight: var(--fw-500);
}

.about .section-text {
  margin-block: 12px 45px;
}

.about .about-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* Adjust as needed for spacing */
}

.about .about-image-container img {
  max-width: 150px; /* Adjust the size as needed */
  width: 130%;
  height: auto;
}

.about-card {
  position: relative;
}

.about-card .img-cover {
  transition: var(--transition-2);
}

.about-card:is(:hover, :focus) .img-cover {
  transform: scale(1.1);
}

.about-card .play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: var(--white);
  font-size: 80px;
  transition: var(--transition-2);
}

.about-card:is(:hover, :focus) .play-btn {
  background-color: var(--black_50);
}


/*-----------------------------------*\
  #PRODUCT
\*-----------------------------------*/

.product .section-title { text-align: center; }

.filter-btn-list {
  margin-block: 20px 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn-item {
  position: relative;
  display: flex;
}

.filter-btn-item:not(:last-child)::after {
  content: "|";
  margin-inline: 15px;
}

.filter-btn { transition: var(--transition-1); }

.filter-btn.active { color: var(--tan-crayola); }

.product-card { text-align: center; }



.product-card .card-action-btn {
  background-color: var(--white);
  font-size: 22px;
  padding: 12px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.product-card .card-action-btn:is(:hover, :focus) { color: var(--tan-crayola); }

.product-card .badge-list {
  position: absolute;
  top: 15px;
  left: 15px;
}

.product-card .badge {
  color: var(--white);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  line-height: 45px;
  margin-block-end: 10px;
}

.product-card .badge.orange { background-color: var(--red-orange-color-wheel); }

.product-card .badge.cyan { background-color: var(--middle-blue-green); }

.product-card .card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--black);
  color: var(--white);
  font-weight: var(--fw-500);
  padding-inline: 15px;
}

.product-card .h3 { font-size: unset; }

.product-card .card-title {
  color: var(--smokey-black);
  font-weight: var(--fw-500);
  margin-block: 18px 5px;
  transition: var(--transition-1);
}

.product-card .card-title:is(:hover, :focus) { color: var(--tan-crayola); }

.product-card .card-price {
  display: flex;
  justify-content: center;
  gap: 15px;
  color: var(--granite-gray);
  font-size: var(--fs-4);
}

.product-card .card-price .del { color: var(--spanish-gray); }

.product-list > * { display: none; }

.product-list[data-filter="all"] > *,
.product-list[data-filter="accessory"] > .accessory,
.product-list[data-filter="decoration"] > .decoration,
.product-list[data-filter="furniture"] > .furniture {
  display: block;
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Existing CSS for the product section */

/* Grid layout for the product list */
.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default to 4 columns */
  gap: 20px; /* Adjust the gap between items as needed */
}

/* Two-column layout for mobile devices */
@media (max-width: 767px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr); /* Change to 2 columns */
  }
}

/* Additional styles if needed for other breakpoints */
@media (max-width: 480px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr); /* Maintain 2 columns for smaller devices */
    gap: 10px; /* Adjust gap for smaller devices */
  }
}
@media (max-width: 767px) {
  .product-card .card-title {
    font-size: 1.50rem; /* Lebih besar lagi */
  }

  .product-card .card-price {
    font-size: 1.50rem; /* Lebih besar lagi */
  }
}

@media (max-width: 480px) {
  .product-card .card-title {
    font-size: 1.50rem; /* Lebih besar lagi */
  }

  .product-card .card-price {
    font-size: 1.25rem; /* Lebih besar lagi */
  }
}



/* Container */
.container-fulid {
  padding: 0;
  margin: 0 auto;
}

.container {
  padding: 0 15px;
}

/* Flexbox for aligning image and text */
/* Container */
.container-fulid {
  padding: 0;
  margin: 0 auto;
}

.container {
  padding: 0 15px;
}

/* Flexbox for aligning image and text */
#aboutus .row {
  display: flex;
  align-items: stretch;
}

#aboutus .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Image styling */
#aboutus img {
  width: 100%;
  height: auto;
  object-fit: cover;
  padding-right: 20px;
}

/* Adding margin to the right of the image */
#aboutus .col-lg-6.d-sm-flex img {
  margin-right: 20px; /* Adjust the value as needed */
}

#aboutus p {
  margin-bottom: 1.5rem;
}


/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog .title-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 50px;
  margin-block-end: 50px;
}

.blog .btn-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.blog .btn-link:is(:hover, :focus) { color: var(--tan-crayola); }

.blog-card .card-banner { position: relative; }

.blog-card .card-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--white);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 15px;
  transform: translateX(100%);
  transition: var(--transition-2);
}

.blog-card:is(:hover, :focus) .card-btn { transform: translateX(0); }

.blog-card .card-title {
  margin-block: 20px 10px;
}


.blog-card .card-meta-list {
  display: flex;
  align-items: center;
}

.card-meta-item {
  position: relative;
  color: var(--granite-gray);
  font-size: var(--fs-5);
}


.card-meta-text {
  display: inline-block;
  color: var(--black);
  transition: var(--transition-1);
  text-align: justify; /* Menambahkan properti ini untuk meratakan teks kiri-kanan */
}







/*-----------------------------------*\
  #NEWSLATTER
\*-----------------------------------*/

#container1 {
  display: flex;
  flex-direction: column;
  align-items: center; /* Menengahkan kontainer secara horizontal */
  padding: 10px; /* Perkecil padding */
  background-color: #fff;
  width: 90%; /* Membatasi lebar maksimal untuk responsivitas */
  max-width: 800px; /* Maksimum lebar kontainer */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto; /* Menengahkan kontainer di tengah halaman */
}

#image1 {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px; /* Bingkai untuk gambar */
}

#content1 {
  width: 100%;
}

#toggleButton1 {
  display: block;
  margin: 10px 0;
  padding: 8px 16px;
  background-color: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

#toggleButton1:hover {
  background-color: #050505;
}

#moreContent1 {
  display: none;
  margin-top: 10px;
}

/* Media Queries */
@media (min-width: 768px) {
  #container1 {
      flex-direction: row;
  }

  #image1 {
      max-width: 150px;
      margin-bottom: 0;
      margin-right: 15px;
  }

  #content1 {
      flex: 1;
  }

  #toggleButton1 {
      padding: 6px 12px;
  }
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-top {
  display: grid;
  gap: 30px;
  padding-block-end: 40px;
  grid-template-rows: auto; /* Atur sesuai kebutuhan Anda */
}

.footer-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link {
  padding-block: 4px;
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus) { color: var(--tan-crayola); }

.footer-brand .social-list { margin-block-start: 30px; }

.footer-list-title {
  color: var(--smokey-black);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  margin-block-end: 15px;
}

.footer-form { position: relative; }

.footer .email-field {
  padding-block: 10px;
  padding-inline-end: 35px;
  border-block-end: 1px solid var(--black_25);
  outline: none;
}

.footer .email-field:focus { border-color: var(--tan-crayola); }

.footer-form-btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  font-size: 20px;
  color: var(--granite-gray);
}

.footer-list .wrapper {
  display: flex;
  gap: 20px;
  margin-block-start: 20px;
}

iframe {
  width: 100%; /* Sesuaikan dengan lebar yang diperlukan */
  height: 200px; /* Tinggi peta yang diinginkan */
  border: none; /* Hilangkan border default */
  margin-bottom: 20px; /* Beri jarak bawah */
}

.wrapper {
  display: flex;
  gap: 20px;
  margin-block-start: 20px;
}

.copyright {
  text-align: center;
  padding-block: 20px;
}

.copyright-link { display: inline-block; }





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--tan-crayola);
  color: var(--white);
  font-size: 24px;
  padding: 18px;
  border-radius: 50%;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 575px;
    width: 100%;
    margin-inline: auto;
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }

  .grid-list > li:last-child {
    grid-column: span 2;
    max-width: calc(50% - 12.5px);
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HEADER
   */
   .header
   margin-bottom: 65px; 

  .header .container { gap: 35px; }

  .header .input-wrapper {
    display: block;
    position: relative;
  }

  .header .input-field {
    padding-block: 10px;
    padding-inline-end: 30px;
    border-block-end: 1px solid var(--black_25);
    outline: none;
    transition: var(--transition-1);
  }

  .header .input-field::-webkit-search-cancel-button { display: none; }

  .header .input-field:focus { border-block-end-color: var(--tan-crayola); }

  .header .input-wrapper ion-icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 24px;
  }

  .header-action { gap: 25px; }



  /**
   * NEWSLETTER
   */

  .newsletter { background: none; }

  .newsletter-card {
    background-color: var(--cultured);
    padding: 20px 30px;
  }



  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 1fr; }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 768px; }



  /**
   * HEADER
   */

  .header-action { gap: 35px; }

  .header .input-wrapper { width: 200px; }



  /**
   * HERO
   */

  .hero-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .hero-list .colspan-2 { grid-column: span 2; }



  /**
   * ABOUT
   */

  .about .section-text { margin-block-end: 75px; }



  /**
   * PRODUCT
   */

  .product .title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block-end: 80px;
  }

  .filter-btn-list { margin: 0; }



  /**
   * NEWSLETTER
   */

  .newsletter-card { padding: 50px 70px; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 992px; }

  .grid-list > li:last-child { all: unset; }

  .grid-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * HERO
   */

  .hero-card .card-title { --fs-3: 2.2rem; }



  /**
   * ABOUT
   */

  .about .section-text {
    max-width: 85ch;
    margin-inline: auto;
  }



  /**
   * NEWSLETTER
   */

  .newsletter { --section-padding: 50px; }

  .newsletter-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  .newsletter-card .card-content { margin-block-end: 0; }



  /**
   * FOOTER
   */

  .footer-top {
    grid-template-columns: 1fr 0.75fr 0.6fr 1fr;
    padding-block-end: 60px;
  }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 3.6rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1200px; }



  /**
   * PRODUCT
   */

  .product-list { grid-template-columns: repeat(4, 1fr); }

}