:root {
    --primary-color: #2E7D32;
    --secondary-color: #558B2F;
    --background-light: #F1F8E9;
    --text-dark: #33691E;
    --nav-height: 44px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #fff;
    color: var(--text-dark);
    padding-top: var(--nav-height);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 50px 0;
    background: var(--background-light);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 28px;
    line-height: 1.10722;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.hero-image {
    margin-top: 30px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Products Section */
.products-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.02);
}

.product-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-card .price {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-card .description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s;
}

.button.primary {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.button.secondary {
    color: var(--primary-color);
}

.button:hover {
    opacity: 0.8;
}

.button.primary:hover {
    background: #1B5E20;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
} 

.categories-section {
    padding: 60px 20px;
    background: var(--background-light);
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.categories-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(255,255,255,0.9);
    margin: 0;
    text-align: center;
    color: var(--text-dark);
} 

/* Footer Styles */
.footer {
    background-color: var(--background-light);
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    margin: 5px 0;
} 

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Cursor pointer untuk gambar yang bisa diklik */
.product-card img,
.category-card {
    cursor: pointer;
} 

/* Menambahkan proteksi gambar */
img {
    pointer-events: none; /* Mencegah right-click */
    user-select: none; /* Mencegah select/highlight */
    -webkit-user-drag: none; /* Mencegah drag di webkit browsers */
    -webkit-touch-callout: none; /* Mencegah context menu di iOS */
}

/* Menambahkan overlay transparan pada gambar */
.product-card a, 
.category-card {
    position: relative;
    display: block;
}

.product-card a::after,
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
} 

/* Optimasi gambar */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    display: block;
    width: 100%;
}

.product-card img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}

.hero-image img {
    aspect-ratio: 2/1;
    object-fit: cover;
    width: 100%;
} 

/* Tambahkan style untuk nav-icon */
.nav-icon {
    color: #1d1d1f;
    font-size: 18px;
    display: block !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icons a {
    text-decoration: none;
    color: inherit;
}

/* Override security styles untuk nav-icon */
.nav-icon img,
.nav-icon i {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
} 