* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom: 5px solid #dc2626;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: top 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.logo span {
    color: #dc2626;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Style umum untuk semua ul di navbar */
.nav-menu,
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

/* Dropdown container */
.nav-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1000;
}

.nav-menu li ul li {
    width: 100%;
}

.nav-menu li ul li a {
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    display: block;
    font-weight: 400;
}

.nav-menu li ul li a:hover {
    background: #f5f5f5;
    color: #dc2626;
}

.nav-menu li:hover > ul {
    display: block;
}

.nav-menu a {
    text-decoration: none;
}

.nav-link {
    display: inline-flex;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    align-items: center;
    position: relative;
    font-weight: 500;
    gap: 5px;
}

.nav-link:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #dc2626;
    transition: width 0.3s ease;
}

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

.nav-link svg {
    transition: transform 0.3s ease;
}

.nav-link:hover svg {
    transform: rotate(180deg);
}

.rotated {
    transform: rotate(180deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.dropdown .dropdown-menu {
    display: none;
}

.dropdown.open .dropdown-menu {
    display: block;
}

@media (max-width: 768px) {
    .nav-menu li ul {
        position: static;
        top: auto;
        left: auto;
        min-width: 100%;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 0;
    }

    .nav-menu li ul li {
        width: 100%;
    }

    .nav-menu li ul li a {
        padding: 12px 1.5rem;
        display: block;
        color: #000;
        background: transparent;
    }

    .dropdown.open > .nav-link {
        background: rgba(220, 38, 38, 0.05);
        border-radius: 8px;
    }
}

/* Desktop (default) */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* rata tengah semua item */
        justify-content: flex-start; /* mulai dari atas */
        background: rgba(255, 255, 255, 0.98);
        transform: scaleY(0);
        transform-origin: top;
        transition:
            transform 0.4s ease,
            opacity 0.3s ease;
        opacity: 0;
        backdrop-filter: blur(12px);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
        z-index: 999;
        padding: 1.5rem 0; /* beri ruang sama di atas & bawah */
    }

    .nav-menu.active {
        transform: scaleY(1);
        opacity: 1;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.8rem 0; /* jarak atas bawah sama */
        width: 100%; /* biar klik area penuh */
        text-align: center; /* teks tetap di tengah */
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        display: flex;
        gap: 1.5rem;
    }
    .nav-link {
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 1rem;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .logo {
        font-size: 1.3rem;
        font-weight: 700;
    }

    .mobile-menu .bar {
        background: black;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: black;
    position: relative;
    overflow: hidden;
    z-index: 0;
    padding: 100px 2rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
    width: 100%;
    padding: 0 1rem;
    animation: fadeInUp 1s ease;
    margin: 0;
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: black;
}

.hero .highlight {
    color: #dc2626;
    font-weight: bold;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgb(94, 94, 94);
    font-family: "Nunito Sans", sans-serif;
}

/* Gambar di kanan */
.hero-image {
    position: relative;
    z-index: 2;
    max-width: 40%;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Tombol CTA */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    background: linear-gradient(45deg, #dc2626, #ef4444);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.cta-button::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition:
        transform 0.6s ease,
        opacity 0.6s ease;
    pointer-events: none;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* Responsif Tablet & Desktop */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
    }

    .hero-content {
        max-width: 50%;
    }

    .hero-image {
        display: block;
    }
}

/* Responsif Mobile */
@media (max-width: 767px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        padding-top: 90px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-image {
        max-width: 80%;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    color: #333;
}

#founder .section-title {
    color: #f8f9fa;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: white;
    padding: 4rem 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.about-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.about-content:hover::before {
    transform: translateX(0);
}

.about-content:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

#readMoreLink {
    color: #bcbcbc;
    cursor: pointer;
    text-decoration: none;
}

#readMoreLink:hover {
    color: rgb(123, 123, 123);
}

#readMoreLink .pointer {
    color: rgb(94, 94, 94);
}

.about-video {
    position: relative;
    width: 100%;

    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.about-text {
    margin-left: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    font-family: "Nunito Sans", sans-serif;
}

.about-text .highlight {
    font-weight: bold;
    color: #dc2626;
    font-family: "Poppins", sans-serif;
}

/* Statistik */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #dc2626;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-family: "Nunito Sans", sans-serif;
}

/* Tablet */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-text {
        text-align: center;
        padding: 0 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about {
        padding: 3rem 1rem;
    }

    .about-content {
        gap: 2rem;
        padding: 20px 15px;
    }

    .about-text {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        padding: 1.5rem;
    }
}

/* Founder Section */
.founder {
    background: #7d0a0a;
    border-bottom-right-radius: 100px;
    border-top-left-radius: 100px;
    padding: 4rem 0;
}

.founder-content {
    position: relative;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.founder-image-container {
    position: relative;
    right: 30px;
    width: 320px;
    height: 400px;
    overflow: visible;
    flex-shrink: 0;
}

.founder-image-bg {
    position: relative;
    background-color: #f8f9fa;
    width: 100%;
    height: 100%;
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
    z-index: 1;
}

.founder-image {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 95%;
    height: auto;
    z-index: 2;
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.4);
}

.founder-text {
    flex: 2;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f8f9fa;
    text-align: justify;
    padding: 0 1rem;
    font-family: "Nunito Sans", sans-serif;
}

.founder-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}

.founder-text span {
    font-weight: bold;
    background: linear-gradient(90deg, #ff6a00, #ff7b00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Poppins", sans-serif;
}

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
    .founder-content {
        flex-direction: column;
        align-items: center;
        left: 0;
        gap: 2rem;
    }

    .founder-image-container {
        right: 0;
        width: 280px;
        height: 360px;
    }

    .founder-text {
        text-align: center;
        padding: 0 2rem;
    }

    .founder-text h3 {
        font-size: 1.8rem;
    }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
    .founder {
        padding: 3rem 1rem;
    }

    .founder-image-container {
        width: 240px;
        height: 300px;
    }

    .founder-image {
        bottom: -20px;
        right: -15px;
    }

    .founder-text {
        font-size: 1rem;
    }

    .founder-text h3 {
        font-size: 1.5rem;
    }
}

/* Gallery Section */
#gallery {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.gallery .container {
    max-width: 95%;
    padding: 0;
}
.gallery-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    flex: 0 0 25%;
    position: relative;
    margin: 10px;
    border-radius: 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    border-radius: inherit;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item .caption {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    opacity: 0;
    filter: blur(5px);
    transition: all 0.4s ease;
    white-space: nowrap;
    z-index: 2;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.gallery-item:hover .caption {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    filter: blur(0);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: rgba(220, 38, 38, 0.8);
    color: #fff;
}

.gallery-btn.prev {
    left: 10px;
}
.gallery-btn.next {
    right: 10px;
}

/* Responsif */
@media (max-width: 1024px) {
    .gallery-item {
        flex: 0 0 33.33%;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 0 0 100%;
    }
}

/* Brand Partners Section */
.brand-partner {
    text-align: center;
    padding: 4rem 2rem;
    background-color: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.brand-title {
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 2rem;
    position: relative;
}

.brand-title::before,
.brand-title::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 1px;
    background: #ddd;
    vertical-align: middle;
    margin: 0 15px;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.brand-logos img {
    filter: grayscale(100%);
    opacity: 0.4;
    width: 120px;
    height: auto;
    transition: all 0.3s ease;
}

.brand-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .brand-partner {
        padding: 3rem 1.5rem;
    }

    .brand-logos img {
        width: 100px;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .brand-partner {
        padding: 2rem 1rem;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .brand-logos {
        gap: 1.5rem;
    }

    .brand-logos img {
        width: 80px;
    }
}

/* Products Section */
.products {
    background: linear-gradient(135deg, #6c757d, #3a4750, #1f2e3d);
    color: #333;
    padding: 4rem 2rem;
    border-bottom-right-radius: 100px;
    border-top-left-radius: 100px;
}

.products .section-title {
    color: #ffffff;
    text-align: center;
}

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

.product-card {
    background: #fff;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 380px;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.product-card:hover::before {
    transform: translateX(0);
}

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

.product-card:hover .product-title {
    color: #000000;
}

.product-card:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.product-image {
    width: 100%;
    height: 50%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    position: relative;
    box-shadow: 0 8px 15px -5px rgba(0, 0, 0, 0.2);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.product-label {
    display: block;
    width: 100%;
    background-color: #072b50;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    padding: 10px 12px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Nunito Sans", sans-serif;
}

.product-title {
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #333;
    line-height: 1.3;
    font-weight: 600;
    font-family: "Nunito Sans", sans-serif;
}

.btn-view {
    display: inline-block;
    width: 180px;
    align-self: center;
    margin-top: 10px;
    padding: 6px 20px;
    font-size: 14px;
    color: #e60023;
    background: transparent;
    border: 2px solid #e60023;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: #e60023;
    color: white;
}

/* Tablet (769px – 1024px) */
@media (max-width: 1024px) {
    .products {
        padding: 3rem 1.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-card {
        height: auto;
    }

    .product-title {
        font-size: 1.05rem;
    }

    .btn-view {
        width: 90%;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    .products {
        padding: 2rem 1rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .product-card {
        height: auto;
        padding-bottom: 1rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .btn-view {
        width: 90%;
        max-width: none;
    }
}

/* Store Section */
.section-store-laptop {
    padding: 50px 20px;
    background-color: white;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 70px;
    justify-content: center;
}

.gallery-grid::after {
    content: "";
    display: block;
}

.gallery-grid > *:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.store-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.store-card:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.store-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.store-card h3 {
    padding: 15px;
    font-size: 1.5rem;
    color: #ffffff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn-see {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(45deg, #dc2626, #ef4444);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    font-size: 14px;
}

.btn-see:hover {
    background: linear-gradient(45deg, #ef4444, #dc2626);
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-grid > *:last-child:nth-child(2n + 1) {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-grid > *:last-child:nth-child(2n + 1) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .store-card img {
        height: 200px;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.modal-content h2 {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 20px;
}

.modal-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-address {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 15px;
    color: #444;
    line-height: 1.4;
    margin-bottom: 15px;
    font-family: "Nunito Sans", sans-serif;
}

.modal-address i {
    color: #dc2626;
    font-size: 16px;
    margin-top: 2px;
}

.social-links.horizontal {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    font-family: "Nunito Sans", sans-serif;
}

.social-links.horizontal a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.social-links a.instagram {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
}

.social-links a.facebook {
    background: #1877f2;
}

.social-links a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.map-container {
    margin-top: 15px;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: white;
    margin-top: 8px;
    margin-right: 10px;
}

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

/* Reviews Section */
.reviews-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    text-align: center;
    overflow: visible;
}

.google-summary {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: #a5a9b0;
    margin-top: 2.5rem;
}

/* Swiper Wrapper Padding */
.mySwiper {
    padding-right: 50px;
}

/* Review Card */
.review-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    transform: perspective(600px);
}

.review-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.2),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
    pointer-events: none;
}

.review-card:hover::before {
    opacity: 1;
}

/* Review Header */
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.review-header img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid #ef4444;
}

.review-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.review-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #facc15;
    font-size: 1.2rem;
}

.date {
    font-size: 12px;
    color: #000;
    opacity: 0.3;
    font-style: italic;
    margin-top: 3px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Review Text */
.review-card p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
    margin-top: auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .review-card {
        padding: 1.5rem;
    }

    .review-header img {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 768px) {
    .review-card {
        padding: 1.25rem;
    }

    .stars {
        font-size: 1rem;
    }

    .review-card p {
        font-size: 0.95rem;
    }

    .mySwiper {
        padding-right: 20px;
    }
}

/* Business Partners Section */
.business-partner {
    padding: 60px 20px;
    background-color: white;
    text-align: center;
}

.business-partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.business-partner-grid img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.business-partner-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.business-partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.business-partner-card .logo-wrapper {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
}

.business-partner-card p {
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    font-family: "Nunito Sans", sans-serif;
}

/* Animasi masuk */

/* Fade in atas */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in kiri */
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in kanan */
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsif tambahan jika diperlukan */
@media (max-width: 600px) {
    .business-partner-grid img {
        width: 80px;
    }
}

/* Footer Container */
.footer {
    background: linear-gradient(135deg, #6c757d, #3a4750, #1f2e3d);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    color: #fff;
    padding: 40px 20px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.footer .container {
    max-width: 1200px;
    margin: auto;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1 1 220px;
    min-width: 220px;
}

.footer-column img {
    height: 80px;
    margin-left: 70px;
}

.footer-column h4 {
    font-size: 25px;
    margin-bottom: 15px;
    position: relative;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.footer-column h4 span {
    color: #dc2626;
}

.footer-column p,
.footer-column li,
.footer-column a {
    font-size: 17px;
    line-height: 1.6;
    color: #f1f1f1;
    text-decoration: none;
}

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

.footer-column ul li a {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #dc2626;
    transition: width 0.3s ease;
}

.footer-column ul li a:hover {
    color: #dc2626;
    transform: scale(1.05);
}

.footer-column-map {
    position: relative;
    width: 130%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    height: 250px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.footer-column-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-column-map:hover {
    transform: scale(1.05);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding-top: 15px;
    margin-top: 30px;
    font-size: 14px;
    color: #ccc;
    position: relative;
}

/* Responsif */
@media (max-width: 992px) {
    .footer-container {
        justify-content: center;
    }

    .footer-column {
        flex: 1 1 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    .footer-column {
        flex: 1 1 100%;
        width: 100%;
        min-width: unset;
    }

    .footer-column-map {
        width: 100%;
        height: 200px;
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #dc2626, #ef4444);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.6);
}

/* Responsive Design */
/* Responsive untuk Tablet */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 83px;
        left: 50%;
        transform: translateX(-50%) scaleY(0);
        width: 70%;
        max-width: 600px;
        flex-direction: column;
        background: #fff;
        text-align: center;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transition:
            transform 0.4s ease,
            opacity 0.3s ease;
        opacity: 0;
        z-index: 999;
        padding: 1.5rem;
    }

    .nav-menu.active {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.8rem 0;
        width: 100%;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 2rem;
    }
}

/* Responsive untuk Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%) scaleY(0);
        width: 90%;
        max-width: 320px;
        flex-direction: column;
        background: #fff;
        text-align: center;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        transition:
            transform 0.4s ease,
            opacity 0.3s ease;
        opacity: 0;
        z-index: 999;
        padding: 1rem;
    }

    .nav-menu.active {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0;
        width: 100%;
    }

    .nav-menu li {
        margin: 0.2rem 0;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .product-grid,
    .store-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0 1rem;
    }
}
