/* ============================================
   PREMIUM DESIGN SYSTEM - Chachata FAMI
   ============================================ */

:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8555;
    --accent: #000000;
    --accent-light: #333333;
    --success: #28a745;
    --warning: #FFC107;
    --danger: #DC3545;
    --light: #F8F9FA;
    --lighter: #FFFFFF;
    --dark: #000000;
    --gray: #666666;
    --gray-light: #F0F0F0;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */

.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

/* Dropdown Styles */
.dropdown-menu {
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
}

.dropdown-item {
    color: var(--dark);
    transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--primary);
    color: var(--white);
}

.brand-icon {
    font-size: 1.8rem;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   HERO SECTION - PREMIUM
   ============================================ */

.hero-premium {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.hero-content-text {
    position: relative;
    z-index: 2;
}

.hero-text-content {
    color: var(--white);
}

.hero-text-content h1 {
    color: var(--white);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text-content .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 400;
}

.hero-text-content .badge {
    background-color: var(--accent) !important;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    background: var(--white);
}

.about-section .row {
    gap: 0 !important;
}

.about-image-container {
    overflow: hidden;
}

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

.about-section:hover .about-image-container img {
    transform: scale(1.05);
}

.mission-vision-card {
    background: linear-gradient(135deg, #FFF9F5 0%, #FFFFFF 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--gray-light);
    transition: var(--transition);
}

.mission-vision-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.mission-vision-card p {
    line-height: 1.8;
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8555 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    padding: 2rem;
    background: linear-gradient(135deg, #FFF9F5 0%, #FFFFFF 100%);
    border-radius: 12px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.stat-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--primary);
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */

.services-overview {
    background: var(--light);
}

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

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

.service-img-container {
    overflow: hidden;
    height: 200px;
    background: var(--light);
}

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

.service-card:hover .service-card-img {
    transform: scale(1.15);
}

.service-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    padding: 0;
}

.btn-link:hover {
    color: var(--primary);
}

/* ============================================
   SERVICES DETAIL SECTION
   ============================================ */

.services-detail {
    background: var(--white);
}

.service-detail-row {
    margin-bottom: 70px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.75rem 0;
    color: var(--gray);
    font-weight: 500;
    transition: var(--transition);
}

.service-list li:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose {
    background: var(--light);
}

.why-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */

.clients-section {
    background: var(--white);
}

.client-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.client-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.client-logo-container {
    height: 180px;
    background: var(--lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.client-logo {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition);
}

.client-card:hover .client-logo {
    transform: scale(1.1);
}

.client-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================
   CTA SECTION - PREMIUM
   ============================================ */

.cta-premium {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.cta-form {
    position: relative;
    z-index: 1;
}

.cta-form .form-control {
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 500;
    transition: var(--transition);
}

.cta-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(15, 58, 125, 0.15);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: var(--light);
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--accent) 0%, #FF8B5A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.quote-form button {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #000000;
    color: var(--white);
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent) !important;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

.rounded-4 {
    border-radius: 20px !important;
}

.rounded-3 {
    border-radius: 16px !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .hero-text-content h1 {
        font-size: 2.5rem;
    }

    .service-card {
        margin-bottom: 1rem;
    }

    .about-section .row {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .hero-text-content h1 {
        font-size: 2rem;
    }

    .hero-text-content .lead {
        font-size: 1rem;
    }

    .nav-link {
        padding-left: 0;
    }

    .cta-premium .row {
        flex-direction: column;
    }

    .cta-form {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-text-content h1 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.8rem !important;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-box h4 {
        font-size: 1.5rem;
    }
}

/* ============================================
   BRAND CARDS
   ============================================ */

.brand-card {
    transition: var(--transition);
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.brand-card img {
    height: 450px;
    object-fit: cover;
    transition: var(--transition);
}

.brand-card:hover img {
    transform: scale(1.1);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
