/* ===========================
   GLOBAL
=========================== */

:root {
    --primary: #990100;
    /* Merah Arwindo */
    --primary-dark: #780000;
    /* Hover */
    --secondary: #4D4D4D;
    /* Abu logo */
    --dark: #2A2F38;
    /* Lebih modern dari hitam */
    --light: #F7F7F7;
    --white: #FFFFFF;
    --transition: .3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: #fff;
    line-height: 1.7;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 90px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #6c757d;
}

/*=========================
  TOP BAR
=========================*/

.topbar {
    background: var(--dark);
    color: #ffffff;
    font-size: .85rem;
    padding: 8px 0;
}

.topbar i {
    color: var(--light);
    margin-right: 6px;
}

.topbar-left span {
    white-space: nowrap;
}

.topbar-right a {
    color: #ffffff;
    font-weight: 500;
    transition: .3s;
}

.topbar-right a:hover {
    color: var(--primary);
}

/* ==========================
   NAVBAR
========================== */

#mainNavbar {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    transition: .3s;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

#mainNavbar.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.company-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

.company-tagline {
    color: var(--secondary);
    font-size: .85rem;
}

.nav-link {
    font-weight: 500;
    margin-right: 18px;
    color: #374151 !important;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/*=========================
    HERO
=========================*/

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
            #2A2F38,
            #3A414D);
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    margin-bottom: 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .15);
    font-size: .9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text {
    font-size: 1.1rem;
    color: #d1d5db;
    max-width: 620px;
    margin-bottom: 35px;
}

.hero-button .btn {
    padding: 12px 28px;
    border-radius: 50px;
}

.hero-btn-primary {
    background: #fff;
    color: var(--primary-dark);
    border: none;
}

.hero-btn-primary:hover {
    background: #f8f9fa;
}

.hero-btn-outline-primary {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.hero-btn-outline-primary:hover {
    background: var(--primary);
    color: var(--light);
}

/*=========================
    ABOUT
=========================*/

.about-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.about-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.section-text {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    width: 100%;
    max-width: 500px;
    height: 380px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.about-placeholder i {
    font-size: 110px;
    color: #adb5bd;
}

/*=========================
    SERVICES
=========================*/

.services-section {
    background: #f8fafc;
    padding: 100px 0;
}

.service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 30px;
    height: 100%;
    transition: .3s;
    border: 1px solid #eef2f7;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(153, 1, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 32px;
    color: var(--primary);
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: #6c757d;
    margin: 0;
}

/*=========================
    PORTFOLIO
=========================*/

.portfolio-section {
    padding: 100px 0;
    background: #ffffff;
}

.portfolio-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf2f7;
    transition: .3s;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.portfolio-image {
    height: 220px;
    background: #eef2f7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-image i {
    font-size: 70px;
    color: #adb5bd;
}

.portfolio-body {
    padding: 25px;
}

.portfolio-category {
    color: var(--primary);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.portfolio-body h5 {
    margin: 12px 0 8px;
    font-weight: 600;
}

/*=========================
    WHY US
=========================*/

.why-section {
    padding: 100px 0;
    background: #f8fafc;
}

.why-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    border: 1px solid #eef2f7;
    transition: .3s;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(153, 1, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i {
    font-size: 30px;
    color: var(--primary);
}

.why-card h5 {
    margin-bottom: 15px;
    font-weight: 600;
}

.why-card p {
    color: #6c757d;
    margin: 0;
}

/*=========================
    CTA
=========================*/

.cta-section {
    padding: 100px 0;
    background: #ffffff;
}

.cta-box {
    background: linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));
    color: #fff;
    padding: 70px 50px;
    border-radius: 24px;
}

.cta-box h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-box p {
    max-width: 700px;
    margin: auto;
    opacity: .95;
}

.cta-box .btn-primary {
    background: #fff;
    color: var(--primary-dark);
    border: none;
}

.cta-box .btn-primary:hover {
    background: #f8f9fa;
}

.cta-box .btn-outline-primary {
    color: #fff;
    border-color: #fff;
}

.cta-box .btn-outline-primary:hover {
    background: #fff;
    color: var(--primary-dark);
}

/*=========================
    FOOTER
=========================*/

.footer-logo {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

.footer {
    background:var(--dark);
    color:var(--light);
    padding: 70px 0 25px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-text {
    color: #d1d5db;
    line-height: 1.8;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-list i {
    margin-right: 10px;
    color: var(--white);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #d1d5db;
}

.footer-menu a:hover {
    color: #ffffff;
}

.footer hr {
    border-color: rgba(255, 255, 255, .15);
    margin: 40px 0 25px;
}

/*=========================
  RESPONSIVE
=========================*/

@media (max-width:768px) {
    .topbar .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .topbar-left span {
        display: block;
        margin: 0 !important;
    }
}