/*
Theme Name:   Bis Trijaya Union - Divi Child Theme
Theme URI:    https://trijayaunion.com
Description:  Custom Divi child theme untuk company profile Bis Trijaya Union
Author:       Bis Trijaya Union Dev Team
Author URI:   https://trijayaunion.com
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  btj-union
Tags:         divi, child-theme, company-profile, responsive
*/

/* ==========================================================================
   BTJ Union Theme - Custom Styles
   ========================================================================== */

/* --- Color Variables (via CSS Custom Properties) --- */
:root {
    --btj-primary: #0d47a1;        /* Warna utama - biru */
    --btj-primary-light: #1565c0;
    --btj-primary-dark: #082e6a;
    --btj-secondary: #ff8f00;      /* Warna aksen - oranye */
    --btj-secondary-light: #ffa000;
    --btj-secondary-dark: #e65100;
    --btj-accent: #00c853;         /* Warna sukses - hijau */
    --btj-text: #212121;
    --btj-text-light: #757575;
    --btj-bg: #ffffff;
    --btj-bg-alt: #f5f5f5;
    --btj-bg-dark: #263238;
    --btj-border: #e0e0e0;
    --btj-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --btj-shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
    --btj-radius: 8px;
    --btj-radius-lg: 16px;
    --btj-transition: all 0.3s ease;
}

/* --- Typography --- */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--btj-text);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* --- Global Button Styles --- */
.et_pb_button, .et_pb_button_0 {
    background-color: var(--btj-primary) !important;
    color: #ffffff !important;
    border-radius: var(--btj-radius) !important;
    font-weight: 600 !important;
    transition: var(--btj-transition) !important;
    padding: 14px 32px !important;
    letter-spacing: 0.5px;
}

.et_pb_button:hover, .et_pb_button_0:hover {
    background-color: var(--btj-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--btj-shadow-hover);
}

/* --- Section Alternating Backgrounds --- */
.btj-section-alt {
    background-color: var(--btj-bg-alt);
}

/* --- Hero Section --- */
.btj-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.btj-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13,71,161,0.85), rgba(8,46,106,0.9));
}

/* --- Feature Cards --- */
.btj-card {
    background: var(--btj-bg);
    border-radius: var(--btj-radius-lg);
    padding: 2rem;
    box-shadow: var(--btj-shadow);
    transition: var(--btj-transition);
    border: 1px solid var(--btj-border);
    height: 100%;
}

.btj-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--btj-shadow-hover);
    border-color: var(--btj-primary-light);
}

.btj-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--btj-primary), var(--btj-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.5rem;
}

/* --- Stats Counter --- */
.btj-stat {
    text-align: center;
    padding: 2rem;
}

.btj-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--btj-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.btj-stat-label {
    font-size: 1rem;
    color: var(--btj-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CTA Section --- */
.btj-cta {
    background: linear-gradient(135deg, var(--btj-primary), var(--btj-primary-dark));
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
}

.btj-cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.btj-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* --- Team Grid --- */
.btj-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.btj-team-card {
    background: var(--btj-bg);
    border-radius: var(--btj-radius-lg);
    overflow: hidden;
    box-shadow: var(--btj-shadow);
    transition: var(--btj-transition);
    text-align: center;
}

.btj-team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--btj-shadow-hover);
}

.btj-team-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.btj-team-card-body {
    padding: 1.5rem;
}

.btj-team-card-body h4 {
    margin: 0 0 0.25rem;
    color: var(--btj-text);
}

.btj-team-card-body .btj-team-role {
    color: var(--btj-primary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- Services List --- */
.btj-service-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--btj-bg);
    border-radius: var(--btj-radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--btj-shadow);
    transition: var(--btj-transition);
    align-items: flex-start;
}

.btj-service-item:hover {
    box-shadow: var(--btj-shadow-hover);
}

.btj-service-item-number {
    min-width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--btj-secondary), var(--btj-secondary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

/* --- Testimonial Slider --- */
.btj-testimonial {
    background: var(--btj-bg);
    border-radius: var(--btj-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--btj-shadow);
    position: relative;
    border-left: 4px solid var(--btj-primary);
}

.btj-testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--btj-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btj-testimonial-author {
    font-weight: 600;
    color: var(--btj-primary);
}

/* --- Footer Custom --- */
.btj-footer {
    background-color: var(--btj-bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
}

.btj-footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btj-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--btj-transition);
}

.btj-footer a:hover {
    color: var(--btj-secondary);
}

.btj-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

/* --- WhatsApp Float Button --- */
.btj-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: var(--btj-transition);
    cursor: pointer;
}

.btj-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.btj-whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* --- Scroll to Top --- */
.btj-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    background: var(--btj-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--btj-transition);
    box-shadow: var(--btj-shadow);
}

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

.btj-scroll-top:hover {
    background: var(--btj-primary-dark);
    transform: translateY(-3px);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .btj-hero {
        min-height: 60vh;
    }

    .btj-stat-number {
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    .btj-hero {
        min-height: 50vh;
    }

    .btj-card {
        padding: 1.5rem;
    }

    .btj-service-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .btj-whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
}

/* --- Loading Animation --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btj-animate-in {
    animation: fadeInUp 0.6s ease forwards;
}
