@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    /* Theme Colors fallbacks */
    --primary: #0f2c59;
    --secondary: #ff7a00;
    --success: #25d366;
    --dark: #0f172a;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text-main: #334155;
    --text-muted: #64748b;
    
    /* Fonts */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Radius */
    --radius-card: 20px;
    --radius-btn: 12px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(15, 44, 89, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 44, 89, 0.08), 0 4px 6px -2px rgba(15, 44, 89, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(15, 44, 89, 0.1), 0 10px 10px -5px rgba(15, 44, 89, 0.04);
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky navbar */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .grid-6 {
        grid-template-columns: 1fr;
    }
}

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

/* Section Header */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-btn);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--secondary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #e06c00;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 122, 0, 0.2);
}

.btn-success {
    background-color: var(--success);
    color: #ffffff;
}

.btn-success:hover {
    background-color: #1ebe56;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--primary);
    transform: translateY(-2px);
}

/* HEADER & NAVBAR */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.logo span {
    color: var(--secondary);
}

.logo i {
    color: #3b82f6;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-main);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary);
}

.nav-btn {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 8px;
    white-space: nowrap;
}

/* Mobile Menu Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 1100px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 30px;
        transition: 0.3s ease;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
}

/* HERO SECTION */
.hero-section {
    background: radial-gradient(circle at bottom left, #0e1e38 0%, var(--primary) 100%);
    color: #ffffff;
    padding: 140px 0 90px;
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 122, 0, 0.15);
    color: #ffaa44;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 122, 0, 0.3);
}

.hero-content h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    color: #cbd5e1;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
}

.hero-trust-list {
    display: flex;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #e2e8f0;
}

.hero-trust-item i {
    color: var(--secondary);
    font-size: 16px;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.hero-badge-float {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background-color: var(--secondary);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    color: #ffffff;
    animation: float 4s ease-in-out infinite;
}

.hero-badge-float span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-badge-float strong {
    font-size: 20px;
    font-weight: 800;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-trust-list {
        flex-direction: column;
        gap: 12px;
    }
}

/* LAYANAN SECTION */
.service-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 44, 89, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(15, 44, 89, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--secondary);
    color: #ffffff;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* KEUNGGULAN SECTION */
.keunggulan-section {
    background-color: var(--light);
}

.keunggulan-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.keunggulan-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 122, 0, 0.1);
    color: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.keunggulan-info h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.keunggulan-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* PACKAGES / PRICING SECTION */
.pricing-grid {
    align-items: stretch;
}

.pricing-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Featured styling */
.pricing-card.featured {
    border: 3px solid var(--secondary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pricing-card.featured .pricing-name {
    color: var(--secondary);
}

.pricing-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.pricing-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pricing-feature-item i {
    color: #10B981;
    font-size: 14px;
}

.pricing-btn {
    width: 100%;
}

.pricing-card.featured .pricing-btn {
    background-color: var(--secondary);
}

/* PORTFOLIO / GALERI SECTION */
.portfolio-section {
    background-color: var(--light);
}

.portfolio-card {
    background-color: #ffffff;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Before After Compare Slider Container */
.compare-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.compare-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.compare-img.after {
    z-index: 1;
}

.compare-img.before {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.compare-label {
    position: absolute;
    bottom: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    color: #ffffff;
}

.compare-label.before-lbl {
    left: 12px;
    background-color: rgba(220, 38, 38, 0.85);
}

.compare-label.after-lbl {
    right: 12px;
    background-color: rgba(16, 185, 129, 0.85);
}

.compare-slider-input {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    z-index: 20;
    cursor: ew-resize;
}

.compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #ffffff;
    z-index: 15;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.compare-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 12px;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.portfolio-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* TESTIMONI SECTION */
.testimonial-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    color: #ffb800;
    font-size: 16px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #e2e8f0;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-location {
    font-size: 11px;
    color: var(--text-muted);
}

/* FAQ SECTION */
.faq-section {
    background-color: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question-btn {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
}

.faq-question-btn h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    padding-right: 20px;
}

.faq-icon-arrow {
    font-size: 18px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-muted);
}

/* KONTAK & BOOKING FORM */
.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

@media (max-width: 768px) {
    .kontak-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.kontak-info-card {
    background-color: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-card);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kontak-info-header h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 12px;
}

.kontak-info-header p {
    color: #cbd5e1;
    font-size: 14px;
}

.kontak-details {
    list-style: none;
    margin: 40px 0;
}

.kontak-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.kontak-detail-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--secondary);
    flex-shrink: 0;
}

.kontak-detail-text h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.kontak-detail-text p {
    color: #e2e8f0;
    font-size: 13px;
}

.kontak-map {
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Booking Form */
.booking-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 480px) {
    .booking-card {
        padding: 24px;
    }
}

.booking-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.booking-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-btn);
    outline: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

.form-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* BANNER CTA FOOTER */
.banner-section {
    background-color: var(--secondary);
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.banner-content h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.banner-content p {
    color: #ffe5cc;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.banner-trust-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.banner-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.banner-trust-item i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .banner-content h2 {
        font-size: 28px;
    }
    .banner-trust-list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* FOOTER */
.site-footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
}

.footer-logo span {
    color: var(--secondary);
}

.footer-copy {
    font-size: 13px;
}

@media (max-width: 576px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* FLOATING WHATSAPP */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--success);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
