/*
Theme Name: Soromo Health
Theme URI: https://terapismakerot.com
Author: Soromo
Description: Tema profesional untuk kesehatan pria & produk herbal
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #0a0a0a;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo a {
    font-size: 22px;
    font-weight: 800;
    color: #c9a03d;
    text-decoration: none;
}

.logo span {
    color: white;
}

/* Menu Desktop */
.nav-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #c9a03d;
}

/* Tombol Hamburger (sembunyi di desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('https://images.pexels.com/photos/4162451/pexels-photo-4162451.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.hero h1 span {
    color: #c9a03d;
}

.hero p {
    font-size: 18px;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-primary {
    display: inline-block;
    background: #c9a03d;
    color: #1a1a1a;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #a47c1a;
    transform: translateY(-3px);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-card h3 {
    font-size: 22px;
    margin: 20px 0 8px;
}

.product-price {
    color: #c9a03d;
    font-size: 24px;
    font-weight: 800;
    margin: 10px 0;
}

.product-card .btn-primary {
    margin-bottom: 20px;
    padding: 10px 24px;
    font-size: 14px;
    display: inline-block;
}

/* Footer */
.site-footer {
    background: #0a0a0a;
    color: #888;
    text-align: center;
    padding: 40px 0;
}

.site-footer a {
    color: #c9a03d;
    text-decoration: none;
}

/* WhatsApp Float - TIDAK BERGOYANG */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: none;
}

.whatsapp-float:hover {
    transform: none;
}

/* ========== RESPONSIVE HP (max 768px) ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Tampilkan tombol hamburger di kanan */
    .hamburger {
        display: flex;
    }
    
    /* Menu disembunyikan di HP */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: #0a0a0a;
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 30px 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    }
    
    /* Menu muncul saat aktif */
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        padding-left: 30px;
    }
    
    .nav-menu li a {
        font-size: 16px;
        padding: 10px 0;
        display: block;
    }
    
    /* Animasi hamburger jadi X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero responsif */
    .hero {
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    /* Produk jadi 1 kolom */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    .logo a {
        font-size: 16px;
    }
}
/* ========== ANIMASI SCROLL ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-animate {
    opacity: 0;
    visibility: hidden;
}

.scroll-animate.fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
    visibility: visible;
}

.scroll-animate.fadeInLeft {
    animation: fadeInLeft 0.8s ease forwards;
    visibility: visible;
}

.scroll-animate.fadeInRight {
    animation: fadeInRight 0.8s ease forwards;
    visibility: visible;
}

/* Delay untuk kard */
.product-card:nth-child(1) { transition-delay: 0.1s; }
.product-card:nth-child(2) { transition-delay: 0.2s; }
.product-card:nth-child(3) { transition-delay: 0.3s; }
.gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-item:nth-child(3) { transition-delay: 0.3s; }
.gallery-item:nth-child(4) { transition-delay: 0.4s; }
.media-item:nth-child(1) { transition-delay: 0.1s; }
.media-item:nth-child(2) { transition-delay: 0.2s; }
.media-item:nth-child(3) { transition-delay: 0.3s; }
/* ========== MENU HP (HAMBURGER) - VERSI PASTI MUNCUL ========== */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        padding: 10px;
        z-index: 9999;
    }
    
    .hamburger span {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    /* Animasi hamburger jadi X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Menu - POSISI DI ATAS LAYAR */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100%;
        background: #0a0a0a;
        transition: left 0.3s ease;
        z-index: 9998;
        padding: 100px 0 30px 0;
        box-shadow: 2px 0 15px rgba(0,0,0,0.5);
        overflow-y: auto;
    }
    
    /* Menu muncul */
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
        text-align: left;
        padding: 0 0 0 30px;
        margin: 0;
    }
    
    .nav-menu li {
        list-style: none;
    }
    
    .nav-menu li a {
        font-size: 18px;
        padding: 12px 0;
        display: block;
        color: white;
        text-decoration: none;
        font-weight: 500;
    }
    
    .nav-menu li a:hover {
        color: #c9a03d;
    }
}