/* 
   assets/css/style.css
   Premium Custom Styling for Boss Ikan Gabus Sales Funnel
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0A4D3C;       /* Deep Forest Green (Luxury & Freshness) */
    --primary-light: #166554;
    --primary-dark: #063327;
    --secondary: #0B6A88;     /* Ocean Blue (Water & Aquatic Nature) */
    --secondary-light: #1682A4;
    --accent: #FD7E14;        /* Pop Orange (High Conversion CTA) */
    --accent-hover: #E86B07;
    --accent-light: #FFE8D6;
    --light: #F8F9FA;
    --dark: #0F172A;          /* Slate Dark */
    --white: #FFFFFF;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--gray-600);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

/* Sections padding */
section {
    padding: 5.5rem 0;
    position: relative;
}

.bg-light-custom {
    background-color: #F4F7F6;
}

/* Buttons */
.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(253, 126, 20, 0.4);
    transition: var(--transition);
}

.btn-accent:hover, .btn-accent:focus {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 126, 20, 0.6);
}

.btn-accent-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.btn-accent-outline:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(253, 126, 20, 0.3);
}

.btn-primary-custom {
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary-custom:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* Animation Utilities */
.animate-pulse-cta {
    animation: pulseCTA 2s infinite;
}

@keyframes pulseCTA {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 126, 20, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(253, 126, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(253, 126, 20, 0);
    }
}

/* Topbar */
.topbar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 0.6rem 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-info i {
    color: var(--accent);
}

/* Navbar */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar-brand img {
    height: 48px;
    object-fit: contain;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(10, 77, 60, 0.95), rgba(15, 23, 42, 0.92)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 9rem 0 7rem 0;
    position: relative;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-badge i {
    color: var(--accent);
}

.hero-bullets .bullet {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-container img {
    transition: var(--transition);
}

.hero-image-container:hover img {
    transform: scale(1.03);
}

/* Trust Section */
.section-title {
    position: relative;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

.section-title .accent-bar {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

.trust-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 77, 60, 0.15);
}

.trust-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: rgba(10, 77, 60, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.trust-card:hover .trust-icon-box {
    background-color: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

/* Product Section */
.category-tab-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
    background-color: var(--white);
    color: var(--gray-600);
    transition: var(--transition);
}

.category-tab-btn:hover, .category-tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--gray-100);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    z-index: 10;
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-meta {
    font-size: 0.85rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-price-box {
    margin-top: auto;
    margin-bottom: 1.2rem;
}

.product-price-label {
    font-size: 0.75rem;
    text-uppercase: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
}

.product-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.product-price-original {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--gray-600);
    margin-left: 0.5rem;
}

/* Fallback card placeholder */
.fallback-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.fallback-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Video Slider */
/* Edukasi & Khasiat Section Styles */
.edu-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: var(--transition);
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.edu-card-header.bg-primary {
    background-color: var(--primary) !important;
}

.rounded-top-16 {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.rounded-bottom-16 {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.rounded-16 {
    border-radius: 16px;
}

.nutrient-item .progress {
    background-color: var(--gray-100);
    border-radius: 50px;
    overflow: hidden;
}

.nutrient-item .progress-bar {
    border-radius: 50px;
}

.edu-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Light transparent custom backgrounds for health benefit icons */
.bg-success-light {
    background-color: rgba(40, 167, 69, 0.1);
}

.bg-primary-light-custom {
    background-color: rgba(10, 77, 60, 0.1);
}

.bg-warning-light-custom {
    background-color: rgba(253, 126, 20, 0.1);
}

.bg-info-light-custom {
    background-color: rgba(11, 106, 136, 0.1);
}

/* Step Numbers for Cooking Guide */
.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 77, 60, 0.9), rgba(0,0,0,0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Testimonials Slider */
.testimonials-section {
    background-color: rgba(10, 77, 60, 0.03);
}

.testi-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    position: relative;
    height: 100%;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    font-size: 3rem;
    color: rgba(10, 77, 60, 0.08);
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.testi-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testi-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.testi-location {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.testi-rating {
    color: #FFC107;
    margin-bottom: 1rem;
}

.testi-comment {
    font-style: italic;
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Order Steps Timeline */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: -50px;
    width: 2px;
    background-color: var(--gray-200);
    z-index: 1;
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(10, 77, 60, 0.3);
    position: relative;
}

.timeline-content {
    margin-left: 2rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    flex-grow: 1;
    transition: var(--transition);
}

.timeline-step:hover .timeline-content {
    border-color: rgba(10, 77, 60, 0.2);
    transform: translateX(5px);
}

/* Shipping / Delivery */
.delivery-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    height: 100%;
}

.delivery-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.delivery-logo-placeholder {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    background-color: var(--gray-100);
    border-radius: 6px;
    padding: 0.5rem;
}

/* FAQ Accordion */
.accordion-item-custom {
    border: 1px solid var(--gray-200);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
}

.accordion-button-custom {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    padding: 1.25rem 1.5rem;
    background-color: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-button-custom:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(10, 77, 60, 0.02);
}

.accordion-button-custom::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: var(--transition);
}

.accordion-button-custom:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body-custom {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
    line-height: 1.6;
    background-color: var(--white);
}

/* CTA Akhir */
.cta-section {
    background: linear-gradient(135deg, rgba(10, 77, 60, 0.96), rgba(11, 106, 136, 0.94)), url('../images/cta-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 6.5rem 0;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #05241C;
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem 0;
    font-size: 0.92rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 4rem;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.floating-wa-btn:hover {
    transform: scale(1.1) rotate(15deg);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-wa-pulse {
    position: absolute;
    inset: -5px;
    border: 2px solid #25D366;
    border-radius: 50%;
    animation: waPulse 1.8s infinite;
    opacity: 0;
}

@keyframes waPulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    padding: 0.75rem 1rem;
    z-index: 998;
    border-top: 1px solid var(--gray-200);
    display: none;
}

/* Layout modifications on desktop vs mobile */
@media (max-width: 767.98px) {
    .mobile-sticky-cta {
        display: block; /* Show on mobile devices */
    }
    
    body {
        padding-bottom: 70px; /* Prevent content occlusion from sticky footer */
    }
    
    .floating-wa-btn {
        bottom: 85px; /* Adjust floating position to be above sticky bar */
    }

    section {
        padding: 4rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow-lg);
        margin-top: 0.5rem;
    }
}

/* Video Tab Buttons styling to match category tabs */
.video-tab-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
    background-color: var(--white);
    color: var(--gray-600);
    transition: var(--transition);
}

.video-tab-btn:hover, .video-tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Premium Size Selector Styles */
.size-selector-wrapper {
    background-color: var(--gray-100);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.5rem;
}

.size-opt-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    border: 1.5px solid var(--gray-300);
    background-color: var(--white);
    color: var(--gray-600);
    transition: var(--transition);
    cursor: pointer;
}

.size-opt-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(10, 77, 60, 0.03);
}

.size-opt-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 8px rgba(10, 77, 60, 0.15);
}

.size-desc-info {
    font-size: 0.82rem;
    color: var(--gray-600);
    background-color: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3.5px solid var(--primary);
    min-height: 48px;
    display: flex;
    align-items: center;
    line-height: 1.4;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

