/* Artiline Arsitektur - warna diambil dari logo */
:root {
    --navy: #07173a;
    --navy-soft: #12275a;
    --orange: #b5532a;
    --orange-dark: #93421f;
    --ink: #1c2433;
    --muted: #64708a;
    --line: #e3e7ef;
    --light-bg: #f5f7fb;

    /* alias lama agar blade tidak perlu diubah */
    --primary-color: var(--navy);
    --primary: var(--navy);
    --secondary-color: var(--navy-soft);
    --dark-color: var(--navy);
    --primary-gradient: var(--navy);
    --accent-gold: var(--orange);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { color: var(--navy); letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--orange);
    /* padding: 0.8rem 0; */
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled { padding: 0.35rem 0; box-shadow: 0 4px 24px rgba(7, 23, 58, 0.12); }
.navbar-brand img { height: 52px; width: auto; transition: height 0.3s ease; }
.navbar.scrolled .navbar-brand img { height: 42px; }

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy) !important;
    margin: 0 0.4rem;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 2px;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.btn-wa-nav {
    background: var(--orange) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 0.5rem 1.3rem !important;
    margin-left: 0.5rem;
}
.btn-wa-nav::after { display: none; }
.btn-wa-nav:hover { background: var(--orange-dark) !important; }

/* Hero */
.hero-carousel { margin-top: 76px; height: 90vh; }
.carousel-item { position: relative; }
.carousel-item::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(7, 23, 58, 0.88) 0%, rgba(7, 23, 58, 0.55) 60%, rgba(7, 23, 58, 0.35) 100%);
    z-index: 1;
}
.carousel-caption {
    z-index: 2;
    top: 50%; bottom: auto;
    transform: translateY(-50%);
    text-align: left;
    left: 8%; right: 8%;
    max-width: 720px;
}
.carousel-caption h1 {
    font-size: 3.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
}
.carousel-caption p { font-size: 1.2rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.9); }
.carousel-indicators [data-bs-target] { background-color: var(--orange); }

.btn-hero {
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    margin: 0 0.6rem 0.6rem 0;
    transition: all 0.3s ease;
}
.btn-hero-primary { background: var(--orange); color: #fff; border: 2px solid var(--orange); }
.btn-hero-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.btn-hero-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-hero-outline:hover { background: #fff; color: var(--navy); }

/* Section title */
.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--navy);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 56px; height: 4px;
    background: var(--orange);
    border-radius: 2px;
}
.section-subtitle { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin: 0 auto 3rem; }
.text-white.section-subtitle, .section-title.text-white { color: #fff !important; }

/* About */
.about-img { border-radius: 12px; box-shadow: 0 20px 50px rgba(7, 23, 58, 0.18); overflow: hidden; }
.about-img img { transition: transform 0.5s ease; }
.about-img:hover img { transform: scale(1.04); }
.feature-check { color: var(--orange); font-size: 1.25rem; margin-right: 0.7rem; }

/* Stats */
.stat-card {
    background: #fff;
    padding: 2.2rem 1.5rem;
    border-radius: 12px;
    border-top: 4px solid var(--orange);
    box-shadow: 0 6px 24px rgba(7, 23, 58, 0.08);
    text-align: center;
}
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin-bottom: 0.4rem; }
.stat-label { color: var(--muted); }

/* Feature cards */
.feature-card {
    background: #fff;
    padding: 2.2rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(7, 23, 58, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--orange);
    box-shadow: 0 14px 34px rgba(7, 23, 58, 0.12);
}
.feature-icon {
    width: 64px; height: 64px;
    background: var(--navy);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 1.3rem;
    border-bottom: 4px solid var(--orange);
}
.number-icon { border-radius: 50%; font-weight: 800; font-size: 1.5rem; }

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(7, 23, 58, 0.12);
    cursor: pointer;
}
.portfolio-item img { width: 100%; height: 350px; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
    position: absolute; inset: 0;
    background: rgba(7, 23, 58, 0.92);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem;
    text-align: center;
    border-bottom: 5px solid var(--orange);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.5rem; }
.portfolio-overlay div, .portfolio-overlay p { color: rgba(255, 255, 255, 0.9); }

/* Blog */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(7, 23, 58, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(7, 23, 58, 0.14); }
.blog-card img { width: 100%; height: 230px; object-fit: cover; }
.blog-card h4 { font-size: 1.15rem; font-weight: 700; }
.blog-card a { color: var(--orange) !important; }
.blog-card a:hover { color: var(--orange-dark) !important; }
.blog-meta { color: var(--muted); font-size: 0.9rem; }
.blog-meta i { color: var(--orange); margin-right: 0.3rem; }

/* Testimonial */
.testimonial-section { background: var(--navy); color: #fff; }
.testimonial-card {
    background: rgba(255, 255, 255, 0.07);
    padding: 2.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid var(--orange);
    height: 100%;
}
.testimonial-card h5 { color: #fff; }
.author-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--orange);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1.1rem;
}

/* CTA */
.cta-section { background: var(--orange); color: #fff; padding: 5rem 0; }
.cta-section h2 { font-size: 2.3rem; font-weight: 800; color: #fff; }
.btn-cta-white {
    background: var(--navy);
    color: #fff;
    padding: 1rem 2.6rem;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}
.btn-cta-white:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 30px; right: 30px; z-index: 999; }
.wa-float a {
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: #fff; font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}
.wa-float a:hover { transform: scale(1.1); }
@keyframes pulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8); }
}

/* Footer */
footer { background: var(--navy); color: #fff; padding: 4rem 0 1.5rem; border-top: 5px solid var(--orange); }
footer h5 { color: #fff; margin-bottom: 1.3rem; font-weight: 700; }
footer a {
    color: #c7d0e3;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.8rem;
}
footer a:hover { color: #fff; padding-left: 5px; }
.footer-logo { height: 74px; width: auto; margin-bottom: 1rem; background: #fff; padding: 4px 6px; border-radius: 8px; }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.7rem;
    color: #fff;
}
.social-links a:hover { background: var(--orange); transform: translateY(-3px); padding-left: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.8rem;
    margin-top: 3rem;
    text-align: center;
    color: #c7d0e3;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption { left: 6%; right: 6%; }
    .carousel-caption h1 { font-size: 2rem; }
    .carousel-caption p { font-size: 1rem; }
    .btn-hero { padding: 0.65rem 1.4rem; }
    .section-title, .cta-section h2 { font-size: 1.8rem; }
    .navbar-brand img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}