/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Roboto:wght@300;400&display=swap');

/* Reset dan Variabel Global */
:root {
    --eggshell: #F5F5F5;
    --eggshell-light: #FBFBFB;
    --navy-blue: #0F1626;
    --leather: #AB987A;
    --coral: #FF533D;
    
    --font-headline: 'Playfair Display', serif; 
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--navy-blue);
    color: var(--eggshell);
    position: relative;
}

/* Header & Navigasi */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #041e42;
	background-image: linear-gradient(to bottom, #041937, #041b3a, #041c3d, #051e41, #052044, #052146, #052148, #05224a, #05224a, #06224b, #06234b, #07234b);
    padding: 1.1rem 5%;
    transition: background 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--eggshell);
    text-decoration: none;
}
.logo img {
    width: 45%;
	padding-top: 10px;
}
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--eggshell);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--coral);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--coral);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Home & Slider */
#home { height: 100vh; width: 100%; position: relative; }
.splide__slide { 
    height: 100vh; 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
}
/* Membuat selector lebih spesifik agar hanya berlaku untuk banner utama */
#home .splide__slide::after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    /* Halftone Effect: Lapisan gradien gelap + pola titik */
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), radial-gradient(circle, rgba(0,0,0,0.6) 1px, transparent 1px);
    background-size: 100% 100%, 4px 4px;
}
.slide-content { position: relative; z-index: 2; text-align: center; color: var(--eggshell); max-width: 800px; padding: 20px; }
.headline-bold { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 600; text-transform: capitalize; line-height: 1.1; margin-bottom: 1rem; }
.slide-subtitle { font-size: 1.2rem; font-weight: 300; }

/* Animasi Judul Banner dengan Jeda */
.headline-bold, .slide-subtitle { overflow: hidden; }
.headline-bold span, .slide-subtitle span {
    display: block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.8s;
}
.splide__slide.is-active .headline-bold span {
    transform: translateY(0);
    opacity: 1;
}
.splide__slide.is-active .slide-subtitle span {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.5s;
}

/* Gaya Umum Section */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.content-section { padding: 8rem 0; }
.full-width-section { padding: 8rem 0; }

.title-wrapper {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}
.section-title {
    font-family: var(--font-headline);
    font-size: 3rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.section-title-link:hover .section-title {
    transform: scale(1.05);
}

/* Sesi Latar Putih */
.white-section {
    background-color: var(--eggshell);
    color: var(--navy-blue);
}
.white-section .section-title-link {
    color: var(--navy-blue);
}
.white-section .section-title-link:hover .section-title {
    color: var(--coral);
}
.white-section .about-text h3 { color: var(--navy-blue); }
.white-section .about-text p { color: #555; }
.about-content { display: flex; align-items: center; gap: 3rem; }
.about-image { flex: 1; border-radius: 8px; overflow: hidden; }
.about-image img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.about-image:hover img { transform: scale(1.05); }
.about-text { flex: 1.2; }
.about-text h3 { font-family: var(--font-headline); font-size: 1.8rem; margin-bottom: 1rem; }
.about-text p { line-height: 1.8; margin-bottom: 1rem; }

/* Parallax & Service */
.parallax-wrapper { background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; }
.texture-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.parallax-wrapper > .full-width-section { position: relative; z-index: 2; background-color: rgba(0, 0, 0, 0.8); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.service-item { background-color: rgba(255, 255, 255, 0.05); text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; width: 250px; height: 250px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-item i { font-size: 3rem; margin-bottom: 1rem; color: var(--leather); transition: color 0.3s ease, transform 0.3s ease; }
.service-item:hover { transform: translateY(-10px); background-color: rgba(255, 255, 255, 0.1); }
.service-item:hover i { color: var(--coral); transform: scale(1.1); }
.service-item h3 { font-family: var(--font-headline); font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--eggshell); }
.service-item p { font-size: 0.9rem; line-height: 1.4; color: #ccc; }

/* Paket Harga dengan Efek Zoom */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.price-card { 
    background-color: #fff; 
    border: 0px; 
    color: var(--navy-blue); 
    padding: 2.5rem 2rem; 
    border-radius: 8px; 
    text-align: center; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    display: flex; 
    flex-direction: column; 
}
.price-card:hover, .price-card:focus-within {
    transform: scale(1.06);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 10;
    outline: none;
}
.price-card.popular {
    border: 0px;
    transform: scale(1.05);
}
.price-card.popular:hover, .price-card.popular:focus-within {
    transform: scale(1.1);
}
.price-card h3 { font-size: 1.5rem; font-family: var(--font-body); font-weight: 700; color: var(--coral); }
.price-card h4 { font-size: 2.5rem; margin: 1rem 0; font-weight: 600; font-family: var(--font-headline); color: var(--navy-blue); }
.price-card ul { list-style: none; margin: 2rem 0; text-align: left; flex-grow: 1; }
.price-card ul li { margin-bottom: 1rem; line-height: 1.6; }
.price-card ul li i { margin-right: 0.5rem; }
.price-card ul li .fa-check { color: #2ecc71; }
.price-card ul li .fa-times { color: var(--coral); }
.btn { display: inline-block; background-color: var(--coral); color: #fff; padding: 0.8rem 2rem; text-decoration: none; border-radius: 5px; font-weight: 700; border: 1px solid var(--coral); transition: background-color 0.3s, transform 0.3s; }
.btn:hover { background-color: #9B0000; transform: translateY(-2px); }

/* Galeri & Latar Belakang Bintang */

.parallax-star-wrapper {
    position: relative;
    background-image: linear-gradient(-225deg, #FF3CAC 0%, #562B7C 52%, #2B86C5 100%);
    overflow: hidden;
}
#stars1, #stars2, #stars3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}
@keyframes animStar {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}
#stars1 {
  width: 4px;
  height: 4px;
  box-shadow: 798px 1656px #FFF, 1559px 1565px #FFF, 1993px 138px #FFF, 137px 1198px #FFF, 969px 129px #FFF, 1334px 44px #FFF, 922px 1481px #FFF, 1393px 815px #FFF, 782px 101px #FFF, 1563px 1177px #FFF, 249px 1399px #FFF, 1193px 145px #FFF, 478px 1438px #FFF, 722px 694px #FFF, 1483px 1001px #FFF, 1445px 125px #FFF, 1149px 839px #FFF, 108px 160px #FFF, 1045px 1032px #FFF, 175px 1774px #FFF;
  animation: animStar 10s linear infinite;
}
#stars2 {
  width: 5px;
  height: 5px;
  box-shadow: 100px 1500px #FFF, 800px 1200px #FFF, 1600px 400px #FFF, 400px 800px #FFF, 1900px 1800px #FFF, 1200px 200px #FFF;
  animation: animStar 15s linear infinite;
}
#stars3 {
  width: 6px;
  height: 6px;
  box-shadow: 200px 600px #FFF, 900px 1800px #FFF, 1700px 1100px #FFF, 500px 100px #FFF;
  animation: animStar 20s linear infinite;
}

#gallery.full-width-section {
    background: rgba(0,0,0,0.2);
}
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { overflow: hidden; border-radius: 8px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.popup { display: none; position: fixed; z-index: 2000; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); }
.popup-content { margin: auto; display: block; width: 80%; max-width: 700px; }

/* --- Penyesuaian Akhir untuk Tombol Close Galeri --- */

/* Menghapus gaya lama dan menerapkan gaya baru yang lebih baik */
.popup-close {
    padding-left: 0; /* Menghapus padding yang tidak diperlukan */
    position: absolute; /* Mengubah posisi menjadi absolut terhadap viewport */
    top: 60px;          /* Jarak dari atas, agar tidak terlalu menempel di sudut */
    right: 5vw;         /* Jarak dari kanan, agar dekat dengan area gambar */
    color: #f1f1f1;     /* Warna yang kontras dengan latar belakang gelap */
    font-size: 55px;    /* Membuat ikon 'x' jauh lebih besar */
    font-weight: bold;
    line-height: 1;     /* Memastikan posisi vertikal ikon pas */
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    -webkit-user-select: none; /* Mencegah teks terseleksi saat diklik */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Efek saat kursor diarahkan ke tombol close */
.popup-close:hover,
.popup-close:focus {
    color: #ccc; /* Warna sedikit redup saat di-hover */
    text-decoration: none;
    transform: scale(1.1); /* Efek perbesaran kecil untuk feedback visual */
}

/* Penyesuaian untuk layar mobile agar posisi lebih pas */
@media (max-width: 768px) {
    .popup-content {
        width: 90%; /* Sedikit memperlebar gambar di mobile */
    }
    .popup-close {
        top: 20px;   /* Lebih dekat ke atas di layar kecil */
        right: 25px; /* Jarak dari kanan dalam piksel agar tetap */
        font-size: 45px;
    }
}
/* Testimonials Section */
#testimonials {
    background-color: #fff; 
}
#testimonials .section-title {
    color: var(--navy-blue);
}
.testimonial-slider .splide__slide {
    padding: 1rem;
	height:100%;
    /* Pastikan slide testimoni tidak memiliki background yang tidak diinginkan */
    background: none; 
}
.testimonial-slider .splide__pagination {
    bottom: -2rem;
}
.testimonial-slider .splide__pagination__page {
    background: rgba(15, 22, 38, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}
.testimonial-slider .splide__pagination__page:hover {
    background: var(--coral);
}
.testimonial-slider .splide__pagination__page.is-active {
    background: var(--coral);
    transform: scale(1.2);
}
.testimonial-slider .splide__arrow {
    background: var(--navy-blue);
    opacity: 0.7;
}
.testimonial-slider .splide__arrow svg {
    fill: var(--eggshell);
}
.testimonial-slider .splide__arrow:hover {
    opacity: 1;
}
.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
	min-width:265px;
    max-height: 400px; 
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--leather);
}
.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.testimonial-name {
    font-family: var(--font-headline);
    font-size: 1.2rem;
    color: var(--navy-blue);
    margin-bottom: 0.25rem;
}
.testimonial-company {
    font-size: 0.9rem;
    color: #777;
}

/* Kontak & Animasi Gelombang */
#contact {
    position: relative;
    padding-bottom: 150px;
    /* Variabel untuk pola background */
    --s: 22px; /* Mengontrol ukuran pola */
    --c1: #f0f0f0; /* Warna lebih terang */
    --c2: #f8f8f8; /* Warna lebih terang */
    --c3: #ffffff; /* Warna lebih terang */
    
    background:
        conic-gradient(from 75deg,var(--c1) 15deg ,var(--c2) 0 30deg ,#0000 0 180deg,
                        var(--c2) 0 195deg,var(--c1) 0 210deg,#0000 0) 
        calc(var(--s)/2) calc(.5*var(--s)/tan(30deg)),
        conic-gradient(var(--c1) 30deg ,var(--c3) 0 75deg ,var(--c1) 0 90deg, var(--c2) 0 105deg,
                        var(--c3) 0 150deg,var(--c2) 0 180deg,var(--c3) 0 210deg,var(--c1) 0 256deg,
                        var(--c2) 0 270deg,var(--c1) 0 286deg,var(--c2) 0 331deg,var(--c3) 0);
    background-size: var(--s) calc(var(--s)/tan(30deg));
    /* Menambahkan efek parallax pada background */
    background-attachment: fixed;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-details { text-align: left; }
.contact-subhead { font-family: var(--font-headline); font-size: 2rem; color: var(--coral); margin-bottom: 0.5rem; }
.contact-details > p { margin-bottom: 2rem; line-height: 1.7; color: #555; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info p, .contact-info .contact-link { display: flex; align-items: flex-start; gap: 1rem; font-size: 1rem; text-decoration: none; color: var(--navy-blue); transition: color 0.3s ease; }
.contact-info .contact-link:hover { color: var(--coral); }
.contact-info i { font-size: 1.2rem; width: 20px; text-align: center; color: var(--coral); margin-top: 4px; }
.contact-map { height: 400px; border-radius: 8px; overflow: hidden; border: 1px solid #e0e0e0; }
.contact-map iframe { transition: filter 0.3s ease; }

.social-media {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}
.social-media a {
    color: var(--navy-blue);
    font-size: 2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-media a:hover {
    color: var(--coral);
    transform: translateY(-3px);
}


.footer-text{
	z-index: 1;
	color: #fff;
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
}
.waves {
    position: relative;
    width: 100%;
    height: 100%;
}
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

/* Animasi Scroll */
.content-section { opacity: 0; transform: translateY(50px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.content-section.visible { opacity: 1; transform: translateY(0); }
.animate-image { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease-out, transform 0.8s ease-out; transition-delay: 0.2s; }
.animate-text-left { opacity: 0; transform: translateX(-100px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-text-right { opacity: 0; transform: translateX(100px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.visible .animate-image, .visible .animate-text-left, .visible .animate-text-right { opacity: 1; transform: none; }

/* Tombol WA */
.float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    right: 40px;
    border-radius: 50%;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.float-btn:hover {
    transform: scale(1.1);
}
.custom-float {
    bottom: 110px;
    background-color: #fff;
}
.custom-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}


.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 3px #999; z-index: 100; display: flex; justify-content: center; align-items: center; text-decoration: none; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }



/* Desain Responsif */
@media (max-width: 992px) {
    .nav-links { position: fixed; top: 0; right: -100%; width: 60%; height: 100vh; background: var(--navy-blue); flex-direction: column; justify-content: center; align-items: center; transition: right 0.5s ease-in-out; }
    .nav-links.nav-active { right: 0; }
    .nav-links li { margin: 2rem 0; }
    .menu-toggle { display: block; z-index: 1001; }
    .about-content, .contact-grid { flex-direction: column; grid-template-columns: 1fr; }
    
    .price-grid, .service-grid { 
     grid-template-columns: repeat(2, 1fr); 
     gap: 1.5rem;
    }
    .gallery-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
/* Ganti aturan .service-grid yang ada dengan ini */
.service-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem; /* Menambah jarak antar item */
}

/* Ganti aturan .service-item yang ada dengan ini */
.service-item { 
    width: 100%; 
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 1.5rem; /* Menyesuaikan padding */
    border-radius: 50%;
}

/* Tambahkan aturan baru ini untuk mengatur konten di dalam lingkaran */
.service-item i { font-size: 2.2rem; margin-bottom: 0.75rem; }
.service-item h3 { font-size: 1rem; line-height: 1.3; }
.service-item p { font-size: 0.8rem; line-height: 1.4; }
    .service-item i { font-size: 2.5rem; }
    .service-item h3 { font-size: 1rem; }
    .service-item p { font-size: 0.8rem; }

    .contact-map { order: -1; margin-top: 2rem; }
    .testimonial-slider .splide__slide {
        width: 50% !important; 
    }
}

@media (max-width: 768px) {
    #home, #home .splide__slide {
        height: 80vh; /* Selaraskan tinggi CSS dengan JS */
    }
    .headline-bold { font-size: 2.5rem; }
    .slide-subtitle { font-size: 1rem; }
    .section-title { font-size: 2.2rem; }
    .price-card.popular { transform: scale(1); }
    
    .testimonial-slider .splide__slide {
        width: 100% !important; 
    }

    .container {
        padding: 0 1.5rem;
    }

    .content-section, .full-width-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .title-wrapper {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 576px) {
    #home, #home .splide__slide {
        height: 650px; /* Selaraskan tinggi CSS dengan JS */
    }
/* GANTI ATURAN ".price-grid, .service-grid" YANG LAMA DENGAN DUA ATURAN DI BAWAH INI */

/* REVISI: Membuat Paket Harga menjadi 1 kolom ke bawah */
.price-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Sedikit menambah jarak vertikal antar kartu harga */
}

/* Membiarkan section Layanan Kami tetap 2 kolom */
.service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
/* Tambahkan aturan-aturan baru ini untuk memperbaiki konten di dalam lingkaran */
.service-item {
    padding: 0.5rem; /* Mengurangi padding agar konten pas */
}
.service-item i {
    font-size: 1.8rem; /* Mengecilkan ikon */
    margin-bottom: 0.4rem;
}
.service-item h3 {
    font-size: 0.8rem; /* Mengecilkan judul layanan */
    line-height: 1.2;
}
.service-item p {
    font-size: 0.7rem; /* Mengecilkan deskripsi */
    line-height: 1.3;
    padding: 0 5px; /* Menambah sedikit padding horizontal pada teks */
}
    .whatsapp-float { 
        width: 50px; 
        height: 50px; 
        bottom: 10px; 
        right: 10px; 
        font-size: 24px; 
    }
    .custom-float {
        width: 50px;
        height: 50px;
        bottom: 65px; /* Atur posisi di atas tombol WA (20px + 50px + 10px spasi) */
        right: 10px; /* Sejajarkan dengan tombol WA */
    }
    .popup-content { width: 90%; }
    .wave-container { height: 70px; }
    #contact { padding-bottom: 70px; }
	
	.logo img {
    width: 50%;
	padding-top: 10px;
}
}