@import url('https://fonts.googleapis.com/css2?family=Della+Respira&family=Lora:ital,wght@0,400..700;1,400..700&family=Montaga&family=Montserrat:ital,wght@0,589;1,589&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
    list-style-type: none;
    list-style: none;
}

body, button {
    font-family: "Montserrat", sans-serif;
}

:root {
    --main-color: 217, 229, 215;
    --second-color: 190, 207, 188;
    --third-color: 142, 165, 140;
    --four-color: 115, 138, 110;
    --five-color: 52, 76, 61;
    --primary: #ec994b;
    --white: #ffffff;
    --bg: #f5f5f5;
    --green: #83b735;
}

::-webkit-scrollbar {
    display: none;
}

li, a, button {
    font-weight: 400;
    font-size: 16px;
    color: #edf0f1;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1;
    grid-template-rows: auto 1fr auto ;
    grid-template-areas: 
    "header"
    "main"
    "footer";
}

header {
    grid-area: header;
    position: sticky;
    top: 0%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 900;
}

.nav__links {
    margin-right: 3.8rem;
}

.nav__links li {
    display: inline-block;
    width: 100px;
    align-self: center;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
  
.nav__links > li:hover > a::before {
    visibility: visible;
    scale: 0.7 0.6;
}
  
.nav__links > li a {
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    text-decoration: none;
    position: relative;
    height: 100%;
}
  
.nav__links > li > a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 3px;
    left: 0;
    top: 110%;
    background-color: #000000;
    transition: all 0.2s ease-in-out;
    scale: 0 0;
    visibility: hidden;
}

#menu-icon {
    font-size: 24px;
    cursor: pointer;
    display: none;
}

button {
    padding: 8px 25px;
    background-color: rgba(var(--five-color), 1);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

button:hover{
    background-color: rgb(69, 101, 82);
}

main{
    grid-area: main;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas:
    "home"
    "highlights"
    "gallery"
    "partner"
    "customers";
    padding: 0 0;
}

#home {
    font-family: "Montserrat", serif;
    grid-area: home;
    background-color: #f0f0f0;
    padding: 20px 5%;
    scroll-margin-top: 5rem;
}

#highlights {
    grid-area: highlights;
    background: linear-gradient(to right, #2f5d50, #d4af37);
}

#gallery {
    grid-area: gallery;
    background-color: white;
    padding: 20px 5%;
    scroll-margin-top: 3rem;
}

#partner {
    font-family: "Montserrat", serif;
    grid-area: partner;
    background: linear-gradient(to right, rgb(var(--five-color)), 
                                          rgb(var(--four-color)));
    padding: 20px 5%;
    scroll-margin-top: 4rem;
}

#customers {
    grid-area: customers;
    background-color: white;
    padding: 20px 5%;
    scroll-margin-top: 5rem;
}

footer {
    grid-area: footer;
    background-color: rgb(var(--five-color));
    color: white;
    padding: 20px;
}

footer .social {
    text-align: center;
    padding-bottom: 20px;
    color: white;
}

footer .social a {
    font-size: 24px;
    color: inherit;
    border: 1px solid #ccc;
    width: 40px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 9px;
    opacity: 0.8;
}

footer .social a:hover { 
    opacity: 1;
}

footer .copyright {
    font-family:'Times New Roman', Times, serif;
    margin-top: 0px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.wa-button {
    display: none;
    position: fixed;
    bottom: 20px;      
    right: 20px;    
    z-index: 10;
    transition: top 0.5s ease-in-out;
}

.wa-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 2px 3px 4px 0px rgba(0, 0, 0, 0.4);
}

.wa-button a {
    font-size: 35px;
    color: white;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsl(0, 0%, 99%);
    display: grid;
    place-items: center;
    z-index: 11;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.loader img {
    width: 140px;
    border-radius: 100%;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

/* ABOUT */
.about {
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../images/background.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    display: flex;
    align-items: center;
}

.about-container {
    width: 500px;
    height: 300px;
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.about-text {
    transform: translateY(-60px);
    color: white;
}

.about-text .weddingorganizer {
    background: linear-gradient(to left, #D8E2DC, #d5e1d2 ,#D8E2DC);
    width: fit-content;
    font-size: 11px;
    margin-bottom: .5rem;
    border-radius: 9999px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #5A6F58;
    font-family: "Lora", serif;
}

.about-text h1 {
    font-size: 2.7rem;
    font-weight: bolder;
}

body .about-text p {
    font-family: "Montaga", serif;
    font-weight: lighter;
    font-size: 0.938rem;
    margin: 0.4rem 0 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-text span {
    color: rgb(var(--second-color));
}

.btn {
    padding: 10px 14px;
    background: rgb(var(--four-color));
    color: #fff;
    border-radius: 0.5rem;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    background: rgba(var(--third-color), 1);
}

/* Highlights */

.highlights-section {
    padding: 30px 20px;
    color: white;
}
  
.highlights-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
  
.highlight-item {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    padding: 0 15px;
}
  
.highlight-number {
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap;
    margin-right: 15px;
}
  
.highlight-description {
    font-size: 14px;
    line-height: 1.4;
}
  
.divider {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 1px;
    background-color: white
}
  
  /* Responsif untuk layar kecil */
@media (max-width: 1279px) {
    .highlight-item {
      flex-direction: column;
      text-align: center;
    }
}

@media (max-width: 768px) {
    .highlights-container {
      flex-direction: column;
      gap: 40px;
    }
    
    .highlight-item {
      flex-direction: column;
      text-align: center;
      align-items: center;
      width: 100%;
    }
    
    .highlight-number {
      margin-right: 0;
      margin-bottom: 15px;
      font-size: 26px;
    }
    
    .highlight-description {
      text-align: center;
      max-width: 300px;
    }
    
    .divider {
      display: none; /* Hilangkan divider vertikal pada tampilan mobile */
    }
}

/* GALLERY */
.gallery h2 {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bolder;
}

.gallery h2 .gallery-span {
    color: rgba(var(--five-color));
}

.gallery-container {
    max-width: 1200px;
    position: relative;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.gallery-container i {
    top: 50%;
    background: rgba(var(--five-color));
    color: white;
    position: absolute;
    cursor: pointer;
    height: 46px;
    width: 46px;
    font-size: 1.2rem;
    line-height: 46px;
    text-align: center;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease;
}

.gallery-container i:hover {
    background: rgb(69, 101, 82);
}

.gallery-container i:first-child {
    left: -23px;
    display: none;
}

.gallery-container i:last-child {
    right: -23px;
}

.gallery-container .carousel {
    font-size: 0px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

.carousel.dragging {
    cursor: grab;
    scroll-behavior: auto;
}

.carousel.dragging img {
    pointer-events: none;
}

.carousel img {
    height: 340px;
    object-fit: cover;
    margin-left: 14px;
    width: calc(100% / 3);
    cursor: pointer;
    transition: transform 0.3 ease;
}

.carousel img:first-child {
    margin-left: 0px;
}

/* TESTIMONI */
.customers h2 {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bolder;
}

.customers h2 #love {
    color: rgba(252, 81, 133, 0.8);
}

.customers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, auto));
    gap: 1.5rem;
    margin-top: 4.5rem;
    margin-bottom: 2rem;
}

.customers-container .box {
    padding: 20px;
    box-shadow: 1px 2px 11px 4px rgb(14 55 54 / 15%);
    border-radius: 0.5rem;
    border-bottom: 7px solid rgb(var(--five-color));
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.customers-container .box:hover {
    transform: translateY(2px);
    transform: all 0.2s linear;
    box-shadow: 1px 2px 11px 4px rgba(var(--five-color), 40%);
}

.customers-container .box .bx {
    font-size: 24px;
    color: rgb(var(--five-color));
}

.customers-container .box .stars .bx {
    font-size: 1rem;
    color: orange;
}

.customers-container .box p {
    margin-top: 0.5rem;
    font-size: 0.938rem;
    font-family: "Winky Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    word-spacing: 3px;
    line-height: normal;
    color: black;
}

.customers .stars {
    font-family: "Montserrat", serif;
}

.customers .review-profile {
    align-self: flex-start;
    justify-self: flex-end;
}

.review-profile {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    column-gap: 0.5rem;
}

.review-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.review-profile h3 {
    font-size: 1rem;
    font-weight: 600;
    color: black;
}

.trailer{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.9);
	z-index: 11;
	visibility: hidden;
	opacity: 0;
    transition: 0.2s ease-in-out;
}
.trailer video{
	max-width: 285px;
    border-radius: 20px;
	outline: none;
	position: relative;
}
.close{
	position: absolute;
	top: 30px;
	right: 30px;
	color: #fff;
	font-size: 42px;
	cursor: pointer;
}

/* POPUP IMAGE */

.popup{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
	z-index: 11;
	visibility: hidden;
	opacity: 0;
    transition: 0.2s ease-in-out;
}
.popup img{
	max-width: 62%;
	border: 10px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	position: relative;
}

@media (max-width: 301px){
	.trailer video{
		max-width: 90%;
	}
}

@media screen and (max-width: 900px) {
    .carousel img {
        width: calc(100% / 2);
    }

    header {
        position: sticky;
        padding: 24px 3rem;
    }

    header .nav__links {
        position: absolute;
        width: 100%;
        top: -500px;
        left: 0;
        right: 0;
        border-radius: 0 0 0 0;
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        box-shadow: 0 4px 4px rgb(14 55 54 / 14%);
        border-top: 4px solid rgba(var(--five-color), 1);
        transition: all 0.3s ease-in-out;
        text-align: left;
        text-transform: uppercase;
        gap: 2rem;
        padding: 2rem;
    }

    .nav__links.active {
        top: 100%;
        width: 100%;
    }

    .nav__links a {
        font-weight: 600;
        padding: 1.5rem;
        display: block;
    }

    .nav__links > li:hover > a::before {
        display: none;
    }

    header #contact {
        display: none;
    }

    header .logo {
        position: relative;
        left: -1rem;
    }

    #menu-icon {
        display: initial;
        position: absolute;
        top: 22px;
        right: 2rem;
    }

    .wa-button {
        display: block;
    }

    footer .copyright {
        font-size: 12px;
    }
}

@media screen and (max-width: 550px) {
    .carousel img {
        width: calc(100% / 1);
    }

    .popup img {
        max-width: 90%;
    }
}

@media screen and (max-width: 536px) {
    .about-text h1 {
        font-size: 2.6rem;
    }
}

@media screen and (max-width: 518px) {
    .about-text h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 491px) {
    .about-text {
        transform: translateY(-100px);
    }
    
    .about-text h1 {
        font-size: 1.7rem;
    }

    .about-text p {
        font-size: 0.838rem;
    }

    .about-container {
        width: 400px;
    }
}

@media screen and (max-width: 450px) {
    footer .copyright {
        font-size: 11px;
    }

    header {
        position: sticky;
        padding: 24px 37px;
    }

    #menu-icon {
        position: absolute;
        top: 22px;
        right: 19px;
    }
}

/* TESTIMONI */

.partner {
    background-color: #fff5;
    font-family: sans-serif;
    overflow: hidden;
}

.partner h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
}

.table_container {
    font-family: "Montserrat", serif;
    width: 100%;
    height: 100vh;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.table__header {
    width: 100%;
    height: 55px;
    padding: 0.8rem 0px;
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper untuk dropdown */
.filter-location {
    width: 12%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 0 .8rem;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    min-width: 45px; /* Tambahkan minimal width */
}

.filter-location #location-filter {
    font-family: "Montserrat", serif;
}

/* Styling dropdown */
.filter-location select {
    border: none;
    background: transparent;
    color: #000000;
    padding: 8px;
    outline: none;
    cursor: pointer;
    appearance: none; /* Hilangkan default dropdown browser */
    width: 150px;
    overflow: hidden;
}

/* Tambahkan ikon dropdown */
.filter-location::after {
    content: "▼";
    font-size: 10px;
    color: #000000;
    position: absolute;
    right: 10px;
    pointer-events: none;
}

/* Hover effect */
.filter-location:hover {
    background-color: #ffffff;
}

/* Responsive */
@media (max-width: 1080px) {
    .filter-location {
        width: 45px; /* Ukuran fixed untuk mobile */
        justify-content: center; /* Pastikan content di tengah */
        padding: 0; /* Hapus padding pada mobile */
    }
    
    .filter-location select {
        text-indent: -9999px; /* Pindahkan teks keluar layar */
        width: 100%;
        padding: 0;
    }

    .filter-location::after {
        content: "📌";
        font-size: 15px;
        position: absolute;
        left: 50%; /* Posisikan di tengah horizontal */
        top: 50%; /* Posisikan di tengah vertikal */
        transform: translate(-50%, -50%); /* Centering trick */
        right: auto; /* Hapus posisi right */
    }
}

.table__header .input-group {
    width: 35%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 0 .8rem;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
    /* transform: translateX(24px); */
}

.table__header .input-group:hover {
    width: 45%;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 .1rem .4rem #0002;
}

.table__header .input-group img {
    width: 1.2rem;
    height: 1.2rem;
}

.table__header .input-group input {
    width: 100%;
    padding: 0 .5rem 0 .3rem;
    background-color: transparent;
    border: none;
    outline: none;
}

.table__body {
    width: 95%;
    max-height: calc(89% - 1.6rem);
    background-color: #fffb;

    margin: .8rem auto;
    border-radius: .6rem;

    overflow: auto;
    position: relative;
}


.table__body::-webkit-scrollbar{
    width: 0.5rem;
    height: 0.5rem;
}

.table__body::-webkit-scrollbar-thumb{
    border-radius: .5rem;
    background-color: #0004;
    visibility: hidden;
}

.table__body:hover::-webkit-scrollbar-thumb{ 
    visibility: visible;
}

table {
    width: 100%;
}

table, th, td {
    border-collapse: collapse;
    padding: 1rem;
    text-align: left;
}

thead th {
    position: sticky;
    top: 0;
    background-color: rgba(var(--second-color));
    cursor: pointer;
    text-transform: capitalize;
}

tbody tr:nth-child(even) {
    background-color: #0000000b;
}

tbody tr {
    --delay: .1s;
    transition: .5s ease-in-out var(--delay), background-color 0s;
}

tbody tr.hide {
    opacity: 0;
    transform: translateX(100%);
}

tbody tr:hover {
    background-color: #fff6 !important;
}

tbody tr td,
tbody tr td p,
tbody tr td img {
    transition: .2s ease-in-out;
}

tbody tr.hide td,
tbody tr.hide td p {
    padding: 0;
    font: 0 / 0 sans-serif;
    transition: .2s ease-in-out .5s;
}

tbody tr.hide td img {
    width: 0;
    height: 0;
    transition: .2s ease-in-out .5s;
}

.status {
    padding: .4rem 0;
    border-radius: 2rem;
    text-align: center;
}

.status.aula {
    background-color: #86e49d;
    color: #006b21;
}

.status.gedung {
    background-color: #d893a3;
    color: #b30021;
}

.status.hotel {
    background-color: #ebc474;
    color: #7a550a;
}

.status.masjid {
    background-color: #6fcaea;
    color: #004f6b;
}

.status.outdoor {
    background-color: #E67E22;
    color: #532e00;
}

.col-building-name {
    width: 30%;
}

.col-location {
    width: 20%;
}

.col-type {
    width: 15%;
}

.col-price {
    width: 25%;
}

@media (max-width: 1000px) {
    td:not(:first-of-type) {
        min-width: 12.1rem;
    }
}

/* thead th span.icon-arrow {
    display: inline-block;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    border: 1.4px solid transparent;
    
    text-align: center;
    font-size: 1rem;
    
    margin-left: .5rem;
    transition: .2s ease-in-out;
}

thead th:hover span.icon-arrow{
    border: 1.4px solid #6c00bd;
} */

thead th:hover {
    color: #00833b;
}

/* thead th.active span.icon-arrow{
    background-color: #6c00bd;
    color: #fff;
} */

/* thead th.asc span.icon-arrow{
    transform: rotate(180deg);
} */

thead th.active,tbody td.active {
    color: #00833b;
}

.export__file {
    position: relative;
    /* transform: translateX(24px); */
    z-index: 1;
}

.export__file .export__file-btn {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.6) url(../images/export.png) center / 80% no-repeat;
    border-radius: 50%;
    transition: .2s ease-in-out;
}

.export__file .export__file-btn:hover { 
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    cursor: pointer;
}

.export__file input {
    display: none;
}

.export__file .export__file-options {
    position: absolute;
    right: 0;
    
    width: 12rem;
    border-radius: .5rem;
    overflow: hidden;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transform: scale(0.8);
    transform-origin: top right;
    
    box-shadow: 0 .2rem .5rem #0004;
    
    transition: .2s;
}

.export__file input:checked + .export__file-options {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    z-index: 100;
}

.export__file .export__file-options label{
    display: block;
    width: 100%;
    padding: .6rem 0;
    background-color: #f2f2f2;
    
    display: flex;
    justify-content: space-around;
    align-items: center;

    transition: .2s ease-in-out;
}

.export__file .export__file-options label:first-of-type{
    padding: 1rem 0;
    background-color: rgb(205, 255, 67) !important;
}

.export__file .export__file-options label:hover{
    transform: scale(1.05);
    background-color: #fff;
    cursor: pointer;
}

.export__file .export__file-options img{
    width: 2rem;
    height: auto;
}

.col-no {
    width: 10%;
}

@media print {
    .partner, .table__body {
     overflow: visible;
     height: auto !important;
     width: auto !important;
    }
}