/********** Template CSS **********/
:root {
    --primary: #EA7927;
    --light: #F1F8FF;
    --dark: #0F172B;
    --grey: #d3d3d3;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

body {
    overflow-x: hidden; /* Biar konten gak ada horizontal scroll */
}
.container-xxl {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.about, .service, .testimonial, .team {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
    border-radius: 2px;
}

.social-icon {
    background-color: #fff; /* background putih */
    border: 1px solid var(--primary); /* border primary */
    border-radius: 50%; /* bikin tombol bulet */
    width: 50px; /* tinggi & lebar sama biar bulet */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon i {
    color: var(--primary); /* icon warna primary */
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary); /* hover: background primary */
    border-color: var(--primary);
}

.social-icon:hover i {
    color: #fff; /* hover: icon putih */
}

@media (max-width: 768px) {
    .btn-whatsapp {
    font-size: 1.2rem; /* text lebih gede */
    padding: 1rem 2rem; /* tombol lebih tebal dan lebar */
    border-radius: 10px; /* biar lebih soft */
    }

    .btn-portfolio {
    border-radius: 10px; /* biar lebih soft */
    }
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    .col-lg-9, .col-lg-3 {
        padding-left: 0;
        padding-right: 0;
    }
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-brand img {
  height: 3em; /* Sama dengan ukuran font teks */
  margin-right: 8px; /* Jarak ke teks biar nggak nempel */
  display: inline-block;
  vertical-align: middle; /* Biar rata sama teks */
}

.navbar-nav .nav-link {
  font-weight: bold;
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}


/*** Header ***/
/* ===== INDEX HERO CAROUSEL SPECIFIC ===== */
.index-hero-carousel {
    margin-bottom: 0 !important;
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
}

.index-hero-carousel #header-carousel {
    height: 100%;
}

.index-hero-carousel .carousel-inner {
    height: 100%;
}

.index-hero-carousel .carousel-item {
    height: 100%;
    position: relative;
}

.index-hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 8s ease-in-out forwards;
}

/* BACKGROUND OVERLAY 50% OPACITY */
.index-hero-carousel .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, 0.5);
    z-index: 1;
}

/* CAROUSEL CAPTION */
.index-hero-carousel .carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 1200px;
    background: transparent !important;
    z-index: 2;
    padding: 0 20px;
}

.index-hero-carousel .carousel-caption .p-3 {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* TOMBOL */
.index-hero-carousel .carousel-caption .btn {
    padding: 15px 35px;
    font-size: 1.2rem;
    margin: 0 15px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.index-hero-carousel .carousel-caption .btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
}

.index-hero-carousel .carousel-caption .btn-light {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid white;
    color: var(--dark);
}

.index-hero-carousel .carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .index-hero-carousel {
        height: 80vh;
        min-height: 500px;
        max-height: 80vh;
    }
    
    .index-hero-carousel .carousel-caption .p-3 {
        padding: 25px !important;
        max-width: 95% !important;
        backdrop-filter: blur(5px);
    }
    
    .index-hero-carousel .carousel-caption h1 {
        font-size: 2.2rem !important;
        margin-bottom: 20px;
    }
    
    .index-hero-carousel .carousel-caption .btn {
        padding: 12px 25px;
        font-size: 1rem;
        margin: 8px;
        width: 200px;
    }
}

/* CAROUSEL CONTROLS */
.index-hero-carousel .carousel-control-prev,
.index-hero-carousel .carousel-control-next {
    z-index: 3;
    width: 8%;
}

.index-hero-carousel .carousel-control-prev-icon,
.index-hero-carousel .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background-size: 1.5rem;
    transition: all 0.3s ease;
}

.index-hero-carousel .carousel-control-prev-icon:hover,
.index-hero-carousel .carousel-control-next-icon:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* page header background about,service,properties,dll */
.page-header.mb-5.p-0 {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

/* Overlay gelap dan blur */
.page-header.mb-5.p-0::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, 0.7); /* 70% gelap */
    backdrop-filter: blur(3px); /* Sedikit blur */
    z-index: 1;
}

/* Pastikan content di atas overlay */
.page-header-inner {
    position: relative;
    z-index: 2;
}

/* Text styling */
.page-header-inner .text-white {
    position: relative;
    z-index: 3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Shadow biar text lebih readable */
}

/* Breadcrumb styling */
.breadcrumb {
    background: transparent !important;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ffffff !important;
}

.breadcrumb-item.active {
    color: #ffffff !important;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: bold;
}

/* Animasi untuk text */
.animated.slideInDown {
    animation-duration: 1s;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .page-header.mb-5.p-0::before {
        background: rgba(15, 23, 43, 0.8); /* Lebih gelap di mobile */
    }
    
    .page-header-inner .display-3 {
        font-size: 2.5rem !important;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
}

/* Optional: Tambah efek gradient untuk lebih dramatis */
.page-header.mb-5.p-0::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 43, 0.2) 0%,
        rgba(15, 23, 43, 0.6) 50%,
        rgba(15, 23, 43, 0.8) 100%
    );
    z-index: 1;
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}

.about-text {
  font-size: 16px; /* ukuran font pas, bisa dinaikin jadi 18px biar lebih premium */
  line-height: 1.5; /* jarak antar baris biar lega dan rapi */
  color: #555; /* abu gelap, lebih soft dari pure hitam */
  letter-spacing: 0.3px; /* jarak antar huruf dikit biar lega */
  margin-bottom: 20px; /* jarak bawah antar paragraf */
}

h2[data-toggle="counter-up"]::after {
    content: "+";
    margin-left: 2px; /* kasih jarak biar nggak nempel ke angka */
    font-weight: bold;
}

@media (max-width: 768px) {
  .about-text p {
    font-size: 15px; /* sedikit dikecilin buat mobile */
    line-height: 1.7;
    text-align: left; /* di mobile rata kiri biar gak aneh */
  }
}




/*** Service ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: .5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}

.index-property img {
  width: 100%;            /* Biar ngepas ke container */
  height: 250px;          /* Atur tinggi semua gambar properti */
  object-fit: cover;      /* Crop gambar biar nggak gepeng */
  border-radius: 10px;    /* Sudut membulat biar lebih elegan */
}

.equal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 8px; /* kasih jarak antar tombol */
}

.equal-buttons a {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0; /* biar tinggi tombol enak */
  border-radius: 8px; /* biar agak rounded */
}

.equal-buttons img.button-logo {
  max-height: 20px;
  object-fit: contain;
}

medium {
  display: block;
  margin-bottom: 15px; /* jarak bawah */
}

/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px 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(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .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;
}


/*** Testimonial ***/
/* ===== TESTIMONIAL SECTION ===== */
.testimonial {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-carousel .testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Testimonial Header dengan Rating */
.testimonial-header {
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.testimonial-header .d-flex {
    align-items: center;
}

.testimonial-header img.rounded-circle {
    border: 3px solid var(--primary);
    padding: 2px;
    object-fit: cover;
}

.stars {
    font-size: 14px;
    margin-top: 5px;
}

.stars .fa-star {
    margin-right: 2px;
}

/* Testimonial Content */
.testimonial-item p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.testimonial-item .fa-quote-right {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.testimonial-item:hover .fa-quote-right {
    opacity: 0.7;
}

/* Owl Carousel Navigation */
.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
    transform: scale(1.1);
}

/* Owl Carousel Stage Fix */
.owl-carousel .owl-stage {
    display: flex;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.owl-carousel .owl-item {
    display: flex;
    align-items: stretch;
    margin: 0 15px;
}

.owl-carousel .owl-item {
    height: auto !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonial-carousel .testimonial-item {
        padding: 20px;
        margin: 0 10px;
    }
    
    .testimonial-header img.rounded-circle {
        width: 50px !important;
        height: 50px !important;
    }
    
    .testimonial-header .ps-3 h6 {
        font-size: 14px;
    }
    
    .testimonial-header .ps-3 small {
        font-size: 12px;
    }
    
    .testimonial-item p {
        font-size: 14px;
    }
    
    .testimonial-carousel .owl-nav {
        display: none; /* Sembunyikan arrow di mobile */
    }
}

/* Text Alignment untuk Judul Section */
.text-center.mb-5 h6.section-title {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.text-center.mb-5 h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .text-center.mb-5 h1 {
        font-size: 2rem;
    }
    
    .text-center.mb-5 h6.section-title {
        font-size: 1rem;
    }
}

/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}

.team-section img {
  width: 100%;            /* Biar ngepas ke container */
  height: 250px;          /* Atur tinggi semua gambar properti */
  object-fit: cover;      /* Crop gambar biar nggak gepeng */
  border-radius: 10px;    /* Sudut membulat biar lebih elegan */
}

/* ===== COLLAB SECTION ===== */
.collab-container {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Gambar */
.collab-image-wrapper {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.collab-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Gambar full keliatan */
  border-radius: 8px;
  transition: transform 0.3s;
}

.collab-image:hover {
  transform: scale(1.02);
}

/* Sosmed */
.collab-social {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.collab-social .btn {
  background: #eb7827;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 5px !important;
}

/* Teks */
.collab-text h1 {
  font-size: 2.2rem;
  color: #333;
  font-weight: 700;
}

.collab-text p {
  color: #555;
  line-height: 1.8;
}

/* Tombol */
.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  border: none;
}

.btn-portfolio {
  background: #eb7827;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  border: none;
}

/* Responsif */
@media (max-width: 768px) {
  .collab-image-wrapper {
    height: 300px;
    margin-bottom: 2rem;
  }
  
  .collab-text h1 {
    font-size: 1.8rem;
  }
  
  .d-flex.flex-wrap {
    flex-direction: column;
  }
  
  .btn-whatsapp, .btn-portfolio {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Contact Start */



/* Contact End */

/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    margin-top: -110px;
    padding-top: 180px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.copyright .col-md-6 {
    text-align: center;
    display: flex;
    justify-content: center;
}

.footer {
    padding-top: 80px; /* jarak atas */
}

.copyright {
    position: relative;
    padding-top: 1rem;
}
.copyright::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2); /* Warna garis */
}

/* Footer Spesific Styling */
.footer {
    position: relative;
}

.footer .btn-link {
    transition: all 0.3s;
    padding: 0.25rem 0;
}

.footer .btn-link:hover {
    transform: translateX(5px);
    color: var(--primary) !important;
}

/* Gallery Image Hover Effect */
.footer .rounded {
    transition: transform 0.3s;
}

.footer .rounded:hover {
    transform: scale(1.05);
}


@media (max-width: 768px) {
    .footer .row > div {
        margin-bottom: 1.5rem; /* Kasih jarak antar section */
    }
    .footer .btn-link {
        display: block; /* Bikin link stack vertikal */
        margin-bottom: 0.5rem;
    }
    .footer .section-title {
        font-size: 1rem;
    }
    
    .footer .btn-link {
        font-size: 0.9rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .footer [class^="col-lg"] {
        margin-bottom: 2rem;
    }
}