/* ============================================
   BONGA - Custom CSS
   Premium International Corporate Website
   ============================================ */

:root {
    --primary-color: #DC143C;
    --dark-bg: #0F1419;
    --light-bg: #F8F9FA;
    --text-dark: #1A1A1A;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    --spacing-unit: 1rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h5 {
    font-size: 1.1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #a01030;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a01030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS & FORMS
   ============================================ */

.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    padding: 0.6rem 1.5rem;
}

.btn-danger {
    background-color: var(--primary-color);
    color: white;
}

.btn-danger:hover {
    background-color: #a01030;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.3);
}

.btn-outline-danger {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-danger:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.1);
}

.form-label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.navbar-brand:hover {
    color: #a01030 !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 991px) {
    .nav-link::after {
        display: none;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .nav-link {
        padding-bottom: 0.5rem !important;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    bottom: 100px;
    right: 200px;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    top: 200px;
    right: 100px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-30px) translateX(10px);
    }
}

.badge {
    border-radius: 50px;
    padding: 0.5rem 1rem !important;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.display-4 {
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    border: none;
    border-radius: 12px;
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-hover {
    border: 2px solid var(--primary-color) !important;
    background-color: var(--dark-bg) !important;
}

.card-hover:hover {
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.3);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.card-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.border-danger {
    border-color: var(--primary-color) !important;
}

/* ============================================
   BACKGROUNDS
   ============================================ */

.bg-light {
    background-color: var(--light-bg) !important;
}

.bg-dark {
    background-color: var(--dark-bg) !important;
}

.bg-danger {
    background-color: var(--primary-color) !important;
}

.bg-opacity-10 {
    opacity: 0.1 !important;
}

.bg-opacity-25 {
    opacity: 0.25 !important;
}

/* ============================================
   UTILITIES
   ============================================ */

.container-lg {
    max-width: 1200px;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-danger {
    color: var(--primary-color) !important;
}

.fw-bold {
    font-weight: 700;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

.hover-card {
    transition: var(--transition);
    cursor: pointer;
}

.hover-card:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, rgba(220, 20, 60, 0.02) 100%) !important;
    border-left: 4px solid var(--primary-color) !important;
    transform: translateX(10px);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    position: relative;
}

section p {
    margin-bottom: 1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* AOS Custom Animations */
[data-aos] {
    opacity: 0;
}

[data-aos*="fade"] {
    animation-duration: 0.8s;
}

[data-aos*="zoom"] {
    animation-duration: 0.6s;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--dark-bg) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer ul li {
    margin-bottom: 0.8rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .shape {
        width: 150px !important;
        height: 150px !important;
        opacity: 0.05 !important;
    }
    
    section {
        padding: 3rem 0 !important;
    }
}

@media (max-width: 576px) {
    .container-lg {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .badge {
        font-size: 0.8rem;
    }
    
    .hero-section::before {
        width: 300px;
        height: 300px;
    }
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.sticky-top {
    top: 0;
    z-index: 1020;
    transition: box-shadow 0.3s ease;
}

.sticky-top.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.d-flex {
    display: flex;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 3rem;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

button, a, input, select, textarea {
    outline: none;
}

button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    nav, footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    section {
        page-break-inside: avoid;
    }
}
