:root {
    --primary: #4a6cf7;
    --secondary: #6f42c1;
    --accent: #ff6b6b;
    --dark: #1d2a3a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border: #e9ecef;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f7fe;
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Desktop Auth Buttons (Default) */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Auth Buttons (Default) */
.mobile-auth {
    display: none;
}

.btn {
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* --- Hero Section --- */
.hero {
    padding: 5rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('./../css/umkm.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    
    /* Tambahkan tinggi gambar di sini */
    min-height: 80vh; /* Contoh: membuat tinggi minimal 80% dari viewport height */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    
    /* Tambahkan outline putih tipis */
    -webkit-text-stroke: 0.3px yellow; /* Untuk kompatibilitas browser WebKit (Chrome, Safari) */
    text-stroke: 0.3px yellow; /* Standar CSS */
}

.hero p {
    font-size: 1.4rem;
    color: whitesmoke;
    margin-bottom: 2.5rem;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}.logo img {
    /* Ukuran gambar Anda */
    width: 50px;
    height: 50px;
    
    /* Membuat bentuk lingkaran */
    border-radius: 50%;
    
    /* Memberi warna latar belakang putih */
    background-color: white;
    
    /* Opsi: Menambahkan padding agar lingkaran lebih besar dari gambar */
    padding: 5px; /* Sesuaikan nilai ini */
}

/* Container untuk badge dan harga */
.info-row {
    display: flex; /* Mengaktifkan Flexbox */
    align-items: center; /* Meratakan item secara vertikal di tengah */
    justify-content: space-between; /* Memberi jarak antara harga dan badge */
    margin-top: 10px; /* Jarak dari deskripsi di atas */
}

/* Styling untuk Badge Poin */
.point-badge {
    background-color: #dc3545; /* Warna latar belakang merah */
    color: white; /* Warna teks putih */
    font-size: 0.8em; /* Ukuran font lebih kecil */
    font-weight: bold;
    padding: 4px 8px; /* Padding di dalam badge */
    border-radius: 20px; /* Membuat sudut membulat seperti pil */
    display: flex;
    align-items: center;
    gap: 5px; /* Jarak antara ikon dan teks */
}

/* Styling untuk Ikon di dalam Badge */
.point-badge .fas {
    color: #ffc107; /* Warna ikon poin, misalnya emas */
}

/* Styling harga (dari kode sebelumnya) */
.gallery-price {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* --- Filter Section --- */
.filters {
    padding: 2rem;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--light);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
}

/* --- Gallery Section --- */
.gallery {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-content {
    padding: 1.2rem;
}

.gallery-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gallery-price {
    font-weight: 500;
    color: var(--primary);
    font-size: 1rem;
}

/* Style untuk kotak alamat toko */
.address-box {
    margin-top: 10px; /* Jarak dari deskripsi di atas */
    padding: 8px 12px; /* Ruang di dalam kotak */
    background-color: #f8f8f8; /* Warna latar belakang kotak */
    border: 1px solid #ddd; /* Border tipis */
    border-radius: 8px; /* Sudut membulat */
    font-size: 0.9em; /* Ukuran font lebih kecil */
    color: #555; /* Warna teks */
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- Features Section --- */
.features {
    padding: 4rem 2rem;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer-col p {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 0.8rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .auth-buttons {
        display: none;
    }

    .mobile-auth {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        /* Hilangkan padding dan background */
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .gallery {
        padding: 2rem 1rem;
    }
    
    .features {
        padding: 2rem 1rem;
    }
    
    footer {
        padding: 2rem 1rem;
    }
}
/* Mengatur warna dan dekorasi teks pada tautan email */
.kontak-email {
    color: whitesmoke; /* Mengambil warna teks dari elemen induk (misalnya, hitam) */
    text-decoration: none; /* Menghilangkan garis bawah */
}

/* Jika Anda ingin mengubah warna saat kursor diarahkan (hover) */
.kontak-email:hover {
    color: #fd0202; /* Mengubah warna menjadi biru tua saat di hover */
}