/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #3498db;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    color: #3498db;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 22px;
    color: white;
    transition: color 0.3s;
}

.cart-icon:hover {
    color: #3498db;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.stat-item i {
    color: #3498db;
    font-size: 18px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-promo {
    background-color: #e74c3c;
}

.btn-promo:hover {
    background-color: #c0392b;
}

/* Section Title */
.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: #fff;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background-color: #ecf0f1;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #3498db;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.stock-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(46, 204, 113, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.view-gallery-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
}

.view-gallery-btn:hover {
    background: rgba(41, 128, 185, 0.9);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.product-price {
    color: #e74c3c;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-stock {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.add-to-cart,
.quick-view {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.add-to-cart {
    background-color: #3498db;
    color: white;
}

.add-to-cart:hover {
    background-color: #2980b9;
}

.quick-view {
    background-color: #ecf0f1;
    color: #2c3e50;
}

.quick-view:hover {
    background-color: #bdc3c7;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.category-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.category-item p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.stock-info {
    margin-top: 10px;
}

.stock-badge {
    background-color: #2ecc71;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Promo Section */
.promo {
    padding: 80px 0;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.promo-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.promo-content {
    flex: 1;
}

.promo-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.promo-content p {
    margin-bottom: 10px;
    font-size: 16px;
}

.promo-image {
    flex: 1;
}

.promo-image img {
    width: 100%;
    border-radius: 10px;
}

/* Inventory Section */
.inventory {
    padding: 80px 0;
    background-color: white;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.inventory-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.inventory-item h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.stock-bar {
    background: #ecf0f1;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.stock-fill {
    background: #3498db;
    height: 100%;
    border-radius: 5px;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
}

.available {
    background-color: #2ecc71;
    color: white;
}

.limited {
    background-color: #f39c12;
    color: white;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-rating {
    color: #f1c40f;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testimonial-author h4 {
    font-weight: 600;
    color: #2c3e50;
}

.testimonial-author span {
    color: #7f8c8d;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #3498db;
    width: 20px;
}

.social-links {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    color: #3498db;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #3498db;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 24px;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    opacity: 0.7;
    font-size: 14px;
}

.footer-bottom i {
    color: #e74c3c;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    justify-content: flex-end;
}

.cart-content {
    background: white;
    width: 400px;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.close-cart {
    font-size: 28px;
    cursor: pointer;
    color: #7f8c8d;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-info img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 14px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    background: #ecf0f1;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.cart-item-remove {
    color: #e74c3c;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cart-summary {
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.cart-total p {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.cart-total .total {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.subtotal-price,
.total-price {
    color: #e74c3c;
    font-weight: bold;
}

.shipping-price {
    color: #2ecc71;
}

.checkout-btn,
.continue-shopping {
    width: 100%;
    margin-top: 10px;
}

.continue-shopping {
    background-color: #7f8c8d;
}

.continue-shopping:hover {
    background-color: #95a5a6;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.gallery-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-gallery {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #7f8c8d;
    z-index: 1003;
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.gallery-swiper {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: white;
}

.swiper-pagination-bullet-active {
    background: #3498db;
}

.product-info-gallery {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.gallery-product-name {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.gallery-product-price {
    color: #e74c3c;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.gallery-product-stock {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.add-to-cart-gallery {
    width: 100%;
    margin-top: 20px;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    z-index: 1003;
    display: none;
    animation: slideIn 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .promo-card {
        flex-direction: column;
    }
    
    .navbar ul {
        gap: 15px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-swiper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2c3e50;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .navbar.active {
        display: block;
    }
    
    .navbar ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .cart-content {
        width: 100%;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .gallery-swiper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-swiper {
        height: 250px;
    }
    
    .gallery-content {
        padding: 15px;
    }
}
/* Product Image - Tambahkan style untuk gambar utama */
.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Tambahkan efek hover untuk gambar */
.product-image:hover::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
}

.product-image:hover img {
    filter: brightness(0.7);
}