
/* KOPERASI MERAH PUTIH SERUA - STYLESHEET V7.0 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --red-primary: #D32F2F; /* Merah Indonesia */
    --red-dark: #B71C1C;
    --white: #FFFFFF;
    --black: #212529;
    --grey-background: #F8F9FA;
    --grey-light: #E9ECEF;
    --grey-dark: #343A40;
    --text-primary: #212529;
    --text-secondary: #6C757D;
    --green-success: #28A745;
    --yellow-pending: #FFC107;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 10px;
    --transition: all 0.3s ease-in-out;
    --font-primary: 'Poppins', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    overflow-x: hidden;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn i {
    font-size: 1rem;
}

.btn-primary {
    background: var(--red-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    border-color: var(--red-primary);
    color: var(--red-primary);
}

.btn-secondary:hover {
    background: var(--red-primary);
    color: var(--white);
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
}

.btn.disabled {
    background: var(--grey-light);
    color: var(--text-secondary);
    cursor: not-allowed;
    border-color: var(--grey-light);
}

.btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 5px solid;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: fadeIn 0.5s ease forwards;
}

.alert i {
    font-size: 1.2rem;
}

.alert-danger {
    background: #FEECEB;
    border-color: var(--red-primary);
    color: var(--red-dark);
}

.alert-success {
    background: #E6F4EA;
    border-color: var(--green-success);
    color: var(--text-primary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.main-header {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red-primary);
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--red-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
    list-style: none;
    min-width: 200px;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0.4rem 1rem;
}

.dropdown-menu a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.dropdown-menu a:hover {
    color: var(--red-primary);
    background: var(--grey-background);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 1100;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 37, 41, 0.95);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease-in-out, visibility 0s linear 0.35s;
}

body.mobile-menu-active .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.mobile-menu-active {
    overflow: hidden;
}

.close-menu {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

.close-menu:hover {
    color: var(--red-primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
}

.mobile-nav-links a {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--red-primary);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.mobile-nav-links hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-heavy);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20BD57;
}

/* Hero Slideshow */
.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
    background: var(--grey-dark);
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 700px;
    padding: 2rem;
    text-align: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    animation: slideFadeIn 0.5s ease-out;
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-prev, .hero-next {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
}

.hero-prev:hover, .hero-next:hover {
    background: var(--red-primary);
    transform: scale(1.2);
}

.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots .dot.active {
    background: var(--red-primary);
    transform: scale(1.4);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--red-primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--red-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* About Section */
.about-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.about-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* History Timeline */
.history-timeline {
    position: relative;
    padding: 2rem 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--red-primary);
}

.history-item {
    width: 45%;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
    margin-bottom: 2rem;
    animation: slideIn 0.5s ease-out;
}

.history-item.left {
    left: 0;
}

.history-item.right {
    left: 55%;
}

.history-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--red-primary);
    border-radius: 50%;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.history-item h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.history-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Vision & Mission */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.vision-card, .mission-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.vision-card h3, .mission-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.vision-card p, .mission-card ul {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.mission-card ul {
    list-style: none;
    padding-left: 1rem;
}

.mission-card ul li {
    position: relative;
    margin-bottom: 0.8rem;
}

.mission-card ul li::before {
    content: '•';
    color: var(--red-primary);
    position: absolute;
    left: -1rem;
}

/* Objectives & Org Structure */
.objectives-list, .org-structure {
    max-width: 800px;
    margin: 0 auto;
}

.objectives-list li, .org-structure li {
    background: var(--white);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.objectives-list li:hover, .org-structure li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.org-structure li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .main-nav, .header-actions {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .hero {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    .history-item {
        width: 100%;
        left: 0 !important;
    }
    .history-timeline::before {
        left: 20px;
    }
    .history-item::before {
        left: 15px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 40vh;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 0.85rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .hero-prev, .hero-next {
        font-size: 1.5rem;
        padding: 0.7rem;
    }
    .hero-dots .dot {
        width: 10px;
        height: 10px;
    }
}

/* Header */
.main-header {
    background: var(--white);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}
.logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}
.logo-img:hover {
    transform: scale(1.05);
}
.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red-primary);
}
.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.4rem 0;
    position: relative;
    transition: var(--transition);
}
.main-nav a:hover {
    color: var(--red-primary);
}
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}
.main-nav a:hover::after {
    width: 100%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
    list-style: none;
    min-width: 180px;
    z-index: 1000;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    padding: 0.4rem 0.8rem;
}
.dropdown-menu a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
}
.dropdown-menu a:hover {
    color: var(--red-primary);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 1100;
}
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 37, 41, 0.95);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease-in-out, visibility 0s linear 0.35s;
}
body.mobile-menu-active .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
body.mobile-menu-active {
    overflow: hidden;
}
.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--white);
    cursor: pointer;
}
.close-menu:hover {
    color: var(--red-primary);
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.mobile-nav-links a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}
.mobile-nav-links a:hover {
    color: var(--red-primary);
}
.mobile-nav-links hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 80px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #25D366;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-heavy);
    z-index: 1000;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20BD57;
}

/* Sections */
.section, .section-services, .section-products, .section-sp, .section-vision-mission, .section-legal-basis, .section-principles, .section-org-structure, .section-contact {
    padding: 3rem 0;
}
.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--red-primary);
}
.section-subtitle {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 1.2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hero */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}
.hero-content {
    max-width: 600px;
    padding: 1.2rem;
}
.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.hero p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    text-align: center;
    background: var(--grey-background);
    border-bottom: 1px solid var(--grey-light);
}
.page-header h1 {
    font-size: 1.8rem;
    color: var(--red-primary);
}
.page-header p {
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0.6rem auto 0;
}

/* Forms */
.auth-form, .register-form, .modern-form {
    background: var(--white);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    max-width: 450px;
    margin: 1.2rem auto;
}
.form-group {
    margin-bottom: 0.8rem;
}
.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--grey-light);
    border-radius: 6px;
    font-size: 0.85rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.1);
    outline: none;
}

/* Grids */
.sp-grid, .services-grid, .benefits-grid, .legal-grid, .org-grid, .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0;
}
.sp-card, .service-card, .benefit-item, .legal-item, .org-member, .contact-info, .contact-form {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}
.sp-card:hover, .service-card:hover, .benefit-item:hover, .legal-item:hover, .org-member:hover, .contact-info:hover, .contact-form:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}
.sp-icon, .service-icon, .vision-mission-icon {
    font-size: 1.8rem;
    color: var(--red-primary);
    margin-bottom: 0.6rem;
}
.sp-card h3, .service-card h3, .benefit-item h4, .legal-item h4, .org-member h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.sp-card.disabled {
    background: var(--grey-light);
    color: var(--text-secondary);
    cursor: not-allowed;
}
.org-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 0.6rem;
}
.principles-list {
    max-width: 600px;
    margin: 0 auto;
}
.principles-list li {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

/* Product Grid (Shopee-like) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
}
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}
.product-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.product-content {
    padding: 0.8rem;
}
.product-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-price {
    font-weight: 600;
    color: var(--red-primary);
    font-size: 0.9rem;
}

/* Cart Table */
.cart-grid {
    margin: 1.2rem 0;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table th, .cart-table td {
    padding: 0.6rem;
    border-bottom: 1px solid var(--grey-light);
}
.cart-table th {
    background: var(--grey-background);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.cart-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 0.4rem;
}
.cart-checkout {
    text-align: right;
    margin-top: 0.8rem;
}

/* Footer */
.main-footer {
    background: var(--grey-dark);
    color: var(--grey-light);
    padding: 2rem 0;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.footer-about, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-about h4, .footer-contact h4 {
    font-size: 1rem;
    color: var(--white);
}
.footer-social a {
    font-size: 1.4rem;
    color: var(--grey-light);
    background: rgba(255, 255, 255, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.footer-social a:hover {
    color: var(--white);
    background: var(--red-primary);
}
.footer-bottom {
    text-align: center;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-img {
    max-width: 250px;
    height: auto;
}

/* Media Queries */
@media (max-width: 992px) {
    .main-nav, .header-actions {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .page-header h1 {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .org-image {
        height: 140px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.4rem;
    }
    .page-header h1 {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .product-grid, .sp-grid, .services-grid, .benefits-grid, .legal-grid, .org-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .org-image {
        height: 100px;
    }
}
/* Footer */
.main-footer {
    background: var(--grey-dark);
    color: var(--grey-light);
    padding: 2.5rem 0;
    position: relative;
    border-top: 3px solid var(--red-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.footer-about, .footer-contact, .footer-image {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.footer-about h4, .footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-about p, .footer-contact p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--grey-light);
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    font-size: 1.4rem;
    color: var(--grey-light);
    background: rgba(255, 255, 255, 0.15);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--white);
    background: var(--red-primary);
    transform: scale(1.1);
}

.footer-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.footer-img:hover {
    transform: scale(1.05);
}

.footer-contact .contact-link {
    color: var(--grey-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact .contact-link:hover {
    color: var(--red-primary);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--red-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: var(--grey-light);
}

.footer-bottom p {
    margin: 0.3rem 0;
}

/* Media Queries for Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about, .footer-contact, .footer-image {
        align-items: center;
    }
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-img {
        max-width: 150px;
    }
    .footer-about h4, .footer-contact h4 {
        font-size: 1rem;
    }
    .footer-about p, .footer-contact p, .footer-bottom p {
        font-size: 0.85rem;
    }
}
/* Hero Slideshow */
.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
    background: var(--grey-dark);
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 600px;
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-prev, .hero-next {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    padding: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.hero-prev:hover, .hero-next:hover {
    background: var(--red-primary);
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 0.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots .dot.active {
    background: var(--red-primary);
    transform: scale(1.2);
}

/* Coming Soon Styling */
.coming-soon {
    display: inline-block;
    background: var(--yellow-pending);
    color: var(--text-primary);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .hero {
        height: 60vh;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.4rem;
    }
    .hero-content p {
        font-size: 0.85rem;
    }
    .hero {
        height: 50vh;
    }
    .hero-prev, .hero-next {
        font-size: 1.2rem;
        padding: 0.6rem;
    }
    .hero-dots .dot {
        width: 10px;
        height: 10px;
    }
}
/* Existing CSS content remains unchanged until new sections */

/* Contact Page Enhancements */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info.card, .contact-form.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.contact-info.card:hover, .contact-form.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.contact-info .footer-social {
    margin-top: 1rem;
}

.contact-info .footer-social a {
    margin-right: 0.5rem;
}

.contact-info .footer-social .whatsapp-icon {
    background: #25D366;
    color: var(--white);
}

.contact-info .footer-social .whatsapp-icon:hover {
    background: #20BD57;
    transform: scale(1.1);
}

.contact-form .form-group.full-width {
    width: 100%;
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
}

/* Organizational Structure Enhancements */
.org-structure-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.org-section h3 {
    font-size: 1.5rem;
    color: var(--red-primary);
    margin-bottom: 1rem;
}

.org-members {
    display: grid;
    gap: 1rem;
}

.org-member {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.org-member:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.org-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1rem;
    border: 2px solid var(--red-primary);
}

.org-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.org-details strong {
    color: var(--text-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .org-member {
        flex-direction: column;
        text-align: center;
    }
    .org-photo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-info.card, .contact-form.card {
        padding: 1.5rem;
    }
    .org-photo {
        width: 60px;
        height: 60px;
    }
}
    /* Shopee-like custom styles */
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }
    .product-card img {
        transition: transform 0.3s ease;
    }
    .product-card:hover img {
        transform: scale(1.05);
    }
    .exclusive-badge {
        background-color: #ee4d2d;
        color: white;
        font-size: 0.75rem;
        padding: 4px 8px;
        border-radius: 12px;
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 10;
    }
    .voucher-box {
        background: linear-gradient(135deg, #ee4d2d, #ff6b6b);
        color: white;
    }
    .pagination a:hover {
        background-color: #ee4d2d;
        color: white;
    }
    .pagination .active {
        background-color: #ee4d2d;
        color: white;
    }
    .pagination .disabled {
        color: #ccc;
        cursor: not-allowed;
    }
    .category-item:hover {
        background-color: #fee2e2;
        color: #ee4d2d;
    }
    .category-item.active {
        background-color: #ee4d2d;
        color: white;
    }
    /* === CSS UNTUK TAMPILAN BELANJA MODERN (SHOPEE-LIKE) === */

.shop-container {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar 280px, sisa untuk konten */
    gap: 30px;
}

/* Sidebar untuk Filter */
.shop-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}

.filter-group h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.filter-group ul {
    list-style: none;
    padding-left: 0;
}

.filter-group ul li a {
    text-decoration: none;
    color: #555;
    display: block;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.filter-group ul li a:hover {
    color: #d32f2f; /* Warna primer Anda */
}

.filter-group ul li a.active {
    color: #d32f2f;
    font-weight: 700;
}

.price-filter-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}
.price-filter-inputs input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
}

/* Area Konten Produk */
.shop-content {
    width: 100%;
}

.sort-bar {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desain Kartu Produk Baru */
.product-grid-shopee {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card-shopee {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
}

.product-card-shopee:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-card-shopee .product-image {
    width: 100%;
    padding-top: 100%; /* Membuat rasio 1:1 */
    position: relative;
    overflow: hidden;
}

.product-card-shopee .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar terisi penuh */
    transition: transform 0.3s ease;
}
.product-card-shopee:hover .product-image img {
    transform: scale(1.05);
}

.product-card-shopee .product-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-shopee .product-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    /* Membatasi judul hanya 2 baris */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 42px; /* Sesuaikan dengan font-size * line-height * 2 */
}

.product-card-shopee .product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #d32f2f; /* Warna primer Anda */
    margin-bottom: 10px;
}

.product-card-shopee .product-sold {
    font-size: 0.8rem;
    color: #888;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 8px;
}
.pagination a, .pagination span {
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #555;
}
.pagination a:hover {
    background-color: #f5f5f5;
}
.pagination .active {
    background-color: #d32f2f;
    color: white;
    border-color: #d32f2f;
}
.pagination .disabled {
    color: #ccc;
    pointer-events: none;
}
