@import url('https://fonts.googleapis.com/css2?family=Felixti&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.containerhero {
    width: 90%;
    max-width: 1200px; /* Mengurangi dari 1700px ke 1200px */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0;
}


/* Utility Classes */
.hidden {
    display: none !important;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position:absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Adobe Jenson Pro';
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 20px;
    font-weight:normal;
    color: #8B5CF6;
}

.logo-img {
    width: 50px;
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #8B5CF6;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Updated */
.hero {
    background-image: url('ASSET/2.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 70vh; 
    min-height: 500px; 
    max-height: 700px; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 20px; 
    color: rgb(255, 255, 255);
    text-align: left;
    margin-top: 80px; 
    position: relative;
}

/* Overlay untuk readability text */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    max-width: 600px; /* Increase dari 500px */
    margin-left: 0;
    position: relative;
    z-index: 2; /* Di atas overlay */
}

.hero-text {
    color: white;
}

.hero-tag {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3rem; /* Mengurangi dari 3.5rem */
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    object-fit: cover;
}

/* Services Section */
.services {
    padding-top: 1rem;
    padding-bottom: 3rem;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #8B5CF6;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.service-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* About Section */
.about {
    padding: 3rem 0;
}

.about-content {
    text-align: center;
    margin-bottom: 3rem;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 92, 246, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Experience Slider Styles */
.experience-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* Packages Section */
.packages {
    padding: 3rem 0;
    background: #f8f9fa;
}

.package-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.toggle-btn {
    background: white;
    color: #8B5CF6;
    border: 2px solid #8B5CF6;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toggle-btn.active,
.toggle-btn:hover {
    background: #8B5CF6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeIn 0.5s ease-in;
    align-items: stretch; /* Membuat semua card memiliki tinggi yang sama */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-header {
    padding: 2rem;
    text-align: center;
    flex-shrink: 0; /* Header tidak akan mengecil */
}

.package-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #8B5CF6;
    margin-bottom: 0.5rem;
}

.package-price span {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
}

.package-features {
    padding: 0 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-features ul {
    list-style: none;
    margin-bottom: auto;
    flex-grow: 1;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.package-features li:last-child {
    border-bottom: none;
}

.btn {
    background: #8745f9;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0; /* Button tidak akan mengecil */
}

.btn1 {
    background: #8745f9;
    color: white;
    padding: 1rem 0rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 100;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 37%;
}
.btn:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 200%; /* 2 slides x 100% */
}

.testimonials-slide {
    width: 50%; /* Each slide takes 50% of wrapper (since wrapper is 200%) */
    flex-shrink: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 1rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: white;
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B5CF6;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #8B5CF6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.25rem 0;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #8B5CF6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Styling untuk Tombol WhatsApp Melayang */
.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;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #FFF;
    background-color: #128C7E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 0.5rem 1rem; /* Kurangi dari 1rem ke 0.5rem 1rem */
        box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.3rem 0; /* Tambahkan ini untuk mengecilkan jarak antar menu */
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
        padding: 30px 15px;
        margin-top: 70px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    .containerhero {
        width: 95%;
        padding: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .service-icon img {
        width: 25px;
        height: 25px;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 1rem; /* Konsisten dengan margin toggle */
        margin-top: 2rem;
    }
    
    .package-card {
        padding: 0.8rem;
        border-radius: 10px;
    }
    
    .package-header {
        padding: 0.2rem;
    }
    
    .package-price {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }
    
    .package-price span {
        font-size: 0.7rem;
    }
    
    .package-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .package-features {
        padding: 0 0.8rem 0.8rem;
    }
    
    .package-features ul {
        margin-bottom: 0.8rem;
    }
    
    .package-features li {
        font-size: 0.75rem;
        padding: 0.2rem 0;
    }
    
    .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 20px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .testimonial-card p {
        font-size: 0.9rem;
    }
    
    .testimonial-author {
        font-size: 1rem;
    }


    .gallery {
        grid-template-columns: 1fr;
    }

    .experience-slider {
        margin: 0 1rem;
    }

    .slider-wrapper {
        height: 300px;
    }

    nav {
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .package-toggle {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        margin: 2rem 1rem; /* Sejajar dengan packages-grid padding */
        align-items: center;
    }

    .toggle-btn {
        width: auto;
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero {
        height: 50vh;
        min-height: 350px;
        padding: 20px 10px;
    }

    .about h2{
        padding: 0rem;
    }

  
    

    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonial-card {
        padding: 1.2rem;
        margin: 0 0.2rem;
    }
    
    .testimonial-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-rating {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .slider-wrapper {
        height: 250px;
    }

    .package-toggle {
        gap: 0.3rem;
        margin: 2rem 0.5rem; /* Sejajar dengan packages-grid padding di mobile */
    }

    .toggle-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }

    .packages-grid {
        padding: 0.5rem; /* Konsisten dengan margin toggle */
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    scroll-margin-top: 80px;
}

/* Animation classes for scroll animations */
.service-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animate-in,
.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}