/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Variabel CSS */
:root {
    --primary: #178a4b;
    --secondary: #333;
    --light: #f9f9f9;
    --dark: #222;
    --gray: #777;
    --bg-color: #f5f5f5;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border: 0.1rem solid rgba(0, 0, 0, 0.1);
    --border-hover: 0.1rem solid var(--secondary);
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    outline: none;
    border: none;
    text-transform: capitalize;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5rem;
}

body {
    background: var(--bg-color);
    color: var(--secondary);
}

section {
    padding: 5rem 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    background: var(--primary);
    color: #fff;
    font-size: 1.7rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn:hover {
    background: #74f9bf;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.heading {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3.5rem;
    color: var(--secondary);
}

.heading span {
    color: var(--primary);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header .logo img {
    height: 8rem;
}

.header .logo h1 {
    font-size: 2.5rem;
    color: var(--secondary);
}

.header .logo h1 span {
    color: var(--primary);
}

.header .navbar ul {
    display: flex;
    gap: 2rem;
}

.header .navbar ul li a {
    font-size: 1.7rem;
    color: var(--secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.header .navbar ul li a:hover,
.header .navbar ul li a.active {
    color: var(--primary);
}

.header .icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header .search-box {
    display: flex;
    align-items: center;
    border: var(--border);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}

.header .search-box input {
    width: 20rem;
    font-size: 1.5rem;
    color: var(--secondary);
    padding: 0.5rem;
}

.header .search-box button {
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
    background: none;
}

.header .cart-btn {
    position: relative;
    font-size: 2rem;
    color: var(--secondary);
}

.header .cart-btn .cart-count {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header #menu-btn {
    font-size: 2.5rem;
    color: var(--secondary);
    cursor: pointer;
    display: none;
}

/* Home Section */
.home {
    padding-top: 10rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.home .content {
    max-width: 60rem;
}

.home .content h3 {
    font-size: 5rem;
    color: #fff;
    line-height: 1.2;
}

.home .content h3 span {
    color: var(--primary);
}

.home .content p {
    font-size: 1.8rem;
    color: #eee;
    padding: 1rem 0;
    line-height: 1.5;
}

/* Features Section */
.features {
    background: #fff;
}

.features .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.features .box {
    padding: 3rem 2rem;
    background: var(--light);
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.features .box:hover {
    transform: translateY(-1rem);
}

.features .box img {
    height: 8rem;
    margin-bottom: 1.5rem;
}

.features .box h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.features .box p {
    font-size: 1.5rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Products Section */
.products .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.products .filter-buttons .filter-btn {
    padding: 0.8rem 2rem;
    background: #fff;
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    border: var(--border);
    transition: var(--transition);
}

.products .filter-buttons .filter-btn.active,
.products .filter-buttons .filter-btn:hover {
    background: var(--primary);
    color: #fff;
}

.products .product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.products .product-box {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.products .product-box:hover {
    transform: translateY(-1rem);
}

.products .product-box .image {
    position: relative;
    height: 25rem;
    overflow: hidden;
}

.products .product-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.products .product-box:hover .image img {
    transform: scale(1.1);
}

.products .product-box .image .icons {
    position: absolute;
    top: 1rem;
    right: -5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.products .product-box:hover .image .icons {
    right: 1rem;
}

.products .product-box .image .icons a {
    width: 4rem;
    height: 4rem;
    background: #fff;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.products .product-box .image .icons a:hover {
    background: var(--primary);
    color: #fff;
}

.products .product-box .image .discount-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.products .product-box .content {
    padding: 2rem;
}

.products .product-box .content h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.products .product-box .content .price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.products .product-box .content .price span {
    font-size: 1.5rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.products .product-box .content .stars {
    display: flex;
    gap: 0.5rem;
    color: #ffc927;
    font-size: 1.3rem;
}

.products .more-btn {
    text-align: center;
    margin-top: 3rem;
}

/* Categories Section */
.categories {
    background: #f9f9f9;
    padding: 5rem 0;
}

.categories .category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2.5rem;
}

.categories .category-box {
    position: relative;
    height: 26rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.categories .category-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.categories .category-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.categories .category-box:hover img {
    transform: scale(1.05);
}

.categories .category-box .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    text-align: center;
    transition: background 0.3s ease;
}

.categories .category-box .content h3 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.categories .category-box .content .btn {
        padding: 0.8rem 1.6rem;
        font-size: 1.4rem;
        font-weight: 500;
        border-radius: 999px; /* Membuat tombol oval */
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        transition: transform 0.3s ease;
        border: none;
}

.categories .category-box .content .btn:hover {
    transform: scale(1.05);
}


/* Promo Section */
.promo .promo-container {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/promo-bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 40rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 5rem;
}

.promo .promo-content {
    max-width: 50rem;
}

.promo .promo-content span {
    font-size: 1.8rem;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}

.promo .promo-content h3 {
    font-size: 3.5rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.promo .promo-content p {
    font-size: 1.8rem;
    color: #eee;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #ffffff;
}

.about .row {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.about .about-image {
    flex: 1 1 40rem;
    animation: fadeInLeft 0.8s ease;
}

.about .about-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.about .about-image img:hover {
    transform: scale(1.03);
}

.about .about-content {
    flex: 1 1 40rem;
    animation: fadeInRight 0.8s ease;
}

.about .about-content h2 {
    font-size: 3.8rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about .about-content h2 span {
    color: var(--primary);
}

.about .about-content p {
    font-size: 1.6rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.about .about-content .btn {
    padding: 1rem 2rem;
    font-size: 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}

.about .about-content .btn:hover {
    transform: translateY(-3px);
}


/* Contact Section */
.contact .row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact .contact-info {
    flex: 1 1 40rem;
    background: #dcfcfb;
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}

.contact .contact-info h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: var(--border);
}

.contact .info-box {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact .info-box i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 0.5rem;
}

.contact .info-box .detail h4 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.contact .info-box .detail p {
    font-size: 1.5rem;
    color: var(--gray);
}

.contact .contact-form {
    flex: 1 1 40rem;
    background: #dcfcfb;
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}

.contact .contact-form h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.contact .input-box {
    margin-bottom: 1.5rem;
}

.contact .input-box input,
.contact .input-box textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.6rem;
    color: var(--secondary);
    background: #f5f5f5;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.contact .input-box input:focus,
.contact .input-box textarea:focus {
    background: #fff;
    border: var(--border-hover);
}

.contact .input-box textarea {
    height: 15rem;
    resize: none;
}

/* Footer */
.footer {
    background: var(--secondary);
    padding: 5rem 0 0;
}

.footer .footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.footer .footer-col {
    padding: 0 1.5rem;
}

.footer .footer-col h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
}

.footer .footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 5rem;
    height: 0.2rem;
    background: var(--primary);
}

.footer .footer-col h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer .footer-col h3 span {
    color: var(--primary);
}

.footer .footer-col p {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.footer .social-links {
    display: flex;
    gap: 1.5rem;
}

.footer .social-links a {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--primary);
    transform: translateY(-0.3rem);
}

.footer .footer-col ul li {
    margin-bottom: 1.5rem;
}

.footer .footer-col ul li a {
    font-size: 1.5rem;
    color: #ccc;
    display: block;
    transition: var(--transition);
}

.footer .footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.footer .footer-col form input {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.5rem;
    color: var(--secondary);
    background: #fff;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.footer .copyright {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 0.1rem solid rgba(116, 222, 187, 0.69);
}

.footer .copyright p {
    font-size: 1.5rem;
    color: #ccc;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 6rem;
    height: 6rem;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 10rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 12rem;
}

.scroll-top:hover {
    background: var(--secondary);
    color: #fff;
}

/* Media Queries */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .header #menu-btn {
        display: inline-block;
    }
    
    .header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 2rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    .header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .header .navbar ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .header .search-box {
        width: 100%;
        margin: 1.5rem 0;
    }
    
    .header .search-box input {
        width: 100%;
    }
    
    .home .content h3 {
        font-size: 4rem;
    }
    
    .about .row {
        flex-direction: column;
    }
    
    .about .about-image {
        flex: 1 1 100%;
    }
    
    .about .about-content {
        flex: 1 1 100%;
    }
    
    .promo .promo-container {
        padding: 0 2rem;
    }
    
    .promo .promo-content h3 {
        font-size: 3rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
    
    .home .content h3 {
        font-size: 3.5rem;
    }
    
    .heading {
        font-size: 3rem;
    }
    
    .products .product-container {
        grid-template-columns: 1fr;
    }
    
    .categories .category-container {
        grid-template-columns: 1fr;
    }
    
    .contact .row {
        flex-direction: column;
    }
    
    .contact .contact-info,
    .contact .contact-form {
        flex: 1 1 100%;
    }
    
    .whatsapp-float {
        width: 5rem;
        height: 5rem;
        font-size: 2rem;
        bottom: 2rem;
        right: 2rem;
    }
    
    .scroll-top {
        width: 4rem;
        height: 4rem;
        font-size: 1.8rem;
        right: 2rem;
    }
    
    .scroll-top.active {
        bottom: 9rem;
    }
}

/* Hero Section with Background Image */
.hero-bg {
    /* Ukuran tinggi */
    height: 800px; /* Atau gunakan min-height */
    min-height: 80vh; /* Pilihan responsive */
    
    /* Ukuran lebar */
    width: 100%;
    
    /* Penyesuaian konten */
    display: flex;
    align-items: center; /* Vertikal center */
    justify-content: center; /* Horizontal center */
    
    /* Background tetap sama */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('img/background.jpg') no-repeat center center/cover;
}
/* Responsive */
@media (max-width: 768px) {
    .hero-bg {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero-bg h3 {
        font-size: 2.5rem;
    }
    
    .hero-bg p {
        font-size: 1.2rem;
    }
}


/*Semen*/

/* Breadcrumb */
.breadcrumb {
    padding: 1.5rem 0;
    background: #f5f5f5;
    margin-top: 80px; /* Sesuaikan dengan tinggi header */
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    margin-right: 1rem;
    font-size: 1.4rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 1rem;
    color: #777;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

/* Product Detail */
.product-detail {
    padding: 5rem 0;
}

.product-detail .container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.main-image {
    border: 1px solid #eee;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-container {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: var(--primary);
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h1 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.rating {
    color: #ffc107;
    margin-bottom: 1.5rem;
}

.rating span {
    color: var(--gray);
    margin-left: 1rem;
    font-size: 1.4rem;
}

.price {
    margin: 2rem 0;
}

.current-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
}

.old-price {
    font-size: 1.8rem;
    text-decoration: line-through;
    color: var(--gray);
    margin-left: 1rem;
}

.discount {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 0.3rem;
    font-size: 1.4rem;
    margin-left: 1rem;
}

.availability {
    color: #28a745;
    margin: 1.5rem 0;
    font-size: 1.5rem;
}

.description, .specifications {
    margin: 2.5rem 0;
}

.description h3, .specifications h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.description ul {
    margin-left: 2rem;
}

.description li {
    margin-bottom: 0.8rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table tr {
    border-bottom: 1px solid #eee;
}

table td {
    padding: 1rem 0;
}

table td:first-child {
    font-weight: 500;
    width: 40%;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 3rem 0;
}

.quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

.qty-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-size: 1.4rem;
}

.quantity input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 0.8rem 0;
    font-size: 1.6rem;
}

.add-to-cart, .buy-now {
    flex: 1;
    min-width: 200px;
}

.buy-now {
    background: var(--secondary);
}

.buy-now:hover {
    background: #222;
}

.share {
    margin-top: 2rem;
}

.share a {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-left: 1rem;
    transition: var(--transition);
}

.share a:hover {
    color: var(--primary);
}

/* Related Products */
.related-products {
    padding: 5rem 0;
    background: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail .container {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .add-to-cart, .buy-now {
        width: 100%;
    }
    
}
 /* Popup Styling */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.popup-content {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    width: 85%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #444;
    transition: color 0.3s;
}
.close-popup:hover {
    color: #e74c3c;
}

.popup-product {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.popup-image {
    flex: 1;
    min-width: 300px;
}
.popup-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.popup-details {
    flex: 1;
    min-width: 300px;
}

.popup-details h3 {
    font-size: 4rem;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.popup-price {
    font-size: 1.7rem;
    color: #e67e22;
    margin: 1rem 0;
    font-weight: bold;
}

.popup-description {
    font-size: 1.5rem;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #555;
    margin: 1rem 0;
    line-height: 1.8;
}

.popup-specs {
    margin: 1.5rem 0;
}

.popup-specs h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #34495e;
}

.popup-specs ul {
    list-style-type: disc;
    padding-left: 1.7rem;
    font-size: 1.05rem;
    color: #444;
}

.popup-specs li {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.popup-action {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.popup-action a {
    background-color: #27ae60;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}
.popup-action a:hover {
    background-color: #219150;
}

/* Tanda centang hijau untuk tiap item spesifikasi */
#popupProductSpecs li::before {
    content: "\f00c"; /* Font Awesome icon: check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: green;
    margin-right: 8px;
}
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/*slide*/
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide .container {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.slide .content {
    max-width: 600px;
    margin-left: 50px;
}

.slide .btn {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
    border-radius: 5px;
}


@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .popup-product {
        flex-direction: column;
    }

    .popup-details h3 {
        font-size: 1.6rem;
    }

    .popup-price {
        font-size: 1.4rem;
    }

    .popup-description, 
    .popup-specs ul {
        font-size: 1rem;
    }
}
