/*test ganti 3 Jan 2024 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&family=Quattrocento&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jacquard+12&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap');
* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Playfair Display', serif; */
}

body 
{
    background: #f5efeb;
    min-height: 200vh;
}

/* .home-why-us {
    font-family: 'Quattrocento', serif;
} */

header 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    padding: 40px 100px;
    z-index: 100000;
}

/* header.products
{
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    z-index: 100000;
    color: #677D8A;
} */

.img-overlay {
    position: relative;
    max-width: 500px;
}

header.sticky 
{
    background-color: #F2EEE6;
}

header .logo 
{
    position: relative;
    font-weight: 700;
    color: #243779;
    text-decoration: none;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.6s;
}

header ul 
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li 
{
    position: relative;
    list-style: none;
}

header ul li a 
{
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color: white;
    letter-spacing: 2px;
    font-weight: bold;
    transition: 0.6s;
}

.banner 
{
    position: relative;
    background-size: contain;
    filter: brightness(50%);
}

header .sticky .logo, 
header.sticky ul li a 
{
    color: black;
    padding-top: 20px;
    text-decoration: none;

}

header.sticky a img {
	filter: brightness(0);
}

.nav-up {
    top: -150px;
    transition: 0.6s ease-in-out;
}

/* Hamburger navbar */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1; /* Diberikan z-index agar tombol hamburger tetap terlihat */
}

.bar {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

header.sticky .bar {
	width: 30px;
    height: 3px;
    background-color: black;
    margin: 3px 0;
}

/* .menu {
    display: flex;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, background-color 0.3s ease-in-out;
    background-color: transparent;
} */

.menu.active {
    max-height: 300px; 
    background-color: transparent;
    /* opacity: 0.7; */
    transition: all 0.6s ease;
    color: #477384;
}

header.sticky .menu.active
{
    background-color: white;
}


footer 
{
    color: white; 
    background-color: #1E1E1E;
}

#myVideo {
    position: relative;
    z-index: 1;
    height: auto;
    width: 100%;
    filter: brightness(50%);
}

#myVideo-mobile {
    display: none;
}

.center-button {
    background-color: transparent;
    border: antiquewhite solid;
    color: antiquewhite;
    font-weight: bolder;
    font-size: 1em;
    border-radius: 40px;
    padding: 20px;
    display: block;
    margin-top: 20px;
}

.center-button:hover {
    color: #243779;
	background-color: antiquewhite;
}

.product-overlay {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
}
.order-button {
    border-radius: 30px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 95%;
    right: 1%;
    background-color: #677D8A;
    color: antiquewhite;
    letter-spacing: 2px;
}

.container-fluid {
    position: relative;
}

.image-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ensuring it takes up the full width of the container */
    height: 100%; /* Ensuring it takes up the full height of the container */
    z-index: 1; /* Making sure the overlay is above the image */
}

.text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* This centers the text horizontally and vertically */
    z-index: 2; /* Making sure the text is above the overlay */
    color: white; /* Making the text color white so it's readable on the dark overlay */
}
.see-more-article-btn {
    display: block; 
    box-sizing: border-box; 
    width: 100%; 
    background-color: #0F212B; 
    border-radius: 50px; 
    padding: 20px; 
    font-size: 1.5em; 
    letter-spacing: 3px;
}

.see-more-article-btn:hover  {
    background-color: #677D8A;
}

.read-more-button {
    display: none; /* Sembunyikan tombol Read More pada tampilan desktop */
    /* Gaya tombol Read More */
}

.toggler-description {
    display: block;
}

details > summary {
    display: none;
}

.about-us-pic-browser {
    height: 100vh;
    object-fit: cover;
    display: block;
    /* filter: brightness(50%); */
}

.about-us-pic-mobile {
    display: none;
}

/* .about-us-button {
    background-color: #f5efeb;
    border: antiquewhite solid;
    color: antiquewhite;
    font-weight: bolder;
    font-size: 1.5em;
    border-radius: 40px;
    padding: 20px;
    display: none;
} */

.center-button {
    background-color: transparent;
    border: antiquewhite solid;
    color: antiquewhite;
    font-weight: bolder;
    font-size: 1em;
    border-radius: 40px;
    padding: 20px;
    display: block;
    margin-top: 20px;
}

.book-now-btn {
    border-radius: 20px;  
    background-color: #0B1D21; 
    color: antiquewhite;
    font-size: 2em;
    border: #D9D9D9 solid;
}

.carousel-inner {
    border-radius: 20px;
    box-shadow:
    inset 0 -3em 7em rgba(0,0,0,0.2),
          0 0  0 0.5px rgb(245,245,245),
          0.3em 0.3em 2em rgba(0,0,0,0.4);
}

.video-section {
    position: relative;
    width: 100%;
    /* Sesuaikan tinggi jika diperlukan */
    height: auto;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff; /* Ganti dengan warna yang Anda inginkan */
    text-align: center;
    z-index: 1000;
}

/* Basic Button Styling */
.button-elegant {
    background-color: transparent; 
    color: black; 
    font-weight: bold;
    padding: 10px; /* Top & Bottom, Left & Right Padding */
    border: 2px solid;
    border-color: black;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center; 
    text-decoration: none; 
    margin: 3px 2px;
    cursor: pointer; 
    transition: background-color 0.3s, box-shadow 0.3s;
    display: inline-block;
}

/* Hover Effect */
.button-elegant:hover {
    background-color: #000000; /* Slightly darker blue on hover */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Shadow effect on hover */
    color: white;
}

/* i make it different biar ga kena settingan float right yg buat mobile >500px */
.button-home-catalogue {
    background-color: black; 
    color: white; 
    padding: 5px 20px; /* Top & Bottom, Left & Right Padding */
    border: none; 
    border-radius: 5px; 
    font-size: 1rem; 
    text-align: center; 
    text-decoration: none; 
    cursor: pointer; 
    transition: background-color 0.3s, box-shadow 0.3s; 
    display: inline-block;
}

/* Hover Effect */
.button-home-catalogue:hover {
    background-color: #000000; /* Slightly darker blue on hover */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Shadow effect on hover */
    color: #529ab4;
}

.product-margin {
    margin-top: 15%;
}

.scroll-table {
  height: 30vh; /* Adjust based on your row height */
  overflow-y: auto;
}

.scroll-table {
  position: relative; /* Added for the sticky header */
}

.scroll-table th {
  position: sticky;
  top: 0;
  background-color: white; /* You might want to change this */
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

.table-wrapper {
  width: 30%;
  box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.1);
  border-radius: 5px;
  background-color: white;
  padding: 20px;
}

.table-wrapper h2 {
  text-align: center;
  color: #3498db;
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrapper th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.table-wrapper td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

#text-home-mobile {
	display: none;
}

#text-home-desktop {
	display: block;
}

@media (max-width: 1024px) {
	.carousel-caption {
		bottom: 0%;
		padding-top: 0;
		padding-bottom: 0;
	}
}

@media (max-width: 820px) {
    .about-us-pic-browser {
        display: none;
    }

    .about-us-pic-mobile {
        display: block;
        height: 100vh;
        filter: brightness(50%);
    }
	
	.button-elegant {
        padding: 5px;
        margin-bottom: -8%;
    }
	.carousel-caption {
		bottom: 3%;
		padding-top: 0;
		padding-bottom: 0;
	}
}

@media (max-width: 768px) {
    header{
        padding-top: 10px;
		padding-bottom: 10px;
		padding-left: 20px;
		padding-right: 20px;
    }
	
    .menu {
        display: none;
        flex-direction: column;
        background-color: transparent;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        text-align: center;
        transition: 0.6s;
    }

    .toggler-description {
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
	
	img#logo {
		/*width: 20vw;*/
		height: 5vh;
		aspect-ratio: 3/2;
		object-fit: cover;
	}

    .order-button {
        top: 85%;
    }

    #product-description {
        display: none; /* Sembunyikan deskripsi pada tampilan mobile */
    }
    .read-more-button {
        display: block; /* Tampilkan tombol Read More pada tampilan mobile */
    }

    details > summary {
        display: block;
    }

    .product-browser {
        display: none;
    }

    #myVideo {
        display: none;
    }

    #myVideo-mobile {
        display: block;
        filter: brightness(25%);
        z-index: 1;
        height: 100vh;
        object-fit: cover;
        width: 100%;
    }

    .book-now-btn {
        float: right;
    }

    .about-us-button {
        display: block;
    }
	
	#text-home-mobile {
		display: block;
	}

	#text-home-desktop {
		display: none;
	}
}

@media (max-width: 767px) {
    .browser-cover-article {
        display: none;
        margin-bottom: 0px;
    }

    .card-new-row {
        margin-top: 0;
    }

}

@media screen and (max-width: 600px) {
    #product-description {
        display: none; /* Sembunyikan deskripsi pada tampilan mobile */
    }
    .read-more-button {
        display: block; /* Tampilkan tombol Read More pada tampilan mobile */
    }
    .button-elegant {
        padding: 5px;
        font-size: 0.5rem;
        display: inline-block;
    }
}

/* Gaya tambahan untuk desktop */
@media screen and (min-width: 601px) {
    .read-more-button {
        display: none; /* Sembunyikan tombol Read More pada tampilan desktop */
    }
}

@media screen and (max-width: 590px) {
    .button-elegant {
        margin-bottom: -28%;
    }
}

@media screen and (max-width: 500px) {
    .product-margin {
        margin-top: 20%;
    }
}

@media screen and (max-width: 414px) {
    /*.button-elegant{
        padding: 5px;
    }*/
	
	.carousel-caption {
		padding-top: 0;
		padding-bottom: 0;
		bottom: 3%;
	}
}

@media screen and (max-width: 280px) {
	.button-elegant{
        padding: 1%;
		font-size: 0.40rem;
		display: inline-block;
    }
}
