/* =================== Global Styles =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37; /* Gold */
    --primary-hover: #b8860b;
    --secondary-color: #111111; /* Deep Onyx */
    --light-color: #f8f9fa;
    --dark-color: #0a0a0a;
    --text-main: #333333;
    --text-muted: #6c757d;
    --border-color: #eaedf1;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.2);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--light-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =================== Navigation =================== */
.navbar {
    background-color: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

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

.navbar-brand a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #d4af37, #f3e5ab, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-link:not(.btn-primary):hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--dark-color);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link.btn-primary::after {
    display: none !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.3);
    color: var(--dark-color);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    margin-top: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* =================== Main Content =================== */
.main-content {
    min-height: calc(100vh - 300px);
    padding: 2rem 0;
}

/* =================== Buttons =================== */
.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}

.btn-secondary {
    background-color: #999;
    color: white;
}

.btn-secondary:hover {
    background-color: #777;
}

.btn-danger {
    background-color: var(--error-color);
    color: white;
}

.btn-danger:hover {
    background-color: #da190b;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* =================== Slider =================== */
.slider-section {
    position: relative;
    background: var(--secondary-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-lg);
}

.slider {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.2) 50%, rgba(17,17,17,0.6) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.5);
    color: var(--secondary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.8);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary-color);
}

/* =================== Info Section =================== */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.info-box {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.info-box h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* =================== Products Grid =================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(4px);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.product-category {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-detail {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.product-stock {
    color: var(--success-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-actions a,
.product-actions button {
    flex: 1;
    text-align: center;
}

/* =================== Section Title =================== */
.section-title {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 3px;
}

.featured-section,
.products-section {
    margin-bottom: 3rem;
}

/* =================== Forms =================== */
.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox input {
    width: auto;
}

/* =================== Auth Section =================== */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.auth-card h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.auth-link {
    text-align: center;
    margin-bottom: 1rem;
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.demo-info {
    background: #f0f0f0;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.demo-info code {
    background: #ddd;
    padding: 0.2rem 0.4rem;
    border-radius: 2px;
    font-family: monospace;
}

/* =================== Alerts =================== */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =================== Profil Section =================== */
.profil-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    min-height: 600px;
}

.profil-sidebar {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.user-card {
    background: linear-gradient(135deg, var(--secondary-color), #4a4038);
    color: white;
    text-align: center;
    padding: 2rem;
}

.user-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.user-card h3 {
    margin-bottom: 0.5rem;
}

.email {
    font-size: 0.9rem;
    opacity: 0.9;
}

.member-since {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.profil-menu {
    list-style: none;
    padding: 0;
}

.profil-menu li a {
    display: block;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.profil-menu li a:hover,
.profil-menu li a.active {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.profil-content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profil-content h2 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

/* =================== Keranjang =================== */
.keranjang-section {
    margin-bottom: 2rem;
}

.keranjang-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.keranjang-items {
    background: white;
    border-radius: 8px;
    overflow: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead {
    background-color: var(--light-color);
}

.cart-table th,
.cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cart-product {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-product h4 {
    margin-bottom: 0.5rem;
}

.cart-product a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.qty-form {
    display: flex;
}

.qty-form input {
    width: 70px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.keranjang-summary {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.keranjang-summary h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.empty-cart,
.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-cart i,
.empty-state i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-cart h2,
.empty-state h2 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* =================== Checkout =================== */
.checkout-section {
    margin-bottom: 2rem;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.checkout-form {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.checkout-summary {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.summary-items {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.summary-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.item-details p {
    font-size: 0.85rem;
    color: #666;
}

.item-price {
    font-weight: bold;
    color: var(--primary-color);
}

.summary-totals {
    padding-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.total-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: 0.75rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* =================== Pesanan =================== */
.pesanan-section {
    margin-bottom: 2rem;
}

.pesanan-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pesanan-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pesanan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-bottom: 1px solid var(--border-color);
}

.pesanan-header h3 {
    color: var(--secondary-color);
}

.pesanan-date {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.status {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
}

.status.pending {
    background-color: var(--warning-color);
}

.status.diproses {
    background-color: #2196f3;
}

.status.dikirim {
    background-color: #ff9800;
}

.status.diterima {
    background-color: var(--success-color);
}

.status.dibatalkan {
    background-color: var(--error-color);
}

.pesanan-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
}

.pesanan-col h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.pesanan-col p {
    font-size: 0.9rem;
    color: #666;
}

.pesanan-footer {
    padding: 1rem;
    background: var(--light-color);
    text-align: center;
}

.pesanan-detail {
    padding: 1.5rem;
    background: #f9f9f9;
    border-top: 1px solid var(--border-color);
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.detail-table th,
.detail-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.detail-table th {
    background-color: var(--light-color);
    font-weight: bold;
}

/* =================== Produk Section =================== */
.produk-section {
    margin-bottom: 2rem;
}

.produk-header {
    text-align: center;
    margin-bottom: 2rem;
}

.produk-header h1 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.produk-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.produk-sidebar {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.filter-box h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 0.5rem;
}

.category-list a:hover,
.category-list a.active {
    color: var(--primary-color);
    font-weight: bold;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    margin: 0;
}

.produk-main {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.produk-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 250px;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.search-form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-box select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.no-products {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.no-products i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* =================== Detail Produk =================== */
.detail-produk-section {
    margin-bottom: 2rem;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.detail-galeri {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-images {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
}

.thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb:hover,
.thumb.active {
    border-color: var(--primary-color);
}

.detail-info h1 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.rating {
    margin-bottom: 1rem;
}

.stars {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.review-count {
    color: #999;
    font-size: 0.9rem;
}

.price-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stok {
    color: var(--success-color);
}

.specs {
    margin-bottom: 1.5rem;
}

.specs h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.specs ul {
    list-style: none;
}

.specs li {
    padding: 0.5rem 0;
    color: #666;
}

.description {
    margin-bottom: 1.5rem;
}

.description h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.description p {
    color: #666;
    line-height: 1.8;
}

.buy-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector label {
    font-weight: bold;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-input button {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    background-color: var(--light-color);
    transition: background 0.2s;
}

.quantity-input button:hover {
    background-color: #e0e0e0;
}

.quantity-input input {
    border: none;
    width: 60px;
    text-align: center;
    padding: 0.5rem;
}

.related-products {
    margin-top: 3rem;
}

.related-products h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* =================== Galeri =================== */
.galeri-section {
    margin-bottom: 2rem;
}

.galeri-header {
    text-align: center;
    margin-bottom: 2rem;
}

.galeri-header h1 {
    color: var(--secondary-color);
}

.galeri-header p {
    color: #666;
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.galeri-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.galeri-card:hover {
    transform: translateY(-5px);
}

.galeri-title {
    padding: 1.5rem;
    background: var(--light-color);
    text-align: center;
}

.galeri-title h3 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.galeri-title p {
    color: #666;
    font-size: 0.9rem;
}

.photo-count {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.galeri-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f9f9f9;
}

.photo-item {
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-item img:hover {
    transform: scale(1.1);
}

.photo-item.more {
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.galeri-actions {
    padding: 1rem;
    text-align: center;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.lightbox-image {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    text-align: center;
    color: white;
    padding: 1rem;
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
}

.close {
    position: absolute;
    top: 35px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* =================== Kontak =================== */
.kontak-section {
    margin-bottom: 2rem;
}

.kontak-header {
    text-align: center;
    margin-bottom: 3rem;
}

.kontak-header h1 {
    color: var(--secondary-color);
}

.kontak-header p {
    color: #666;
}

.kontak-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.kontak-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.kontak-info .info-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
}

.kontak-info .info-box i {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.kontak-info .info-box h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.kontak-form {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.kontak-form h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* =================== Search =================== */
.search-section {
    margin-bottom: 2rem;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-header h1 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.search-form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.search-results {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.result-count {
    margin-bottom: 2rem;
    color: #666;
}

.no-results,
.search-empty {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.no-results i,
.search-empty i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* =================== Footer =================== */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

/* =================== Utility Classes =================== */
.text-center {
    text-align: center;
}

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

/* =================== Responsive =================== */
@media (max-width: 768px) {
    .navbar-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .slider {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .info-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .profil-section {
        grid-template-columns: 1fr;
    }
    
    .keranjang-container,
    .checkout-container,
    .detail-container,
    .kontak-container {
        grid-template-columns: 1fr;
    }
    
    .produk-container {
        grid-template-columns: 1fr;
    }
    
    .produk-sidebar {
        width: 100%;
    }
    
    .pesanan-body {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .galeri-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .info-section {
        grid-template-columns: 1fr;
    }
    
    .navbar-menu {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-table {
        font-size: 0.9rem;
    }
    
    .cart-product img {
        width: 60px;
        height: 60px;
    }
}

/* =================== Portfolio Page =================== */
.portfolio-hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3a2d1f 50%, #1a1410 100%);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    animation: portfolioGlow 8s ease-in-out infinite alternate;
}

@keyframes portfolioGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(10deg); }
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
}

.portfolio-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #b8860b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary-color);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
    animation: avatarFloat 3s ease-in-out infinite;
}

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

.portfolio-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.portfolio-tagline {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-desc {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.portfolio-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.portfolio-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.portfolio-social a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Portfolio Slideshow */
.portfolio-slideshow-section {
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.portfolio-slideshow {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    background: var(--secondary-color);
}

.portfolio-slides {
    position: relative;
    height: 400px;
}

.portfolio-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
}

.portfolio-slide.active {
    opacity: 1;
    z-index: 2;
}

.portfolio-slide-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-slide-placeholder {
    text-align: center;
    color: white;
    z-index: 2;
}

.portfolio-slide-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.9;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.portfolio-slide-placeholder span {
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.portfolio-slide-caption {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    color: white;
}

.portfolio-slide-caption h3 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.portfolio-slide-caption p {
    color: #ccc;
    font-size: 0.9rem;
}

.portfolio-slide-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s;
}

.portfolio-slide-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.portfolio-slide-btn.prev { left: 15px; }
.portfolio-slide-btn.next { right: 15px; }

.portfolio-slide-dots {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.portfolio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.portfolio-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Portfolio Projects */
.portfolio-projects-section {
    margin-bottom: 3rem;
}

.portfolio-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 2rem;
}

.portfolio-project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.portfolio-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    border-bottom: 1px solid #eee;
}

.project-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.project-status {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.project-status.completed {
    color: var(--success-color);
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-body h3 {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.project-features {
    margin-bottom: 1.25rem;
}

.project-features h4, .project-tech h4 {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.project-features li {
    font-size: 0.88rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-features li i {
    color: var(--success-color);
    font-size: 0.75rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    color: #555;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.tech-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), #b8860b);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.project-card-footer {
    padding: 1.25rem 1.5rem;
    background: #fafafa;
    border-top: 1px solid #eee;
    display: flex;
    gap: 0.75rem;
}

.project-card-footer .btn {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* Portfolio Skills */
.portfolio-skills-section {
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.skill-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #b8860b);
    border-radius: 4px;
    animation: skillGrow 1.5s ease-out;
}

@keyframes skillGrow {
    from { width: 0 !important; }
}

/* Portfolio CTA */
.portfolio-cta {
    background: linear-gradient(135deg, var(--secondary-color), #3a2d1f);
    padding: 3.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* =================== CRUD Demo Page =================== */
.crud-demo-section {
    margin-bottom: 2rem;
}

.crud-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
}

.crud-header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), #b8860b);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.crud-header h1 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.crud-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* CRUD Info Cards */
.crud-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.crud-info-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s;
    border: 2px solid transparent;
}

.crud-info-card:hover {
    transform: translateY(-5px);
}

.crud-info-card.create-card { border-color: #4caf50; }
.crud-info-card.read-card { border-color: #2196f3; }
.crud-info-card.update-card { border-color: #ff9800; }
.crud-info-card.delete-card { border-color: #f44336; }

.crud-info-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.create-card .crud-info-icon { background: #4caf50; }
.read-card .crud-info-icon { background: #2196f3; }
.update-card .crud-info-icon { background: #ff9800; }
.delete-card .crud-info-icon { background: #f44336; }

.crud-info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.crud-info-card p {
    color: #888;
    font-size: 0.85rem;
}

/* CRUD Alert */
.crud-alert {
    border-radius: 8px;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CRUD Container */
.crud-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* CRUD Form */
.crud-form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.crud-form-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.crud-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    border-bottom: 1px solid #eee;
}

.crud-form-header h2 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crud-badge {
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-create { background: #e8f5e9; color: #2e7d32; }
.badge-read { background: #e3f2fd; color: #1565c0; }
.badge-update { background: #fff3e0; color: #ef6c00; }
.badge-delete { background: #ffebee; color: #c62828; }

.crud-form {
    padding: 1.5rem;
}

.crud-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crud-form .form-group label .required {
    color: #f44336;
}

.crud-form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Code Preview */
.crud-code-preview {
    background: #1e1e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    background: #181825;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #f38ba8; }
.code-dot.yellow { background: #f9e2af; }
.code-dot.green { background: #a6e3a1; }

.code-title {
    color: #6c7086;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.code-content {
    padding: 1rem 1.25rem;
    color: #cdd6f4;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0;
    overflow-x: auto;
}

.sql-keyword {
    color: #cba6f7;
    font-weight: bold;
}

/* CRUD Table */
.crud-table-section {
    min-width: 0;
}

.crud-table-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.crud-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    border-bottom: 1px solid #eee;
}

.crud-table-header h2 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crud-table-info {
    padding: 0.75rem 1.5rem;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.crud-table-wrapper {
    overflow-x: auto;
}

.crud-table {
    width: 100%;
    border-collapse: collapse;
}

.crud-table thead {
    background: var(--secondary-color);
}

.crud-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.crud-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
}

.crud-table tbody tr {
    transition: background 0.2s;
}

.crud-table tbody tr:hover {
    background: #fafafa;
}

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

.td-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.td-name i {
    color: var(--primary-color);
}

.td-desc {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-muted {
    color: #bbb;
}

.product-count-badge {
    background: #e3f2fd;
    color: #1565c0;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.td-actions {
    white-space: nowrap;
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-edit {
    background: #fff3e0;
    color: #ef6c00;
}

.btn-edit:hover {
    background: #ff9800;
    color: white;
}

.btn-delete {
    background: #ffebee;
    color: #c62828;
}

.btn-delete:hover {
    background: #f44336;
    color: white;
}

.crud-empty {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.crud-empty i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* CRUD Explanation */
.crud-explanation {
    margin-bottom: 2rem;
}

.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.explanation-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.explanation-card:hover {
    transform: translateY(-3px);
}

.explanation-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
}

.create-bg { background: #4caf50; }
.read-bg { background: #2196f3; }
.update-bg { background: #ff9800; }
.delete-bg { background: #f44336; }

.explanation-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.explanation-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.code-snippet {
    background: #1e1e2e;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

.code-snippet code {
    color: #a6e3a1;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* =================== Responsive - Portfolio & CRUD =================== */
@media (max-width: 768px) {
    .portfolio-hero {
        padding: 3rem 1.5rem;
    }
    
    .portfolio-hero h1 {
        font-size: 1.8rem;
    }
    
    .portfolio-slides {
        height: 350px;
    }
    
    .portfolio-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-features ul {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .crud-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .crud-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .portfolio-hero h1 {
        font-size: 1.5rem;
    }
    
    .portfolio-slides {
        height: 300px;
    }
    
    .portfolio-slide-placeholder i {
        font-size: 2.5rem;
    }
    
    .portfolio-slide-placeholder span {
        font-size: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .crud-info-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .project-card-footer {
        flex-direction: column;
    }
}

/* =================== Testimoni Page =================== */
.testimoni-section {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.testimoni-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #3a2d1f);
    border-radius: 12px;
    color: white;
}

.testimoni-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.testimoni-header h1 i {
    color: var(--primary-color);
}

.testimoni-header p {
    color: #ddd;
    font-size: 1.1rem;
}

/* Rating Overview */
.testimoni-overview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

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

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.rating-stars-big {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.star-filled { color: #ffb300; }
.star-empty { color: #e0e0e0; }

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

.rating-bars {
    flex: 1;
    max-width: 400px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.bar-label {
    min-width: 45px;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.bar-label i {
    color: #ffb300;
}

.bar-track {
    flex: 1;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #ffb300;
    border-radius: 5px;
}

.bar-count {
    min-width: 30px;
    color: #888;
    font-size: 0.85rem;
    text-align: right;
}

/* Form Testimoni */
.testimoni-form-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 3rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimoni-form-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.testimoni-form-header h2 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.testimoni-form-header p {
    color: #666;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-group-flex {
    flex: 1;
}

.star-rating-input {
    font-size: 1.8rem;
    color: #e0e0e0;
    cursor: pointer;
}

.star-input.active {
    color: #ffb300;
}

.star-input {
    transition: color 0.2s;
}

.star-input:hover,
.star-input:hover ~ .star-input {
    color: #ffcc66;
}

.star-rating-input:hover .star-input {
    color: #ffb300;
}

.star-rating-input:hover .star-input:hover ~ .star-input {
    color: #e0e0e0;
}

.testimoni-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
}

.testimoni-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimoni-login-prompt {
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.testimoni-login-prompt i.fa-lock {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.testimoni-login-prompt h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.testimoni-login-prompt p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Testimoni List */
.testimoni-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.testimoni-list-header h2 {
    color: var(--secondary-color);
}

.testimoni-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.testimoni-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.testimoni-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.testimoni-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimoni-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #999;
}

.testimoni-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimoni-user-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
}

.testimoni-date {
    color: #888;
    font-size: 0.8rem;
}

.testimoni-date em {
    color: #aaa;
    margin-left: 0.3rem;
}

.testimoni-rating {
    font-size: 0.9rem;
}

.testimoni-card-body {
    flex: 1;
}

.testimoni-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.testimoni-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.testimoni-card-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-testimoni-action {
    background: none;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-testi-edit {
    color: #2196f3;
    background: #e3f2fd;
}

.btn-testi-edit:hover {
    background: #2196f3;
    color: white;
}

.btn-testi-delete {
    color: #f44336;
    background: #ffebee;
}

.btn-testi-delete:hover {
    background: #f44336;
    color: white;
}

.admin-badge {
    margin-left: auto;
    font-size: 0.75rem;
    background: #f0f0f0;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    color: #555;
    font-weight: 600;
}

.testimoni-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #f9f9f9;
    border-radius: 12px;
    color: #999;
}

.testimoni-empty i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.testimoni-empty h3 {
    color: #777;
    margin-bottom: 0.5rem;
}

.testimoni-alert {
    margin-bottom: 2rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .rating-summary {
        flex-direction: column;
        gap: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimoni-list {
        grid-template-columns: 1fr;
    }
}

/* =================== Premium Footer =================== */
.footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-section p i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

