/* Jafirda - Redesign Theme (Alifahnurindo Inspired) */
:root {
    --primary: #0F4C3A;
    --primary-light: #1A7056;
    --primary-dark: #0A3326;
    --accent: #D4AF37;
    --bg-light: #F9F9F9;
    --bg-dark: #121212;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;
    --teal: #10B981;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-main); line-height: 1.6; background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-dark); font-weight: 700; margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

/* Top Bar */
.top-bar { background: var(--primary-dark); color: var(--white); padding: 8px 0; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-contact { display: flex; gap: 20px; }

/* Navbar */
.navbar { background: var(--white); box-shadow: var(--shadow-sm); padding: 15px 0; position: sticky; top: 0; z-index: 1000; transition: var(--transition); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.brand-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 15px; font-weight: 600; font-size: 0.95rem; }
.nav-links a { position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }
.btn-nav-wa { background: #25D366; color: white; padding: 8px 20px; border-radius: 5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.btn-nav-wa:hover { background: #128C7E; transform: translateY(-2px); }

/* Buttons */
.btn { display: inline-block; padding: 12px 25px; border-radius: 6px; font-weight: 600; text-align: center; border: none; cursor: pointer; transition: var(--transition); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.btn-accent { background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover { background: #C19B26; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Swiper Hero */
.hero-slider { width: 100%; height: 85vh; min-height: 600px; }
.swiper-slide { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-content { position: relative; z-index: 2; color: var(--white); text-align: center; max-width: 800px; padding: 0 20px; }
.hero-content h1 { color: var(--white); font-size: 3.5rem; line-height: 1.2; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.swiper-button-next, .swiper-button-prev { color: var(--white) !important; }
.swiper-pagination-bullet-active { background: var(--accent) !important; }

/* Stats Floating */
.stats-container { margin-top: -60px; position: relative; z-index: 10; padding: 0 20px; }
.stats-banner { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-md); padding: 30px; display: flex; justify-content: space-around; }
.stat-box { text-align: center; }
.stat-box h3 { font-size: 2.5rem; color: var(--accent); margin-bottom: 5px; }
.stat-box p { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; border-radius: 15px; box-shadow: var(--shadow-md); transition: var(--transition); }
.about-img img:hover { transform: scale(1.02); }
.badge-experience { position: absolute; bottom: 30px; right: -20px; background: var(--white); padding: 20px; border-radius: 10px; box-shadow: var(--shadow-lg); border-left: 5px solid var(--accent); }

/* Features / Keunggulan */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.feature-card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: var(--shadow-sm); text-align: center; border: 1px solid #eee; transition: var(--transition); }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.feature-icon { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.feature-card h4 { font-size: 1.2rem; margin-bottom: 10px; }

/* Packages */
.section-subtitle { display: block; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pkg-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid #f0f0f0; }
.pkg-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.pkg-img-wrapper { position: relative; overflow: hidden; }
.pkg-img { width: 100%; height: auto; display: block; transition: var(--transition); }
.pkg-card:hover .pkg-img { transform: scale(1.1); }
.pkg-duration { position: absolute; top: 15px; left: 15px; background: var(--accent); color: var(--primary-dark); padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.85rem; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.pkg-content { padding: 25px; }
.pkg-rating { color: #F59E0B; margin-bottom: 10px; font-size: 0.9rem; }
.pkg-title { font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 15px; }
.pkg-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.pkg-price .label { color: var(--text-muted); font-size: 0.9rem; }
.pkg-price .amount { font-size: 1.5rem; font-weight: 700; color: var(--primary); font-family: var(--font-heading); }
.pkg-features { list-style: none; margin-bottom: 25px; }
.pkg-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; color: #555; }
.pkg-features li::before { content: '✓'; color: white; background: var(--teal); width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.7rem; font-weight: bold; }
.btn-wa { background: #25D366; color: white; text-align: center; padding: 12px; border-radius: 6px; font-weight: 600; display: block; transition: var(--transition); }
.btn-wa:hover { background: #128C7E; transform: translateY(-2px); }

/* Partners */
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; align-items: center; opacity: 0.7; }
.partner-logos img { height: 50px; filter: grayscale(100%); transition: var(--transition); }
.partner-logos img:hover { filter: grayscale(0); transform: scale(1.1); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-item { border-radius: 8px; overflow: hidden; height: 250px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }

/* Testimonials */
.testi-card { background: white; padding: 30px; border-radius: 12px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent); }
.testi-content { font-style: italic; color: #555; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 15px; }
.testi-avatar { width: 50px; height: 50px; background: var(--primary-light); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }

/* FAQ */
.faq-item { border: 1px solid #ddd; border-radius: 8px; margin-bottom: 15px; overflow: hidden; }
.faq-q { padding: 15px 20px; background: #fff; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-q:hover { background: #f9f9f9; }
.faq-a { padding: 0 20px; background: #fff; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; color: #666; }
.faq-item.active .faq-a { padding: 15px 20px; max-height: 500px; }

/* Footer */
.footer { background: var(--primary-dark); color: white; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: white; margin-bottom: 20px; font-size: 1.2rem; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--accent); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a:hover { color: var(--accent); padding-left: 5px; }

/* Animations Utilities */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.hover-card { transition: var(--transition); }
.hover-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover) !important; }

@media (max-width: 1024px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .top-bar { display: none; }
    .hero-slider { height: 100vh; min-height: 650px; }
    .swiper-slide { align-items: flex-start; padding-top: 100px; }
    .hero-content h1 { font-size: 2.2rem; margin-bottom: 15px; }
    .hero-content p { font-size: 1.05rem; margin-bottom: 25px; line-height: 1.5; }
    .about-grid, .features-grid, .footer-grid, .packages-grid { grid-template-columns: 1fr; }
    .stats-banner { flex-direction: column; gap: 20px; padding: 20px; }
    .stats-container { margin-top: -30px; }
    .stat-box h3 { font-size: 2rem; }
    
    .mobile-menu-toggle { display: block !important; }
    .hide-mobile { display: none; }
    .btn-nav-wa { padding: 6px 10px; font-size: 0.9rem; }
    
    .brand-logo img { height: 35px !important; margin-right: 8px !important; }
    .brand-logo span:first-child { font-size: 1rem !important; }
    .brand-logo span:last-child { font-size: 0.5rem !important; }
    
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: white; 
        flex-direction: column; 
        gap: 0; 
        box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
        border-top: 1px solid #eee;
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 15px 20px; border-bottom: 1px solid #eee; width: 100%; display: block; }
    .nav-links a::after { display: none; }
}
/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    padding: 10px 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.nav-dropdown-menu a {
    display: block !important;
    padding: 10px 20px !important;
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #f0f0f0;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background-color: #f9f9f9;
    color: var(--primary) !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: transparent;
        padding: 0 0 0 15px;
    }
    
    .nav-dropdown:hover .nav-dropdown-menu {
        display: block;
    }
}

/* Sticky WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.floating-wa:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
    animation: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
