@import url(root.css);
.btn-nav {
    background-color: rgba(var(--btn-bg-secondary), 1);
    color: rgba(var(--secondary-text), 1);
    transition: all 0.5s ease-in-out;
}
.btn-nav:hover {
    background-color: rgba(var(--btn-bg-secondary), 0.8);
    color: rgba(var(--main-text), 1);
    transition: all 0.5s ease-in-out;
}
.btn-custom {
    /* font-size: 0.9em; */
    padding: 0.8em 1.5em;
    background-color: rgba(var(--btn-bg), 1);
    color: rgba(var(--secondary-text), 1);
    border: none;
    transition: all 0.3s ease-in-out;
}
.btn-custom:hover {
    background-color: rgba(var(--btn-bg-secondary), 1);
    color: rgba(var(--main-text), 1);
    transition: all 0.3s ease-in-out;
}

.btn-navbar {
    width: 300px;
    justify-content: end;
}
.main-bg {
    background-color: rgba(var(--main-bg), 1);
}

.navbar-background {
    background-color: rgba(var(--main-bg), 1);
    transition: all 0.5s ease-in-out;
}

.nav-link {
    color: rgba(var(--secondary-text), 1);
}
.nav-link:hover {
    color: rgba(var(--third-text), 0.8);
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link.show,
.navbar-nav .nav-link.active,
.nav-link:focus {
    color: rgba(var(--third-text), 1);
}

.navbar-scrolled {
    background-color: rgba(var(--main-bg), 0.8);
    transition: all 0.5s ease-in-out;
}

.navbar-brand img {
    width: 50px;
}
.navbar-toggler {
    border-color: rgba(var(--third-text), 1);
    transition: all 0.5s ease-in-out;
}

.navbar-toggler i {
    padding-top: 0;
    font-size: 36px;
    color: rgba(var(--third-text), 1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-menu {
    background-color: rgba(var(--secondary-bg), 1);
    z-index: 1;
}
.dropdown-item {
    color: rgba(var(--secondary-text), 1);
}
.dropdown-item:hover {
    background-color: rgba(var(--main-bg), 1);
    color: rgba(var(--third-text), 1);
}

.intro {
    padding-top: 25px;
}
.intro-video {
    height: 350px;
}
.intro-video iframe {
    border-radius: 20px;
    width: 100%;
    height: 100%;
}

.multi-column {
    column-count: 2;
    column-gap: 2rem;
}

.list-tile ul li {
    margin-left: 4rem;
    margin-top: 1rem;
}

.icon-card-middle img {
    width: 125px;
}

/* OUR KLIEN */
.logo-carousel {
    overflow: hidden;
    position: relative;
}
.logo-carousel:hover .logo-track,
.logo-carousel:hover .logo-card {
    animation-play-state: paused;
}

.logo-track {
    width: max-content;
}

.logo-track img,
.logo-card img {
    height: 125px;
}
.logo-track img {
    margin: 0 80px 40px 0;
    width: fit-content;
}
.logo-card img {
    margin: 0 0 20px auto;
    border: 4px solid rgba(var(--third-text), 1);
}

.scroll-left {
    animation: scroll-left 40s linear infinite;
}

.scroll-right {
    animation: scroll-right 40s linear infinite;
}

.testimoni-card {
    min-width: 300px;
    margin: 0 20px 40px 0;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    /* border: 4px solid rgba(var(--main-bg), 1); */
    background-color: rgba(var(--main-bg), 1);
    color: rgba(var(--secondary-text), 1);
}
.testimoni-card:hover {
    background-color: rgba(var(--secondary-text), 1);
    color: rgba(var(--main-bg), 1);

    border: 4px solid rgba(var(--main-text), 1);
    transition: all 0.3s ease-in-out;
}
.testimoni-card:hover img {
    border: 4px solid rgba(var(--main-text), 1);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Artikel */
a.blog-link {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
a.blog-link:hover .card {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
    color: rgba(var(--main-text), 0.8);
}

.card-subtitle-custom {
    font-size: 0.8em;
}

/* Lokasi */
.frame-custom {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border: 10px solid rgba(var(--royal-blue), 1);
    border-radius: 20px;
}
.frame-custom iframe {
    width: 100%;
    height: 100%;
}

.location-card {
    width: 100%;
}

.location-logo,
.location-text,
.location-media {
    border-top: 1px solid rgba(var(--royal-blue), 1);
    border-bottom: 1px solid rgba(var(--royal-blue), 1);
}

.location-logo,
.location-text {
    padding: 20px;
}
.location-logo {
    border-left: 1px solid rgba(var(--royal-blue), 1);
    background-color: rgba(var(--main-bg), 1);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.location-logo img {
    align-self: center;
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}
a.location-address {
    text-decoration: none;
    color: rgba(var(--main-text), 0.6);
    line-height: 2;
    transition: all 0.3s ease-in-out;
}
a.location-address:hover {
    color: rgba(var(--main-text), 1);
    transition: all 0.3s ease-in-out;
}

.location-media {
    border-right: 1px solid rgba(var(--royal-blue), 1);
    background-color: rgba(var(--btn-bg-secondary), 1);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    align-items: center; /* ini bikin i-nya rata tengah horizontal */
    justify-content: space-around; /* jarak antar i */
}
.location-media i {
    font-size: 28px;
    color: rgba(var(--secondary-text), 1);
    cursor: pointer;
}
.location-media a {
    text-decoration: none;
    align-items: center;
    text-align: center;
    color: rgba(var(--secondary-text), 1);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}
.location-media a:hover i,
.location-media a:hover {
    color: rgba(var(--main-text), 1);
    transition: all 0.3s ease-in-out;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 10px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-50rem);
    border: none;
}
.back-to-top.show {
    background-color: rgba(var(--btn-bg-secondary), 0.5);
    color: rgba(var(--main-text), 1);
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
    border: none;
}

.back-to-top:hover {
    background-color: rgba(var(--btn-bg-secondary), 1);
    color: rgba(var(--secondary-text), 1);
    transition: all 0.3s ease-in-out;
}

/* BLOG */
.title-article,
.blog-sidebar {
    margin-top: 100px;
}
.search-form-full input {
    height: 60px;
    border: 1px solid rgba(var(--main-bg), 1);
}
.search-form-icon {
    border: 1px solid rgba(var(--main-bg), 1);
    background-color: rgba(var(--main-bg), 1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 100%;
}

.social-media-btn a {
    margin-right: 5px;
    padding: 3px 15px;
    transition: all 0.3s ease-in-out;
}
.social-media-btn a:hover {
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
}
.icon-md {
    font-size: 24px;
    transition: all 0.3s ease-in-out;
}
.icon-md:hover {
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
}
/* Table of Centent / toc */
.toc-container {
    padding: 20px 40px;
    border-radius: 20px;
    background-color: rgba(var(--secondary-bg), 0.3);
    /* border: 1px solid rgba(var(--main-bg), 1); */
    color: rgba(var(--main-text), 1);
}
.toc-container li {
    list-style-type: upper-alpha;
}
.toc-container a {
    text-decoration: none;
    line-height: 2;
    color: rgba(var(--main-text), 1);
    transition: all 0.3s ease-in-out;
}
.toc-container a:hover {
    font-size: 20px;
    transition: all 0.3s ease-in-out;
}
.blog-content {
    line-height: 2;
}
/* Content */
.article-image {
    border-radius: 20px;
    overflow: hidden;
}
.blog-sidebar a {
    padding: 10px;
    font-size: 16px;
    text-decoration: none;
    color: rgba(var(--main-text), 1);
}
.blog-sidebar a:hover {
    background-color: rgba(var(--main-bg), 1);
    color: rgba(var(--third-text), 1);
}
.advertising-section {
    background-color: rgba(var(--main-bg), 1);
    color: rgba(var(--secondary-text), 1);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
}
.advertising-section h4 {
    padding: 0 20px;
}
.btn-advertising {
    border-radius: 0;
    width: 25%;
    height: 50px;
    border: 1px solid rgba(var(--secondary-text), 1);
}

.btn-advertising i {
    margin-right: 10px;
    font-size: 20px;
}
.profile-card {
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(var(--main-bg), 1);
    background-color: rgba(var(--main-bg), 1);
    color: rgba(var(--secondary-text), 1);
    height: fit-content;
}

.profile-picture img {
    width: 100%;
    /* height: 100%; */
    border-radius: 50%;
    border: 4px solid rgba(var(--secondary-text), 1);
    object-fit: cover;
}

.contact-text p {
    line-height: 2;
    color: rgba(var(--secondary-text), 0.8);
}
/* END OF BLOG */

/* PRICE */
.tabs {
    background-color: rgba(var(--secondary-bg), 0.3);
    border-radius: 20px;
    width: fit-content;
    align-items: center;
    overflow: hidden;
}
.tab {
    padding: 10px 20px;
}
.tab.active {
    background-color: rgba(var(--main-bg), 1);
    color: rgba(var(--secondary-text), 1);
}
.tab:hover {
    color: rgba(var(--secondary-text), 1);
    cursor: pointer;
}
.price-card {
    padding: 20px 10px;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: flex;
}
/* END OF PRICE */

/* ABOUT US */
.card-contact {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/background/border-red.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    z-index: 2;
}
.contact-image-wrapper {
    height: 550px; /* atau tinggi tetap yang kamu mau */
    overflow: hidden;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* agar tetap proporsional dan ter-crop rapi */
}

.card-contact-text {
    width: 80%;
    height: 50px;
    position: absolute;
    display: flex;
    left: 10%;
    bottom: 20%;
    line-height: 50px;
    background-color: rgba(var(--main-text), 0.8);
    color: #fff;
    text-align: center;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.card-contact-text h5,
.card-contact-text p {
    z-index: 5;
}
.card-contact-text::after,
.card-contact-text::before {
    content: "";
    position: absolute;
    top: 10px;
    border: 25px solid rgba(var(--main-text), 0.4);
    z-index: 3;
}
.card-contact-text::before {
    left: -30px;
    border-left-color: transparent;
}
.card-contact-text::after {
    right: -30px;
    border-right-color: transparent;
}
.card-contact-text-job {
    position: absolute;
    width: 80%;
    left: 10%;
    bottom: 10%; /* lebih bawah dari .card-contact-text */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(var(--third-text), 0.8);
    color: #fff;
    border-radius: 20px;
    font-size: 16px;
    height: 40px;
    z-index: 4;
}

.card-contact-text-job p {
    margin: 0;
    z-index: 4;
}
/* END OFABOUT US */

/* CONTACT US */
.form-border {
    border: 1px solid rgba(var(--secondary-bg), 0.5);
    border-radius: 5px;
    padding: 20px;
    background-color: rgba(var(--secondary-bg), 0.1);
    color: rgba(var(--main-text), 1);
}
/* END OF CONTACT US */

@media (max-width: 992px) {
    .btn-navbar {
        justify-content: start;
        margin-bottom: 20px;
    }
    .intro {
        padding-top: 70px;
    }
    .location-card {
        margin-top: 50px;
    }
}
@media (max-width: 768px) {
    .multi-column {
        column-count: 1;
    }
    .btn-advertising {
        width: 50%;
    }
}
@media (max-width: 480px) {
    .intro-video {
        height: 250px;
    }

    .list-tile ul li {
        margin-left: 1rem;
        margin-top: 1rem;
    }
    .frame-custom {
        height: 200px;
    }
}
