:root {
    --gold: #D4AF37;
    --gold-dark: #B8962B;
    --charcoal: #0A0A0A;
    --ivory: #F9F6F0;
    --white: #FFFFFF;
    --gray-light: #F3F4F6;
    --gray: #6B7280;
    --wa-green: #25D366;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sembunyikan scrollbar sepenuhnya */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none !important;
}

html, body {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid var(--ivory);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
.logo,
.heading-playfair {
    font-family: var(--font-heading);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.text-gold {
    color: var(--gold);
}

.text-gray {
    color: var(--gray);
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.w-100 {
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--ivory);
}

.text-center {
    text-align: center;
}

.align-center {
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.glass-card:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    /* Modern rounded shape */
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    transform: scale(1.05);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--charcoal);
}

.btn-text {
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text i {
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--charcoal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.navbar.scrolled .nav-links a.active {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .menu-toggle {
    color: var(--charcoal);
}

/* Hero */
.hero {
    height: 100vh;
    background-color: var(--charcoal);
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

@keyframes kenburns {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: transform, opacity;
}

.hero-slider .slide.active {
    opacity: 1;
    animation: kenburns 8s linear forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker gradient for better text contrast on any image */
    background: linear-gradient(to right, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    /* Soft text shadow for maximum readability without looking cheap */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.tagline {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95; /* Increased opacity slightly */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Features */
.feature-icon {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

/* About */
.about-img img {
    width: 100%;
    border-radius: 12px;
}

.about-list {
    list-style: none;
}

.about-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Products Premium Card */
.premium-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.premium-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-img {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    background-color: var(--gray-light);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.premium-card:hover .product-img img {
    transform: scale(1.08) translateZ(0);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--white);
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.product-info {
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gray);
    letter-spacing: 1px;
}

.product-info h3 {
    font-family: var(--font-heading);
    margin-top: 0.5rem;
    font-size: 1.4rem;
}

.product-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Stats */
.statistics {
    background: var(--charcoal);
    color: var(--white);
    padding: 5rem 0;
}

.stat-number {
    color: var(--gold);
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Masonry Gallery */
.masonry-grid {
    column-count: 4;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

/* Testimonials */
.testimonial-card .stars {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: #444;
    margin-bottom: 1.5rem;
}

.testimonial-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* Articles */
.article-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.article-content {
    padding: 2rem;
}

.article-date {
    font-size: 0.85rem;
    color: var(--gray);
}

.article-content h3 {
    font-family: var(--font-heading);
    margin: 1rem 0;
    font-size: 1.3rem;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.info-list {
    list-style: none;
}

.info-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-list i {
    color: var(--gold);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.info-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: inherit;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: anywhere;
    width: 100%;
    transition: color 0.3s ease;
}

.info-list a:hover {
    color: var(--gold);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding-top: 5rem;
}

.footer-grid h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 0.5rem;
}

.social-links a:hover {
    background: var(--gold);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-wa,
.back-to-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.floating-wa {
    background: var(--wa-green);
    animation: pulse 2s infinite;
}

.back-to-top {
    background: var(--gold);
    display: none;
    font-size: 18px;
}

.floating-wa:hover,
.back-to-top:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Lightbox Preview */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--gold);
}

.preview-clickable {
    cursor: zoom-in !important;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }

    .navbar.scrolled .nav-links a, .nav-links a {
        color: var(--charcoal);
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-wa-btn {
        display: none !important;
    }

    
    .section {
        padding: 4rem 0;
    }
    
    .grid-2, .grid-3, .grid-4, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    h1 {
        font-size: 2.2rem;
    }
}


@media (max-width: 992px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 1rem;
    }
    
    .masonry-item {
        margin-bottom: 1rem;
    }
}