:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #f72585;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --success: #4cc9f0;
    --warning: #f8961e;
    --shopee: #ee4d2d;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

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

.nav-links a:hover:after {
    width: 100%;
}

/* Product Slider Styles */
.product-slider {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

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

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
  z-index: 10;
}

.slider-controls button {
  background-color: rgba(255,255,255,0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--dark);
}

.slider-controls button:hover {
  background-color: rgba(255,255,255,0.9);
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

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

.slider-dot.active {
  background-color: white;
  transform: scale(1.2);
}

/* Image Modal Styles */
.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from {transform: translate(-50%, -50%) scale(0.9);}
  to {transform: translate(-50%, -50%) scale(1);}
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  color: var(--accent);
}

.modal-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.7);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
    font-size: 1.5rem;
    z-index: 10;
}

.modal-nav:hover {
    background-color: rgba(255,255,255,0.9);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

/* Tambahkan ini untuk gambar di slider yang bisa diklik */
.slide img {
  cursor: zoom-in;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(67,97,238,0.9) 0%, rgba(63,55,201,0.9) 100%), url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 10rem 0 6rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* Product Section */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    display: inline-block;
    position: relative;
    color: var(--dark);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0.5rem auto 0;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image-container {
    height: 220px;
    overflow: hidden;
}

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

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

.product-content {
    padding: 1.5rem;
}

.product-badge {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.product-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.product-features {
    margin: 1.2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.feature-icon {
    color: var(--success);
    margin-right: 0.7rem;
    font-size: 1rem;
    margin-top: 0.15rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed #ddd;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.product-price-info {
    flex: 1;
    min-width: 120px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.product-minimal {
    font-size: 0.85rem;
    color: #666;
}

.product-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.order-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Service Tag */
.service-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-tag i {
    font-size: 12px;
}

/* Product Header */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.delivery-tag {
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #555;
}

.delivery-tag i {
    color: #ff5722;
    font-size: 12px;
}


/* Price Details */
.price-details {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    font-size: 13px;
}

.price-include {
    color: #28a745;
    margin-bottom: 3px;
}

.minimal-order {
    color: #6c757d;
}

/* Delivery Info */
.delivery-info {
    margin-top: 15px;
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.delivery-info i {
    color: #6c757d;
}

/* Advantages Section */
.advantages-section {
    background-color: #f9f9f9;
}

.advantages-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background-color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(67,97,238,0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.advantage-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.advantage-card h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.advantage-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(67,97,238,0.3);
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(67,97,238,0.4);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(248,37,133,0.3);
}

.btn-accent:hover {
    background-color: #d91a6d;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(248,37,133,0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.4);
}

.btn-shopee {
    background-color: var(--shopee);
    color: white;
    box-shadow: 0 4px 15px rgba(238,77,45,0.3);
    white-space: nowrap;
}

.btn-shopee:hover {
    background-color: #d63a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(238,77,45,0.4);
}

.btn i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Gallery Section */
#gallery {
    padding: 5rem 0;
    background-color: #fff;
}

#galleryGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(0.98);
}

.thumbnail {
    width: 100%;
    height: 100%;
}

.thumbnail img,
.thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .thumbnail img,
.gallery-item:hover .thumbnail video {
    transform: scale(1.05);
}

.thumbnail video {
    filter: brightness(0.9);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    text-align: center;
}

.lightbox-media-container img,
.lightbox-media-container video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    margin-top: 10px;
    color: #fff;
    font-size: 1rem;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}

/* States */
.loading,
.error {
    text-align: center;
    padding: 2rem;
    color: #777;
}

.error {
    color: #ff4444;
}

.retry-button {
    margin-top: 10px;
    padding: 0.5rem 1rem;
    background: #ff4444;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

/* Tombol Lihat Selengkapnya */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    padding: 0.8rem 1.5rem;
    background-color: #0095f6;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.load-more-btn:hover {
    background-color: #0077cc;
}

.load-more-btn:disabled {
    background-color: #b2dffc;
    cursor: not-allowed;
}

#testimonials {
    padding-bottom: 0 !important;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-column {
    font-size: 0.9rem;
}

.footer-column p {
    font-size: inherit; 
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    bottom: -6px;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

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

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.contact-icon {
    margin-right: 0.8rem;
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-item a, .contact-item p {
    color: #aaa;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-item a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .footer-column {
        font-size: 0.85rem; /* Lebih kecil di desktop */
    }
    
    .footer-column h3 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }
    
    .hero {
        padding: 8rem 0 4rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 0.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-shopee {
        width: 100%;
        margin-top: 0.8rem;
    }
    
    .advantages-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    #galleryGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .gallery-item {
        border-radius: 2px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .advantage-card {
        padding: 1.2rem;
    }
}