/********** Template CSS **********/
:root {
    --primary: #4761ff;
    --secondary: #555555;
    --light: #f1f3fa;
    --dark: #1c2035;
}

@font-face {
    font-family: "TwentiethCentury";
    src: url("/fonts/twentieth-century/TwentiethCentury.woff2") format("woff2"),
        url("/fonts/twentieth-century/TwentiethCentury.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "TwentiethCentury";
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    transition: 0.5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
    background-color: #1c1c1c;
    border-color: #1c1c1c;
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
::placeholder {
    font-size: 14px; /* Adjust the value as per your preference */
}

.sticky-top {
    top: -100px;
    transition: 0.5s;
    padding: 20px;
    background-color: #000000;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #818284;
    font-size: 14px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #a98a49;
    text-decoration-thickness: 3px;
    text-underline-offset: 10px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #eeeeee;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: #d9d9d9;
    border: 15px solid #d9d9d9;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}

/*** Features ***/
.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.feature-item {
    border-color: rgba(0, 0, 0, 0.03) !important;
}

/*** About ***/
.about {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url(../img/about.jpg) left center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #ffffff;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}

/*** Service ***/
.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.06);
    transition: 0.5s;
    z-index: 2;
}

.service-item:hover .service-text {
    top: -1.5rem;
}

.service-item .service-text h5 {
    transition: 0.5s;
}

.service-item:hover .service-text h5 {
    color: var(--primary);
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}

/*** Project ***/
.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.project-item .project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    padding-top: 60px;
    transition: 0.5s;
}

.project-item:hover .project-overlay {
    opacity: 1;
    padding-top: 0;
}

.project-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.15);
    font-size: 25px;
    transition: 0.5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #ffffff;
}

@media (max-width: 768px) {
    .project-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: 0.5s;
}

.team-item:hover .team-social li {
    margin-left: 15px;
    opacity: 1;
}

.team-item .team-social li .btn {
    background: #ffffff;
    color: var(--primary);
    border-radius: 40px;
    transition: 0.5s;
}

.team-item .team-social li .btn:hover {
    color: #ffffff;
    background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
    transition-delay: 0.1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: 0.2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: 0.3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: 0.4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: 0.5s;
}

/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
    transition: 0.5s;
}

.owl-item .testimonial-item,
.testimonial-item * {
    transition: 0.5s;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: var(--primary);
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
    color: #ffffff !important;
}

.testimonial-item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.15);
    font-size: 25px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #ffffff;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/*** Footer ***/
.footer {
    color: #b0b9ae;
}

.bg-dark {
    background-color: #000000 !important;
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #b0b9ae;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #b0b9ae;
}

.copyright {
    background: #111111;
}

.copyright a:hover {
    color: var(--primary) !important;
}

.default-style {
    color: black;
    background-color: #a98a49;
    font-weight: bold;
}

/* custom CSS */

.h_rectangle {
    max-width: 100%;
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    grid-area: main;
}

/* HOME POST */
.post-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
}

.filter-item {
    font-size: 0.9rem;
    color: #d9d9d9;
    font-weight: 500;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 10px;
}

.active-filter {
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: #a98a49;
}

.post {
    display: grid;
    gap: 1.5rem;
}

.post-box {
    background: white;
    padding: 15px;
    border-radius: 0.5rem;
}

.post-img {
    width: 100%;
    height: 200px;
}

.contact {
    height: 70px;
    text-align: center;
}

.submit-contact {
    background-color: #a98a49;
    border: 1px solid transparent;
}

.custom-header {
    background-color: #1c1c1c;
}

.active-page {
    border-radius: 50%;
    line-height: 5px;
    background: #a98a49;
    border: 10px solid #a98a49;
    color: #000;
    font-weight: bold;
    text-align: center;
    width: 36px;
    height: 36px;
    padding: 8px;
}

.previous {
    background-color: #d9d9d9;
    color: #000;
}

.next {
    background-color: #d9d9d9;
    color: #000;
}

.round {
    border-radius: 50%;
    padding: 8px 16px;
    background-color: #d9d9d9;
    color: #000;
}

.round {
    border-radius: 50%;
    padding: 8px 16px;
}

.container-collection {
    display: grid;
    grid-template-columns: 25% 75%;
    grid-template-rows: auto;
    grid-template-areas:
        "title-collection title-collection"
        "home home"
        "category products";
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.title-collection {
    grid-area: title-collection;
    font-weight: bold;
    padding-top: 65px;
    margin-bottom: 20px;
    border-bottom: 5px solid #a98a49;
    height: 100px;
    width: 80px;
}

.category {
    grid-area: category;
}

.category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category li {
    margin-bottom: 10px;
}

.category a {
    color: #fff;
    text-decoration: none;
}

.category a:hover {
    color: #a98a49;
}

.products {
    grid-area: products;
}

.products ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.products li {
    flex: 0 0 20%;
    margin: 10px;
}

.products img {
    display: block;
    width: 230px;
    height: 230px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.home {
    grid-area: home;
    text-align: left;
    margin-top: -60px;
    padding-bottom: 25px;
}

.home a {
    color: #333;
    text-decoration: none;
}

.home a:hover {
    color: #e51c23;
}

.products h5 {
    color: #000000;
}

form {
    display: block;
    margin-top: 0em;
    margin-block-end: 0em;
}

.selected-collection {
    font-weight: bold;
    border-left: 5px solid #fff;
    height: 100px;
    width: 130px;
    padding-left: 10px;
    position: relative;
}

h5 {
    margin-top: 0.5rem;
}

.container-dtl-img {
    displya: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    align-items: center !important;
    width: 100%;
    height: 50%;
    gap: 10px 20px;
    margin: auto;
    padding-top: 10px;
}

.detail-img {
    display: block;
    object-fit: cover;
    object-position: center;
    width: 50px;
    height: 50px;
}

.use-font {
    font-family: "Montserrat";
}

.use-font-title {
    font-family: "Montserrat";
    font-weight: bold;
}

.notVisible {
    display: none;
}

.error-contact-text {
    color: #ff0000;
}

.error-contact-border {
    border: 1px solid #ff0000;
    border-radius: 4px;
    box-sizing: border-box;
}

.image-container {
    width: 100%; /* Make it responsive */
    max-width: 400px; /* Limit max width */
    height: auto; /* Adjust height automatically */
    aspect-ratio: 1 / 1; /* Maintain square shape */
    overflow: hidden; /* Hide the overflow so it looks like the image zooms within the container */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin: 15px auto 10px;
}

.zoom-image {
    width: 100%; /* Make the image cover the container */
    height: 100%; /* Maintain the aspect ratio of the image */
    object-fit: cover; /* This ensures the image covers the container without distortion */
    transition: transform 0.3s ease, transform-origin 0.3s ease; /* Smooth transition for zoom effect */
    cursor: pointer;
}

.image-container:hover .zoom-image {
    transform: scale(1.8); /* Zoom in the image when hovered */
}

.main-detail-list {
    width: 150px;
    height: 130px;
}

.slide-button {
    background-color: #d9d9d9;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: #000000;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slide-button:hover,
.slide-button:focus {
    background-color: #a98a49;
    color: #ffffff;
}

.slide-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 121, 255, 0.5);
}

.slide-button:active {
    background-color: #0044a1;
}

.gambar-container {
    position: relative;
}

.teks-gambar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-weight: bold;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto;
    height: auto;
}

.slide-collection-active {
    background-color: #a98a49;
    border: none;
    width: 2em;
    height: 2em;
    margin-left: 3em;
    color: #fff;
    border-radius: 50%;
    text-align: center; /* Menyatukan teks di tengah secara horizontal */
    line-height: 2em; /* Menyatukan teks di tengah secara vertikal (sama dengan tinggi elemen) */
    font-weight: bold;
}

.slide-collection {
    border: none;
    width: 2em;
    height: 2em;
    margin-left: 3em;
    color: #fff !important;
    border-radius: 50%;
    text-align: center; /* Menyatukan teks di tengah secara horizontal */
    line-height: 2em; /* Menyatukan teks di tengah secara vertikal (sama dengan tinggi elemen) */
    font-weight: bold;
}

.slide-button-collection {
    border: none;
    margin-left: 3em;
    color: #000000;
}

.footer-link {
    color: #ffffff;
}

.footer-link:hover {
    color: #e7c47b;
}

img {
    object-fit: cover; /* fit the image */
}

.line-clamp {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-text {
    text-align: center;
    hyphens: auto;
    word-spacing: 1px;
    line-height: 1.6;
    margin: 0 auto;
    padding: 0 20px 50px;
}

.about-img {
    width: 100% !important;
    height: 500px !important;
}

.container.max-container-100 {
    max-width: 100% !important;
}

.dark-brown-bg {
    background-color: #1e140a !important;
}

.text-white {
    color: #fff !important;
}

.img-rounded {
    border-radius: 10px 10px 10px 10px;
}

a:hover {
    color: #a98a49 !important;
}

.col.contact-form {
    width: 75%;
    background-color: #f4f4f4;
    padding: 30px 30px;
}

.div-contact-form {
    text-align: center;
    max-width: 100%;
    display: grid;
    place-items: center;
}

.submit-contact.py-3.px-5 a:hover {
    color: black !important;
}

.submit-contact.py-3.px-5 {
    color: white !important;
}
