/*
Theme Name: Toka Coffee
Theme URI: https://tokacoffee.id
Author: Toka Coffee
Author URI: https://tokacoffee.id
Description: Landing page kemitraan Toka Coffee - tema WordPress custom untuk one-page partnership site dengan Tailwind CSS.
Version: 1.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toka-coffee
*/

/* ===== BASE ===== */
* {
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: #f5ebe0;
}

/* ===== TYPOGRAPHY ===== */
.font-playfair { font-family: 'Playfair Display', serif; }
.font-poppins  { font-family: 'Poppins', sans-serif; }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, #c8893a, #3b1f0e);
    z-index: 9999;
    transition: width 0.1s;
}

/* ===== NAVBAR ===== */
.glass-effect {
    background: #3b1f0e;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(200, 137, 58, 0.35);
    box-shadow: 0 4px 24px rgba(26, 13, 5, 0.45);
}

/* ===== HERO ===== */
.hero-bg {
    background-image: url('img/hero-coffee.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-texture {
    background-image: repeating-linear-gradient(
        45deg,
        rgba(200, 137, 58, 0.03) 0px,
        rgba(200, 137, 58, 0.03) 1px,
        transparent 1px,
        transparent 12px
    );
}

/* ===== TEXT GRADIENT ===== */
.text-gradient-brown {
    background: linear-gradient(135deg, #c8893a 0%, #f5d8a8 60%, #c8893a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FLOATING ANIMATION ===== */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-18px); }
}

/* ===== PULSE GLOW (WA button nav) ===== */
.pulse-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 18px rgba(34, 197, 94, 0.35); }
    50%       { box-shadow: 0 0 32px rgba(34, 197, 94, 0.65); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(135deg, #fdf6ee 0%, #f5ebe0 100%);
}

.about-box {
    background: #ffffff;
    border: 1px solid rgba(200, 137, 58, 0.2);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(59, 31, 14, 0.08);
    transition: all 0.3s ease;
}

.about-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(59, 31, 14, 0.14);
    border-color: rgba(200, 137, 58, 0.4);
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    background: #fdf6ee;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid rgba(200, 137, 58, 0.15);
    box-shadow: 0 6px 20px rgba(59, 31, 14, 0.07);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 31, 14, 0.14);
    border-color: rgba(200, 137, 58, 0.5);
}

/* ===== PACKAGE CARDS ===== */
.package-card {
    transition: all 0.35s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(59, 31, 14, 0.25);
}

.package-featured {
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(59, 31, 14, 0.3);
}

.package-featured:hover {
    transform: scale(1.04) translateY(-8px);
}

/* ===== GALLERY ===== */
.gallery-overlay {
    background: linear-gradient(to top, rgba(59, 31, 14, 0.85) 0%, transparent 60%);
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
    background: linear-gradient(135deg, #3b1f0e 0%, #6f3d1f 50%, #3b1f0e 100%);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-6px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #f5ebe0 0%, #fdf6ee 100%);
}

.cta-box {
    background: linear-gradient(135deg, #3b1f0e 0%, #7a4419 100%);
    border: 1px solid rgba(200, 137, 58, 0.3);
    box-shadow: 0 30px 80px rgba(59, 31, 14, 0.25);
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .package-featured {
        transform: scale(1);
    }
    .package-featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 640px) {
    .about-box {
        padding: 20px;
        border-radius: 18px;
    }
    .whatsapp-btn {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    .hero-bg {
        background-attachment: scroll;
    }
}

/* ===== BENEFIT GLASS CARD ===== */
.benefit-glass {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 137, 58, 0.25) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.benefit-glass:hover {
    background: rgba(255, 255, 255, 0.13) !important;
    border-color: rgba(200, 137, 58, 0.5) !important;
    transform: translateY(-10px);
}

/* ===== PRODUCTS SECTION (dark bg) ===== */
#navbar.scrolled-nav .glass-effect {
    background: #2a1509;
    box-shadow: 0 6px 28px rgba(26, 13, 5, 0.6);
    border-bottom-color: rgba(200, 137, 58, 0.5);
}

/* Scrolled navbar state */
#navbar.scrolled-nav .glass-effect {
    background: #2a1509;
    box-shadow: 0 6px 28px rgba(26, 13, 5, 0.6);
    border-bottom-color: rgba(200, 137, 58, 0.5);
}
