/* ==================== RESET & VARIABEL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6C5CE7;
    --primary-dark: #5B4BD1;
    --secondary: #00CEC9;
    --accent: #FDCB6E;
    --dark: #1A1A2E;
    --dark-2: #16213E;
    --gray: #6B7280;
    --light: #F8F9FE;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    --gradient-2: linear-gradient(135deg, #00CEC9 0%, #81ECEC 100%);
    --shadow: 0 10px 40px rgba(108, 92, 231, 0.15);
    --shadow-lg: 0 20px 60px rgba(108, 92, 231, 0.25);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==================== HEADER ==================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.logo-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--gray);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
}

.btn-nav {
    background: var(--gradient) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?w=1600&q=80') center/cover no-repeat;
    transform: scale(1.05);
    animation: zoomSlow 20s ease-in-out infinite alternate;
}

@keyframes zoomSlow {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(108, 92, 231, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease both;
}

.hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease 0.1s both;
}

.hero .highlight {
    background: linear-gradient(135deg, #FDCB6E, #FFEAA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 32px;
    animation: fadeUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    animation: fadeUp 0.8s ease 0.4s both;
}

.stat h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-wa {
    background: #25D366;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-wa:hover {
    background: #1EBE5A;
    transform: translateY(-3px);
}

/* ==================== SECTION ==================== */
.section {
    padding: 90px 0;
}

.bg-light {
    background: var(--light);
}

.bg-dark {
    background: var(--dark);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-label.light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.05rem;
}

.bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== LAYANAN ==================== */
.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.layanan-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.layanan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 92, 231, 0.2);
}

.layanan-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.layanan-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.layanan-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.layanan-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.layanan-link:hover {
    color: var(--primary-dark);
}

/* ==================== FILTER ==================== */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid rgba(108, 92, 231, 0.2);
    background: white;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
}

/* ==================== PRODUK ==================== */
.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.produk-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    animation: fadeUp 0.5s ease both;
}

.produk-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.produk-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light);
}

.produk-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produk-card:hover .produk-img img {
    transform: scale(1.1);
}

.produk-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.produk-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.produk-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.produk-body p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 16px;
    flex: 1;
}

.produk-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.produk-harga {
    font-weight: 800;
    color: var(--primary);
    font-size: 1rem;
}

.produk-harga small {
    display: block;
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 400;
}

.btn-pesan {
    padding: 8px 18px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-pesan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* ==================== GALERI ==================== */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.galeri-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.galeri-item:nth-child(3n+1) {
    grid-row: span 2;
    aspect-ratio: auto;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeri-item:hover img {
    transform: scale(1.1);
}

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.85), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

.galeri-overlay h4 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    transform: translateY(10px);
    transition: var(--transition);
}

.galeri-item:hover .galeri-overlay h4 {
    transform: translateY(0);
}

/* ==================== TENTANG ==================== */
.tentang-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tentang-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tentang-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.tentang-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.tentang-text p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.tentang-list {
    margin: 24px 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tentang-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== TESTIMONI ==================== */
.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimoni-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.testimoni-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimoni-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimoni-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
}

.testimoni-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimoni-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimoni-user h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.testimoni-user p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ==================== CTA ==================== */
.cta-section {
    padding: 80px 0;
    background: var(--light);
}

.cta-box {
    background: var(--gradient);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.cta-box h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-section .btn-outline {
    color: white;
    border-color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* ==================== KONTAK ==================== */
.kontak-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.kontak-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.kontak-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.kontak-icon {
    width: 52px;
    height: 52px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.kontak-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.kontak-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

.kontak-form {
    background: var(--light);
    padding: 36px;
    border-radius: var(--radius);
}

.kontak-form h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.kontak-form input,
.kontak-form select,
.kontak-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(108, 92, 231, 0.15);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 16px;
    transition: var(--transition);
    background: white;
    color: var(--dark);
}

.kontak-form input:focus,
.kontak-form select:focus,
.kontak-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.kontak-form textarea {
    resize: vertical;
    min-height: 100px;
}

.kontak-form .btn {
    width: 100%;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3,
.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-col h3 {
    font-size: 1.5rem;
    color: var(--accent);
}

.footer-col h4 {
    font-size: 1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ==================== FLOATING WA ==================== */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.wa-float svg {
    width: 32px;
    height: 32px;
}

.wa-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* ==================== FADE IN ANIMATION ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .tentang-wrapper,
    .kontak-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .galeri-item:nth-child(3n+1) {
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        align-items: stretch;
    }
    .nav-links.open {
        transform: translateY(0);
    }
    .nav-links a {
        padding: 12px 16px;
        text-align: left;
    }
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    .hero-stats {
        gap: 30px;
    }
    .stat h3 {
        font-size: 1.5rem;
    }
    .section {
        padding: 60px 0;
    }
    .tentang-list {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 40px 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .wa-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
    .wa-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .hero-stats .stat {
        flex: 1 1 40%;
    }
    .produk-grid {
        grid-template-columns: 1fr;
    }
    .filter-buttons {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}