/* Custom Premium Styles for PT CIPTA KARYA UTAMA MANDIRI */

:root {
    --navy-dark: #0B1E3F;
    --navy-medium: #142B52;
    --orange-accent: #F2A31B;
    --orange-hover: #D98C12;
    --light-gray: #F8F9FA;
    --text-muted: #6C757D;
    --text-light-muted: #CED4DA;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, .brand-text {
    font-family: 'Outfit', sans-serif;
}

.section-padding {
    padding: 50px 0; /* Reduced from 60px for even tighter layout */
}

.main-card-hover {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.bg-navy {
    background-color: var(--navy-dark);
    color: white;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.text-orange {
    color: var(--orange-accent) !important;
}

.fw-600 {
    font-weight: 600;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-light {
    filter: brightness(0) invert(1);
}

.company-name {
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--navy-dark);
}

.company-sub {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--orange-accent);
    font-weight: 600;
}

.nav-link {
    color: var(--navy-dark);
    font-weight: 600;
    margin: 0 10px;
    position: relative;
}

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

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

/* Buttons */
.btn-primary-custom {
    background-color: var(--orange-accent);
    border-color: var(--orange-accent);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--orange-hover);
    border-color: var(--orange-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 163, 27, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(11, 30, 63, 0.85), rgba(11, 30, 63, 0.7)), 
                url('../img/hero-bg.png') no-repeat center center;
    background-size: cover;
    height: 85vh;
    color: white;
}

.subtitle {
    color: var(--orange-accent);
    letter-spacing: 3px;
    font-weight: 600;
    display: inline-block;
    border-bottom: 2px solid var(--orange-accent);
    padding-bottom: 5px;
}

/* Section Decor */
.section-subtitle {
    color: var(--orange-accent);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 30px;
}

.bg-orange {
    background-color: var(--orange-accent) !important;
}

.small-list li {
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #555;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.profesional-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.fs-xs {
    font-size: 0.6rem;
}

.object-fit-cover {
    object-fit: cover;
}

.italic-quote {
    font-style: italic;
    color: var(--navy-medium);
    border-left: 3px solid var(--orange-accent);
    padding-left: 15px;
}

.mission-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    transition: all 0.2s ease;
}

.mission-list li:last-child {
    border-bottom: none;
}

.mission-list li:hover {
    padding-left: 10px;
    background-color: rgba(242, 163, 27, 0.05);
}

/* Image Badge */
.img-badge-container {
    position: relative;
    padding-right: 50px;
    padding-bottom: 50px;
}

.badge-experience {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--orange-accent);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.badge-experience .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-experience .text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Service Cards */
.service-card {
    background: white;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    border-bottom: 4px solid #eee;
}

.card-img-top-wrapper {
    height: 200px;
    overflow: hidden;
}

.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom-color: var(--orange-accent);
}

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

.service-list li {
    margin-bottom: 10px;
}

/* Gallery */
.gallery-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-img:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

/* Footer Icons */
.social-icon {
    width: 40px;
    height: 40px;
    background: var(--navy-medium);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--orange-accent);
    color: white;
    transform: translateY(-3px);
}

.footer-links li a {
    color: var(--text-light-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 5px 0;
}

.footer-links li a:hover {
    color: var(--orange-accent);
    padding-left: 5px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .section-padding {
        padding: 40px 0;
    }
    .hero-section {
        height: auto;
        padding: 80px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    /* Hero Adjustments */
    .hero-section h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    .hero-section .subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    .hero-section .lead {
        font-size: 0.95rem;
    }
    .hero-section .btn-lg {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    .border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    .col-md-6.border-end:last-child {
        border-bottom: none !important;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .main-card-hover {
        overflow: hidden;
    }
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 0;
    bottom: 50px;
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-content {
    background-color: #25d366;
    color: white;
    padding: 12px 20px 12px 15px;
    border-radius: 40px 0 0 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: -2px 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.whatsapp-content i {
    font-size: 2rem;
}

.whatsapp-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.whatsapp-text span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whatsapp-text strong {
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
}

.whatsapp-float:hover .whatsapp-content {
    padding-right: 30px;
    background-color: #128c7e;
}

@media (max-width: 768px) {
    .whatsapp-content {
        padding: 8px 15px 8px 12px;
    }
    .whatsapp-content i {
        font-size: 1.5rem;
    }
    .whatsapp-text span {
        font-size: 0.6rem;
    }
    .whatsapp-text strong {
        font-size: 0.9rem;
    }
}
