/* File: assets/css/style.css */
/* Custom CSS untuk website PT Esembe Amerta Mulia */

:root {
    --primary: #1a6bc3;
    --secondary: #0d4d8c;
    --accent: #ff6b35;
    --success: #28a745;
    --light: #f8f9fa;
    --dark: #212529;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    transition: var(--transition);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Icon Box */
.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(26, 107, 195, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.icon-box i {
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.card:hover .icon-box {
    background: var(--primary);
}

.card:hover .icon-box i {
    color: white;
    transform: scale(1.1);
}

/* Section Title */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-size: 36px;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title.text-lg-start::after {
    left: 0;
    transform: none;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Testimonial */
.testimonial-card {
    border-left: 4px solid var(--accent);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: rgba(255,107,53,0.1);
    font-family: serif;
}

/* Brand Logo */
.brand-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.brand-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-5px);
}

/* Contact Info */
.contact-info-box {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.contact-info-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.contact-info-box i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.btn-success {
    background: var(--success);
    border-color: var(--success);
}

.btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
    transform: translateY(-3px);
}

/* Form */
.form-control, .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(26,107,195,0.25);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1c2331 0%, #0a0e14 100%);
    color: white;
    padding: 50px 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        text-align: center !important;
    }
    
    .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}